Service started and stopped immediately
Hi all,
When i install my application(in which i have included a service) and try to start the service, i get the following message.
"The Service on the local computer Started and stopped
immediately. Some Services stop automatically if they have no work to do
so, for example, Performance log and alert services."
But i need this service to be started. Can someone help me in this..
Thanks in advance......
When i install my application(in which i have included a service) and try to start the service, i get the following message.
"The Service on the local computer Started and stopped
immediately. Some Services stop automatically if they have no work to do
so, for example, Performance log and alert services."
But i need this service to be started. Can someone help me in this..
Thanks in advance......
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
spartacus
15 years ago
ORIGINAL: rayz_0020
But i need this service to be started. Can someone help me in this..
Then for anyone to realistically be able to help here we need more information, as a minimum the following :
Is this a Windows Installer package ?
Application Name ?
Application Version ?
Service Name ?
Service set to run under LocalSystem, or a specific account ?
plus any additional information from the Event Log (if any)
Regards,
Spartacus
Posted by:
anonymous_9363
15 years ago
Everything Graham says is true, of course, but, can you guess what m suggestion is?
ProcMon, ProcMon, ProcMon. It will show you imemdiately any file or registry access failures. Almost without question, your service failed to start because of some missing dependency or, less likely, inadequate permissions for the account trying to start it.
ProcMon, ProcMon, ProcMon. It will show you imemdiately any file or registry access failures. Almost without question, your service failed to start because of some missing dependency or, less likely, inadequate permissions for the account trying to start it.
Posted by:
rayz_0020
15 years ago
Yes, this is a windows installer package.
The App Name is HP OVSD 4.5 agent
version - 4.0.25
Service name - Hp OVSD (sd_agentservice.exe)
The service is not set to run under any account. Should run for everyone.
The previous version of this app (4.0.17) has the service which runs fine.
The previous version has the agent and client together in one msi whereas the present version has separate msi's for agent and client.
I have included the service in the agent.
The App Name is HP OVSD 4.5 agent
version - 4.0.25
Service name - Hp OVSD (sd_agentservice.exe)
The service is not set to run under any account. Should run for everyone.
The previous version of this app (4.0.17) has the service which runs fine.
The previous version has the agent and client together in one msi whereas the present version has separate msi's for agent and client.
I have included the service in the agent.
Posted by:
anonymous_9363
15 years ago
ORIGINAL: rayz_0020...except that normally, of course, the 'Everyone' group has no rights to start and stop services. Most environments in which I've worked use specific accounts for services, where the account name matches the service name: that account's *sole* purpose is to operate the service. It will generally have no interactive logon etc, etc.
The service is not set to run under any account. Should run for everyone.
Posted by:
AngelD
15 years ago
Posted by:
rayz_0020
15 years ago
Posted by:
a_muthukumar26
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.