| 12 | @cvs-info | @cvs-info | 
| 13 | $Id$ | $Id$ | 
| 14 | $Log$ | $Log$ | 
| 15 | Revision 1.44  2003/03/11 18:25:55  joko | Revision 1.60  2003/03/12 15:55:57  joko | 
| 16 |  | + AUTOCOMMIT: updated/added content | 
| 17 |  |  | 
| 18 |  | Revision 1.59  2003/03/12 05:56:09  joko | 
| 19 |  | + AUTOCOMMIT: updated/added content | 
| 20 |  |  | 
| 21 |  | Revision 1.58  2003/03/12 05:26:22  joko | 
| 22 |  | + AUTOCOMMIT: updated/added content | 
| 23 |  |  | 
| 24 |  | Revision 1.57  2003/03/12 04:55:52  joko | 
| 25 |  | + AUTOCOMMIT: updated/added content | 
| 26 |  |  | 
| 27 |  | Revision 1.56  2003/03/12 04:26:09  joko | 
| 28 |  | + AUTOCOMMIT: updated/added content | 
| 29 |  |  | 
| 30 |  | Revision 1.55  2003/03/12 02:55:54  joko | 
| 31 |  | + AUTOCOMMIT: updated/added content | 
| 32 |  |  | 
| 33 |  | Revision 1.54  2003/03/12 01:55:58  joko | 
| 34 |  | + AUTOCOMMIT: updated/added content | 
| 35 |  |  | 
| 36 |  | Revision 1.53  2003/03/12 01:25:57  joko | 
| 37 |  | + AUTOCOMMIT: updated/added content | 
| 38 |  |  | 
| 39 |  | Revision 1.52  2003/03/11 23:55:58  joko | 
| 40 |  | + AUTOCOMMIT: updated/added content | 
| 41 |  |  | 
| 42 |  | Revision 1.51  2003/03/11 23:25:49  joko | 
| 43 |  | + AUTOCOMMIT: updated/added content | 
| 44 |  |  | 
| 45 |  | Revision 1.50  2003/03/11 22:56:12  joko | 
| 46 |  | + AUTOCOMMIT: updated/added content | 
| 47 |  |  | 
| 48 |  | Revision 1.48  2003/03/11 22:03:23  joko | 
| 49 |  | + AUTOCOMMIT: updated/added content | 
| 50 |  |  | 
| 51 |  | Revision 1.47  2003/03/11 21:05:22  joko | 
| 52 |  | + AUTOCOMMIT: updated/added content | 
| 53 |  |  | 
| 54 |  | Revision 1.45  2003/03/11 18:55:52  joko | 
| 55 | + AUTOCOMMIT: updated/added content | + AUTOCOMMIT: updated/added content | 
| 56 |  |  | 
| 57 | Revision 1.43  2003/03/11 17:56:02  joko | Revision 1.43  2003/03/11 17:56:02  joko | 
| 682 |  |  | 
| 683 | o quick (javascript) search for netfrag.org and packages.debian.org (xul?) | o quick (javascript) search for netfrag.org and packages.debian.org (xul?) | 
| 684 |  |  | 
| 685 | o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]] | o phpDirectoryIndex: | 
| 686 |  | o integrate Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]] | 
| 687 |  | o hide more entries: e.g. 'CVS' (declare as "cvs-repository-metadata" - "hidden by default") | 
| 688 |  |  | 
| 689 | @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/ | @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/ | 
| 690 |  |  | 
| 859 | x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again) | x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again) | 
| 860 | x /etc/init.d/amavis-milter restart | x /etc/init.d/amavis-milter restart | 
| 861 | no! same error as above! | no! same error as above! | 
| 862 |  | the problem is: | 
| 863 |  | watch the output of 'perl -V' - at the bottom: | 
| 864 |  | <screen> | 
| 865 |  | Characteristics of this binary (from libperl): | 
| 866 |  | Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT | 
| 867 |  | Built under linux | 
| 868 |  | Compiled at Feb 17 2003 12:38:57 | 
| 869 |  | @INC: | 
| 870 |  | /etc/perl | 
| 871 |  | /usr/local/lib/perl/5.8.0 | 
| 872 |  | /usr/local/share/perl/5.8.0 | 
| 873 |  | /usr/lib/perl5 | 
| 874 |  | /usr/share/perl5 | 
| 875 |  | /usr/lib/perl/5.8.0 | 
| 876 |  | /usr/share/perl/5.8.0 | 
| 877 |  | /usr/local/lib/site_perl | 
| 878 |  | . | 
| 879 |  | </screen> | 
| 880 |  |  | 
| 881 |  | The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at | 
| 882 |  | /usr/lib/perl5/auto/Time/HiRes/HiRes.so. | 
| 883 |  |  | 
| 884 |  | We have these options: | 
| 885 |  | 1. delete this stuff | 
| 886 |  | 2. put a better version at '.' | 
| 887 |  | 3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5' | 
| 888 |  | 4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5' | 
| 889 |  |  | 
| 890 |  | Hmmm..... | 
| 891 |  | I think i'll choose option 1.: | 
| 892 |  | x rm -rf /usr/lib/perl5/auto/Time/HiRes | 
| 893 |  | (or if you don't wanna be as brute-force) | 
| 894 |  | x cd /usr/lib/perl5/auto/Time | 
| 895 |  | x mv HiRes HiRes.old | 
| 896 |  |  | 
| 897 |  | => let's try again: | 
| 898 |  | x /etc/init.d/amavis-milter restart | 
| 899 |  | Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245. | 
| 900 |  |  | 
| 901 |  | => ahhh...  (also testable via 'perl -MTime::HiRes') | 
| 902 |  | x dpkg --force-depends -r libtime-hires-perl | 
| 903 |  | => my fault! ;-) | 
| 904 |  |  | 
| 905 |  | => so, everything works fine now.... | 
| 906 |  | x /etc/init.d/amavis-milter restart | 
| 907 |  |  | 
| 908 | o BER.pm:  BER (Basic Encoding Rules) encoding and decoding. | o BER.pm:  BER (Basic Encoding Rules) encoding and decoding. | 
| 909 |  |  | 
| 910 | o use the [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]? | o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]? | 
| 911 |  |  | 
| 912 |  | o use pdumpfs! | 
| 913 |  |  | 
| 914 |  | o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap) | 
| 915 |  |  | 
| 916 |  | o write meta-documentation about why it's required to lift version-numbers of debian-packages | 
| 917 |  | -> Why dpkg-liftversion? | 
| 918 |  | 1. yakka: libxml2!!! | 
| 919 |  | 2. amavis-milter: razor-1-branch-required | 
| 920 |  |  | 
| 921 |  | o installing pdumpfs as system-wide backup-system: | 
| 922 |  | x mkdir -p /home/service/virtual/pdumpfs/var/data | 
| 923 |  | x mkdir -p /home/service/virtual/pdumpfs/var/log | 
| 924 |  | x cd /usr/local/bin | 
| 925 |  | x ln -s /home/service/virtual/pdumpfs/backup . | 
| 926 |  |  | 
| 927 |  | o feature: BrowsableBackup: | 
| 928 |  | o missing: authentication via LDAP.... | 
| 929 |  |  | 
| 930 |  | o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc... | 
| 931 |  | ->packages.service.netfrag.org | 
| 932 |  | -->/usr/local/bin | 
| 933 |  |  | 
| 934 |  | o one account - three services: | 
| 935 |  | o wiki | 
| 936 |  | o news | 
| 937 |  | o backup | 
| 938 |  | (o ssh) (not-a-must) | 
| 939 |  |  | 
| 940 |  | o dpkg-modcontrol!!! | 
| 941 |  |  | 
| 942 |  | o robinson - purge package dependencies from .deb- or .rpm-packages | 
| 943 |  | can alien do that? | 
| 944 |  |  | 
| 945 |  | o rsync working: view from the server-side: | 
| 946 |  | 3968 ?        R      0:40 rsync --server --sender -vulogDtprz . /home/service/backup/ | 
| 947 |  |  | 
| 948 |  | x finally: we have a backup-system! | 
| 949 |  | - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup' | 
| 950 |  | - backs up: | 
| 951 |  | x /home/*   (except /home/service) | 
| 952 |  | x /data/bin  (approx. 9.2M) | 
| 953 |  | x /data/libs  (approx. 1.7M) | 
| 954 |  | x /data/opt  (approx. 27M) | 
| 955 |  | o /data/var  (approx. 104M) | 
| 956 |  | o mysql-db | 
| 957 |  | o news-spool | 
| 958 |  | o /data/www  (approx. 126M) | 
| 959 |  | x /data/www/virtual/lashlarue  (approx. 28M) | 
| 960 |  | x /data/www/virtual/netfrag  (approx. 68M) | 
| 961 |  | x /data/www/virtual/wac  (approx. 4M) | 
| 962 |  | o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!! | 
| 963 |  | o prevent recursive backups (what happens if the backup directory itself would be specified to backup???) | 
| 964 |  | => #> crontab -e | 
| 965 |  | adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all | 
| 966 |  | o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G) | 
| 967 |  |  | 
| 968 |  | o establish logfile-rotation with logrotate!!! | 
| 969 |  | #> cd /data/www/virtual/lashlarue/log | 
| 970 |  | #> gzip access_log | 
| 971 |  | #> gzip error_log | 
| 972 |  |  | 
| 973 |  | o more todos: | 
| 974 |  | x clean more diskspace | 
| 975 |  | - How to find files larger than, hmm, let's say: 512MB? | 
| 976 |  | use 'dus'! [Disk Usage Sorter] | 
| 977 |  | http://marginalhacks.com/bin/dus | 
| 978 |  | - now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf) | 
| 979 |  | o /home/uml/skels aufräumen! | 
| 980 |  | o draw more diagrams | 
| 981 |  | o let 'monit' monitor our umls | 
| 982 |  | - together with heartbeat! | 
| 983 |  | o make more backups | 
| 984 |  | databases: code (repository) and rdbms-sql (mysql) | 
| 985 |  |  | 
| 986 |  | o look in /var/log/syslog after crash! (other logfiles?) | 
| 987 |  |  | 
| 988 |  | o h1.service.netfrag.org: | 
| 989 |  | rjoko@h1:/home/uml/helo # monit | 
| 990 |  | monit: error while loading shared libraries: libssl.so.2: cannot open shared object file: No such file or directory | 
| 991 |  | rjoko@h1:/home/uml/helo # deleeeeete backup!!! is it reeaaady? | 
| 992 |  |  | 
| 993 |  | x h1.service.netfrag.org - ssh-upgrade [security] | 
| 994 |  |  | 
| 995 |  | rjoko@h1:~ # ssh -V | 
| 996 |  | OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f | 
| 997 |  |  | 
| 998 |  | #> cd /home/public/archive/security | 
| 999 |  | fetch recent versions from (e.g.) ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/rpm/RH73/ | 
| 1000 |  |  | 
| 1001 |  | o what about legolas? | 
| 1002 |  |  | 
| 1003 |  | o search-shortcut to rpmfind.net | 
| 1004 |  |  |