Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service error on Ubuntu 14.04 #1

Closed
bshow80 opened this issue Apr 9, 2015 · 6 comments
Closed

Service error on Ubuntu 14.04 #1

bshow80 opened this issue Apr 9, 2015 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@bshow80
Copy link

bshow80 commented Apr 9, 2015

I receive this error every time I run "puppet agent --test" and the open-vm-tools service is running already.

Error: Could not start Service[open-vm-tools]: Execution of '/etc/init.d/open-vm-tools start' returned 1: * Starting open-vm daemon vmtoolsd
Error: /Stage[main]/Openvmtools/Service[open-vm-tools]/ensure: change from stopped to running failed: Could not start Service[open-vm-tools]: Execution of '/etc/init.d/open-vm-tools start' returned 1: * Starting open-vm daemon vmtoolsd

@razorsedge razorsedge self-assigned this Apr 10, 2015
@razorsedge
Copy link
Collaborator

What version of operating system, Open VM Tools, and Puppet are you using?

@bshow80
Copy link
Author

bshow80 commented Apr 10, 2015

Unbuntu 14.04 Server
Puppet 3.7.5
Open VM Tools 2:9.4.0-1280544-5ubuntu6.2

On Fri, Apr 10, 2015 at 1:39 AM, Mike Arnold notifications@github.com
wrote:

What version of operating system, Open VM Tools, and Puppet are you using?


Reply to this email directly or view it on GitHub
#1 (comment)
.

@razorsedge
Copy link
Collaborator

And I should have read the title of the issue to know one of those answers... :-(

Try passing the parameter service_hasstatus => true in the main class.

class { '::openvmtools':
  service_hasstatus => true,
}

@bshow80
Copy link
Author

bshow80 commented Apr 10, 2015

I am still receiving

Error: Could not start Service[open-vm-tools]: Execution of
'/etc/init.d/open-vm-tools start' returned 1: * Starting open-vm daemon
vmtoolsd
Error: /Stage[main]/Openvmtools/Service[open-vm-tools]/ensure: change from
stopped to running failed: Could not start Service[open-vm-tools]:
Execution of '/etc/init.d/open-vm-tools start' returned 1: * Starting
open-vm daemon vmtoolsd

although the service is in fact running.

On Fri, Apr 10, 2015 at 10:09 AM, Mike Arnold notifications@github.com
wrote:

And I should have read the title of the issue to know one of those
answers... :-(

Try passing the parameter service_hasstatus => true in the main class.

class { '::openvmtools':
service_hasstatus => true,
}


Reply to this email directly or view it on GitHub
#1 (comment)
.

@razorsedge razorsedge added the bug Something isn't working label Apr 11, 2015
@razorsedge
Copy link
Collaborator

I have pushed version 1.0.0 to the Puppet Forge. Please let me know if this fixes the problem.

@bshow80
Copy link
Author

bshow80 commented Apr 12, 2015

Mike,

This seems to have fixed it. Thank you!

On 4/12/15, Mike Arnold notifications@github.com wrote:

Closed #1 via 21cd8c1.


Reply to this email directly or view it on GitHub:
#1 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants