Hi,
I have setup the service dir's and now want to run the qmail-pop3d using svc
and multilog. I am attaching my scripts. The problem is whenever i want to
start the qmail-pop3d service using qmailctl then its gives the error:
/etc/init.d/qmailctl start
Starting qmail-pop3d...
qmail-pop3d service not running
qmailctl script:
!/bin/sh
PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
export PATH
case "$1" in
start)
echo "Starting qmail-pop3d..."
if svok /service/qmail-pop3d ; then
svc -u /service/qmail-pop3d
else
echo qmail-pop3d service not running
fi
;;
stop)
echo "Stopping qmail-pop3d..."
svc -d /service/qmail-pop3d
;;
stat)
echo " Qmail-pop3d Status"
svstat /service/qmail-pop3d
svstat /service/qmail-pop3d/log
;;
pause)
echo "Pausing qmail-pop3d"
svc -p /service/qmail-pop3d
;;
continue)
echo "Continuing qmail-pop3d"
svc -c /service/qmail-pop3d
;;
restart)
echo "* Restarting qmail-pop3d."
svc -t /service/qmail-pop3d
;;
*)
echo "Usage: $0 {start|stop|restart|stat|pause|cont}"
exit 1
;;
esac
exit 0
-------------------------------------------
directory structure:
ls -al /service
total 6
drwxr-xr-x 2 qmaill other 512 Sep 6 10:03 .
drwxr-xr-x 26 root root 1024 Sep 6 10:00 ..
lrwxrwxrwx 1 root other 33 Sep 6 10:02 qmail-pop3d ->
/data/qmail/supervise/qmail-pop3d
#
# ls /service/qmail-pop3d
log run
ls -al /service/qmail-pop3d/log
/service/qmail-pop3d/log:
total 8
drwxrwxr-x 3 root qmail 512 Sep 6 10:18 .
drwxrwxr-t 3 root qmail 512 Sep 6 10:10 ..
-rwxrwxr-x 1 root qmail 117 Sep 6 10:17 run
ls -al /var/log/qmail
total 6
drwxr-xr-x 3 root other 512 Sep 5 17:05 .
drwxr-xr-x 3 root sys 512 Sep 5 17:04 ..
drwxr-xr-x 2 qmaill other 512 Sep 6 10:06 pop3d
Please help me!!!!!!!!!!
kapil
-----Original Message-----
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2001 00:14
To: [EMAIL PROTECTED]
Subject: Re: Rqmail-pop3d logging with tcpserver
Dan Peterson <[EMAIL PROTECTED]> wrote:
>
> > tcpserver always logs to stdout.
>
> It's actually stderr.
Yup. Is it my imagination, or have I had a bad couple of days?
Perhaps I need to retire from the list.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com