Running apache in jail

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

 



Hi all,

I have problems starting the apache in jail. The error I get is:

[Tue Mar 31 04:33:48 2009] [notice] Apache/2.2.8 (Unix) configured --
resuming normal operations
[Tue Mar 31 04:33:48 2009] [info] Server built: May 30 2008 08:24:34
[Tue Mar 31 04:33:48 2009] [debug] worker.c(1740): AcceptMutex: fcntl
(default: fcntl)
[Tue Mar 31 04:33:48 2009] [alert] getpwuid: couldn't determine user
name from uid 500, you probably need to modify the User directive
[Tue Mar 31 04:33:48 2009] [alert] getpwuid: couldn't determine user
name from uid 500, you probably need to modify the User directive
[Tue Mar 31 04:33:48 2009] [alert] getpwuid: couldn't determine user
name from uid 500, you probably need to modify the User directive
[Tue Mar 31 04:33:48 2009] [alert] getpwuid: couldn't determine user
name from uid 500, you probably need to modify the User directive
[Tue Mar 31 04:33:48 2009] [alert] getpwuid: couldn't determine user
name from uid 500, you probably need to modify the User directive
[Tue Mar 31 04:33:49 2009] [alert] Child 8438 returned a Fatal
error... Apache is exiting!


My chroot path is /chroot and I have the user 500 created in the
/chroot/etc/passwd file and the group 500 as well included in the
/chroot/etc/group file:

/chroot/etc/passwd
================
httpd:x:500:500:Apache:/:/sbin/nologin

/chroot/etc/group
================
httpd::500:


The apache is in /chroot/usr/local/apache2 and I have the following
lines in the conf/httd.conf to set the account the apache should run
under:

User #500
Group #500


The box is Solaris 10: SunOS  5.10 Generic_118833-03 sun4u sparc
SUNW,Sun-Fire-V240

Looks like I'm missing something in the jail configuration but can't
figure it out what exactly.

Any help would be appreciated.

Thanks,

Igor

---------------------------------------------------------------------
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