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.
(I am assuming CF2018 is on Windows.)
A suggestion:
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
...Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
(I am assuming CF2018 is on Windows.)
A suggestion:
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.
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?
Copy link to clipboard
Copied
Also, it seems need to execute start.batch file each time, when running cf applications
Copy link to clipboard
Copied
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.
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.
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.
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
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?
Copy link to clipboard
Copied
One of the technical support person with admin privilege checked initially. Still then , the options were disabled.
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).
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?
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".
Copy link to clipboard
Copied
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:
Copy link to clipboard
Copied
How about reboot the server.