LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-21-2003, 02:50 AM   #1
icefantum
LQ Newbie
 
Registered: May 2003
Location: San Antonio, Texas
Posts: 9

Rep: Reputation: 0
New Qmail Server


I installed Qmail today and have been troubleshooting it for the better part of several hours. When I enter the command: `ps auxww | grep qmail` I receive the output:

root 2834 0.0 0.0 1356 284 pts/0 S 07:45 0:00 supervise qmail-send
qmails 2835 0.0 0.0 1404 344 pts/0 S 07:45 0:00 [qmail-send]
qmaill 2836 0.0 0.0 1372 408 pts/0 S 07:45 0:00 [splogger]
root 2838 0.0 0.0 1356 284 pts/0 S 07:45 0:00 supervise qmail-smtpd
root 2839 0.0 0.0 1348 236 pts/0 S 07:45 0:00 readproctitle service errors: ... exist?supervise: fatal: unable to start qmail/run: file does not exist?supervise: fatal: unable to start qmail/run: file does not exist?supervise: fatal: unable to start qmail/run: file does not exist?supervise: fatal: unable to start qmail/run: file does not exist?supervise: fatal: unable to start qmail/run: file does not exist?supervise: fatal: unable to start qmail/run: file does not exist?
qmaild 2840 0.0 0.0 1428 468 pts/0 S 07:45 0:00 [tcpserver]
qmaill 2843 0.0 0.0 1376 320 pts/0 S 07:45 0:00 /usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-smtpd
root 2844 0.0 0.0 1356 284 pts/0 S 07:45 0:00 supervise qmail
qmaill 2847 0.0 0.0 1368 312 pts/0 S 07:45 0:00 /usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-send
root 2848 0.0 0.0 1364 288 pts/0 S 07:45 0:00 qmail-lspawn |preline procmail
qmailr 2849 0.0 0.0 1360 288 pts/0 S 07:45 0:00 [qmail-rspawn]
qmailq 2850 0.0 0.0 1356 288 pts/0 S 07:45 0:00 [qmail-clean]
root 2887 0.0 0.0 3576 640 pts/1 S 07:45 0:00 grep qmail

I ran /command/svscan on its own and I receive the following output:

supervise: fatal: unable to start programs/run: file does not exist
supervise: fatal: unable to start Maildir/run: file does not exist
supervise: fatal: unable to start qmail/run: file does not exist

Is this reading options from the .qmail file in user directory? If not, where is it looking for files?

Kevin
 
Old 05-21-2003, 09:04 AM   #2
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
There appears to be an issue with the run files. What documentaion are you using?
 
Old 05-21-2003, 10:47 AM   #3
icefantum
LQ Newbie
 
Registered: May 2003
Location: San Antonio, Texas
Posts: 9

Original Poster
Rep: Reputation: 0
http://www.icefantum.net/~kdome/qmail-howto.html

I forgot what website I took it from.

I was doing some testing last night and it delivers and sends fine for my primary user, root wasnt working so well but I think it is an alias issur with that. I would assume that error could be ignored if all is working, but I dont like having errors period. If you need any more information, I will be happy to oblige.
 
Old 05-21-2003, 07:12 PM   #4
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Okay,

I am familiar with "Life with qmail" from www.qmail.org.

They set up qmail a little bit differently.

Did you copy and paste the run scripts from the document or did you type them in? I have seen this error occur when:

1. typing errors exist in the run scripts

2. the user used a Windows machine to copy and paste the
run scripts. Windows text editors add stuff to text files that
Linux doesn't like.
 
Old 05-21-2003, 09:01 PM   #5
icefantum
LQ Newbie
 
Registered: May 2003
Location: San Antonio, Texas
Posts: 9

Original Poster
Rep: Reputation: 0
i found the problem, and fixed it. thanks.
 
Old 05-22-2003, 07:35 AM   #6
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Please let us know the nature of the difficulty and the solution.

This would assist other members who have the same difficulty in the future.
 
Old 05-22-2003, 07:41 AM   #7
icefantum
LQ Newbie
 
Registered: May 2003
Location: San Antonio, Texas
Posts: 9

Original Poster
Rep: Reputation: 0
If you run the /command/svscan command with an extra arguement say:

/command/svscan /service/*

it will run it from /service/ and obviously /service doesnt have the necessary files, so I ran it from /var/qmail/supervise instead

but I found a far better tutorial

http://www.slackwarelinux.net/documents/qmail-HOWTO

includes setup for popmail and webmail (which I am currently trying to get to work, but havent gone indepth yet)
 
Old 06-07-2003, 06:34 PM   #8
Madrinator
Member
 
Registered: May 2003
Location: Guadalajara, Mexico
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
I had the same problem with one of my scripts because I downloaded it to a windos machine and I forgot to convert it to unix format, so every time I tried to execute the script I got the message "No such file or directory".
I checked line by line my script and I translated to Spanish the messages and when I saved it I realized that it was in DOS format.

I searched the net for a format converter and I found one at:

http://www.simtel.net/pub/pd/59721.html

Then I converted my script to unix format and it worked.

Saludos!!

Last edited by Madrinator; 06-07-2003 at 06:39 PM.
 
  


Reply



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 as a relay server Jukas Linux - Software 1 10-07-2005 04:07 AM
qmail on dedicated server fuelinjection Linux - General 1 07-04-2005 03:56 PM
qmail server getting attacked lsimon4180 Linux - Software 41 10-15-2004 03:44 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
QMAIL server installations kjsubbu Linux - Networking 1 09-16-2003 03:03 AM

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

All times are GMT -5. The time now is 12:08 AM.

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
Open Source Consulting | Domain Registration