Skip to Content.
Sympa Menu

en - [sympa-users] help with suExec : Can't locate tools.pl

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Paul Borghese" <address@concealed>
  • To: <address@concealed>
  • Subject: [sympa-users] help with suExec : Can't locate tools.pl
  • Date: Thu, 21 Feb 2008 10:23:13 -0500

Hi,

 

I appreciate all of the help I have received.   I have my server setup as follows using suExec option in Apache.  When I run wwwsympa.fcgi directly from the command line using the sympa user, it works.  When I call sympa from the web interface it does not.  

 

Here is the Apache configuration:

 

<VirtualHost 172.16.90.99:80>

    SuexecUserGroup sympa sympa

 

   ….non relevant stuff deleted…

 

   ScriptAlias /sympa /var/www/sympa/cgi-bin/wwsympa.fcgi

   <Location "/sympa">

       Options ExecCGI

       AllowOverride None

       Order allow,deny

       Allow from all

   </Location>

</VirtualHost>

 

 

When I execute http://172.16.90.99/sympa I receive the following error message:

 

Can't locate /home/sympa/bin/tools.pl in @INC (@INC contains: /home/sympa/bin /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at admin.pm line 44.

 

 

Here a ls of my bin directory, clearly showing tools.pl. :

 

[root@lists bin]# ls -la

total 2388

drwxr-xr-x  5 sympa sympa   4096 Feb 21 08:26 .

drwxr-xr-x 12 sympa sympa   4096 Feb 21 08:04 ..

 …stuff deleted…

-rw-r--r--  1 sympa sympa  75714 Feb 21 08:14 tools.pl

 

 

So clearly tools.pl is available.  

 

Thanks for your help!

 

Paul

 

 

 




Archive powered by MHonArc 2.6.19+.

Top of Page