Skip to main content
Participant
October 8, 2008
Question

Coldfusion Server won't start

  • October 8, 2008
  • 8 replies
  • 7598 views
Hi All,

I have just installed coldfusion 8 on my machine for development use with the in-built IIS Server.
However, the coldfusion server cannot even be started manually.
Windows Event Viewer says:
"The ColdFusion 8 Application Server service terminated with service-specific error 2 (0x2)."

Any tips would be much appreciated,
GL
This topic has been closed for replies.

8 replies

August 20, 2009

Also, I'll be more than happy to look at this without a fee.

Participant
August 21, 2009

If you guys manage to work this out I am having the same problem.  A perfect working setup then I performed windows updates and now I have this error.  I have tried the things mentioned on this thread, they are generally the same pieces of advice given for this same error else where.

thanks,

soloslinger

Known Participant
August 21, 2009

Greetings,

I will be out of the office on Friday August 21st and Monday August 24th, returning on Tuesday August 25th. I will answer all emails as soon as I return. If you require immediate assistance, please contact Nico Taranovsky:

nico_taranovsky@altsystem.com

612-337-9040

Thanks,

Ron Barth

Alternative Systems

www.altsystem.com

603.537.9473

August 20, 2009

Ideas, clear out your cfclasses folder, it may be taking a long time to load, this used to be more of a 7 problem.

Is it possible permission on folders have changed since the service last stopped, acl's don't take effect until next access, so it's possible folder permissions changed while the server was running and on the service restart things stopped working.

If the cf service is running under Local System, make sure the CF install directory allows Local System full access to the directory.

How is disk space?  Sometimes a close to full disk prevents windows services from running.

Has the entire server been rebooted and this started to occur?

Have any patches to windows been applied (ie auto updates, etc)?

What is the server configuration?

Are you hosting this or is it colo?

Found an article that RPC service for windows might be a culprit, if RPC is funked, then usually a server reboot is in order.

Byron Mann

mannb@hostmysite.com

byronosity@gmail .com

Lead Software Architect

hosting.com | hostmysite.com

http://www.hostmysite.com/ ?utm_source=bb

Inspiring
August 19, 2009

This just happened to us the other day, for no apparent reason. The problem was that our jrun could not get it's chunk of memory on startup. We were asking for 1248m for both the minimum and the maximum setting (so we don't have windows memory swapping issues later), and when we tried to start it up it failed. The error in the ColdFusion8/jrun/logs/coldfusion-out.log file was:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

All we did was decrease the amount of memory we were asking for to 1 gig (1024m) in the runtime/bin/jvm.config file for both the minimum and maximum, and it started up again. We have 4 gigs of RAM, but SQL Server is also running in there. No idea why it failed on us though.

Swift

java.args=-server  -Xms1024m -Xmx1024m

Participant
August 4, 2009

Same deal. After years of unfailing service, CF8 won't start, can't start the service even in a command window. JVM won't start, and we're completely stuck on a production server.

Adobe tech support has been stunningly horrible on this, I purchased a support incident for $500 and after 26 hours of promised call-back, nothing.

Not a word, the only email was a bogus case-closed from a noreply address.

15 years in the business I have yet to see a less responsive tech-support system than this.

The worst.

Vytas B, CNI

tclaremont
Inspiring
August 17, 2009

Geez. I will solve it for $495. Add more ram. Not sure WHY it works, but for the price of more RAM these days it is a cheap fix.

My THEORY on why it works is because you have more "stuff" using memory on the server compared to the day you first installed it. There was enough free memory on day one, but now there is not???

Assuming you have a test server with similar hardware and RAM, what does the following code reveal on your test server?

<cfset runtime = CreateObject("java", "java.lang.Runtime").getRuntime()>
<cfset freeMemory = runtime.freeMemory() / 1024 / 1024>
<cfset totalMemory = runtime.totalMemory() / 1024 / 1024>
<cfset maxMemory = runtime.maxMemory() / 1024 / 1024>

Max Memory Available to JVM: #Round(maxMemory)# MB<br>
Total Memory Allocated: #Round(totalMemory)# MB<br>
Free Allocated Memory: #Round(freeMemory)# MB

tclaremont
Inspiring
October 30, 2008
I had the same problem on a new test machine. I added more RAM (it was a virtual server), downloaded the installation file again, and I was able to install. Not sure if it was the addition of more RAM, or if maybe I had a bad installation file.
Participant
October 30, 2008
"The ColdFusion 8 Application Server service terminated with service-specific error 2 (0x2)."

same error here, after months without problems.
Inspiring
October 8, 2008
If you look @ the JRun log files, they might cast some light on the scene.

C:\JRun4\logs on the multi-server install; I think they're
[coldfusion]\WEB-INF\runtime\logs or something like that on a standard
install.

--
Adam
Participating Frequently
October 8, 2008
try starting the service manually from the console, on the JRUN version it's something like c:\jrun4\bin\jrun.exe -start "cfusion" - this should show you what the problem is in the console (dos) window