|
Home > Archive > Web Servers on Unix and Linux > May 2004 > apache 2.0.49 wont start, no error_log
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
apache 2.0.49 wont start, no error_log
|
|
| jeep@09.usenet.us.com 2004-05-03, 7:35 pm |
| Hi all-
Ive got a Solaris 2.7 sparc box, installed apache 2.0.49
Originally the program would not start. SO I removed the install, then
re-installed it, tried it and it did. It complained about setguid, but
when I checked my httpd.conf file, it was fine for Group (Group = nobody).
Also my /etc/group file had nobody in there just fine. So I removed
the error_log file, tried to restart it, and then no error_log file and
nothing came up (no procs running etc).
I read several articles about this. SO far nobody's suggestions or anything
has gotten me anywhere. I tried httpd -X, then typed echo $? to get the
return status of 1. But it would be nice to get SOME error info to start
from.
I also tried strace httpd -X, but that gives me:
ERROR: tracer already exists
I tried another release, 2.0.48 which did work at one time. I havent used
the system for a while, so I know nothing has changed (as far as I know)
to cause this problem.
I even tried wiping out my /tmp directory because I know some programs
use this for process info/communication. Im out of ideas.
Thanks for any help,
Jeff
--
| |
| Gerry T 2004-05-04, 10:38 am |
| jeep@09.usenet.us.com wrote in message news:<c76ing$qbu$1@blue.rahul.net>...
> Hi all-
>
> Ive got a Solaris 2.7 sparc box, installed apache 2.0.49
First off, Solaris 7 is very old. Consider an upgrade to 9.
You get Apache with it pre-configured but for the httpd.conf for starters.
Second, how did you "install"? A package?
> Originally the program would not start. SO I removed the install, then
> re-installed it, tried it and it did. It complained about setguid, but
> when I checked my httpd.conf file, it was fine for Group (Group = nobody).
httpd -t says Syntax OK ?
> Also my /etc/group file had nobody in there just fine. So I removed
> the error_log file, tried to restart it, and then no error_log file and
> nothing came up (no procs running etc).
What do you mean - you rm'd the file while Apache may have been running?
> I read several articles about this. SO far nobody's suggestions or anything
> has gotten me anywhere. I tried httpd -X, then typed echo $? to get the
> return status of 1. But it would be nice to get SOME error info to start
> from.
>
> I also tried strace httpd -X, but that gives me:
> ERROR: tracer already exists
strace is for streams - I think you should use truss instead.
> I tried another release, 2.0.48 which did work at one time. I havent used
> the system for a while, so I know nothing has changed (as far as I know)
> to cause this problem.
If you say it worked before and now it doesnt then something changed...
> I even tried wiping out my /tmp directory because I know some programs
> use this for process info/communication. Im out of ideas.
Its not good practice to start deleting things randomly : < ...
fuser might be your friend here.
Other tools that might help: netstat, lsof, and ps
|
|
|
|
|