Re: [us...@httpd] Apache in chroot on Solaris 9

2009-08-05 Thread Igor Cicimov
As addition to the said above I can see the following error when I run truss on the process: stat("/usr/local/ssl/lib/libc.so.1", 0xFFBFEE30) Err#2 ENOENT stat("/usr/local/ssl/lib/libgcc_s.so.1", 0xFFBFEE30) Err#2 ENOENT and those libraries really don't exist. Any idea how to get around this? Ig

Re: [us...@httpd] Apache in chroot on Solaris 9

2009-08-05 Thread Igor Cicimov
Thanks Nick, that was a good pointer. I enabled the su command in chroot and copied over some of the libraries linked to it: cp /usr/lib/libbsm.so.1 /chroot/usr/lib/libbsm.so.1 cp /usr/lib/libproject.so.1 /chroot/usr/lib/libproject.so.1 cp /usr/lib/libpam.so.1 /chroot/usr/lib/libpam.so.1 cp /usr/l

Re: [us...@httpd] Apache in chroot on Solaris 9

2009-08-05 Thread Nick Kew
On 6 Aug 2009, at 01:06, Igor Cicimov wrote: Hi all, I have built and install apache2.2.11 on solaris 9 and all is working fine but when I put the server in chroot I faced some problems. More specifically the server complains about the user I'm running apache under and says "can't find t

[us...@httpd] Apache in chroot on Solaris 9

2009-08-05 Thread Igor Cicimov
Hi all, I have built and install apache2.2.11 on solaris 9 and all is working fine but when I put the server in chroot I faced some problems. More specifically the server complains about the user I'm running apache under and says "can't find the user with the given UID". My chroot is /chroot and w