|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problems with Perl/MQ and Apache on RedHat 9. |
« View previous topic :: View next topic » |
Author |
Message
|
mstrello |
Posted: Mon Mar 15, 2004 7:39 am Post subject: Problems with Perl/MQ and Apache on RedHat 9. |
|
|
Newbie
Joined: 10 Apr 2002 Posts: 6 Location: Chile
|
Hi, I'm trying to continue with an old program, a monitoring tool written in Perl/MQ (the CPAN MQSeries module), but I'm having problems running this scripts as CGI programs. Formerly, I was using Redhat 8 and MQSeries 5.2. Now, I have Redhat 9 and MQSeries 5.3.
The problem is that the LD_ASSUME_KERNEL=2.4.1 env variable must be set in order that any MQseries Perl script run (at least in RedHat 9). But, CGI scripts run as apache/apache and I don't know how to do for setting this environment variable.
If I run the CGI script from the command line I must set LD_ASSUME_KERNEL=2.4.1 in order to run the script. If I don't set that variable I get the Reason Code 2012 (environment problem).
I'm thinking in a couple of solutions (in order of desperation):
1. Use suEXEC, for run the CGI's as other user (that have LD_ASSUME_KERNEL in their environment).
2. Replace the perl executable for a shell script (that set the variable and call to perl).
3. Change the User/Group Apache directives to mqm/mqm.
3. Change my distribution
Any ideas?
Regards and sorry for my horrible english,
--
Mauricio. |
|
Back to top |
|
 |
bduncan |
Posted: Tue Mar 16, 2004 10:01 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
|
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
|
|
|
|