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