LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   svc: warning: unable to control /service/qmail-smtpd: file does not exist (https://www.linuxquestions.org/questions/linux-server-73/svc-warning-unable-to-control-service-qmail-smtpd-file-does-not-exist-948161/)

kahafil 06-02-2012 12:38 PM

svc: warning: unable to control /service/qmail-smtpd: file does not exist
 
Hi!

I’m trying to install & configure qmailrocks on CentOS6. I’ve successfully completed vqadmin & qmailadmin but when I try to finalize it. I’ve found a problem with the command

[root@proxy service]# qmailctl stop
Stopping qmail...

qmail-smtpd
svc: warning: unable to control /service/qmail-smtpd: file does not exist
svc: warning: unable to control /service/qmail-smtpd/log: file does not exist
qmail-send
svc: warning: unable to control /service/qmail-send: file does not exist
svc: warning: unable to control /service/qmail-send/log: file does not exist
qmail-pop3d
svc: warning: unable to control /service/qmail-pop3d: file does not exist
svc: warning: unable to control /service/qmail-pop3d/log: file does not exist



I’d love to get the solution. Thanks in advance for your kind support.


Thank You,
Kahafil Ora

bathory 06-03-2012 12:25 PM

Hi,
Quote:

svc: warning: unable to control /service/qmail-smtpd: file does not exist
svc: warning: unable to control /service/qmail-smtpd/log: file does not exist
qmail-send
svc: warning: unable to control /service/qmail-send: file does not exist
svc: warning: unable to control /service/qmail-send/log: file does not exist
qmail-pop3d
svc: warning: unable to control /service/qmail-pop3d: file does not exist
svc: warning: unable to control /service/qmail-pop3d/log: file does not exist
Check if there exist the symlinks under the /service directory to the actual control files/directories under /var/qmail/supervise
Code:

ls -l /service
Note that you need to install daemontools in order for /service to be created

Regards

kahafil 06-04-2012 11:44 AM

Hi Bathory,

Thank you for giving me a way to figure out my problem but I couldn't get possitive solution. In fine, I've been able to get solution by applying the following---

create a new file called svscan.conf, and put the following contents in:

# vim /etc/init/svscan.conf

start on runlevel [345]
respawn
exec /command/svscanbootnow


# initctl reload-configuration
# initctl start svscan


Now its working properly.



Thank you,
Kahafil Ora


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