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