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 » AMQ6245: Error executing system call 'mkdir' on file

Post new topic  Reply to topic
 AMQ6245: Error executing system call 'mkdir' on file « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Mon Aug 15, 2011 11:09 am    Post subject: AMQ6245: Error executing system call 'mkdir' on file Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Aug 15, 2011 11:13 am    Post subject: Re: AMQ6245: Error executing system call 'mkdir' on file Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 15, 2011 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
rekarm01
PostPosted: Mon Aug 15, 2011 3:03 pm    Post subject: Re: AMQ6245: Error executing system call 'mkdir' on file Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AMQ6245: Error executing system call 'mkdir' on file
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.