| Author | 
		  Message
		 | 
		
		  | GMcCarthy | 
		  
		    
			  
				 Posted: Wed Jul 09, 2003 3:36 am    Post subject: SAVEQMGR problem | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 06 Nov 2001 Posts: 113 Location: Melville NY 
  | 
		  
		    
			  
				I've downloaded the latest version of ms03 for my AIX system. When I execute the following command:
 
 
saveqmgr -v53 -mAIXMQSQ1 -F AIXMQSQ1.MQS -s -n
 
 
a file called AIXMQSQ1.MQS is created BUT it ALWAYS gets the default queue manager on that system. Never the one I specify.
 
 
Has anyone else run into this problem? _________________ Regards,
 
Gina 
 
 
IBM Certified MQSeries Specialist
  Last edited by GMcCarthy on Wed Jul 09, 2003 4:10 am; edited 1 time in total | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vmcgloin | 
		  
		    
			  
				 Posted: Wed Jul 09, 2003 3:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 04 Apr 2002 Posts: 560 Location: Scotland 
  | 
		  
		    
			  
				Are you actually running the command with a space between -m and the qmgr name? I just tried without a space and it didn't give an error bt just tried to find the default qmgr (which in my case did not exist).
 
 
Cheers,
 
Vicky | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | GMcCarthy | 
		  
		    
			  
				 Posted: Wed Jul 09, 2003 4:00 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 06 Nov 2001 Posts: 113 Location: Melville NY 
  | 
		  
		    
			  
				I tried it with a space and it just comes back with the usage so, it doesn't work that way.   _________________ Regards,
 
Gina 
 
 
IBM Certified MQSeries Specialist | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vmcgloin | 
		  
		    
			  
				 Posted: Wed Jul 09, 2003 4:22 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 04 Apr 2002 Posts: 560 Location: Scotland 
  | 
		  
		    
			  
				Gina,
 
 
Put a space between the -v and 53 too, or leave that option out (it will be the default). 
 
 
It just seems to have a bit of a bug that allows -v53 and -mAIXMQSQ1 options but ignores them.
 
 
Vicky | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | GMcCarthy | 
		  
		    
			  
				 Posted: Wed Jul 09, 2003 4:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 06 Nov 2001 Posts: 113 Location: Melville NY 
  | 
		  
		    
			  
				Figured it out...sorry. Need to execute saveqmgr in this format:
 
 
saveqmgr -v 53 -m AIXMQSQ2 -F AIXMQSQ2.MQS -s -n _________________ Regards,
 
Gina 
 
 
IBM Certified MQSeries Specialist | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | GMcCarthy | 
		  
		    
			  
				 Posted: Wed Jul 09, 2003 4:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 06 Nov 2001 Posts: 113 Location: Melville NY 
  | 
		  
		    
			  
				Vicky,
 
 
Thanks...lol. I knew it used to work! Thanks, again!! _________________ Regards,
 
Gina 
 
 
IBM Certified MQSeries Specialist | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dp111443 | 
		  
		    
			  
				 Posted: Tue Oct 19, 2004 6:52 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 25 Feb 2004 Posts: 82
  
  | 
		  
		    
			  
				I have also having a problem with saveqmgr and it sounds rather silly.
 
 
I am trying to run it on HPUX.
 
 
when i run the following:
 
 
saveqmgr -m GBAHE03P -f /tmp/qmgr
 
 
i keep getting execute permission denied.  Yes the permissions on this program is 777.  I have tried running it as root and as mqm.
 
 
any ideas?
 
 
thanks _________________ Integration Design/Developer
 
 
IBM Certified System Administrator - 
 
WebSphere MQ V5.3 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PGoodhart | 
		  
		    
			  
				 Posted: Tue Oct 19, 2004 7:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 17 Jun 2004 Posts: 278 Location: Harrisburg PA 
  | 
		  
		    
			  
				Do you have write permissions in the /tmp directory?  Maybe the output is failing and not the command itself. _________________ Patrick Goodhart
 
MQ Admin/Web Developer/Consultant
 
WebSphere Application Server Admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dp111443 | 
		  
		    
			  
				 Posted: Tue Oct 19, 2004 7:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 25 Feb 2004 Posts: 82
  
  | 
		  
		    
			  
				Hi,
 
 
Yes I do,  I was able touch a file in the /tmp directory. I had also tried in other directories but it seems like saveqmgr that has the problem.
 
 
I tried with root id and mqm.
 
 
This seems very strange as it works ok on other platforms. _________________ Integration Design/Developer
 
 
IBM Certified System Administrator - 
 
WebSphere MQ V5.3 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PGoodhart | 
		  
		    
			  
				 Posted: Tue Oct 19, 2004 7:42 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Master
 
 Joined: 17 Jun 2004 Posts: 278 Location: Harrisburg PA 
  | 
		  
		    
			  
				Maybe your /tmp filesystem is full?   We get some odd errors when we fill up our home directory. _________________ Patrick Goodhart
 
MQ Admin/Web Developer/Consultant
 
WebSphere Application Server Admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dp111443 | 
		  
		    
			  
				 Posted: Tue Oct 19, 2004 11:03 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 25 Feb 2004 Posts: 82
  
  | 
		  
		    
			  
				Hi again,
 
 
I've checked the file system and /tmp is only 6% full.  Theres plenty of space there. 
 
 
I'm currently running MQ CSD05.  im pretty sure im also running the older version of saveqmgr as i understand theres a new one when you move to CSD06.
 
 
Any more idea's
 
 
thanks, _________________ Integration Design/Developer
 
 
IBM Certified System Administrator - 
 
WebSphere MQ V5.3 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dp111443 | 
		  
		    
			  
				 Posted: Wed Oct 20, 2004 12:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 25 Feb 2004 Posts: 82
  
  | 
		  
		    
			  
				Hi,
 
 
ive just read the support pac and found out that the support pac needs to be re-compiled if its not Windows, AIX, iSeries, Solaris and Linux.  As I am running it on HPUX i will have to do this.
 
 
unfortunately, im not too sure what i supposed to do re compile it.  I've read the read.me file provided, followed the instructions to uncompress and untar the file, and then ran the following
 
 
make -f makefile.hp  (presuming this is the hpux one)
 
 
but just got too many compile errors (cc - unexpected end of line) etc.
 
 
Has anyone actually got this working on HPUX, if so what did you do to get it working?
 
 
many thanks,
 
Dharmesh _________________ Integration Design/Developer
 
 
IBM Certified System Administrator - 
 
WebSphere MQ V5.3 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | gunter | 
		  
		    
			  
				 Posted: Wed Oct 20, 2004 12:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Partisan
 
 Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt 
  | 
		  
		    
			  
				
   
	| dp111443 wrote: | 
   
  
	I 
 
saveqmgr -m GBAHE03P -f /tmp/qmgr
 
 
i keep getting execute permission denied.  Yes the permissions on this program is 777.  I have tried running it as root and as mqm.
 
 
any ideas? | 
   
 
 
Check if the file program you are starting is on the right place. Maybe there is an other file with the same name in the path.
 
- if you use bash, try 'hash'
 
- or 'which saveqmgr',  'type saveqmgr' _________________ Gunter Jeschawitz
 
IBM Certified System Administrator - Websphere MQ, 5.3 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dp111443 | 
		  
		    
			  
				 Posted: Wed Oct 20, 2004 12:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 25 Feb 2004 Posts: 82
  
  | 
		  
		    
			  
				Hi gunter,
 
 
type saveqmgr did return the location of the file:
 
 
./saveqmgr is /var/mqm/scripts/housekeeping/./saveqmgr
 
 
I can confirm that there are not other files in the same directory with the same name as saveqmr.
 
 
I'm now pretty sure its do do with the -recompile that is required as mentioned in the support pac.  So my last post still applies if any one can help
 
 
thanks,
 
Dharmesh _________________ Integration Design/Developer
 
 
IBM Certified System Administrator - 
 
WebSphere MQ V5.3 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JT | 
		  
		    
			  
				 Posted: Wed Oct 20, 2004 6:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Padawan
 
 Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT. 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |