12 |
@cvs-info |
@cvs-info |
13 |
$Id$ |
$Id$ |
14 |
$Log$ |
$Log$ |
15 |
Revision 1.44 2003/03/11 18:25:55 joko |
Revision 1.52 2003/03/11 23:55:58 joko |
16 |
|
+ AUTOCOMMIT: updated/added content |
17 |
|
|
18 |
|
Revision 1.51 2003/03/11 23:25:49 joko |
19 |
|
+ AUTOCOMMIT: updated/added content |
20 |
|
|
21 |
|
Revision 1.50 2003/03/11 22:56:12 joko |
22 |
|
+ AUTOCOMMIT: updated/added content |
23 |
|
|
24 |
|
Revision 1.48 2003/03/11 22:03:23 joko |
25 |
|
+ AUTOCOMMIT: updated/added content |
26 |
|
|
27 |
|
Revision 1.47 2003/03/11 21:05:22 joko |
28 |
|
+ AUTOCOMMIT: updated/added content |
29 |
|
|
30 |
|
Revision 1.45 2003/03/11 18:55:52 joko |
31 |
+ AUTOCOMMIT: updated/added content |
+ AUTOCOMMIT: updated/added content |
32 |
|
|
33 |
Revision 1.43 2003/03/11 17:56:02 joko |
Revision 1.43 2003/03/11 17:56:02 joko |
833 |
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) |
834 |
x /etc/init.d/amavis-milter restart |
x /etc/init.d/amavis-milter restart |
835 |
no! same error as above! |
no! same error as above! |
836 |
|
the problem is: |
837 |
|
watch the output of 'perl -V' - at the bottom: |
838 |
|
<screen> |
839 |
|
Characteristics of this binary (from libperl): |
840 |
|
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT |
841 |
|
Built under linux |
842 |
|
Compiled at Feb 17 2003 12:38:57 |
843 |
|
@INC: |
844 |
|
/etc/perl |
845 |
|
/usr/local/lib/perl/5.8.0 |
846 |
|
/usr/local/share/perl/5.8.0 |
847 |
|
/usr/lib/perl5 |
848 |
|
/usr/share/perl5 |
849 |
|
/usr/lib/perl/5.8.0 |
850 |
|
/usr/share/perl/5.8.0 |
851 |
|
/usr/local/lib/site_perl |
852 |
|
. |
853 |
|
</screen> |
854 |
|
|
855 |
|
The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at |
856 |
|
/usr/lib/perl5/auto/Time/HiRes/HiRes.so. |
857 |
|
|
858 |
|
We have these options: |
859 |
|
1. delete this stuff |
860 |
|
2. put a better version at '.' |
861 |
|
3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5' |
862 |
|
4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5' |
863 |
|
|
864 |
|
Hmmm..... |
865 |
|
I think i'll choose option 1.: |
866 |
|
x rm -rf /usr/lib/perl5/auto/Time/HiRes |
867 |
|
(or if you don't wanna be as brute-force) |
868 |
|
x cd /usr/lib/perl5/auto/Time |
869 |
|
x mv HiRes HiRes.old |
870 |
|
|
871 |
|
=> let's try again: |
872 |
|
x /etc/init.d/amavis-milter restart |
873 |
|
Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245. |
874 |
|
|
875 |
|
=> ahhh... (also testable via 'perl -MTime::HiRes') |
876 |
|
x dpkg --force-depends -r libtime-hires-perl |
877 |
|
=> my fault! ;-) |
878 |
|
|
879 |
|
=> so, everything works fine now.... |
880 |
|
x /etc/init.d/amavis-milter restart |
881 |
|
|
882 |
o BER.pm: BER (Basic Encoding Rules) encoding and decoding. |
o BER.pm: BER (Basic Encoding Rules) encoding and decoding. |
883 |
|
|
884 |
o use the [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]? |
o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]? |
885 |
|
|
886 |
|
o use pdumpfs! |
887 |
|
|
888 |
|
o what we build seems similar to Torque <-> Maven (Tangram|XyZ+Data::Storage <-> nfo-libs|rap) |
889 |
|
|
890 |
|
o write meta-documentation about why it's required to lift version-numbers of debian-packages |
891 |
|
-> Why dpkg-liftversion? |
892 |
|
1. yakka: libxml2!!! |
893 |
|
2. amavis-milter: razor-1-branch-required |
894 |
|
|
895 |
|
o installing pdumpfs as system-wide backup-system: |
896 |
|
x mkdir -p /home/service/virtual/pdumpfs/var/data |
897 |
|
x mkdir -p /home/service/virtual/pdumpfs/var/log |
898 |
|
x cd /usr/local/bin |
899 |
|
x ln -s /home/service/virtual/pdumpfs/backup . |
900 |
|
|
901 |
|
o feature: BrowsableBackup: |
902 |
|
o missing: authentication via LDAP.... |
903 |
|
|
904 |
|
o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc... |
905 |
|
->packages.service.netfrag.org |
906 |
|
-->/usr/local/bin |
907 |
|
|
908 |
|
o one account - three services: |
909 |
|
o wiki |
910 |
|
o news |
911 |
|
o backup |
912 |
|
(o ssh) (not-a-must) |
913 |
|
|
914 |
|
o dpkg-modcontrol!!! |
915 |
|
|
916 |
|
o robinson - purge package dependencies from .deb- or .rpm-packages |
917 |
|
can alien do that? |
918 |
|
|
919 |
|
o rsync working: view from the server-side: |
920 |
|
3968 ? R 0:40 rsync --server --sender -vulogDtprz . /home/service/backup/ |
921 |
|
|
922 |
|
x finally: we have a backup-system! |
923 |
|
- built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup' |
924 |
|
- backs up: |
925 |
|
x /home/* (except /home/service) |
926 |
|
x /data/bin (approx. 9.2M) |
927 |
|
x /data/libs (approx. 1.7M) |
928 |
|
x /data/opt (approx. 27M) |
929 |
|
o /data/var (approx. 104M) |
930 |
|
o /data/www (approx. 244M) |
931 |
|
x /data/www/virtual/lashlarue (approx. 28M) |
932 |
|
x /data/www/virtual/netfrag (approx. 68M) |
933 |
|
x /data/www/virtual/wac (approx. 4M) |
934 |
|
|
935 |
|
o establish logfile-rotation with logrotate!!! |
936 |
|
#> cd /data/www/virtual/lashlarue/log |
937 |
|
#> gzip access_log |
938 |
|
#> gzip error_log |
939 |
|
|