Pages

Tuesday, February 1, 2011

Password Manager Pro Service doesn't start Database (mysql)

At work we use and recommend "ManageEngine Password Manager Pro". However lately we've had a problem with the Password Manager Pro Windows Service would not start correctly. For reasons that were not clear; the service would stop seconds after starting. After looking into it I found that the mysql process was never being launched. As a part time fix I created a bat file on the server to manually start the Password Manager Pro Database. However this only worked as long as my account stayed logged into the machine.

cd "\Program Files (x86)\PMP\bin"
startdb.bat 2345
pause

Final Solution
After a support call with ManageEngine they reported the following.

Please add the path for 'findstr' in the environmental variables. You can Right Click My Computer-->Properties-->Advanced Tab-->Environmental Variables and add the path of the findstr.exe file which will be in WINDOWS\system32 folder. We use findstr command to fetch the database password which is present in databaseparams.conf file for starting the database while you start PMP from services console.
However looking at the system path variable it included "C:\Windows\system32", upon further looking by setting the service to start with a user account. And then making sure that user account had "C:\Windows\system32" in their user variable resolved the service problems. Not the best solution but a workable one.

Environment Variables

No comments:

Post a Comment

Please leave a comment; someone, anyone!