qmailtoaster-list  

Re: [qmailtoaster] Re: qmailctl start error

ganlin_liu
Mon, 08 Feb 2010 17:21:38 -0800

hello all,Thank your kind help!
i saw permission for that file/folder as below. 

[r...@mail src]# ll /var/log/qmail/
total 48
drwxr-x--- 2 qmaill qmail 4096 2010-02-05 18:57 authlib
drwxr-xr-x 2 qmaill qmail 4096 2010-02-05 17:01 clamd
drwxr-x--- 2 qmaill qmail 4096 2010-02-05 18:57 imap4
drwxr-x--- 2 qmaill qmail 4096 2010-02-05 18:57 imap4-ssl
drwxr-x--- 2 qmaill qmail 4096 2010-02-05 18:57 pop3
drwxr-xr-x 2 qmaill qmail 4096 2010-02-05 21:11 pop3d
drwxr-x--- 2 qmaill qmail 4096 2010-02-05 18:57 pop3-ssl
drwxr-x--- 2 qmaill qmail 4096 2010-02-05 18:57 send
drwxr-x--- 2 qmaill qmail 4096 2010-02-05 18:57 smtp
drwxr-xr-x 2 qmaill qmail 4096 2010-02-05 21:11 smtpd
drwxr-xr-x 2 qmaill qmail 4096 2010-02-05 18:57 spamd
drwx------ 2 qmaill qmail 4096 2010-02-05 18:57 submission
[r...@mail src]# ll /var/log/qmail/submission/
total 4
-rwxr--r-- 1 qmaill qmail 357 2010-02-05 21:38 current
-rw------- 1 qmaill qmail   0 2010-02-05 18:57 lock
-rw-r--r-- 1 qmaill qmail   0 2010-02-05 18:57 state


2010-02-09 



ganlin_liu 



发件人: Eric Shubert 
发送时间: 2010-02-08  23:37:44 
收件人: qmailtoaster-list 
抄送: 
主题: [qmailtoaster] Re: qmailctl start error 
 
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: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com