LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2009, 08:55 PM   #1
Kamineko
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
qmail/daemontools - 'supervise' service shuts down randomly


Hi there,

I've recently installed qmail on a RedHat distro, in precise accordance with the "Life with qmail" instructions. After a bit of backing and forthing, I managed to get the service up and running, and initial tests all checked out - I could send mail, no problem.

The following day, although I hadn't changed anything in the meantime, nothing seemed to be working. I did a:

qmailctl stat

at the command line, and got back the following:

/service/qmail-send: supervise not running
/service/qmail-send/log: supervise not running
/service/qmail-smtpd: supervise not running
/service/qmail-smtpd/log: supervise not running
messages in queue: 7
messages in queue but not yet preprocessed: 0

Okay - so it wasn't a problem with qmail itself, but rather with the daemontools "supervise" process. Running:

svscanboot &

Put things right immediately, and qmail started ticking up again, across the board. Emails went through, all was good.

Until about 20-30 minutes later, the same problem recurred. And so on, and so forth. I can correct the problem easily by doing either:

svscanboot &

or

svscan /service &

but still, a short while later, supervise goes down again. It's worth noting that the qmail process persists, and doesn't ever fail - but in lieu of daemontools' supervise being up, it can't function correctly.

I've removed and reinstalled daemontools from scratch, I've gone over my configurations with a fine-tooth comb, but I can't find any trace of anything that could be going wrong. If anyone's had any experience with this kind of thing, I'd be really grateful for any advice.

Thanks so much,

- Kamineko
 
Old 03-16-2009, 03:03 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
The /service directory is actually a symlink to /var/qmail/supervise directory, I wonder if there is a permission problem which is causing the issue.
 
  


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
RHEL4 and daemontools .. won't stop the service sayler Linux - Software 1 08-27-2008 02:31 PM
DMA randomly shuts itself off RemusX2 Linux - Hardware 2 03-17-2007 10:22 AM
Mandrake 10.1 randomly shuts down JeffSketch Mandriva 5 05-12-2005 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:35 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