Skip to main content
Inspiring
December 2, 2010
Answered

Coldfusion Error: cannot find file /CFIDE/administrator/index.cfm

  • December 2, 2010
  • 1 reply
  • 1766 views

Right, I know you can google this question and get loads of answers on it, but none of them seem to work for me.

I've got a brand new RHEL5 server, with the latest LAMP installation on it, and I've just installed Coldfusion 9.

When I visit my site, i get the Coldfusion error saying


File not found: /index.cfm

If I navigate to a html or php page it's fine, they server properly. And the error I'm getting is the blue/grey coldfusion one, so the coldfusion server is working.

And I've narrowed the problem down to this...

/var/www/vhosts/site.co.uk/index.cfm - this gets served

but my site root is really

/var/www/vhosts/site.co.uk/httpdocs/index.cfm - coldfusion cannot see this file!

I found this

/var/www/vhosts/site.co.uk/index.cfm

in the cfserver.log. But I can't find anywhere that references "/var/www/vhosts/site.co.uk/" as the root.

jrun-web.xml has a system path set to /var/www/vhosts/site.co.uk/httpdocs, and inside "bin/coldfusion" the DOCROOT is set to

"/var/www/vhosts/site.co.uk/httpdocs"

What am I doing wrong?

    This topic has been closed for replies.
    Correct answer Comcar Tech

    I've fixed it, the problem was the RUNTIME_USER variable was set in various places to "nobody".

    I managed to solve the problem thanks to this blog entry

    http://nzflew.blogspot.com/2009/04/changing-user-of-coldfusion-on-linux.html

    The "nobody" user didn't have access rights to view the files. I too had made the mistake of installing with the default "nobody" user name.

    Thanks for all your help anyway.

    1 reply

    Comcar TechAuthorCorrect answer
    Inspiring
    December 6, 2010

    I've fixed it, the problem was the RUNTIME_USER variable was set in various places to "nobody".

    I managed to solve the problem thanks to this blog entry

    http://nzflew.blogspot.com/2009/04/changing-user-of-coldfusion-on-linux.html

    The "nobody" user didn't have access rights to view the files. I too had made the mistake of installing with the default "nobody" user name.

    Thanks for all your help anyway.