|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
AMQ6245: Error executing system call 'mkdir' on file |
« View previous topic :: View next topic » |
Author |
Message
|
Gideon |
Posted: Mon Aug 15, 2011 11:09 am Post subject: AMQ6245: Error executing system call 'mkdir' on file |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
I get the following error:
Code: |
MQSI 7.0.0.1
/opt/IBM/mqsi/7.0
$ crtmqm WQM2
AMQ6245: Error executing system call 'mkdir' on file
'/var/mqm/qmgrs/WQM2/procdef' error '28'.
AMQ7019: An error occurred while creating or checking the directory structure
for the queue manager. |
OK, I get it, it cant create WQM2/procdef, so I do the following:
Code: |
$ cd /var
$ cd mqm
$ cd WQM2
ksh: WQM2: not found.
$ mkdir WQM2
$ mkdir WMQ2/procdef |
So WMQ cant do a mkdir on these files, but I can. What seems to be the problem ?
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 15, 2011 11:13 am Post subject: Re: AMQ6245: Error executing system call 'mkdir' on file |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Gideon wrote: |
So WMQ cant do a mkdir on these files, but I can. What seems to be the problem ? |
At the risk of demonstrating my command of the very, very obvious, the user id that's running the broker command environment can't do a mkdir at that point (or can't execute the mkdir command) due to file permissions but the other one can.
That's so obvious you must have thought of it.
The only other obvious difference is that one command environment has had mqsiprofile sourced in it, the other has not, but AFAIK the supplied mqsiprofile doesn't su or sudo or otherwise change the running user. Have you checked your one does not attempt such a thing? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 15, 2011 11:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I doubt it's the mqsiprofile.
I bet it's PATH or LIBPATH or etc. not properly covering the right mq dlls.
what is error 28 on your system, anyway? Is it a permissions error? or something else? |
|
Back to top |
|
 |
rekarm01 |
Posted: Mon Aug 15, 2011 3:03 pm Post subject: Re: AMQ6245: Error executing system call 'mkdir' on file |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
Gideon wrote: |
Code: |
AMQ6245: Error executing system call 'mkdir' on file
'/var/mqm/qmgrs/WQM2/procdef' error '28'. |
Code: |
$ cd /var
$ cd mqm
$ cd WQM2
ksh: WQM2: not found.
$ mkdir WQM2
$ mkdir WMQ2/procdef |
|
The difference in behavior might be because the paths are different:- /var/mqm/qmgrs/WQM2/procdef
- /var/mqm/WQM2/procdef
For which platform? On AIX, for example, error '28' is ENOSPC ("No space left on device"). Is the qmgrs directory mounted on a separate file system, and is it full? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|