Issue Details (XML | Word | Printable)

Key: ABICLOUD-190
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Marc Morata
Reporter: Marc Morata
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Abiquo

Openwsmand checks if still running in start method

Created: 18/Sep/09 01:07 PM   Updated: 29/Oct/09 05:02 PM   Resolved: 28/Oct/09 03:08 PM
Component/s: Appliances Library
Affects Version/s: abiCloud-0.8.0-SNAPSHOT
Fix Version/s: abicloud-1.0.0-RC1

Time Tracking:
Not Specified


 Description  « Hide
Implement a method to check if openwsmand is still running when the start method of init script is launched. Maybe check of /proc/$pid exists.

Marc Morata added a comment - 22/Oct/09 12:20 PM
Currently, i've check if exist a proces in /proc/$pid.

Marc Morata added a comment - 22/Oct/09 05:36 PM
The script doesn't works well.

Diego Parrilla added a comment - 24/Oct/09 10:07 PM
If the node is terminated orderly, when the node is started the openwsmand is not launched.

it seems that the .pid file is not created correctly. You need to launch 'service openwsmand start' twice to make it work.

Marc Morata added a comment - 28/Oct/09 03:08 PM
I've changed the script logic.