Hi all, I have compiled and installed apache2.2.11 with mod_security and SSL on Solaris 10. All was fine until I moved it to jail I had built in /chroot. The error I get is:
[Tue Jun 16 16:19:47 2009] [info] Init: Seeding PRNG with 272 bytes of entropy [Tue Jun 16 16:19:47 2009] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Tue Jun 16 16:19:48 2009] [info] Init: Generating temporary DH parameters (512/1024 bits) [Tue Jun 16 16:19:48 2009] [debug] ssl_scache_dbm.c(408): Inter-Process Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0 [Tue Jun 16 16:19:48 2009] [info] Init: Initializing (virtual) servers for SSL [Tue Jun 16 16:19:48 2009] [info] mod_ssl/2.2.11 compiled against Server: Apache/2.2.11, Library: OpenSSL/0.9.7d [Tue Jun 16 16:19:48 2009] [info] mod_unique_id: using ip addr 10.25.9.192 [Tue Jun 16 16:19:49 2009] [notice] mod_security/1.9.5 configured - Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7d proxy_html/2. 5 DAV/2 [Tue Jun 16 16:19:49 2009] [info] Init: Seeding PRNG with 272 bytes of entropy [Tue Jun 16 16:19:49 2009] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Tue Jun 16 16:19:49 2009] [info] Init: Generating temporary DH parameters (512/1024 bits) [Tue Jun 16 16:19:49 2009] [debug] ssl_scache_dbm.c(408): Inter-Process Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0 [Tue Jun 16 16:19:49 2009] [info] Init: Initializing (virtual) servers for SSL [Tue Jun 16 16:19:49 2009] [info] mod_ssl/2.2.11 compiled against Server: Apache/2.2.11, Library: OpenSSL/0.9.7d [Tue Jun 16 16:19:49 2009] [info] mod_unique_id: using ip addr 10.X.Y.Z [Tue Jun 16 16:19:50 2009] [notice] Digest: generating secret for digest authentication ... [Tue Jun 16 16:19:50 2009] [crit] (6)No such device or address: Digest: error generating secret: No such device or address Configuration Failed I must say that the server was working without any problem in /usr/local/apache2 before moving it to jail /chroot/usr/local/apache2. I also have to say that I already had apache2.2.8 running in the same jail without any problems. I also have all the libraries linked to the /chroot/usr/local/apache2/bin/httpd copied over to the /chroot enviroment. My list of devices in /chroot/dev is : # ls -l /chroot/dev total 0 crw-rw-rw- 1 root root 21, 5 Mar 31 15:49 log crw-rw-rw- 1 root root 13, 2 May 14 15:46 null crw-rw-rw- 1 root root 190, 0 Mar 31 14:31 random crw-rw-rw- 1 root root 42, 2 Mar 31 14:31 tcp crw-rw-rw- 1 root root 22, 0 Mar 31 14:31 tty crw-rw-rw- 1 root root 11, 41 Mar 31 14:32 udp crw-rw-rw- 1 root root 1, 9 Mar 31 15:48 urandom I'm not sure if it is some module or something else generating the critical error although I set the log level to debug. Any idea what might have caused this problem? Thanks for any reply. Igor