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

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.52

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