Hi guys,
I'm not sure this is the right place to ask for help because it may just be a
supervise issue. As I'm not quite sure though, let me ask.
I just got a fresh qmail install (netqmail-1.05 package from lwq) on a Fedora
Core4 2.6.13 kernel. I installed qmail and daemontools0.76 plsu ucspi-tcp-0.88.
I went though install finely and I was surprise by the very good installation
guide from lwq website. So everything is fine, except qmail-smtpd don't start.
When I try to start service manually throught svc :
[root@srv05 qmail-smtpd]# svc -d .
[root@srv05 qmail-smtpd]# ./run
multilog: fatal: unable to lock directory /var/log/qmail: temporary failure
I checked if there was another process troying to access this file/dir or even
port :
[root@srv05 qmail-smtpd]# ps aux |grep mail
root 2765 0.0 0.0 1404 256 ? S 15:39 0:04 readproctitle
service errors: ...emporary failure?multilog: fatal: unable to lock directory
/var/log/qmail: temporary failure?multilog: fatal: unable to lock directory
/var/log/qmail: temporary failure?multilog: fatal: unable to lock directory
/var/log/qmail: temporary failure?multilog: fatal: unable to lock directory
/var/log/qmail: temporary failure?multilog: fatal: unable to lock directory
/var/log/qmail: temporary failure?
root 2766 0.0 0.0 1412 308 ? S 15:39 0:00 supervise
qmail-smtpd
root 2768 0.0 0.0 1416 308 ? S 15:39 0:00 supervise
qmail-send
root 8677 0.0 0.2 3956 1212 ? Ss 17:38 0:00 /usr/bin/wget
-a /dev/null -O /dev/null -q http://130.1.98.61/xps/modules/xhelp/checkemail.php
qmaill 8882 0.0 0.0 1428 300 ? S 17:45 0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmails 8883 0.0 0.0 1588 388 ? S 17:45 0:00 qmail-send
qmaill 8885 0.0 0.0 1424 304 ? S 17:45 0:00
/usr/local/bin/multilog t /var/log/qmail
root 8886 0.0 0.0 1556 344 ? S 17:45 0:00 qmail-lspawn
./Maildir/
qmailr 8887 0.0 0.0 1556 340 ? S 17:45 0:00 qmail-rspawn
qmailq 8888 0.0 0.0 1548 340 ? S 17:45 0:00 qmail-clean
root 10066 0.0 0.1 3788 740 pts/1 R+ 18:01 0:00 grep mail
[root@srv05 qmail-smtpd]# netstat -a
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 srv05:32000 *:*
LISTEN
tcp 0 0 *:20000 *:*
LISTEN
tcp 0 0 *:32769 *:*
LISTEN
tcp 0 0 *:mysql *:*
LISTEN
tcp 0 0 *:netbios-ssn *:*
LISTEN
tcp 0 0 *:sunrpc *:*
LISTEN
tcp 0 0 *:10000 *:*
LISTEN
tcp 0 0 *:omni *:*
LISTEN
tcp 0 0 *:ftp *:*
LISTEN
tcp 0 0 srv05:ipp *:*
LISTEN
tcp 0 0 srv05:5335 *:*
LISTEN
tcp 0 0 *:microsoft-ds *:*
LISTEN
====> As you can see, no other process. Nothing is listening or running about
smtp.
[root@srv05 log]# ll /var/log/qmail
total 8
-rw-r--r-- 1 qmaill nofiles 1846 jun 6 17:45 current
-rw------- 1 qmaill nofiles 0 jun 6 16:41 lock
-rw------- 1 qmaill nofiles 0 jun 6 14:24 lock.old
drwxrwxrwx 2 qmaill nofiles 4096 jun 6 16:41 smtpd
-rw-r--r-- 1 qmaill nofiles 0 jun 6 14:24 state
[root@srv05 smtpd]# pwd
/var/log/qmail/smtpd
[root@srv05 smtpd]# ll
total 0
-rw-r--r-- 1 qmaill nofiles 0 jun 6 14:24 current
-rw------- 1 qmaill nofiles 0 jun 6 16:41 lock
-rw-r--r-- 1 qmaill nofiles 0 jun 6 14:24 state
====> doesn't seem like a file perm problem. As I was note sure, I've tried a
chmod 777 on /var/log/qmail/smtpd, then a chmod -R on the same dir. But still
NOK. I've also try to rm the /var/log/qmail/smtpd/lock file, and restarting all
the qmail stuff, a new file is created but I still got the problem. I've also
try to restart the system => NOK.
I've checked lwq site, tried the http://lifewithqmail.org/inst_check script
that says everything looks good. I've searched google, this mailing list
archive, without success. Sorry for if this Email is a bit long, but I got no
more solutions right now than asking this list.
Thanks
Fab
|