• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Unable to restart coldfusion service

Explorer ,
Sep 11, 2023 Sep 11, 2023

Copy link to clipboard

Copied

Using cf2018.The coldfusion service start, stop option are in disabled mode now and hence cf not working suddenly  

Checked cf logs coldfusion out log and sever.log, but couldn't find any trace.

Is there any options other than reinstall?

Any help is appreciated. 

TOPICS
Getting started

Views

928

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Sep 11, 2023 Sep 11, 2023

(I am assuming CF2018 is on Windows.)

A suggestion:

  1. Double-click on C:\ColdFusion2018\cfusion\bin\cfstop.bat 
  2. A Command window should open. Wait till the cfstop process ends. Then double-click on C:\ColdFusion2018\cfusion\bin\cfstart.bat 
  3.  A Command window should open. Leave it open. Does the window suggest to you that ColdFusion has been started? If so, confirm by launching the ColdFusion Administrator URL in a browser

 

Votes

Translate

Translate
Community Expert , Sep 11, 2023 Sep 11, 2023

Following up on bkbk's first reply, if that's so (you can't start or stop), is the service itself set to be disabled? If not, you may not be logged into windows as an administrator (your account may not be in the windows administrators group) .

 

If the CF service IS itself set to be disabled, you'd of course need to correct that to start cf as a service. (Again, you'd need to be an admin to do that.)

 

If instead you want to start it without running as a service (or to see if it will start at a

...

Votes

Translate

Translate
Community Expert ,
Sep 11, 2023 Sep 11, 2023

Copy link to clipboard

Copied

quote

Using cf2018.The coldfusion service start, stop option are in disabled mode now and hence cf not working suddenly  


By @RzAf

 

That's not quite clear to me. Do you mean that, when you right-click on ColdFusion in Windows Services the Start, Stop and Restart options are disabled?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 11, 2023 Sep 11, 2023

Copy link to clipboard

Copied

(I am assuming CF2018 is on Windows.)

A suggestion:

  1. Double-click on C:\ColdFusion2018\cfusion\bin\cfstop.bat 
  2. A Command window should open. Wait till the cfstop process ends. Then double-click on C:\ColdFusion2018\cfusion\bin\cfstart.bat 
  3.  A Command window should open. Leave it open. Does the window suggest to you that ColdFusion has been started? If so, confirm by launching the ColdFusion Administrator URL in a browser

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 11, 2023 Sep 11, 2023

Copy link to clipboard

Copied

Following up on bkbk's first reply, if that's so (you can't start or stop), is the service itself set to be disabled? If not, you may not be logged into windows as an administrator (your account may not be in the windows administrators group) .

 

If the CF service IS itself set to be disabled, you'd of course need to correct that to start cf as a service. (Again, you'd need to be an admin to do that.)

 

If instead you want to start it without running as a service (or to see if it will start at all), you can do that as bkbk proposes in his second reply. (I was writing to propose the same as this second point when his came in.) This is not the way to run this in prod, of course. When you logout, any programs/processes you started other than as services will stop. We're just offering it as another diagnostic to consider. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

Executed batch file, cf up,thanks. 

The service options on right click are still disabled. 

Need to update system password over there, the cfadmin data source use this.

Any file to update the windows cf service password property?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

Also, it seems need to execute start.batch file each time,  when running  cf applications 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

quote

Also, it seems need to execute start.batch file each time,  when running  cf applications 


By @RzAf

That's indeed why I had said in my first reply, "This is not the way to run this in prod, of course. When you logout, any programs/processes you started other than as services will stop."

 

And since you've raised it as a concern, it seems this is a prod or shared box rather than your own dev machine. Again, that makes the first issues above more pressing to help you understand and resolve. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

... The service options on right click are still disabled.... 


By @RzAf

 

Please consider and reply to the first two paragraphs of my reply, and bkbk's. We (you and we) need to understand what's going on.

 

And to answer your last question, no. That makes the above all the more important. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

Let me clarify, Able to click and see the properties,  but the state of service shown is blank.

So, in the service list,  coldfusion application service is listed as normal without any state whether running or stopped. The other property is shown as automatic,  it is also unable to modify to manual.

In Other words,  none of the values after right click are enabled to update. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

In addition,  is it have any kind of relation with jvm settings?

This is a remote system and do not have admin privileges for myself. 

 

Please advise 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

Again, if you don't have admin privileges (are not in the windows admin group), then you will not be able to control a service. Can't start it, can't stop it, can't modify it (though yes, you can SEE it and can VIEW its properties).

 

This has NOTHING to do with jvm settings, or even cf. Try ANY service and let us know if ANY lets you control it.

 

This is what I've been conveying from the first. If you feel this used to work on this machine, for your current user account, then it would seem you've been removed from the admin group. Try running ANYTHING with the "runnas admin" feature. Does it work or not? 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 13, 2023 Sep 13, 2023

Copy link to clipboard

Copied

One of the technical support person with admin privilege checked initially.  Still then , the options were disabled. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 13, 2023 Sep 13, 2023

Copy link to clipboard

Copied

And you've confirmed this is true of ONLY the cf service? Not others? Please check both any other cf services you may have, and other services like "world wide web publishing" service.

 

I know your stance is "there's a problem with CF". I've never seen it (what you say happening only to the cf service). 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 14, 2023 Sep 14, 2023

Copy link to clipboard

Copied

You are right, other services also have same situation.

Apologies,  didn't check that before. 

So, what should be the next step to resolve? 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 14, 2023 Sep 14, 2023

Copy link to clipboard

Copied

So there you go. At least we know now this is NOT at all a CF problem. 

 

As for understanding and fixing the problem that remiains, in confirming that you can't control any other services either, are you referring now to you or your other support person also (who you said had admin privileges)?

 

I'll assume you mean only you, and I'd suggest again that this tells you that YOU ARE NOT IN THE WINDOWS ADMINISTRATORS GROUP. And that's why you can't control ANY services.  If you think you are, here's another test: what happens when you try to use "runas admin" on anything, even simply opening the command prompt? (Do you get prompted to login with some account other than your own? Then it's not in the Admin group.)

 

If you think opening the command prompt as admin does "work", then at that command prompt run the command

 

net session

 

If you're NOT an admin (or you have not opened the command line as admin), that will return an error. (Otherwise it prints some info that doesn't matter to us. It's just a test of whether you're an admin. And it's a useful one if you're ever wondering if you've indeed opened the cmd as admin, though later Windows versions indicate "administrator" in the titlebar of the command line also.)

 

Finally, as for "what to do so that you can control services", the most obvious solution is to get yourself added to the Administrators group in Windows.

 

If this is your own box, that's a pickle if the "only account you know of" is not in the admin group. If you google that problem, there are myriad suggestions over the years from people who found themselves in the same spot. Some are easy, while others work only under some situations, while other suggestions no longer work. Some propose you download and use some tool, but I'd be leary of that.

 

Again, you opened this here as a CF problem and it's not, so you would probably do well to open your explorations in other places since it's NOT related to CF at all.

 

That said, I'll ask a something for you to consider: you said at the open that this happened "suddenly". So you mean things WERE working and then NOT...but I don't suppose you can say either how long it was between thsoe two times (whether minutes, hours, days, or weeks), let alone "what changed" within that gap of time. That, too, is where you want to focus in order to find "what happened".


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 14, 2023 Sep 14, 2023

Copy link to clipboard

Copied

LATEST
quote

So, what should be the next step to resolve? 

 


By @RzAf

 

Check whether the cause is a virus, malware or a corrupted file in the Windows Operating System.

You or your admin could, for example:

  1.  Run an anti-virus program.
  2.  Open the Command Prompt (CMD) as administrator, then run the System File Checker tool: sfc /scannow
    BKBK_0-1694705379655.png

     

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 11, 2023 Sep 11, 2023

Copy link to clipboard

Copied

How about reboot the server.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation