thechase22
asked on
Weird error with qmail email server
Hey guys
I got this error when trying to start qmail
qmailctl start
Starting qmail...
svok: fatal: unable to chdir to /service/qmail-send: file does not exist
qmail-send supervise not running
svok: fatal: unable to chdir to /service/qmail-smtpd: file does not exist
qmail-smtpd supervise not running
svok: fatal: unable to chdir to /service/qmail-pop3d: file does not exist
qmail-pop3d supervise not running
Now this is all well and good, the folders are meant to be where they should be so it cant be that
The symbolic links are as they should be, because I traced other people having this same issue, and they fixed it but mine is still broken :(
are the Symbolic links broken or corrupt or something? I really have no other leads what it could be so im a bit stuck you see :)
please help me
I got this error when trying to start qmail
qmailctl start
Starting qmail...
svok: fatal: unable to chdir to /service/qmail-send: file does not exist
qmail-send supervise not running
svok: fatal: unable to chdir to /service/qmail-smtpd: file does not exist
qmail-smtpd supervise not running
svok: fatal: unable to chdir to /service/qmail-pop3d: file does not exist
qmail-pop3d supervise not running
Now this is all well and good, the folders are meant to be where they should be so it cant be that
The symbolic links are as they should be, because I traced other people having this same issue, and they fixed it but mine is still broken :(
are the Symbolic links broken or corrupt or something? I really have no other leads what it could be so im a bit stuck you see :)
please help me
ASKER
Hey thanks very much for your reply, here is what I got for your first question
cd /service/qmail-send
-bash: cd: /service/qmail-send: No such file or directory
[root@s15260266 html]# cd /service/
[root@s15260266 service]# ls
qmail-pop3d qmail-send qmail-smtpd
[root@s15260266 service]# cd qmail-send
-bash: cd: qmail-send: No such file or directory
and here is the othe thing:
cd /var/qmail
[root@s15260266 qmail]# cd supervise
[root@s15260266 supervise]# ls
qmail-pop3d qmail-send qmail-smtpd
[root@s15260266 supervise]# pwd
/var/qmail/supervise
This may also help u:
pwd
/var/qmail/supervise
[root@s15260266 supervise]# cd qmail-pop3d
[root@s15260266 qmail-pop3d]# cd ../
[root@s15260266 supervise]# cd qmail-send
[root@s15260266 qmail-send]# cd ../
[root@s15260266 supervise]# cd qmail-smtpd
[root@s15260266 qmail-smtpd]#
Fine!
ohh and before I forget, yes run directory in all the directorys I just mentioned.
cd /service/qmail-send
-bash: cd: /service/qmail-send: No such file or directory
[root@s15260266 html]# cd /service/
[root@s15260266 service]# ls
qmail-pop3d qmail-send qmail-smtpd
[root@s15260266 service]# cd qmail-send
-bash: cd: qmail-send: No such file or directory
and here is the othe thing:
cd /var/qmail
[root@s15260266 qmail]# cd supervise
[root@s15260266 supervise]# ls
qmail-pop3d qmail-send qmail-smtpd
[root@s15260266 supervise]# pwd
/var/qmail/supervise
This may also help u:
pwd
/var/qmail/supervise
[root@s15260266 supervise]# cd qmail-pop3d
[root@s15260266 qmail-pop3d]# cd ../
[root@s15260266 supervise]# cd qmail-send
[root@s15260266 qmail-send]# cd ../
[root@s15260266 supervise]# cd qmail-smtpd
[root@s15260266 qmail-smtpd]#
Fine!
ohh and before I forget, yes run directory in all the directorys I just mentioned.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok I got this
It dont look happy chappy though
cd /service
[root@s15260266 service]# ls
qmail-pop3d qmail-send qmail-smtpd
[root@s15260266 service]# rm *
rm: remove symbolic link `qmail-pop3d'?
rm: remove symbolic link `qmail-send'?
rm: remove symbolic link `qmail-smtpd'?
[root@s15260266 service]# ln -s /var/qmail/supervise/qmail -send /var/qmail/supervise/qmail -smtpd /var/qmail/supervise/qmail -pop3d /service
ln: creating symbolic link `/service/qmail-send' to `/var/qmail/supervise/qmai l-send': File exists
ln: creating symbolic link `/service/qmail-smtpd' to `/var/qmail/supervise/qmai l-smtpd': File exists
ln: creating symbolic link `/service/qmail-pop3d' to `/var/qmail/supervise/qmai l-pop3d': File exists
It dont look happy chappy though
cd /service
[root@s15260266 service]# ls
qmail-pop3d qmail-send qmail-smtpd
[root@s15260266 service]# rm *
rm: remove symbolic link `qmail-pop3d'?
rm: remove symbolic link `qmail-send'?
rm: remove symbolic link `qmail-smtpd'?
[root@s15260266 service]# ln -s /var/qmail/supervise/qmail
ln: creating symbolic link `/service/qmail-send' to `/var/qmail/supervise/qmai
ln: creating symbolic link `/service/qmail-smtpd' to `/var/qmail/supervise/qmai
ln: creating symbolic link `/service/qmail-pop3d' to `/var/qmail/supervise/qmai
ASKER
I was desperate for your reply again last nite and this morning.
But I managed to have another go at it, your code was totally right, but when it asked me to remove the link, I pressed enter, as apposed to y.
I just re did this and I did qmailctrl start and its GROOVEY!!!
Thanks so muck for putting me in the right direction :)
But I managed to have another go at it, your code was totally right, but when it asked me to remove the link, I pressed enter, as apposed to y.
I just re did this and I did qmailctrl start and its GROOVEY!!!
Thanks so muck for putting me in the right direction :)
Can you manually "cd /service/qmail-send" and end up inside /var/qmail/supervise/qmail
If you're missing the structure inside /var/qmail/supervise, it should look something like
/var/qmail/supervise/qmail
/var/qmail/supervise/qmail
and so on, where run is the relevant service run script.