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

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.48

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