Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

When running the qmailctl restart command I get the following...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
When running the qmailctl restart command I get the following...

Restarting qmail:
* Stopping qmail-smtpd.
/usr/local/bin/qmailctl: svc: command not found
* Sending qmail-send SIGTERM and restarting.
/usr/local/bin/qmailctl: svc: command not found
* Restarting qmail-smtpd.
/usr/local/bin/qmailctl: svc: command not found

Where should the svc command be located cos I can't find it anywhere within the qmail dirs.

Thanks in advance,

Simon
 
The qmaictl script at the "restart" section

should read:

echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d /service/qmail-smtpd
echo "*Sending qmail-send SIGTERM and restarting."
svc -t /service/qmail-send
echo "*Restarting qmail-smtpd."
svc -u /service/qmail-smtpd
echo"*Restarting qmail-pop3d."
svc -t /service/qmail-pop3d
;;

The svc command should be linked through /service/qmail-....

Check your simlinks.

How did you install? Did you follow David Sill's "Life with Qmail"?
 
Checked again and somehow had lost my simlinks. Thanks for the reply. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top