Skip to Content.
Sympa Menu

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

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Paul Borghese <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] help with suExec : Can't locate tools.pl
  • Date: Wed, 27 Feb 2008 11:24:30 +0100

Hi,

Is it the same wwsympa.fcgi in both cases ?
I see that you use, in your Apache conf, /var/www/sympa/cgi-bin/wwsympa.fcgi
But it seems that your tools.pl file is located inside a "bin" directory.
Do you use symbolic links or is it two different directories?

Paul Borghese a écrit :

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


--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page