Re: [users@httpd] A problem -- chroot the apache 2.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/05, ludi <myhapwcforever@xxxxxxxxx> wrote:

> /apache is the apache install directory using the command "ln -s
> /www/apache /apche".
> I have copy files nessary by apache ,such as config files and lib
> files ,etc.....
> In non-chroot environment, the web server can bind and start without
> error.However, when I chroot the process ,I got a error.
>
> [Wed Nov 30 09:56:22 2005] [notice] Digest: generating secret for
> digest authentication ...
> [Wed Nov 30 09:56:22 2005] [crit] (2)No such file or directory:
> Digest: error generating secret: No such file or directory
> Configuration Failed
>
> I dont know which file or directory it need . Would you have some idea?
> BTW:apache1.3x,I can chroot it without error.

/dev/random or /dev/urandom probably.  httpd -X running under strace
would be an essential debugging tool when trying to do a chroot.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux