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 » Error using ./amqsputc. Help Required!

Post new topic  Reply to topic
 Error using ./amqsputc. Help Required! « View previous topic :: View next topic » 
Author Message
vasurayapudi
PostPosted: Thu Feb 14, 2008 12:33 pm    Post subject: Error using ./amqsputc. Help Required! Reply with quote

Newbie

Joined: 14 Feb 2008
Posts: 2

Hi everyone, I have installed MQ client on the same machine as the server and then created channel and a listener following the manual.

I used the following commands to do all this:
runmqsc qman
define qlocal('q3')
define channel (ch2) chltype (svrconn) trptype (tcp) mcauser ('mqm')
define listener (listener2) trptype (tcp) control (qmgr) port (14001)
start listener (listener2)
end
export MQSERVER='ch2/tcp/192.168.100.84(14001)'

And now when I try to put messages into the queue using the command as
./amqsputc queueName queueManager

it gives me this error:
./amqsputc: error while loading shared libraries: libmqic_r.so: cannot open shared object file: No such file or directory

My current working directory is: /opt/mqm/samp/bin.

No luck with google. Any help is appreciated.

Thanks a lot!!

Ashish
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Feb 14, 2008 10:39 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Check the following
libmqic_r.so : RWX and access Privilege is there or not,

Under which user id the file has been created....

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
vasurayapudi
PostPosted: Fri Feb 15, 2008 12:11 am    Post subject: Reply with quote

Newbie

Joined: 14 Feb 2008
Posts: 2

i was doing all this as a root but I tried putting the message into the queue as a user and not root but I think it didnt say me for any access privilege.

Ashish
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 » Error using ./amqsputc. Help Required!
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.