Re: make test failed on solaris 8

[prev] [thread] [next] [Date index for 2005/01/25]

From: Stas Bekman
Subject: Re: make test failed on solaris 8
Date: 23:45 on 25 Jan 2005
Tulan W. Hu wrote:

>>I think I need to fix the syntax error in the httpd.conf first.
>>however, I cannot just modify the httpd.conf file under t/conf
>>since it will be overwrite when I run make test.

Run t/TEST instead of 'make test', in which case t/conf/httpd.conf is 
*not* overwritten. You can do t/TEST -start / t/TEST -stop. But see below 
(it's the best to just start httpd manually in this case)

>>===========================================
>>The line 960 of httpd.conf file:
>>
>>....cut...
>>    AuthType Basic
>>    AuthName "Access"
>>    Require user goo bar #####this is the line 960
>>    Require group bar tar
>>    <Limit POST>
>>        Require valid-user
>>    </Limit>
>>....cut....
>>
>>=================================================
>>
>>$ truss ../httpd -d t -f conf/httpd.conf -DAPACHE2 -DONE_PROCESS -DNO_DETATCH
>>output:
>>....cut....
>>Syntax error on line 960 of t/conf/httpd.conf:
>>write(2, " S y n t a x   e r r o r".., 47)      = 47
>>require takes 1-2 arguments, 
>>write(2, " r e q u i r e   t a k e".., 30)      = 30
>>llseek(0, 0, SEEK_CUR)                          = 184313
>>_exit(1)

Hmm, Require is a core directive, so it should be there. I don't quite 
understand why you don't see this error in the normal STDERR output. what 
happens when you run the above w/o truss?

can you start apache w/o mod_perl (i.e. with a default httpd.conf)? if 
yes, copy the "Require" parts of section around line 960 into the default 
httpd.conf and try again. does it still work?

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

Re: make test failed on solaris 8
Stas Bekman 00:53 on 22 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 14:35 on 24 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 01:38 on 25 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 22:10 on 25 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 23:45 on 25 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 12:52 on 26 Jan 2005

Re: make test failed on solaris 8
Philippe M. Chiasson 23:54 on 25 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 13:26 on 26 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 16:44 on 26 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 01:06 on 27 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 20:56 on 27 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 00:28 on 28 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 16:22 on 28 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 22:05 on 28 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 22:42 on 28 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 00:43 on 29 Jan 2005

Re: make test failed on solaris 8
Tulan W. Hu 14:22 on 31 Jan 2005

Re: make test failed on solaris 8
Stas Bekman 03:41 on 02 Feb 2005

Re: make test failed on solaris 8
Tulan W. Hu 13:19 on 02 Feb 2005

Re: make test failed on solaris 8
Stas Bekman 01:10 on 03 Feb 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52