Re: [mod-security-users] Chroot problem
Brought to you by:
victorhora,
zimmerletw
|
From: Javier Fernandez-S. <jfe...@ge...> - 2004-10-28 15:24:12
|
die...@b-... wrote: > Hi, > > I have a problem with the Chroot directive. > > In my configuration file, i've writed the two directives that follow : > > Pidfile /opt/web/pids/pid-secure > . > . > SecChrootDir /opt/web > > And my apache does not start : in de errot log file, i can read : > > No such file or directory:could not create /opt/web/pids/pid-secure > > I'm sure that the rights are correct on the folders and when i delete the > SecChrootDir directive my apache works without problem. > > I uses an apache 2.0.48 and mod-security 1.8.4. on solaris 9 > > Could you help my. > Hmmm... it looks like you need to have Pidfile /pids/pid-secure Since the Pidfile is used within the Chroot. With the above definition your Apache is trying to find the file under (in your system): /opt/web/opt/web/pids/pid-secure (i.e. Chroot+Pidfile location). Regards Javier |