If I try to open any "
.cfm" page I get "
File not found: /page.cfm" error.
Incorrect Coldfusion configuration.
Mostly this error occurs because of Coldfusion cannot access a file placed in domain's DocumentRoot directory. Make sure that Coldfusion is running under "apache" system user:
# ps axu | grep coldfusion nobody 14200 0.0 10.7 872072 110920 ? S Dec17 0:00 /opt/coldfusionmx7/runtime/bin/cfmx7 -jar jrun.jar -start coldfusion
The system user, CF is run under, can be set during CF installation.
If you want to change CF system user please perform the following steps:
In the following files set "
RUNTIME_USER=""apache""" (apache - is the user of your web server):
/etc/init.d/coldfusion_8 /etc/init.d/cfsearch8 /opt/coldfusion8/bin/coldfusion
Set correct owner for the ColdFusion installation directory:
chown -R apache /opt/coldfusion8
Restart Coldfusion server: