/[cvs]/joko/doc/SampleTasks/joko_2003-03.twingle
ViewVC logotype

Diff of /joko/doc/SampleTasks/joko_2003-03.twingle

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by joko, Tue Mar 11 14:56:02 2003 UTC revision 1.49 by joko, Tue Mar 11 22:26:26 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.49  2003/03/11 22:26:26  joko
16      + AUTOCOMMIT: updated/added content
17    
18      Revision 1.48  2003/03/11 22:03:23  joko
19      + AUTOCOMMIT: updated/added content
20    
21      Revision 1.47  2003/03/11 21:05:22  joko
22      + AUTOCOMMIT: updated/added content
23    
24      Revision 1.45  2003/03/11 18:55:52  joko
25      + AUTOCOMMIT: updated/added content
26    
27      Revision 1.43  2003/03/11 17:56:02  joko
28      + AUTOCOMMIT: updated/added content
29    
30      Revision 1.42  2003/03/11 15:26:01  joko
31      + AUTOCOMMIT: updated/added content
32    
33    Revision 1.41  2003/03/11 14:56:02  joko    Revision 1.41  2003/03/11 14:56:02  joko
34    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
35    
# Line 751  o install and use 'monit' to monitor uml Line 769  o install and use 'monit' to monitor uml
769  o refactor Yakka::YakkaSetup  o refactor Yakka::YakkaSetup
770    
771  o quepasa - Error: AMaViS  o quepasa - Error: AMaViS
772      Starting AMaViS Daemons: amavis-milter amavisdCan't locate Razor/Client.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/sbin/amavisd line 54.  
773       <screen>
774        Starting AMaViS Daemons: amavis-milter amavisd
775        Can't locate Razor/Client.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/sbin/amavisd line 54.
776      BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.      BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
777    x apt-get install razor     </screen>
778    
779      - probably because of perl-5.8.0?
780    
781      x apt-get install razor   #)§$&(
782      solution:
783        x dpkg --force-depends -r razor
784        x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
785        x dpkg -i razor_1.20-1_all.deb
786         => depends on 'libtime-hires-perl', so:
787          x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
788          x dpkg -i libtime-hires-perl_1.20-4_i386.deb
789            dpkg: dependency problems prevent configuration of libtime-hires-perl:
790             libtime-hires-perl depends on perlapi-5.6.0; however:
791              Package perlapi-5.6.0 is not installed.
792              ;-( /)(%(/$%%&$
793        => removing dependencies about everything from razor1-package
794          x dpkg -x razor_1.20-1_all.deb razor
795          x dpkg -r razor_1.20-1_all.deb
796          x mv DEBIAN/ razor/
797          x do: remove line 'Depends:' from DEBIAN/control
798          [x chmod -R 0755 razor/DEBIAN/] maybe!  (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
799          x dpkg -b razor razor_1.20-1_all_nodeps.deb
800          x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
801        =>
802          x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
803        => [test]
804          x /etc/init.d/amavis-milter start
805           <screen>
806            Can't load '/usr/lib/perl5/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /usr/lib/perl5/auto/Time/HiRes/HiRes.so: undefined symbol: PL_stack_max at /usr/lib/perl/5.8.0/DynaLoader.pm line 225.
807             at /usr/sbin/amavisd line 46
808            Compilation failed in require at /usr/sbin/amavisd line 46.
809            BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.      
810           </screen>
811        => [CPAN-install]
812          x perl -MCPAN -e "install Time::HiRes"
813           <screen>
814              [...]
815              compile -- compile -- compile
816              [...]
817              Running make install
818              Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
819              Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
820              Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
821              Installing /usr/share/man/man3/Time::HiRes.3pm
822              Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
823              Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
824                /usr/bin/make install  -- OK
825           </screen>
826    
827      x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again)
828          x /etc/init.d/amavis-milter restart
829            no! same error as above!
830          the problem is:
831          watch the output of 'perl -V' - at the bottom:
832          <screen>
833            Characteristics of this binary (from libperl):
834              Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
835              Built under linux
836              Compiled at Feb 17 2003 12:38:57
837              @INC:
838                /etc/perl
839                /usr/local/lib/perl/5.8.0
840                /usr/local/share/perl/5.8.0
841                /usr/lib/perl5
842                /usr/share/perl5
843                /usr/lib/perl/5.8.0
844                /usr/share/perl/5.8.0
845                /usr/local/lib/site_perl
846                .
847          </screen>
848    
849          The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
850          /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
851          
852          We have these options:
853            1. delete this stuff
854            2. put a better version at '.'
855            3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
856            4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
857          
858          Hmmm.....
859            I think i'll choose option 1.:
860            x rm -rf /usr/lib/perl5/auto/Time/HiRes
861            (or if you don't wanna be as brute-force)
862            x cd /usr/lib/perl5/auto/Time
863            x mv HiRes HiRes.old
864            
865        => let's try again:      
866          x /etc/init.d/amavis-milter restart
867            Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
868    
869        => ahhh...  (also testable via 'perl -MTime::HiRes')
870          x dpkg --force-depends -r libtime-hires-perl
871          => my fault! ;-)
872    
873      => so, everything works fine now....
874          x /etc/init.d/amavis-milter restart
875        
876    o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
877    
878    o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
879    
880    o use pdumpfs!
881    
882    o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
883    
884    o write meta-documentation about why it's required to lift version-numbers of debian-packages
885      -> Why dpkg-liftversion?
886      1. yakka: libxml2!!!
887      2. amavis-milter: razor-1-branch-required
888    
889    o installing pdumpfs as system-wide backup-system:
890      x mkdir -p /home/service/virtual/pdumpfs/var/data
891      x mkdir -p /home/service/virtual/pdumpfs/var/log
892      x cd /usr/local/bin
893      x ln -s /home/service/virtual/pdumpfs/backup .
894    
895    o feature: BrowsableBackup:
896      o missing: authentication via LDAP....
897    
898    o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumfs), etc...
899      ->packages.service.netfrag.org
900      -->/usr/local/bin
901      
902    o one account - three services:
903      o wiki
904      o news
905      o backup
906      (o ssh) (not-a-must)
907    
908    o dpkg-modcontrol!!!
909    

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.49

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed