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