[Fwd: Chroot httpd problem]

calvin at dslextreme.com calvin at dslextreme.com
Tue Mar 8 20:45:56 UTC 2005


Paul Howarth
> On Mon, 2005-03-07 at 20:16 -0800, calvin at dslextreme.com wrote:
>> These files are in the chroot directory meaning:
>>
>> /chroot/www/etc/httpd/conf.d/auth_mysql.conf
>> /chroot/www/etc/httpd/modules/mod_auth_mysql.so
>> /chroot/www/usr/lib/mysql/libmysqlclient.so.10
>>
>> Why does it complain that it wan not there ? Any idea ?
>
> /chroot/www/usr/lib/mysql/libmysqlclient.so.10 should be a symlink to
> libmysqlclient.so.10.0.0
>
> /chroot/www/usr/lib/mysql/libmysqlclient.so.10.0.0 should be a regular
> file.
>
> Are they?

Yes.

>
> "ldd /usr/lib/mysql/libmysqlclient.so.10.0.0" shows that the following
> libraries should also be present in the chroot:
>
>         libz.so.1 => /usr/lib/libz.so.1 (0x00912000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x00d8b000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x003b8000)
>         libm.so.6 => /lib/tls/libm.so.6 (0x0080e000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x006e2000)
>         /lib/ld-linux.so.2 (0x006c9000)
>
> Are they?

Yes. they are all in the /chroot/www/xxx/xxx/ directories.




More information about the fedora-list mailing list