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

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.54

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