If I try to open any .cfm page I get "File not found: /page.cfm" error

Refers to:

  • Plesk 11.0 for Linux

Created:

2016-11-16 12:42:14 UTC

Modified:

2016-12-21 19:00:54 UTC

0

Was this article helpful?


Have more questions?

Submit a request

If I try to open any .cfm page I get "File not found: /page.cfm" error

Symptoms

If I try to open any " .cfm " page I get " File not found: /page.cfm " error.

Cause

Incorrect Coldfusion configuration.

Resolution

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:

  1. 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
  2. Set correct owner for the ColdFusion installation directory:

    chown -R apache /opt/coldfusion8
  3. Restart Coldfusion server:

    /etc/init.d/coldfusion_8 restart
Have more questions? Submit a request
Please sign in to leave a comment.