Hi Ben,

Thursday, September 26, 2002, 10:17:26 AM, you wrote:

> Hi all,

> I have a weird problem with Apache not coming up for one of our
> clients and I can't for the life of me work out why.

> NO errors are being reported to the error log (which is writable by
> 'web') - as proved by running "httpd" as admin and getting....

> fopen: Permission denied
> httpd: could not open error log file /sites/shared/logs/weberror_log.

> ... which is NOT displayed when running "httpd" as web (this also
> proves that the /etc/httpd/conf/httpd.conf file is being parsed.

> netstat on the host reports nothing listening on port 8080 for this VS
> and ps on the VS reports no "httpd" processes.

> So I su to web, type "httpd -t" - config fine.  Then just run "httpd"
> and immediately go back to a command prompt then type "ps -A" and see
> NO httpd processes.  Running in

> Any help / advice would be appreciated.

> NB: I have just temporarily solved it by going into the VS as root and
> then running "httpd" - which suggests some sort of permission problem.
>  Hmmm.  Any ideas?

> Kind Regards,

This is how I fixed it....

Removed all apache related files in /var/lock, /var/run and /tmp.

Found a log file for one of the vhosts that was only writable by root
(don't ask me why!) and chown'd it to web.

Rebooted.

You would have thought that this error would have been reported to the
Apache error log (which incidentally was web.web - 755) but I guess
Apache wanted to keep me guessing a while.

Thanks for the help.

Kind Regards,

-- 
Ben Kennish
[EMAIL PROTECTED]

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to