Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
Distribution: Debian, Suse, Knoppix, Dyna:bolic, Mandrake [couple of years ago], Slackware [1993 or so]
Posts: 150
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.