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 » qload on solaris

Post new topic  Reply to topic Goto page 1, 2  Next
 qload on solaris « View previous topic :: View next topic » 
Author Message
Augusto
PostPosted: Thu Jan 29, 2009 1:16 pm    Post subject: qload on solaris Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

i unable to execute qload When i run below command to copy messages from queue to file
qload -m SUQM -i QL_DSN_HOLD -f hold.out
ksh: qload: cannot execute

i copied qload to home/mqm directory and run from there.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 29, 2009 2:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

So you've got an OS permissions issue.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Augusto
PostPosted: Thu Jan 29, 2009 2:20 pm    Post subject: Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

what should i do
below is file permissions

ls -lrt qload
-rwxrwxrwx 1 mqm mqm 272344 Jan 29 14:08 qload*
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Jan 29, 2009 6:05 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
Location: Melbourne, Australia

Maybe its not a valid binary executable for that platform. How did you copy it there?

I assume you've got "." in your PATH, otherwise it might be getting the qload program from some other directory.
_________________
Glenn
Back to top
View user's profile Send private message
Augusto
PostPosted: Fri Jan 30, 2009 7:50 am    Post subject: Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

via ftp

put qload
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jan 30, 2009 9:00 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Quote:
copied qload to home/mqm directory...

Where did you copy qload from? Same platform? same o/s?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Augusto
PostPosted: Fri Jan 30, 2009 10:15 am    Post subject: Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

i copied from windows
Back to top
View user's profile Send private message
SAFraser
PostPosted: Fri Jan 30, 2009 11:14 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

You need the version compiled for Solaris.

If you do not already have the proper executable, download MO03 from the SupportPacs link above. When you unzip it (which you can do on your Windows machine), you will find executables for the various platforms.

As a general rule, no executable compiled for Windows will run on a Unix platform.


Last edited by SAFraser on Fri Jan 30, 2009 12:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 30, 2009 11:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Augusto wrote:
i copied from windows



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Augusto
PostPosted: Fri Jan 30, 2009 11:57 am    Post subject: Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

yes i did samething downloaded MO03 from ibm site and copied qload executable to server from solaris folder
Back to top
View user's profile Send private message
SAFraser
PostPosted: Fri Jan 30, 2009 12:03 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

And what is the result?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jan 30, 2009 12:05 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

And when you did the FTP transfer, did you ensure that you used BIN mode, to ensure that no character translation was performed?

Back to top
View user's profile Send private message
Augusto
PostPosted: Fri Jan 30, 2009 1:05 pm    Post subject: Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

below commands what i was used and let me know if anything wrong?

ftp> binary
200 Type set to I.
ftp> put qload
200 PORT command successful.
150 Opening BINARY mode data connection for qload.
226 Transfer complete.
ftp: 272344 bytes sent in 0.20Seconds 1341.60Kbytes/sec.
ftp>

qload -m SUQM -i QL_DSN_HOLD -f hold.out
ksh: qload: cannot execute
Back to top
View user's profile Send private message
SAFraser
PostPosted: Fri Jan 30, 2009 2:00 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

You sure that "." is in your path? Try ./qload from the /home/mqm directory?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 30, 2009 5:36 pm    Post subject: Reply with quote

Grand High Poobah

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

Augusto wrote:
below commands what i was used and let me know if anything wrong?

ftp> binary
200 Type set to I.
ftp> put qload
200 PORT command successful.
150 Opening BINARY mode data connection for qload.
226 Transfer complete.
ftp: 272344 bytes sent in 0.20Seconds 1341.60Kbytes/sec.
ftp>

qload -m SUQM -i QL_DSN_HOLD -f hold.out
ksh: qload: cannot execute

Post ftp did you go to the relevant directory and make the file executable?
Code:
chmod a+rx qload
ls -l qload
rwxr-xr-x .......

Try executing after that... have fun
_________________
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 Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » qload on solaris
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.