I'm using CentOS5 and cannot start IMAP.

-bash-3.1# service courier-imap start
Starting Courier-Imap: chmod: cannot access `run': No such file or directory

I'm not entirely sure what that error is referring to? I am able to stop and start other services such as lighttpd

link|improve this question
feedback

1 Answer

Does /var/run/courier-imap exist?

Please make the directory and try starting the service again.

mkdir -p /var/run/courier-imap
link|improve this answer
that returns "No such file or directory" – James Sep 19 '09 at 20:19
still throwing the same error -bash-3.1# mkdir -p /var/run/courier-imap -bash-3.1# service courier-imap start Starting Courier-Imap: chmod: cannot access `run': No such file or directory – James Sep 19 '09 at 20:30
2  
try stracing it to get the full path to what it's trying to open? – Cian Sep 19 '09 at 21:56
feedback

Your Answer

 
or
required, but never shown