hi Ben,

Try:

chown -R web.web /sites/shared/logs/

and restart httpd.

I have my users set up with a directory structure like this for each domain:
drwxrwxr-x    5 user user          4096 Sep 19 19:36 cgi-bin
drwxr-xr-x   16 user user      4096 Sep 23 18:42 html
drwxr-xr-x    2 web web          4096 Sep  2 12:37 logs

Notice the logs directory is actually owned by web and not the user.

TTYS
Lloyd
At 10:17 AM 9/26/2002 +0100, 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,
>
>--
>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
>-----------------------------------------------------------------------------

Discovery consists of seeing what everybody has seen and thinking what
nobody has thought.
-- Albert Szent-Gyorgyi (1893-1986)


------------------------- 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