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 » IBM MQ Installation/Configuration Support » SLES 10 - MQ Perl Module installation

Post new topic  Reply to topic
 SLES 10 - MQ Perl Module installation « View previous topic :: View next topic » 
Author Message
schoonie23
PostPosted: Tue Aug 09, 2011 7:29 am    Post subject: SLES 10 - MQ Perl Module installation Reply with quote

Newbie

Joined: 09 Aug 2011
Posts: 2

Hey everyone, I'm new around here, but I have a feeling I'll be stopping by more regularly. I'm sure my issue is a simple Linux permission conflict, but I figure if I put the question out there you'll be able to point me in the correct direction faster than I'll be able to determine it myself...

I've installed MQClient on my Linux (SLES10) server along with the MQClient::MQSeries Perl modules that were required. If I'm logged in as root, my Perl script works perfect, but as a user I'm getting back the following error:

Can't locate loadable object for module MQClient::MQSeries in @INC (@INC contains: /usr/lib/perl5/5.8.8/s390x-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/s390x-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/s390x-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at ./perltest.pl line 67
Compilation failed in require at ./perltest.pl line 67.
BEGIN failed--compilation aborted at ./perltest.pl line 67.


I've changed the MQSeries.pm permissions in both /usr/lib/perl5/site_perl/5.8.8/s390x-linux-thread-multi and /usr/lib/perl5/site_perl/5.8.8/s390x-linux-thread-multi/MQClient so everyone has read access, but it still isn't working.

Is there another directory that the user doesn't have read access to?

Thanks in advance for your help!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 09, 2011 7:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

just reinstall the perl modules into a user specific location?

i.e. log in as the user and then re-run cpan to install it into something like /home/<user>/site-perl and then make sure you add /home/<user>/site-perl to the @inc.

Otherwise, I'd do something like a chmod -R ugo+rx /usr/lib/perl5/site-perl
Back to top
View user's profile Send private message
schoonie23
PostPosted: Tue Aug 09, 2011 8:16 am    Post subject: Reply with quote

Newbie

Joined: 09 Aug 2011
Posts: 2

Awesome, that chmod command worked great. Thanks for the help, I appreciate it!
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 » IBM MQ Installation/Configuration Support » SLES 10 - MQ Perl Module installation
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.