Checkout the error_log of your apache, I'm pretty sure that will show us
some useful stuff :)

And always run your apache with "-u", doesn't matter if you installed ossec
in /var/www, it still access somethings out of the apache jail.

2007/1/21, Blot Nicolas <[EMAIL PROTECTED]>:


The web server is chrooted, in /var/www that's why I installed ossec in
/var/www/ossec.
By default the Apache user is www if I'm right.
I edited the /etc/group and put the line: osse:*:1002:www

I think it's correct, but still the Unable to access ossec directory is
displayed...

Daniel, if you have an idea, it would be great.
I've tested by launching httpd with the -u option the problem is the same.
I'm totally lost.

Many thanks for your help.

Regards,

Nicolas.

-----Message d'origine-----
De: [email protected] [mailto:[EMAIL PROTECTED] De la
part de Kayvan A. Sylvan
Envoyé: dimanche 21 janvier 2007 22:46
À: [email protected]
Objet: [ossec-list] Re: WebUI problems


On Sun, Jan 21, 2007 at 06:26:50PM +0100, Blot Nicolas wrote:
>
> Here they are:
>
> # ls -l /var/www/ossec
> total 36
> dr-xr-x---  3 root   ossec   512 Jan 21 02:13 active-response
[...]
> dr-xr-x---  3 root   ossec   512 Jan 21 02:22 var

If your web server user is indeed in the ossec group (and you are not
running
SELinux) then it should work.

Unless your web server is running in a chroot() jail. I don't know enough
about your particular OS to say for certain.

                        ---Kayvan
--
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena
(8/8/89)
http://sylvan.com/~kayvan | my beautiful Queen.    | Robin Gregory
(2/28/92)




--
Certified LPIC -1
http://under-linux.org/

Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to