|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SLES 10 - MQ Perl Module installation |
« View previous topic :: View next topic » |
Author |
Message
|
schoonie23 |
Posted: Tue Aug 09, 2011 7:29 am Post subject: SLES 10 - MQ Perl Module installation |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Aug 09, 2011 7:46 am Post subject: |
|
|
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 |
|
 |
schoonie23 |
Posted: Tue Aug 09, 2011 8:16 am Post subject: |
|
|
Newbie
Joined: 09 Aug 2011 Posts: 2
|
Awesome, that chmod command worked great. Thanks for the help, I appreciate it! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|