Re: Prob w/make test - server doesn't warm up

2001-08-01 Thread Doug MacEachern

On Sun, 15 Jul 2001, Joan Wang wrote:

 I am getting the same exact problem on RedHat7.0.
 I was wondering if there is a solution to this access permission
 problem?

sounds like it, when 'make  make test' are done as root, things break.
 
 The strace.out looks like this:
 
 accept(16,

which means the server has indeed started and is awaiting connections,
sounds like the permissions problem.





Re: Prob w/make test - server doesn't warm up

2001-08-01 Thread Joan Wang

Thanks for the reply.
I was able to eliminate this problem by not using PREP_HTTPD=1 option when
building mod_perl.  I used DO_HTTPD etc...  That got rid of the problem.

Doug MacEachern wrote:

  --
  From: Doug MacEachern[SMTP:[EMAIL PROTECTED]]
  Sent: Wednesday, August 01, 2001 6:26:31 PM
  To:   Joan Wang
  Cc:   [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject:  Re: Prob w/make test - server doesn't warm up
  Auto forwarded by a Rule
 
 On Sun, 15 Jul 2001, Joan Wang wrote:

  I am getting the same exact problem on RedHat7.0.
  I was wondering if there is a solution to this access permission
  problem?

 sounds like it, when 'make  make test' are done as root, things break.

  The strace.out looks like this:
 
  accept(16,

 which means the server has indeed started and is awaiting connections,
 sounds like the permissions problem.




Prob w/make test - server doesn't warm up

2001-07-16 Thread Joan Wang

I am getting the same exact problem on RedHat7.0.
I was wondering if there is a solution to this access permission
problem?

The strace.out looks like this:

accept(16,

Just one line.

Any pointers is appreciated.

   -Joan

try this (in the mod_perl-x.xx directory):

% make start_httpd
% strace -o strace.out -p `cat t/logs/httpd.pid` 
% make run_tests
% grep open stace.out | grep .htaccess  send_to_modperl_list
% make kill_httpd

and send us that file.  I have the feeling there's a .htaccess in your
tree that the process can't read.

-Doug

On Thu, 9 Sep 1999, Earl Evans wrote:


 Greetings,

 I'm trying to install mod_perl, and getting stuck at the make test
 phase.

 (Note to readers: I've been thru the FAQs, archives, and web resources

 before asking here.)

 My info:

 RedHat Linux 6.0
 Kernel 2.2.5-15
 Apache 1.3.9
 mod_perl 1.21
 Perl 5.005_03
 All prerequisite Perl modules reqd by mod_perl installed
 httpd.conf in t/conf directory left unchanged

 My steps:

 # perl Makefile.PL {parameters}

 (with various sets of parameters as suggested on FAQ,
 etc.)

 # make
 # make test

 My problem:

 perl Makefile.PL and make work fine.  However, make test fails
with
 an error:

 httpd listening on port 8529
 will write error_log to: t/logs/error_log
 letting apache warm up...\c
 done
 /usr/bin/perl t/TEST 0
 still waiting for server to warm upnot ok
 server failed to start! at t/TEST line 95.
 make: *** [run_tests] Error 9

 ...although the httpd process does start.  I can tell by grepping a ps
ax
 that the httpd process is running.  And it answers to telnet, as shown

 below.

 Telneting to the process on the designated port:

 telnet localhost 8529

 then typing:

 GET /test.html (a file that does exist in the DocumentRoot)

 results in:

 !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
 HTMLHEAD
 TITLE403 Forbidden/TITLE
 /HEADBODY
 H1Forbidden/H1
 You don't have permission to access /test.html
 on this server.P
 /BODY/HTML
 Connection closed by foreign host.

 ...so it appears there is a permissions problem.  File and directory
 permissions appear OK for t/docs, and there are no directives in the
 distributed httpd.conf that block access.  I did see a .htaccess file
in
 the docroot, but it's blank.  (Also, it seems access wouldn't be
denied by
 default anyhow...this is a test server docroot...)

 Any ideas would be much appreciated.  And the virtual beverage of your

 choice is on me :-)

 Best Regards,

 Earl
 [EMAIL PROTECTED]