If I restart /etc/init.d/cyrus-imapd i'm getting the following permission denied problems in /var/log/maillog:
Jun 21 20:34:34 ns2 master[28770]: unable to create imap listener socket: Permission denied
Jun 21 20:34:34 ns2 master[28770]: unable to create imaps listener socket: Permission denied
Jun 21 20:34:34 ns2 master[28770]: unable to create pop3 listener socket: Permission denied
Jun 21 20:34:34 ns2 master[28770]: unable to create pop3s listener socket: Permission denied
If I do the following:
ps -aux | grep cyrus
cyrus 14121 0.0 0.1 4904 1292 ? Ss 09:58 0:00 /usr/lib/cyrus-imapd/cyrus-master -d
cyrus-master with -d option is running (it comes from /etc/init.d/cyrus-imapd) but the imap / pop3 service not because of the above "permission denied" problems. If I kill the process myself:
[root@gg sysconfig]# kill 14121
and startup cyrus-master myself:
[root@gg sysconfig]# /usr/lib/cyrus-imapd/cyrus-master -d &
[1] 14134
everything is working (i see extra pop3 and imap processes). But of course if I reboot the machine or do "/etc/init.d/cyrus-imapd restart" cyrus won't be running again because of the permission denied problems. How can I make sure /usr/lib/cyrus-imapd/cyrus-master -d runs as it should do? Now I have to kill the cyrus-master process first and then start it up manually using "/usr/lib/cyrus-imapd/cyrus-master -d &".
Anyone an idea on how to make cyrus-master work permanent when using /etc/init.d/cyrus-imapd restart without getting the "permission denied" problems?
Regards
Jordan