Author |
Message
|
vjm1234 |
Posted: Sun Jul 09, 2017 7:35 pm Post subject: fteModifyAgent command logon failure issue on windows |
|
|
Newbie
Joined: 13 Jun 2017 Posts: 8
|
MQ8 version - After issuing fteModifyAgent command with user and password details, starting an agent fail with below error though service account details are correct..
Unable to start a service - Error 1069: The service did not start due to a logon failure..
In order to fix the issue, had to manually reenter the password from Windows service logon prompt and start it.
any idea how to make it taking given password correctly from command itself... as we want to automate MFT Setup.. |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Jul 10, 2017 10:55 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Code: |
fteModifyAgent -agentName AGENTNAME -s -su serviceuserid -sp servicepassword -p QMCOORDNAME |
This command should work OK on Windows. We use it in automated MFT agent build scripts. The userid can be an AD domain user (XYZDOMAIN\abcuser) or a local user. Maybe there is a character in your password that is valid in a password, but is not valid on fteModifyAgent command line. Does the command actually succeed when you run it, or report an error? _________________ Glenn |
|
Back to top |
|
 |
vjm1234 |
Posted: Tue Aug 15, 2017 8:39 pm Post subject: |
|
|
Newbie
Joined: 13 Jun 2017 Posts: 8
|
command executed with no errors but windows service fail to start with logon failure... when i manually enter pwd in service log on properties and start it.. then its ok |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Aug 16, 2017 4:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
vjm1234 wrote: |
command executed with no errors but windows service fail to start with logon failure... when i manually enter pwd in service log on properties and start it.. then its ok |
Did you try encasing the password with double quotes?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Aug 16, 2017 5:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
vjm1234 wrote: |
command executed with no errors but windows service fail to start with logon failure... when i manually enter pwd in service log on properties and start it.. then its ok |
Look in the windows event logs for the logon failure reason. Please check if there is a special character in your password that is valid in the service logon dialog, but is not valid on fteModifyAgent command line. _________________ Glenn |
|
Back to top |
|
 |
|