Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion Server Administration
Viewing all articles
Browse latest Browse all 78799

Why is my CF9 service running invisibly?

$
0
0

Occasionally I've seen a strange situation where ColdFusion scripts are running normally, but the Windows Services manager shows "ColdFusion 9 Application Server" is stopped. This has happened after my monitoring script detected a problem and auto-restarted ColdFusion.

 

Can anyone tell me how this is possible, and what should I do about it? Other than rebooting, I haven't found any way to get the system back to normal.

 

Messages in the Event Log when this occurred are, for example:

02:28:39 The ColdFusion 9 Application Server service killed process with pid 1524

02:28:39 The ColdFusion 9 Application Server service for the "coldfusion" server was stopped.

02:28:40 Windows cannot unload your classes registry file - it is still in use by other applications or services. The file will be unloaded when it is no longer in use.

02:28:40 Windows saved user [SERVER]\[username] registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use.

This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

02:30:07 The ColdFusion 9 Application Server service for the "coldfusion" server was started.  PID is 6560.

02:30:20 The ColdFusion 9 Application Server service for the "coldfusion" server is restarting.

02:30:22 The ColdFusion 9 Application Server service could not be started.  Check the server "coldfusion" log files for more information.

 

coldfusion-out.log shows: "coldfusion could not be started because it is already running."

I haven't seen this behavior when restarting ColdFusion manually, but I've noticed that using "Restart" in the Services manager typically fails. I need to stop ColdFusion, pause a few seconds, and then start the service again. My auto-restart script is programmed to do the same thing.

 

I'm running ColdFusion 9 Enterprise on Windows Server 2003 Service Pack 2, and the ColdFusion service runs under its own user account. The event log messages suggest that's part of my problem, but for security reasons, I don't want to run CF under the system account.

 

Thanks!


Viewing all articles
Browse latest Browse all 78799


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>