LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-29-2004, 10:51 AM   #1
egyptian
Member
 
Registered: Aug 2003
Location: egypt
Distribution: Fedora,SuSE9
Posts: 47

Rep: Reputation: 15
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
 
Old 08-29-2004, 02:11 PM   #2
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
qmail uses several scripts to control its behaviour. These are called run files. Did you create them?
 
Old 08-30-2004, 01:18 AM   #3
egyptian
Member
 
Registered: Aug 2003
Location: egypt
Distribution: Fedora,SuSE9
Posts: 47

Original Poster
Rep: Reputation: 15
yes
 
Old 08-30-2004, 01:32 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
u can install qmail by reading the guide at www.qmailrocks.org
 
Old 08-30-2004, 06:37 PM   #5
DrNeil
Member
 
Registered: Aug 2004
Location: Scotland
Distribution: Debian, Suse, Knoppix, Dyna:bolic, Mandrake [couple of years ago], Slackware [1993 or so]
Posts: 150

Rep: Reputation: 15
optionally go for a decent mailer

just trying to get my live customer system on scamd and clamd and im patching myself mad
 
Old 08-30-2004, 09:44 PM   #6
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
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.
 
Old 08-30-2004, 10:47 PM   #7
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
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
 
Old 08-31-2004, 01:24 AM   #8
egyptian
Member
 
Registered: Aug 2003
Location: egypt
Distribution: Fedora,SuSE9
Posts: 47

Original Poster
Rep: Reputation: 15
thanks for all
i'll try it later and send you the results
 
Old 08-31-2004, 03:46 AM   #9
DrNeil
Member
 
Registered: Aug 2004
Location: Scotland
Distribution: Debian, Suse, Knoppix, Dyna:bolic, Mandrake [couple of years ago], Slackware [1993 or so]
Posts: 150

Rep: Reputation: 15
Quote:
Originally posted by littleking
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.
I didn't miss nothing as I took over from some numpty who installed that piece of mta junk without the sources. Now I am patching and patching. Too many patched variants. qmailrocks is an excellent guide, but if you take over from someone who did something its a horrible piece of software. It's running fine as it is. But upgrading to get spamd, clamd is just argghhhh.

Last edited by DrNeil; 08-31-2004 at 03:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-19-2016 11:27 PM
Need help with /var/qmail/supervise/qmail-smtpd/run coolamit78 Linux - Networking 4 02-02-2012 10:50 AM
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 03:33 AM
Qmail (Qmail-pop3d) pop login problem Punker51 Linux - Software 2 07-22-2004 02:52 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration