/[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.62 by joko, Wed Mar 12 17:55:49 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.62  2003/03/12 17:55:49  joko
16      + AUTOCOMMIT: updated/added content
17    
18      Revision 1.61  2003/03/12 17:25:49  joko
19      + AUTOCOMMIT: updated/added content
20    
21      Revision 1.60  2003/03/12 15:55:57  joko
22      + AUTOCOMMIT: updated/added content
23    
24      Revision 1.59  2003/03/12 05:56:09  joko
25      + AUTOCOMMIT: updated/added content
26    
27      Revision 1.58  2003/03/12 05:26:22  joko
28      + AUTOCOMMIT: updated/added content
29    
30      Revision 1.57  2003/03/12 04:55:52  joko
31      + AUTOCOMMIT: updated/added content
32    
33      Revision 1.56  2003/03/12 04:26:09  joko
34      + AUTOCOMMIT: updated/added content
35    
36      Revision 1.55  2003/03/12 02:55:54  joko
37      + AUTOCOMMIT: updated/added content
38    
39      Revision 1.54  2003/03/12 01:55:58  joko
40      + AUTOCOMMIT: updated/added content
41    
42      Revision 1.53  2003/03/12 01:25:57  joko
43      + AUTOCOMMIT: updated/added content
44    
45      Revision 1.52  2003/03/11 23:55:58  joko
46      + AUTOCOMMIT: updated/added content
47    
48      Revision 1.51  2003/03/11 23:25:49  joko
49      + AUTOCOMMIT: updated/added content
50    
51      Revision 1.50  2003/03/11 22:56:12  joko
52      + AUTOCOMMIT: updated/added content
53    
54      Revision 1.48  2003/03/11 22:03:23  joko
55      + AUTOCOMMIT: updated/added content
56    
57      Revision 1.47  2003/03/11 21:05:22  joko
58      + AUTOCOMMIT: updated/added content
59    
60      Revision 1.45  2003/03/11 18:55:52  joko
61      + AUTOCOMMIT: updated/added content
62    
63      Revision 1.43  2003/03/11 17:56:02  joko
64      + AUTOCOMMIT: updated/added content
65    
66    Revision 1.42  2003/03/11 15:26:01  joko    Revision 1.42  2003/03/11 15:26:01  joko
67    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
68    
# Line 475  o Twingle! Line 526  o Twingle!
526    o twingle -> dispatchmail (Twingle::Mail)    o twingle -> dispatchmail (Twingle::Mail)
527    o twingle -> twingledoc (Twingle::Doc)    o twingle -> twingledoc (Twingle::Doc)
528    
529  o refactor to "twingled/":  o update www.netfrag.org
530    o http://netfrag.org/~joko/computing/overview/topics/topics/    o refactor to "twingled/":
531    o http://netfrag.org/~joko/computing/overview/topics/SampleTasks/      o http://netfrag.org/~joko/computing/overview/topics/topics/
532  o update http://netfrag.org/~joko/computing/overview/topics/topics.html      o http://netfrag.org/~joko/computing/overview/topics/SampleTasks/
533      o update http://netfrag.org/~joko/computing/overview/topics/topics.html
534    
535  x re-enable Yakka  x re-enable Yakka
536    
# Line 637  x setup org.droogs--Autodia: location ht Line 689  x setup org.droogs--Autodia: location ht
689            
690  o quick (javascript) search for netfrag.org and packages.debian.org (xul?)  o quick (javascript) search for netfrag.org and packages.debian.org (xul?)
691    
692  o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]  o phpDirectoryIndex:
693      o integrate Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]
694      o hide more entries: e.g. 'CVS' (declare as "cvs-repository-metadata" - "hidden by default")
695    
696  @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/  @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/
697    
# Line 740  o final solution for the libxml-problem? Line 794  o final solution for the libxml-problem?
794      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
795      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
796    
797    o update www.netfrag.org
798  o announce on www.netfrag.org  o announce on www.netfrag.org
799    o api-doc    o api-doc
800    o packages.netfrag.org (libxml2!)    o packages.netfrag.org (libxml2!)
# Line 754  o install and use 'monit' to monitor uml Line 809  o install and use 'monit' to monitor uml
809  o refactor Yakka::YakkaSetup  o refactor Yakka::YakkaSetup
810    
811  o quepasa - Error: AMaViS  o quepasa - Error: AMaViS
812      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.  
813       <screen>
814        Starting AMaViS Daemons: amavis-milter amavisd
815        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.
816      BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.      BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
817    x apt-get install razor     </screen>
818    
819      - probably because of perl-5.8.0?
820    
821      x apt-get install razor   #)§$&(
822      solution:
823        x dpkg --force-depends -r razor
824        x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
825        x dpkg -i razor_1.20-1_all.deb
826         => depends on 'libtime-hires-perl', so:
827          x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
828          x dpkg -i libtime-hires-perl_1.20-4_i386.deb
829            dpkg: dependency problems prevent configuration of libtime-hires-perl:
830             libtime-hires-perl depends on perlapi-5.6.0; however:
831              Package perlapi-5.6.0 is not installed.
832              ;-( /)(%(/$%%&$
833        => removing dependencies about everything from razor1-package
834          x dpkg -x razor_1.20-1_all.deb razor
835          x dpkg -r razor_1.20-1_all.deb
836          x mv DEBIAN/ razor/
837          x do: remove line 'Depends:' from DEBIAN/control
838          [x chmod -R 0755 razor/DEBIAN/] maybe!  (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
839          x dpkg -b razor razor_1.20-1_all_nodeps.deb
840          x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
841        =>
842          x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
843        => [test]
844          x /etc/init.d/amavis-milter start
845           <screen>
846            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.
847             at /usr/sbin/amavisd line 46
848            Compilation failed in require at /usr/sbin/amavisd line 46.
849            BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.      
850           </screen>
851        => [CPAN-install]
852          x perl -MCPAN -e "install Time::HiRes"
853           <screen>
854              [...]
855              compile -- compile -- compile
856              [...]
857              Running make install
858              Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
859              Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
860              Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
861              Installing /usr/share/man/man3/Time::HiRes.3pm
862              Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
863              Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
864                /usr/bin/make install  -- OK
865           </screen>
866    
867      x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again)
868          x /etc/init.d/amavis-milter restart
869            no! same error as above!
870          the problem is:
871          watch the output of 'perl -V' - at the bottom:
872          <screen>
873            Characteristics of this binary (from libperl):
874              Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
875              Built under linux
876              Compiled at Feb 17 2003 12:38:57
877              @INC:
878                /etc/perl
879                /usr/local/lib/perl/5.8.0
880                /usr/local/share/perl/5.8.0
881                /usr/lib/perl5
882                /usr/share/perl5
883                /usr/lib/perl/5.8.0
884                /usr/share/perl/5.8.0
885                /usr/local/lib/site_perl
886                .
887          </screen>
888    
889          The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
890          /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
891          
892          We have these options:
893            1. delete this stuff
894            2. put a better version at '.'
895            3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
896            4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
897          
898          Hmmm.....
899            I think i'll choose option 1.:
900            x rm -rf /usr/lib/perl5/auto/Time/HiRes
901            (or if you don't wanna be as brute-force)
902            x cd /usr/lib/perl5/auto/Time
903            x mv HiRes HiRes.old
904            
905        => let's try again:      
906          x /etc/init.d/amavis-milter restart
907            Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
908    
909        => ahhh...  (also testable via 'perl -MTime::HiRes')
910          x dpkg --force-depends -r libtime-hires-perl
911          => my fault! ;-)
912    
913      => so, everything works fine now....
914          x /etc/init.d/amavis-milter restart
915        
916  o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.  o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
917    
918    o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
919    
920    o use pdumpfs!
921    
922    o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
923    
924    o write meta-documentation about why it's required to lift version-numbers of debian-packages
925      -> Why dpkg-liftversion?
926      1. yakka: libxml2!!!
927      2. amavis-milter: razor-1-branch-required
928    
929    o installing pdumpfs as system-wide backup-system:
930      x mkdir -p /home/service/virtual/pdumpfs/var/data
931      x mkdir -p /home/service/virtual/pdumpfs/var/log
932      x cd /usr/local/bin
933      x ln -s /home/service/virtual/pdumpfs/backup .
934    
935    o feature: BrowsableBackup:
936      o missing: authentication via LDAP....
937    
938    o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc...
939      ->packages.service.netfrag.org
940      -->/usr/local/bin
941      
942    o one account - three services:
943      o wiki
944      o news
945      o backup
946      (o ssh) (not-a-must)
947    
948    o dpkg-modcontrol!!!
949    
950    o robinson - purge package dependencies from .deb- or .rpm-packages
951      can alien do that?
952    
953    o rsync working: view from the server-side:
954     3968 ?        R      0:40 rsync --server --sender -vulogDtprz . /home/service/backup/
955    
956    x finally: we have a backup-system!
957      - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup'
958      - backs up:
959        x /home/*   (except /home/service)
960        x /data/bin  (approx. 9.2M)
961        x /data/libs  (approx. 1.7M)
962        x /data/opt  (approx. 27M)
963        o /data/var  (approx. 104M)
964          o mysql-db
965          o news-spool
966        o /data/www  (approx. 126M)
967          x /data/www/virtual/lashlarue  (approx. 28M)
968          x /data/www/virtual/netfrag  (approx. 68M)
969          x /data/www/virtual/wac  (approx. 4M)
970      o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!!
971      o prevent recursive backups (what happens if the backup directory itself would be specified to backup???)
972      => #> crontab -e
973            adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all
974      o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G)
975    
976    o establish logfile-rotation with logrotate!!!
977      #> cd /data/www/virtual/lashlarue/log
978      #> gzip access_log
979      #> gzip error_log
980    
981    o more todos:
982      x clean more diskspace
983        - How to find files larger than, hmm, let's say: 512MB?
984          use 'dus'! [Disk Usage Sorter]
985          http://marginalhacks.com/bin/dus
986        - now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf)
987    
988        - h1.service.netfrag.org
989          /dev/hda7             38570848  33162404   5408444  86% /
990    
991    
992        o /home/uml/skels aufräumen!
993      o draw more diagrams
994      o let 'monit' monitor our umls
995        - together with heartbeat!
996      o make more backups
997        databases: code (repository) and rdbms-sql (mysql)
998    
999    o look in /var/log/syslog after crash! (other logfiles?)
1000    
1001    o h1.service.netfrag.org:
1002      rjoko@h1:/home/uml/helo # monit
1003      monit: error while loading shared libraries: libssl.so.2: cannot open shared object file: No such file or directory
1004      rjoko@h1:/home/uml/helo # deleeeeete backup!!! is it reeaaady?
1005    
1006    x h1.service.netfrag.org - ssh-upgrade [security] (2.9p2 -> 2.9.9p2)
1007      rjoko@h1:~ # ssh -V
1008      OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f  
1009      rjoko@h1:~ # rpm -U ftp://ftp.suse.com/pub/suse/i386/update/7.3/sec1/openssh.rpm
1010      rjoko@h1:~ # ssh -V
1011      OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
1012    
1013    o what about legolas?
1014    
1015    o search-shortcut to rpmfind.net
1016    
1017    o request to hetzner:
1018      please delete handle "CNO: MM458-ABC"...
1019    
1020    o update www.netfrag.org
1021      o prevent errors like seen on http://netfrag.org/cgi-bin/viewcvs.cgi/joko/virtual/joko_mail/
1022    
1023    o update www.netfrag.org
1024      x HomePage (phpWiki::Index): remove yakka's "to be repaired" - line
1025      o Overview: add link to DocumentIndex at section 'Documentation'
1026      o update links (jonen's docs, etc.)
1027    
1028    o run broken-link-finder on www.netfrag.org
1029      -> find nice project!
1030    
1031    o infra for www.netfrag.org
1032      o make this shortcut possible: http://netfrag.org/Overview
1033    
1034    o account for jonen@www.netfrag.org--phpWiki::*
1035    

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

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