/[cvs]/joko/doc/SampleTasks/joko_2004-09.twingle
ViewVC logotype

Annotation of /joko/doc/SampleTasks/joko_2004-09.twingle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sun Sep 5 13:18:43 2004 UTC (20 years, 2 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
initial commit

1 joko 1.1 @sequence meta
2     @title joko's sample notes - 2004-09 - Some ideas and todos
3     @topic joko's Tasks
4     @author joko@netfrag.org
5     @document-mime-type text/plain
6     @document-mime-type text/english text/german
7     @document-mime-type text/vnd.twingle
8    
9     @sequence meta
10     @document-history
11     @cvs-info
12     $Id: joko_2004-08.twingle,v 1.1 2004/08/26 11:14:27 joko Exp $
13    
14     @sequence meta
15     @x-transport
16     @x-transport-from quepasa.netfrag.org
17     @x-transport-to quepasa.netfrag.org
18     @x-transporter Debian GNU/Linux 3.0
19     @x-transporter cvs [Concurrent Versions System (CVS) 1.11.1p1 (client/server)]
20     @x-transporter-protocol cvs local access
21     @x-transporter Linux running on quepasa.netfrag.org [Linux version 2.4.18-29um (root@linux) (gcc version 2.95.3 20010315 (SuSE)) #1 Sun May 26 17:01:48 CEST 2002]
22     @x-transporter-protocol ext3
23     @x-transporter Linux running on h1.service.netfrag.org [Linux version 2.4.10-4GB (root@Pentium.suse.de) (gcc version 2.95.3 20010315 (SuSE)) #1 Tue Sep 25 12:33:54 GMT 2001]
24     @x-transporter-protocol ext3
25     #@x-converter twingle [Twingle 0.01 - http://search.netfrag.org/twingle]
26    
27     @sequence script
28     @set o=@todo
29    
30    
31    
32     @sequence block
33     @written
34     @date 2004-09-05 15:01
35     @file joko_2004-09.twingle
36     @x-editor nano [GNU nano version 1.0.6 (compiled 11:32:50, Nov 27 2001)]
37    
38     x establish xmlrpc endpoint inside php based cms
39     perl `which XMLRPCsh.pl` http://netfrag.org/nfo/netfraggle.php
40     getContent('Home');
41     getContent("Home");
42     listTopics({type => 'xmlpage'});
43    
44     x added a new virtual harddisk to quepasa (/dev/ubd3, 1000M)
45     (see: http://user-mode-linux.sourceforge.net/fs.html)
46    
47     Main host:
48     #> cd /home/uml/quepasa/datafs
49     #> dd if=/dev/zero of=data2_fs.ext3 seek=1000 count=1 bs=1M
50     #> mke2fs -j data2_fs.ext3
51    
52     Guest host:
53     #> /etc/init.d/mysql stop
54     #> /etc/init.d/apache stop
55     #> halt
56    
57     x installed html2wml (http://htmlwml.sourceforge.net/)
58     #> apt-get install html2wml
59    
60     x encountered problems with amavis on server boot:
61    
62     Starting AMaViS Daemons: amavis-milter amavisdCan't modify single ref constructor in lock at
63     /usr/sbin/amavisd line 2233, near "*MP)"
64     BEGIN not safe after errors--compilation aborted at /usr/sbin/amavisd line 3255.
65    
66     1. edited: replaced \*MP through *MP - but it didn't help!
67    
68     2. so:
69     #> apt-get install amavisd-new
70    
71     3. but:
72     Removing amavis-milter ...
73     No override present.
74     dpkg: error processing amavis-milter (--remove):
75     subprocess pre-removal script returned error exit status 2
76     Starting AMaViS Daemons: amavis-milter amavisd.
77     Errors were encountered while processing:
78     amavis-milter
79    
80     3.a.
81     #> nano /var/lib/dpkg/info/amavis-milter.prerm -w
82     comment out first loop "for i in /var/lib/amavis ... do"
83    
84     4. again:
85     #> apt-get install amavisd-new
86     Reading Package Lists... Done
87     Building Dependency Tree... Done
88     The following NEW packages will be installed:
89     amavisd-new
90     0 packages upgraded, 1 newly installed, 0 to remove and 392 not upgraded.
91     Need to get 0B/316kB of archives. After unpacking 852kB will be used.
92     Selecting previously deselected package amavisd-new.
93     (Reading database ... 38302 files and directories currently installed.)
94     Unpacking amavisd-new (from .../amavisd-new_20030616p10-3_all.deb) ...
95     Setting up amavisd-new (20030616p10-3) ...
96     Creating/updating amavis user account...
97     Adding group amavis (105)...
98     Done.
99     adduser: Warning: The home dir you specified already exists.
100     Adding system user amavis...
101     Adding new user amavis (104) with group amavis.
102     Home directory /var/lib/amavis already exists.
103     Warning: config file /etc/amavisd.conf will NOT be used
104     It is in /etc/amavis/amavisd.conf for amavisd-new
105     Starting amavisd: amavisd-new.
106    
107     #> /etc/init.d/sendmail restart
108    
109     x it becomes apparant, that we need a connection between our amavisd-new and sendmail, so:
110    
111     #> apt-get install amavisd-new-milter
112     #> /etc/init.d/sendmail restart
113    
114     Problems:
115     Sep 4 13:50:52 quepasa amavis-milter[13156]: i84Bo5Zn013155: (mlfi_eom) failed to connect():
116     Connection refused
117     Sep 4 13:50:52 quepasa amavis-milter[13156]: i84Bo5Zn013155: (mlfi_eom) communication
118     failure
119    
120     Resources:
121     http://sourceforge.net/mailarchive/forum.php?forum_id=3289&style=flat&viewday=26&viewmonth=200308
122    
123     Solution:
124    
125     read /usr/share/doc/amavisd-new-milter/README.milter:
126    
127     edit /etc/mail/sendmail.mc:
128     define(`MILTER',1)
129     INPUT_MAIL_FILTER(`/usr/sbin/amavis-milter',`S=local:/var/lib/amavis/amavisd-new-milter.sock, F=T, T=S:10m;R:10m;E:10m')
130    
131     edit /etc/amavis/amavisd.conf:
132     $unix_socketname = "/var/lib/amavis/amavisd.sock";
133     $forward_method = undef;
134     $notify_method = $notify_method = 'pipe:flags=q argv=/usr/sbin/sendmail -i -odd -f ${sender} -- ${recipient}';
135    
136     #> /etc/init.d/amavisd start
137     #> /etc/init.d/amavisd-new-milter start
138     #> /etc/init.d/sendmail start
139    
140     x enabling SpamAssassin with amavisd-new
141    
142     read /usr/share/doc/amavisd-new-milter/README.Debian:
143     "amavisd-new does not depend on spamassassin, so spam checking is not enable by
144     default. To enable spamassassin support, edit /etc/amavis/amavisd.conf and
145     comment out the line starting with @bypass_spam_checks_acl."
146    
147     x further problems with amavis (new):
148     amavis didn't stop (/etc/init.d/amavis stop) and caused "halt" to hang during shutdown
149     removed "--name $DAEMONNAME" from "start-stop-daemon" call
150    
151     x Installed "doodle" (http://ovmj.org/doodle/):
152     #> apt-get install doodle
153     didn't work!
154    
155     x installed rss2html:
156    
157     1. via idea from Linux Enterprise:
158     (maybe) useful for debugging: "xmllint": (apt-get install libxml2-utils)
159     http://netfrag.org/rss2html/rss.php?feed=http://netfrag.org/rss/nfo.log.cvs.rdf
160    
161     2. via MagpieRSS:
162     http://netfrag.org/rssreader/?url=http://netfrag.org/rss/site.rdf
163    
164     Hint:
165     ./news2rss.pl --server=news.netfrag.org --user=rss --pass=rss5% --group=nfo.log.cvs
166    
167     o improve RSS feeds generated to http://netfrag.org/rss/:
168     e.g. lift to newer version(s)?
169    
170     o html2wml:
171     #> apt-get install html2wml
172    
173     x archived data:
174     from: /home/service/bin/conftools/virtusertable_make:
175     makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
176    
177     x upgraded CPAN:
178     #> cpan
179     cpan> install Bundle::CPAN
180    

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed