httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] Apache in chroot on Solaris 9
Date Thu, 06 Aug 2009 00:30:16 GMT

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 the user with the given  
> UID". My chroot is /chroot and when i built it I have transfered  
> the /etc/passwd, /etc/group, /etc/netconfig, /etc/resolv.conf and / 
> etc/hosts files into /chroot/etc directory and I have transfered  
> all the libraries linked to the httpd process that I could find  
> with ldd and truss. Any idea what am I still missing?

man chroot

What happens when (in a shell) you perform the same chroot then su
to the apache user/group?

If that doesn't tell you anything useful, tell us whether you're apache
within a chroot, or using Apache's ChrootDir.

Nick Kew

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message