0

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

Dennis Williamson
  • 60,515
  • 14
  • 113
  • 148

1 Answers1

1

Does /var/run/courier-imap exist?

Please make the directory and try starting the service again.

mkdir -p /var/run/courier-imap
Dennis Williamson
  • 60,515
  • 14
  • 113
  • 148
  • that returns "No such file or directory" –  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 –  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