/[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.34 by joko, Mon Mar 10 23:55:51 2003 UTC revision 1.59 by joko, Wed Mar 12 05:56:09 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.59  2003/03/12 05:56:09  joko
16      + AUTOCOMMIT: updated/added content
17    
18      Revision 1.58  2003/03/12 05:26:22  joko
19      + AUTOCOMMIT: updated/added content
20    
21      Revision 1.57  2003/03/12 04:55:52  joko
22      + AUTOCOMMIT: updated/added content
23    
24      Revision 1.56  2003/03/12 04:26:09  joko
25      + AUTOCOMMIT: updated/added content
26    
27      Revision 1.55  2003/03/12 02:55:54  joko
28      + AUTOCOMMIT: updated/added content
29    
30      Revision 1.54  2003/03/12 01:55:58  joko
31      + AUTOCOMMIT: updated/added content
32    
33      Revision 1.53  2003/03/12 01:25:57  joko
34      + AUTOCOMMIT: updated/added content
35    
36      Revision 1.52  2003/03/11 23:55:58  joko
37      + AUTOCOMMIT: updated/added content
38    
39      Revision 1.51  2003/03/11 23:25:49  joko
40      + AUTOCOMMIT: updated/added content
41    
42      Revision 1.50  2003/03/11 22:56:12  joko
43      + AUTOCOMMIT: updated/added content
44    
45      Revision 1.48  2003/03/11 22:03:23  joko
46      + AUTOCOMMIT: updated/added content
47    
48      Revision 1.47  2003/03/11 21:05:22  joko
49      + AUTOCOMMIT: updated/added content
50    
51      Revision 1.45  2003/03/11 18:55:52  joko
52      + AUTOCOMMIT: updated/added content
53    
54      Revision 1.43  2003/03/11 17:56:02  joko
55      + AUTOCOMMIT: updated/added content
56    
57      Revision 1.42  2003/03/11 15:26:01  joko
58      + AUTOCOMMIT: updated/added content
59    
60      Revision 1.41  2003/03/11 14:56:02  joko
61      + AUTOCOMMIT: updated/added content
62    
63      Revision 1.40  2003/03/11 06:25:59  joko
64      + AUTOCOMMIT: updated/added content
65    
66      Revision 1.39  2003/03/11 05:56:44  joko
67      + AUTOCOMMIT: updated/added content
68    
69      Revision 1.38  2003/03/11 05:26:23  joko
70      + AUTOCOMMIT: updated/added content
71    
72      Revision 1.37  2003/03/11 04:25:58  joko
73      + AUTOCOMMIT: updated/added content
74    
75      Revision 1.36  2003/03/11 02:55:54  joko
76      + AUTOCOMMIT: updated/added content
77    
78      Revision 1.35  2003/03/11 01:55:57  joko
79      + AUTOCOMMIT: updated/added content
80    
81    Revision 1.34  2003/03/10 23:55:51  joko    Revision 1.34  2003/03/10 23:55:51  joko
82    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
83    
# Line 669  o autozoom/runzoom Line 735  o autozoom/runzoom
735    o from (e.g. test6/)    o from (e.g. test6/)
736    o to (e.g. test6/zoomed/)    o to (e.g. test6/zoomed/)
737    
738    o global "last-recent-error"-page for admin to view errors occouring
739      ->SystemErrors
740      ->StepProcessing: ./.runrc: update|build|publish
741    
742    o clean up disks!!!
743      o h1.service.netfrag.org
744      o quepasa.netfrag.org
745    
746    o natraj/sorceress: server-consolidation?
747    
748    o monitor regularly: http://netfrag.org/docs/code/api/org.netfrag/errors.html
749    
750    o DataSource::Generic <-> ObjectList!!!
751    
752    o Yakka: (javascript-control):
753      o let CTRL + ENTER make a new para
754      o let CTRL + CTRL (double-hit) make a new page from WikiWord left of the cursor (splash into a new DHTML page!)
755    
756    x root@quepasa:/data# apt-get install pdumpfs
757    
758    o final solution for the libxml-problem?
759      root@quepasa:/home/service/backup# apt-get --fix-broken --show-upgraded --simulate dist-upgrade
760        Reading Package Lists... Done
761        Building Dependency Tree... Done
762        Correcting dependencies... Done
763        Calculating Upgrade... Done
764        The following packages will be REMOVED:
765          libxslt1 php4-domxml
766        0 packages upgraded, 0 newly installed, 2 to remove and 0  not upgraded.
767        Remv libxslt1 (1.0.27-1 ) [php4-domxml ]
768        Remv php4-domxml (4:4.2.3-11 )
769      root@quepasa:/tmp# apt-get install pdumpfs
770        Reading Package Lists... Done
771        Building Dependency Tree... Done
772        You might want to run `apt-get -f install' to correct these:
773        Sorry, but the following packages have unmet dependencies:
774          libxslt1: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
775          php4-domxml: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
776        E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
777      x dpkg --force-depends -r libxml2
778      o dpkg-liftpackage libxml2_2.4.19-4_i386.deb 2.5.0-1
779        x dpkg-deb -x libxml2_2.4.19-4_i386.deb fakepkg
780        x dpkg-deb -e libxml2_2.4.19-4_i386.deb
781        x mv DEBIAN fakepkg/
782        x dpkg-deb --build fakepkg libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
783        x dpkg -i libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
784    
785    o announce on www.netfrag.org
786      o api-doc
787      o packages.netfrag.org (libxml2!)
788      o autogenerate:
789        o api-doc & diags
790        o twingle
791    
792    o ->search.netfrag.org/ruby
793    
794    o install and use 'monit' to monitor uml's!
795    
796    o refactor Yakka::YakkaSetup
797    
798    o quepasa - Error: AMaViS
799    
800       <screen>
801        Starting AMaViS Daemons: amavis-milter amavisd
802        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.
803        BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
804       </screen>
805    
806      - probably because of perl-5.8.0?
807    
808      x apt-get install razor   #)§$&(
809      solution:
810        x dpkg --force-depends -r razor
811        x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
812        x dpkg -i razor_1.20-1_all.deb
813         => depends on 'libtime-hires-perl', so:
814          x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
815          x dpkg -i libtime-hires-perl_1.20-4_i386.deb
816            dpkg: dependency problems prevent configuration of libtime-hires-perl:
817             libtime-hires-perl depends on perlapi-5.6.0; however:
818              Package perlapi-5.6.0 is not installed.
819              ;-( /)(%(/$%%&$
820        => removing dependencies about everything from razor1-package
821          x dpkg -x razor_1.20-1_all.deb razor
822          x dpkg -r razor_1.20-1_all.deb
823          x mv DEBIAN/ razor/
824          x do: remove line 'Depends:' from DEBIAN/control
825          [x chmod -R 0755 razor/DEBIAN/] maybe!  (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
826          x dpkg -b razor razor_1.20-1_all_nodeps.deb
827          x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
828        =>
829          x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
830        => [test]
831          x /etc/init.d/amavis-milter start
832           <screen>
833            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.
834             at /usr/sbin/amavisd line 46
835            Compilation failed in require at /usr/sbin/amavisd line 46.
836            BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.      
837           </screen>
838        => [CPAN-install]
839          x perl -MCPAN -e "install Time::HiRes"
840           <screen>
841              [...]
842              compile -- compile -- compile
843              [...]
844              Running make install
845              Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
846              Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
847              Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
848              Installing /usr/share/man/man3/Time::HiRes.3pm
849              Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
850              Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
851                /usr/bin/make install  -- OK
852           </screen>
853    
854      x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again)
855          x /etc/init.d/amavis-milter restart
856            no! same error as above!
857          the problem is:
858          watch the output of 'perl -V' - at the bottom:
859          <screen>
860            Characteristics of this binary (from libperl):
861              Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
862              Built under linux
863              Compiled at Feb 17 2003 12:38:57
864              @INC:
865                /etc/perl
866                /usr/local/lib/perl/5.8.0
867                /usr/local/share/perl/5.8.0
868                /usr/lib/perl5
869                /usr/share/perl5
870                /usr/lib/perl/5.8.0
871                /usr/share/perl/5.8.0
872                /usr/local/lib/site_perl
873                .
874          </screen>
875    
876          The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
877          /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
878          
879          We have these options:
880            1. delete this stuff
881            2. put a better version at '.'
882            3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
883            4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
884          
885          Hmmm.....
886            I think i'll choose option 1.:
887            x rm -rf /usr/lib/perl5/auto/Time/HiRes
888            (or if you don't wanna be as brute-force)
889            x cd /usr/lib/perl5/auto/Time
890            x mv HiRes HiRes.old
891            
892        => let's try again:      
893          x /etc/init.d/amavis-milter restart
894            Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
895    
896        => ahhh...  (also testable via 'perl -MTime::HiRes')
897          x dpkg --force-depends -r libtime-hires-perl
898          => my fault! ;-)
899    
900      => so, everything works fine now....
901          x /etc/init.d/amavis-milter restart
902        
903    o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
904    
905    o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
906    
907    o use pdumpfs!
908    
909    o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
910    
911    o write meta-documentation about why it's required to lift version-numbers of debian-packages
912      -> Why dpkg-liftversion?
913      1. yakka: libxml2!!!
914      2. amavis-milter: razor-1-branch-required
915    
916    o installing pdumpfs as system-wide backup-system:
917      x mkdir -p /home/service/virtual/pdumpfs/var/data
918      x mkdir -p /home/service/virtual/pdumpfs/var/log
919      x cd /usr/local/bin
920      x ln -s /home/service/virtual/pdumpfs/backup .
921    
922    o feature: BrowsableBackup:
923      o missing: authentication via LDAP....
924    
925    o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc...
926      ->packages.service.netfrag.org
927      -->/usr/local/bin
928      
929    o one account - three services:
930      o wiki
931      o news
932      o backup
933      (o ssh) (not-a-must)
934    
935    o dpkg-modcontrol!!!
936    
937    o robinson - purge package dependencies from .deb- or .rpm-packages
938      can alien do that?
939    
940    o rsync working: view from the server-side:
941     3968 ?        R      0:40 rsync --server --sender -vulogDtprz . /home/service/backup/
942    
943    x finally: we have a backup-system!
944      - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup'
945      - backs up:
946        x /home/*   (except /home/service)
947        x /data/bin  (approx. 9.2M)
948        x /data/libs  (approx. 1.7M)
949        x /data/opt  (approx. 27M)
950        o /data/var  (approx. 104M)
951          o mysql-db
952          o news-spool
953        o /data/www  (approx. 126M)
954          x /data/www/virtual/lashlarue  (approx. 28M)
955          x /data/www/virtual/netfrag  (approx. 68M)
956          x /data/www/virtual/wac  (approx. 4M)
957      o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!!
958      o prevent recursive backups (what happens if the backup directory itself would be specified to backup???)
959      => #> crontab -e
960            adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all
961      o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G)
962    
963    o establish logfile-rotation with logrotate!!!
964      #> cd /data/www/virtual/lashlarue/log
965      #> gzip access_log
966      #> gzip error_log
967    
968    o more todos:
969      1. clean more diskspace
970        How to find files larger than, hmm, let's say: 512MB?
971        use 'dus'! [Disk Usage Sorter]
972        http://marginalhacks.com/bin/dus
973        x now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf)
974        o /home/uml/skels aufräumen!
975      2. draw more diagrams
976      3. let 'monit' monitor our umls
977        together with heartbeat!
978      4. make more backups
979        databases: code (repository) and rdbms-sql (mysql)
980    
981    o look in /var/log/syslog after crash! (other logfiles?)
982    

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.59

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