PakOgah wrote:
ganlin_liu wrote:
hello all could you please help me ,when i start qmail got error as
below.
[r...@mail qmail]# qmailctl start
smultilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to open directory /var/log/qmail/submission:
access denied
ermultilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to open directory /var/log/qmail/submission:
access denied
vicemultilog: fatal: unable to open directory
/var/log/qmail/submission: access denied
multilog: fatal: unable to switch to current directory: access denied
qmmultilog: fatal: unable to open directory
/var/log/qmail/submission: access denied
multilog: fatal: unable to switch to current directory: access denied
ail multilog: fatal: unable to open directory
/var/log/qmail/submission: access denied
multilog: fatal: unable to switch to current directory: access denied
stopmultilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to open directory /var/log/qmail/submission:
access denied
make sure the permission for that file/folder is correct, this is mine
[r...@svr-m1 ~]# ll /var/log/qmail/
total 40
drwxr-x--- 2 qmaill qmail 4096 Feb 2 18:01 authlib
drwxr-xr-x 2 qmaill qmail 4096 Feb 8 19:35 clamd
drwxr-x--- 2 qmaill qmail 4096 Feb 8 09:47 imap4
drwxr-x--- 2 qmaill qmail 4096 Nov 3 2008 imap4-ssl
drwxr-x--- 2 qmaill qmail 4096 Feb 8 21:33 pop3
drwxr-x--- 2 qmaill qmail 4096 Jan 31 17:21 pop3-ssl
drwxr-x--- 2 qmaill qmail 4096 Feb 8 21:31 send
drwxr-x--- 2 qmaill qmail 4096 Feb 8 22:03 smtp
drwxr-xr-x 2 qmaill qmail 4096 Feb 8 21:31 spamd
drwx------ 2 qmaill qmail 4096 Jan 31 17:21 submission
[r...@svr-m1 ~]# ll /var/log/qmail/submission/
total 8
-rwxr--r-- 1 qmaill qmail 3586 Jan 31 17:21 @400000004b6559c10b784d5c.s
-rw-r--r-- 1 qmaill qmail 402 Feb 5 18:07 current
-rw------- 1 qmaill qmail 0 Jan 17 2007 lock
-rw-r--r-- 1 qmaill qmail 0 Nov 3 2008 state
---------------------------------------------------------------------------------
I saw the same problem on a QMT last week. Permissions were not correct
on these files. ganlin_liu, what do you have for permissions on these?
On the system I saw, the problem was more widespread than just these
folders. I'm not sure exactly how the problem happened, but it involved
named. (djbdns fans can keep quiet - it was caused by the sysadmin). ;)
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]