On my attempt to start up a CF2016 server service ...
# adobe
d
On my attempt to start up a CF2016 server service I got this error. In the windows event viewer the error says to check server logs. I'm not sure where this type of error gets logged. Anyone know?
t
I think Event Viewer is accessible from Control Panel, but I usually just hit the windows key and start typing “event viewer” and launch it from there. I think errors for CF are under “Application” or “System”. I don't recall offhand the exact area.
d
yeah the Event Viewer error event says "_*The ColdFusion 2016 Application Server cfcmdts service could not be started. Check the server "cfcmdts" log files for more information.*_"
t
My bad I misread you saying you read that from the event viewer 😅 I have no idea where that would be.
d
its all good
still cant find the log
well my only option right now is to reboot the VM and maybe on system startup the service will start. I'll do this later tonight - other sites on this VM still has users requesting web services.
a
I hate to be a dick about things (or do I?) but I just googled "coldfusion log directory" and... well... erm... that should be enough to go on, yeah?
😂 1
p
@Daniel Mejia Can you start the CF from command line and let us know what's the error you are getting there. It will be easy for us to troubleshoot
1
d
@Adam Cameron I should have explained that I looked in all those logs. Since I did not find any log entry regarding the failed service start up I thought for sure there was another log file somewhere else I wasn't aware of.
👍 1
@priyank_adobe its so not in my muscle memory to start CF via cfstart.bat - thats my bad. But regarding the failed service startup and the system event log message that clearly states to check to cfcmdts server log files. That had me believing there was something logged somewhere. Is that message incorrect?
@priyank_adobe by the way, I restarted my VM last night and the CF service started up just fine. so problem resolved.
a
Is CF2016 sufficently old that it maintains separate Tomcat and CF logs? I seem to recall there was a point up until which they were in separate dirs, then after that they were combined. Certainly my cf2021 container only has the one log dir relating to CF stuff (
/opt/coldfusion/cfusion/logs/
), but am sure there used to be separate tomcat ones too..? Can't remember when that changed (if I am remembering correctly)
p
This windows error will not give us any clue what caused the service to not start. We need to check the server.log or start from command line
👍🏾 1
Also, check what is the xms and xms value set in jvm
a
problem resolved
Until the next time it happens and you still don't know what the problem actually is...
☝🏾 1
d
Adam is on to something because server.log did not contain anything
server restarted. problem never solved.