Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ERROR ON COMPILING APACHE 1.3.26

Status
Not open for further replies.

elg3ne

Technical User
Jun 26, 2002
4
0
0
PH
hi guys! i have these error when compiling apache hope you guys can help me.

here it is:

- i compiled my distribution with the ff. steps.

a: ./configure --prefix=/usr/local/apache2 --enable-module=so --enable-rule=SHARED_CORE

b: make

- but after make i got this error on making the files.

----------------------------------------------------------
sed <apxs.pl >apxs -e 's%@TARGET@%httpd%g' -e 's%@CC@%gcc%g' -e 's%@CFLAGS@% -DLINUX=22 -DMOD_SSL=208110 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite `../apaci`%g' -e 's%@CFLAGS_SHLIB@%-fpic -DSHARED_MODULE%g' -e 's%@LD_SHLIB@%gcc%g' -e 's%@LDFLAGS_MOD_SHLIB@%-shared%g' -e 's%@LIBS_SHLIB@%%g' && chmod a+x apxs
gcc -c -I../os/unix -I../include -DLINUX=22 -DMOD_SSL=208110 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite `../apaci` checkgid.c
gcc -DLINUX=22 -DMOD_SSL=208110 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite `../apaci` -o checkgid -L../os/unix -L../ap checkgid.o -lm -lap -los -lm -lcrypt -ldl
make[2]: Leaving directory `/usr/local/src/apache_1.3.26/src/support'
<=== src/support
make[1]: Leaving directory `/usr/local/src/apache_1.3.26'
make[1]: Entering directory `/usr/local/src/apache_1.3.26'
make[1]: Leaving directory `/usr/local/src/apache_1.3.26'
<=== src
----------------------------------------------------------

- what could be wrong? please help.

- another one is when i compile apache with these steps.

a: ./configure --prefix=/usr/local/apache2 --enable-module=so --enable-shared=max

b: make

c: make install

- i got no error on compiling but when i start the apache 1.3.26 i got these error:

------------------------------------------------------
[Wed Jun 26 02:02:55 2002] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
------------------------------------------------------


- both compilation are on the same machine running mandrake 8 with kernel 2.4.18

- hope you can help me!!!

thanks

elg3ne

 
I see no error in the first part of your message...
And the error you get at start-up just means that you didnt kill the process the way you are supposed to, nothing to worry about though. //Daniel
 
- not sure about nothing to worry coz i can't start my webserver, when i run my apache it said that it is started but when i look at the process there is nothing, on the error logs still those &quot;uncleaned shutdown&quot;

- why is this happening?, some said that the check the group name & i check it & the group name is nobody which is correct as they suggest.

- please help!

thanks
 
Well i would think that there is something else in the error.log that you are overlooking. If not then the only thing i can think of is that it cant write to the pid file?


Hope This Helps

Brett
 
thanks brett, but still have that error, i already re-installed new apache & look at the error logs & the error is the same, pid file is already world rewritable. but still no luck on making this up. =(
 
The permissions on httpd.pid are as follows...

[root@cp logs]# ls -l httpd.pid
-rw-r--r-- 1 root root 4 Jun 24 18:14 httpd.pid

Try setting the above permissions and then renaming the httpd.pid file to httpd.pid.old. Stop Apache and then restart it and let Apache create the file for you. Let me know if that works?

ChrisP ---------------------------------------
If someone's post was helpful to you, please click the box &quot;Click here to mark this post as a helpful or expert post&quot;.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top