Hi,

   I have noticed one thing while running the perl files.

   in my httpd.conf the user and group names are 
   User nobody
   Group nobody 
   if I change Group name as system
   User nobody
   Group system
   perl files are running fine without any error its giving the problem
when i am running with group as 'nobody'

Please find the part of the out put underlined while building the
mod_perl its taking the group as system.
Can you please let me know how to change this group to nobody bz apache
is running under group 'nobody'

PerlServerApi...............enabled
PerlSections................enabled
PerlSSI.....................enabled
Will run tests as User: 'nobody' Group: 'system'
================================================
(cd ../apache_1.3.24 && CC="gcc" CFLAGS=" -D_THREAD_SAFE -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-fno-strict-aliasing -I/usr/local/include -D_LARGE_FILES" ./configure
--activate-module=src/modules/perl/libperl.a --disable-rule=EXPAT)
Configuring for Apache, Version 1.3.24
 + using installation path layout: Apache (config.layout)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src

Thanks,
Bheema.


-----Original Message-----
From: Brian Reichert [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 11:11 PM
To: Bheema Rao Merugu, BSC, Ambattur, Chennai
Cc: Tom Schindl; mod_perl
Subject: Re: mod_perl not able to run some pl files.


On Fri, May 28, 2004 at 02:37:39PM +0530, Bheema Rao Merugu, BSC,
Ambattur, Chennai wrote:
> Hi Tom,
> 
> Thank you for your help.
> 
> I am not using the perl that came with the system. I compiled the
source
> code from scratch and using that.

Ok, I think what people meant to suggest was this:

  /usr/local/apache/bin/perl -MCGI -e 'print "CGI.pm version
$CGI::VERSION\n";'

That will tell you if _that_ installation of perl knows about a CGI
module.

If it's not there, then you'll need to really install CGI.pm there:

  # /usr/local/apache/bin/perl Makefile.PL
  # make && make test && make install

If is _does_ see a CGI module installed, but your mod_perl doesn't,
then we need to do more research.

For example, is there a file called CGI.pm somewhere under that
perl tree?

  find /usr/local/apache/lib -name CGI.pm -ls

What are the permissions on it?  If you installed as root, but had
a restrictive umask, it may not be world-readable, which would
thwart the apache process from reading it.

-- 
Brian Reichert                          <[EMAIL PROTECTED]>
37 Crystal Ave. #303                    Daytime number: (603) 434-6842
Derry NH 03038-1713 USA                 BSD admin/developer at large    

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to