Coldfusion Server won't start
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
same error here, after months without problems.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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

Copy link to clipboard
Copied
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

Copy link to clipboard
Copied
Also, I'll be more than happy to look at this without a fee.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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

