Skip to main content
December 4, 2006
Question

Error When Starting Coldfusion

  • December 4, 2006
  • 4 replies
  • 857 views
I just installed Coldfusion, I don't think I configured my external APACHE webserver correctly because I cannot open a cmf (administration) file. When I try to go to the admin login it just asks me to download the login.cfm file rather than actually showing me the file!

Also when I start coldfusion I get this error saying something couldn't be loaded. I'm so lost, please help!

This topic has been closed for replies.

4 replies

December 6, 2006
If it does say that ColdFusion is started then once you have this port opened you should be able to access ColdFusion Administrator. Next thing would be to properly configure ColdFusion with Apache.
December 5, 2006
Todd,

The reason why you get "page cannot be ddisplayed" error is because most likely your hosting company has port 8500 closed to outside world. You can either aske them to open that port on firewall, or you can test this from inside the machine using lynx text browser. You can SSH or telnet to machine and then execute
lynx http://localohost:8500/CFIDE/Administrator/index.cfm
Or instead of localhost you can use 127.0.0.1.

When you execute /opt/coldfusionmx7/bin/coldfusion start what do you see on the screen? Does it say ColdFusion will be available in N seconds and then ColdFusion is started?

In order to get it to work with Apache you need to run Apache configuration file, but before you do that, make sure that all variables there point to correct locations.

You can ask you hosting company if they can install this for you. It is really not that difficult, but sometimes it just takes a bit of a patience and time.
December 5, 2006
It could veyr much be the port. I just asked them to open it up.

Also yes it does say
Coldfusion Started, I believe that is what you wanted to know.

hopefully once the port is open I can access the administrator.
December 5, 2006
Todd, first uninstall ColdFusion completely, using /opt/coldfusionmx7/uninstall script. Then run installation again. When promted to select a web server, do not select Apache. Instead, select Built-in web server. Once installation is finished, go ahead and start ColdFusion. Since it will be using internal built-in web server, it will be available on port 8500, so in order to access CF Administrator, you would have to go to http://localhost:8500/CFIDE/Administrator/index.cfm. Verify that it works.
Then navigate to your /opt/coldfusionmx7/bin/connectors/ folder. Find and apache config file, open it up and make sure that all three varibales point to the right files there. If they do not, change them to make sure they do. You would need to know where those files are. Once you are done, run this file and it should configure your Apache connector. Restart ColdFusion and you should be good to go.
December 5, 2006
Ok great, BUT it is going to ask me where to install the root files which is CFIDE (the administrator).... On apache my root is /var/www/vhosts/defult/

Should I install it there or the default? Because once I get apache to work with coldfusion and I don't include port 8500 it won't know where to find the CFIDE files since it is not in the root apache directory.

Also you said to use LOCALHOST when trying ot access it. Can I use my ip address because it is held on a server far from me. Or do I have to remote dekstop into the unix server?

Using the ip address didnt work http://72.35.76.29:8500/CFIDE/administrator/login.cfm also note that I used all teh defaults for coldfusion AND started it. Below is a screen straight from SSH

[root@localhost coldfusionmx7]# ls -la
total 220
drwxrwxr-x 20 warne root 4096 Dec 5 08:00 .
drwxr-xr-x 5 root root 4096 Nov 30 10:18 ..
drwxrwxr-x 3 warne root 4096 Dec 5 08:00 bin
drwxrwxr-x 2 warne root 4096 Dec 5 07:58 cache
drwxrwxr-x 5 warne root 4096 Dec 5 07:58 cfx
drwxrwxr-x 7 warne root 4096 Dec 5 08:00 charting
drwxrwxr-x 2 warne root 4096 Dec 5 07:58 CustomTags
drwxrwxr-x 3 warne root 4096 Dec 5 07:58 db
drwxrwxr-x 7 warne root 4096 Dec 5 07:58 gateway
drwxrwxr-x 4 warne root 4096 Dec 5 08:00 lib
-rwxrwxrwx 1 warne root 25350 Jan 3 2005 license.txt
drwxrwxr-x 2 warne root 4096 Nov 30 10:22 logs
-rw-rw-r-- 1 root root 11620 Dec 5 07:59 Macromedia_ColdFusion_MX_7_InstallLog.log
drwxr-xr-x 4 warne psacln 4096 Dec 5 08:00 Mail
drwxrwxr-x 2 warne root 4096 Dec 5 07:59 META-INF
-rwxrwxrwx 1 warne root 7205 Jan 4 2005 Readme.htm
drwxrwxr-x 2 warne root 4096 Dec 5 07:58 registry
drwxrwxr-x 7 warne root 4096 Dec 5 07:59 runtime
drwxr-xr-x 2 warne psacln 4096 Dec 5 08:00 stubs
drwxrwxr-x 2 warne root 4096 Dec 5 07:58 temp_zip
drwxrwxr-x 2 warne root 4096 Dec 5 07:59 uninstall
drwxrwxr-x 6 warne root 4096 Dec 5 07:59 verity
drwxrwxr-x 4 warne root 4096 Dec 5 07:59 wwwroot
[root@localhost coldfusionmx7]#

You can see the wwwroot is where my default files are.

Thanks
December 5, 2006
I would like to add that I also tried stopping my apache by using "./opt/sbin/apachectl stop" and restarted coldfusion "./opt/coldfusionmx7/bin/coldfusion stop" "./opt/coldfusionmx7/bin/coldfusion start" and tried connecting to http://72.35.76.29:8500/CFIDE/administrator/login.cfm still got nothing (Page cannot be found).

So now whats wrong? If I stopped apache and started coldfusion is should take over, but it is not? At least I cannot access it.

Is there someone I can pay to get this prorgam installed, this is starting to get not worth the money and as much as I want to continue writing programs in coldfusion it makes me want ot learn php because I cannot even get it installed on this server. PLEASE HELP! Thanks

Todd
Participating Frequently
December 4, 2006
Uninstall ColdFusion, and then reinstall it pointing to the internal web server. Verify that it works and then use the Configurator tool to point to your Apache web server. Make sure you enter the correct information for the Apache configuration. This usually solves the problem.
December 5, 2006
So I should install Coldfusion using COLDFUSIONS WEBSERVER? Or do you mean to click on External Webserver and select Apache.

I did the Apache thing, I'm not sure if it is rightly setup though. To be honest I'm not sure which files on my server are the binary files it wants and which ones are the configuration files. I know the httpd.conf for sure! ha-ha! Sorry I've been trying ot get this program to work for 2 months now and so far it is only an expensive card board box. Thanks for your anticipated response.

Todd