qmail startup error !

qmail startup error !

Post by Gary Nugen » Fri, 23 Feb 2001 14:49:03



I am trying to get QMail 1.03 installed and running on my RH7.0 server.
I followed the Howto v2 doc and was able to get qmail to start, sort of
!

When I start qmail using the script below, the following processes only
get started :-

ps auxww | grep qmail
root       689  2.7  0.5  1088  324 pts/2    S    21:51   0:39 supervise

qmail-send
root       691  0.0  0.5  1088  324 pts/2    S    21:51   0:00 supervise

qmail-smtpd
qmaill     693  0.0  0.5  1100  320 pts/2    S    21:51   0:00
/usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-smtpd
qmaild     694  0.0  0.7  1152  472 pts/2    S    21:51   0:00
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 507 -g 507 0 smtp

/var/qmail/bin/qmail-smtpd
qmaill     695  0.3  0.5  1104  372 pts/2    S    21:51   0:05
/usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-send
root     15191  0.0  0.6  1412  408 pts/2    R    22:14   0:00 sh
/var/qmail/rc

I don't see the lspawn, rspawn processes etc.

However if I do a telnet localhost smtp, I get the following which I
believe is correct -

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mymachine.mydomain.com ESMTP

I did install the daemontools, ucspi-tcp, fastforward and dot-forward
stuff also, have I missed some configuration there maybe ?

I'm pretty sure I set up all the qmail users and groups properly and
made sure all the permissions were okay, I don't get an error when I run

svscan start, it just says it's starting  djb services.  I've also
checked syslog after running the startup script and I don't see the
'qmail: status: local 0/10 remote 0/20' line either ??

Here's the startup script, which I'm just running manually until I can
confirm it's all working, then I guess I'll stick it in init.d

Hope someone can shed some light on what's up ?

-------------#!/bin/sh -e
# /etc/init.d/svscan : start or stop svscan.
# borrowed from http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail

case "$1" in
    start)
        echo -n "Starting djb services: svscan
        cd /service
        env - PATH="/usr/local/bin:$PATH" svscan &
        echo $! > /var/run/svscan.pid
        echo "."
        ;;
    stop)
        echo -n "Stopping djb services: svscan "
        kill `cat /var/run/svscan.pid`
        echo -n "services "
        svc -dx /service/*
        echo -n " logging "
        svc -dx /service/*/log
        echo "."
        ;;
    restart|reload|force-reload)
        $0 stop
        $0 start
        ;;
    *)
        echo 'Usage: /etc/init.d/svscan {start|stop|restart}'
        exit 1
esac

exit 0

------------

 
 
 

1. Qmail Working! Except this error at startup

I have an install of Mandrake (RH) 6.0 running Qmail as a POP toaster.

it all runs great.

Except at startup it gets this error:
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary
failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure

Not sure what it means by "acquire".

Any suggestions would be appreciated

Derek

2. Philips 15" monitor timings

3. qmail-smtpd startup way slow

4. format.dat entry for ST15230N

5. qmail startup script

6. Newbie-to Lunix-few Questiobs

7. qmail and qmail+MRTG How-Tos

8. Screen energy saving feature never comes on with XFree and RH 5.1

9. qmail help: how do i use qmail-pw2u????

10. Netscape suitespot: error number 11, unknown early startup error

11. Apache 1.3.24 startup error on Solaris 8 _floatdisf error

12. Fvwm2 Startup error, mouse error and Linux partition extending?