ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » AMQ4056 Command failed starting custom service

Post new topic  Reply to topic
 AMQ4056 Command failed starting custom service « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Fri May 25, 2007 9:07 pm    Post subject: AMQ4056 Command failed starting custom service Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am running WMQ V6 with csd 02 on WINXP. I want to start the trigger monitor using custom services

I created a new service as follow

Service name: TRM
Service control Manual
STart command : 'C:\Program Files\IBM\WebSphere MQ\bin\runmqtrm.exe'
Start args: -m MYQMGR -q INITQ
StdOut:'c:\myout.txt'
StdErr:'c:\myerr.txt'
Service Type: Command Type

When I start the service manully using the explorer, I got an error popup
saying "AMQ4056 Command failed"

The StdOut or StdErr file is not created and there is no error in the event viewer.

AMQERR01.log shows
While attempting to access the file 'c:\myout.txt' the error The filename,
directory name, or volume label syntax is incorrect. occurred.

I don't see anything wrong with 'c:\myout.txt' , Any help ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat May 26, 2007 7:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Could it be that the user you are running under has no rights to c:\ so the log file can't be accessed / created ??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
KIT_INC
PostPosted: Sat May 26, 2007 8:44 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Do I have to worry about this under Windows xp? anyway the logon ID has admin right. Explorer is started by the logon user. Not sure what ID is used by the custom service
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat May 26, 2007 4:47 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Move you log files to somewhere the service user has access to. (user running mqtrigger)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AMQ4056 Command failed starting custom service
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.