Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-05 Thread Rob Reynolds (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Reynolds updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5473 
 
 
 
  net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 

Change By:
 
 Rob Reynolds 
 
 
 

Labels:
 
 web 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-05 Thread Rob Reynolds (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Reynolds updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5473 
 
 
 
  net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 

Change By:
 
 Rob Reynolds 
 
 
 

Component/s:
 
 Modules 
 
 
 

Component/s:
 
 Windows 
 
 
 

Component/s:
 
 Types and Providers 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-05 Thread Rob Reynolds (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Reynolds commented on  PUP-5473 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 
 
I'll close this one. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-05 Thread Rob Reynolds (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rob Reynolds commented on  PUP-5473 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 
 
Robin Coe I didn't realize you already created a ticket. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-05 Thread Robin Coe (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Robin Coe commented on  PUP-5473 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 
 
PUP-5475 is a more appropriate discussion about this bug. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-04 Thread Robin Coe (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Robin Coe updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5473 
 
 
 
  net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 

Change By:
 
 Robin Coe 
 
 
 
 
 
 
 
 
 
 I have a Java application that uses the Apache Daemon service installer to register it as a Windows service. I am using Puppet to run an exec{} block to register the service, which works, and then chains a service{} block to start the service. Puppet uses "net.exe start" to run the service, but that command reports an error, even though the service starts correctly.The output from running the command in a powershell shell is:PS C:\ProgramData\PuppetLabs\puppet\etc\modules> net start myserviceThe myservice_descriptive_name service is starting.The myservice_descriptive_name service could not be started.More help is available by typing NET HELPMSG 3523.As I refresh the Windows service panel while this command is running, I see the state change from:blank field -> starting -> started I suggest the appropriate service manager in Wondows is sc.exe, not net.exe, which does not suffer the same problem.  Running sc.exe start  the return code is 0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit 

Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-04 Thread Robin Coe (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Robin Coe created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5473 
 
 
 
  net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.4.3 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Modules 
 
 
 

Created:
 

 2015/11/04 1:07 PM 
 
 
 

Environment:
 
 
Windows Server 2008 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Robin Coe 
 
 
 
 
 
 
 
 
 
 
I have a Java application that uses the Apache Daemon service installer to register it as a Windows service. I am using Puppet to run an exec{} block to register the service, which works, and then chains a service{} block to start the service. Puppet uses "net.exe start" to run the service, but that command reports an error, even though the service starts correctly. 
The output from running the command in a powershell shell is: 
 PS C:\ProgramData\PuppetLabs\puppet\etc\modules> net start myservice The myservice_descriptive_name service is starting. The myservice_descriptive_name service could not be 

Jira (PUP-5473) net.exe start reports error starting service, even though the service starts

2015-11-04 Thread Robin Coe (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Robin Coe updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5473 
 
 
 
  net.exe start reports error starting service, even though the service starts  
 
 
 
 
 
 
 
 
 

Change By:
 
 Robin Coe 
 
 
 
 
 
 
 
 
 
 I have a Java application that uses the Apache Daemon service installer to register it as a Windows service. I am using Puppet to run an exec{} block to register the service, which works, and then chains a service{} block to start the service. Puppet uses "net.exe start" to run the service, but that command reports an error, even though the service starts correctly.The output from running the command in a powershell shell is:PS C:\ProgramData\PuppetLabs\puppet\etc\modules> net start myserviceThe myservice_descriptive_name service is starting.The myservice_descriptive_name service could not be started.More help is available by typing NET HELPMSG 3523.As I refresh the Windows service panel while this command is running, I see the state change from:blank field -> starting -> startedI suggest the appropriate service manager  in Wondows  for Windows  is sc.exe, not net.exe, which does not suffer the same problem.  Running sc.exe start  the return code is 0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more