|
| hi!
my configuration
apache 2.0.52
../configure --prefix=/apache --enable-mods-shared=most --enable-deflate --en
able-ssl
then make and make install.
Directories
/chroot/apache/; /chroot/etc; /chroot/dev/ ; /chroot/usr/lib
I have copied all libraries ldd /apache/bin/httpd and also from /etc :
hosts, resolv.conf, localtime, passwd, group to /chroot/etc.
I have created /chroot/dev/null device : mknod c 1 3
I have modified /chroot/apache/bin/apachectl script
HTTPD='/usr/sbin/chroot /chroot /apache/bin/httpd'
when i start apache:
# /chroot/apache/bin/apachectl start i get
httpd: bad user name apache2
the user exists in /chroot/etc/passwd
When I change user in /chroot/apache/conf/httpd.conf for example
User userX
Group groupx
/chroot/apache/bin/apachectl gives me
httpd: bad user name userX
any suggestion would be very appreciated
thx in advace
cheer PIT
|
|