problem with qmail
i've installed qmail for the first time,configured it from Life With Qmail
i faced a problem can't solve it myself: first: [root@localhost root]#nmap <my ip address> (The 1656 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 22/tcp open ssh 110/tcp open pop3 111/tcp open rpcbind Nmap run completed -- 1 IP address (1 host up) scanned in 1.505 seconds ########### as you see smtp does not started [root@localhost root]#svscan supervise: fatal: unable to start qmail/run: file does not exist supervise: fatal: unable to start Desktop/run: file does not exist supervise: fatal: unable to start lwq_files/run: file does not exist supervise: fatal: unable to start evolution/run: file does not exist supervise: fatal: unable to start qmail/run: file does not exist supervise: fatal: unable to start Desktop/run: file does not exist supervise: fatal: unable to start lwq_files/run: file does not exist supervise: fatal: unable to start evolution/run: file does not exist supervise: fatal: unable to start qmail/run: file does not exist supervise: fatal: unable to start Desktop/run: file does not exist . . . [root@localhost root]#ps -ef | grep qmail root 2611 1 0 18:13 tty1 00:00:00 /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup sys1.value.com /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir root 4812 4811 0 18:30 ? 00:00:00 supervise qmail-smtpd root 4816 4811 0 18:30 ? 00:00:00 supervise qmail-send root 4820 4809 0 18:30 ? 00:00:01 readproctitle service errors: ...rvise/run: file does not exist?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?supervise: fatal: unable to start supervise/run: file does not exist?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure?supervise: fatal: unable to start supervise/run: file does not exist?multilog: fatal: unable to lock directory /var/log/qmail: temporary failure? qmails 5307 4816 0 18:34 ? 00:00:00 qmail-send root 5309 5307 0 18:34 ? 00:00:00 qmail-lspawn ./Mailbox qmailr 5310 5307 0 18:34 ? 00:00:00 qmail-rspawn qmailq 5311 5307 0 18:34 ? 00:00:00 qmail-clean qmaill 5313 4814 0 18:34 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail/smtpd qmaill 5314 4818 0 18:34 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail qmaill 7120 4812 0 18:47 ? 00:00:00 [multilog] <defunct> root 7122 3383 0 18:47 pts/2 00:00:00 grep qmail |
qmail uses several scripts to control its behaviour. These are called run files. Did you create them?
|
yes
|
u can install qmail by reading the guide at www.qmailrocks.org
|
optionally go for a decent mailer :D
just trying to get my live customer system on scamd and clamd and im patching myself mad :mad: |
qmail rocks, you my friend look like you missed a couple of the installation steps... as our friend above mentioned... use www.qmailrocks.org to re-do your installation and be on your way.
|
svscan from memory tries to run a supervise thingy for every file in the current directory. Now if it is already running (resonably likely) then i'm pretty sure it will fail (because of file locks and the like).
Try running svstat * instead to see if they are already running. This will tell you what is going and what it not (the ps is also helpful, but supervise is quite aggresive at getting things running so if it fails it tends to try again straight away meaning you pretty much always have a process for each of the progs (if you run ps a few times in a row you may notice the pid's changing)). Anyway run svstat to see what is going on. If there is anything that has been running for 0 or 1 second then check the logs to work out why it is failing. You can try svc -d <service> to stop it and then try to run it manually if you like, a good start if there is a prob. The other thing is that it looks like you tried to run svscan in a user directory (only a guess but Desktop, evolution et al were a sign i was on the right track). The actual files are probably stored in /service/ so chdir there first before you do the above tests. See how you go |
thanks for all
i'll try it later and send you the results:cool: |
Quote:
|
All times are GMT -5. The time now is 10:24 AM. |