ColdFusion 9 server not restaring - “Permission denied” errors

Posted by Xevi Pujol on Server Fault See other posts from Server Fault or by Xevi Pujol
Published on 2014-05-30T07:17:50Z Indexed on 2014/06/04 9:27 UTC
Read the original article Hit count: 399

Filed under:
|
|
|

I had to restart my ColdFusion 9 server on CentOS because of a memory performance issue, but now the server won't restart again. When looking at cfserver.log I can see how there's "Permission denied" errors all along.

The ColdFusion application folder (/opt/coldfusion9/) is owned by nobody:root, as that fixed a similar problem that we had a few weeks ago. Also, the last time this CF server was running correctly, the JRE user that was being used was nobody.

Maybe CF is trying to restart using another user (presumably apache) and that creates permission issues? However, I'm not sure how to check this hypothesis.

Where's the config file that tells CF what JRE user to utilize? If I can change that, I could try to specify nobody there.

Any other ideas also welcome.

UPDATE:

The runtime user that Coldfusion will utilise is defined in /etc/init.d/coldfusion_9. I fixed the problem by being consistent with the users: I needed to revert the ownership of the folder /opt/coldfusion9/ back to apache:root, which matches the init file.

© Server Fault or respective owner

Related posts about java

Related posts about coldfusion