Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

Does /var/run/courier-imap exist?

Please make the directory and try starting the service again.

mkdir -p /var/run/courier-imap
share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.