Thanks for your help.
I checked the system, and found out that there were 2 places that initiate
svscan. The one is /etc/inittab, and the other is /etc/init.d/svscan.
Life with Qmail (installation document) misses the point that
daemontool installs /etc/init.d/svscan and that it requests the readers
to put a commanline in the /etc/inittab.
So I removed the command line in the inittab file.
And the svscan problem went away. (Thanks for your hint.)
But I still have another problem unsolved yet.
I booted the system again, and still sees a warning message keep scrolling up.
It is "supervise:fatal:unable to start supervise/run:file does not exist".
The directories related are as follows.
1. /service
# ls -l /service
lrwxrwxrwx 1 root root 31 6¿ù 16 18:05 qmail-send ->
/var/qmail/supervise/qmail-send
lrwxrwxrwx 1 root root 32 6¿ù 16 18:05 qmail-smtpd ->
/var/qmail/supervise/qmail-smtpd
drwx------ 3 root root 4096 6¿ù 16 23:16 supervise
(There is another supervise inside the supervise directory.)
2. /var/qmail/supervise/qmail-send/supervise
3. /var/qmail/supervise/qmail-smtpd/supervise
And for more information, I grepped the ps.
1. ps ax |grep supervise
315 ? S 0:00 supervise supervise
317 ? S 0:00 supervise qmail-send
318 ? S 0:00 supervise log
319 ? S 0:01 supervise qmail-smtpd
320 ? S 0:00 supervise log
4194 ? S 0:00 supervise qmail-smtpd
4195 ? S 0:00 supervise supervise
2. ps ax |grep qmail
317 ? S 0:00 supervise qmail-send
319 ? S 0:01 supervise qmail-smtpd
321 ? S 0:00 qmail-send
323 ? S 0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
324 ? S 0:00 /usr/local/bin/multilog t /var/log/qmail
438 ? S 0:00 qmail-lspawn ./Mailbox
439 ? S 0:00 qmail-rspawn
440 ? S 0:00 qmail-clean
4514 ? S 0:00 supervise qmail-smtpd
Please give me another help.
Warm regards,
On Sat, Jun 16, 2001 at 05:57:03AM -0400, tc lewis wrote:
>
> it looks like you have svscan running on / and /service instead of just
> /service. check your /etc/inittab and other init scripts and such and
> make sure that only 1 svscan is running and only on /service. there are
> also 2 supervise processes running on qmail-smtpd for some reason. it
> could be related to the above. since 2 of those are running, 1 of them is
> actually running it (bound on port 25/tcp), and the other one keeps trying
> to start it but fails because it can't bind to that port since the first
> one already has it...
>
> somewhere to start, at least.
>
> -tcl.
>
>
> On Sat, 16 Jun 2001, YOON, Joo-Yung wrote:
>
> > I installed qmail in accordance with lwq (dated 13 June 2001).
> > I am gone to chapter 2 Installation, and did not go to chapter 3
> > Configuratin yet.
> >
> > Tried to stop qmail, but it does not stop by saying
> > qmail-send: no file
> > qmail-smtp: no file
> >
> > But I have them in /service linked to /var/qmail/supervise.
> >
> > So I restarted the linux box.
> > Then I could stop and start the qmail system.
> >
> > But the log in /var/log/qmail/smtpd/current says
> > @400000003b2b26d422cdd01c tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d53b4973bc tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d70196845c tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d80352e22c tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d90504dfbc tcpserver: fatal: unable to bind: address already used
> >
> > and the terminal of the booting still produces junk fatal error messages that
> > I can not read because they scroll up too fast.
> >
> > The environment of my system is
> > linux-2.2.18
> > debian-2.2 (potato)
> > qmail-1.03
> > ucspi-tcp-0.88
> > daemontools-0.70
> >
> > Now the qmail is running, and I attach the ps output for your information.
> >
> > Could you please help me?
> > I will highly appreciate it.
> >
> > Warm regards,
> > --
> > YOON, Joo-Yung / ArBaGo Int'l
> > KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
> > Mobile +82.19.350.1369 Fax +82.32.655.855.9 Email [EMAIL PROTECTED]
> >
>
>
>
--
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369 Fax +82.32.655.855.9 Email [EMAIL PROTECTED]