On Tue, Mar 30, 2010 at 4:50 PM, Asif Iqbal <vadud3@xxxxxxxxx> wrote: > I am failing to start apache 2.2.6 on solaris 7. I do not have any > /dev/[u]random file. > > I am running prngd for entropy > > (root)@www:/usr/local/apache2# ps -ef | grep prng > root 12631 1 0 21:53:46 ? 0:07 /usr/local/sbin/prngd > /var/spool/prngd/pool > > (root)@www:/usr/local/apache2# ls -al /var/spool/prngd/pool > srwxrwxrwx 1 root other 0 Mar 29 21:53 /var/spool/prngd/pool > > (root)@www:/usr/local/apache2# file /var/spool/prngd/pool > /var/spool/prngd/pool: socket > > (root)@www:/usr/local/apache2# ./bin/httpd -v > Server version: Apache/2.2.6 (Unix) > Server built: Nov 29 2007 04:50:40 > > > (root)@www:/usr/local/apache2# tail -f logs/error_log > Configuration Failed > [Tue Mar 30 19:59:48 2010] [notice] Digest: generating secret for > digest authentication ... > [Tue Mar 30 19:59:48 2010] [crit] (2)No such file or directory: > Digest: error generating secret: No such file or directory > Configuration Failed > [Tue Mar 30 20:01:10 2010] [notice] Digest: generating secret for > digest authentication ... > [Tue Mar 30 20:01:10 2010] [crit] (2)No such file or directory: > Digest: error generating secret: No such file or directory > Configuration Failed > [Tue Mar 30 20:25:33 2010] [notice] Digest: generating secret for > digest authentication ... > [Tue Mar 30 20:25:33 2010] [crit] (2)No such file or directory: > Digest: error generating secret: No such file or directory > Configuration Failed > > My syntax looks ok > > (root)@www:/usr/local/apache2# ./bin/httpd -t > Syntax OK > > (root)@www:/usr/local/apache2# ./bin/httpd -S > VirtualHost configuration: > wildcard NameVirtualHosts and _default_ servers: > _default_:8443 www.example.net > (/usr/local/apache2/conf/extra/httpd-ssl.conf:8) > Syntax OK > > Here is my httpd.conf > > (root)@www:/usr/local/apache2# cat conf/httpd.conf > ServerRoot "/usr/local/apache2" > Listen 8080 > LoadModule authn_file_module modules/mod_authn_file.so > LoadModule authn_dbm_module modules/mod_authn_dbm.so > LoadModule authn_anon_module modules/mod_authn_anon.so > LoadModule authn_dbd_module modules/mod_authn_dbd.so > LoadModule authn_default_module modules/mod_authn_default.so > LoadModule authz_host_module modules/mod_authz_host.so > LoadModule authz_groupfile_module modules/mod_authz_groupfile.so > LoadModule authz_user_module modules/mod_authz_user.so > LoadModule authz_dbm_module modules/mod_authz_dbm.so > LoadModule authz_owner_module modules/mod_authz_owner.so > LoadModule authz_default_module modules/mod_authz_default.so > LoadModule auth_basic_module modules/mod_auth_basic.so > LoadModule auth_digest_module modules/mod_auth_digest.so > LoadModule dbd_module modules/mod_dbd.so > LoadModule dumpio_module modules/mod_dumpio.so > LoadModule ext_filter_module modules/mod_ext_filter.so > LoadModule include_module modules/mod_include.so > LoadModule filter_module modules/mod_filter.so > LoadModule deflate_module modules/mod_deflate.so > LoadModule log_config_module modules/mod_log_config.so > LoadModule log_forensic_module modules/mod_log_forensic.so > LoadModule logio_module modules/mod_logio.so > LoadModule env_module modules/mod_env.so > LoadModule mime_magic_module modules/mod_mime_magic.so > LoadModule cern_meta_module modules/mod_cern_meta.so > LoadModule expires_module modules/mod_expires.so > LoadModule headers_module modules/mod_headers.so > LoadModule ident_module modules/mod_ident.so > LoadModule usertrack_module modules/mod_usertrack.so > LoadModule unique_id_module modules/mod_unique_id.so > LoadModule setenvif_module modules/mod_setenvif.so > LoadModule version_module modules/mod_version.so > LoadModule proxy_module modules/mod_proxy.so > LoadModule proxy_connect_module modules/mod_proxy_connect.so > LoadModule proxy_ftp_module modules/mod_proxy_ftp.so > LoadModule proxy_http_module modules/mod_proxy_http.so > LoadModule proxy_ajp_module modules/mod_proxy_ajp.so > LoadModule proxy_balancer_module modules/mod_proxy_balancer.so > LoadModule ssl_module modules/mod_ssl.so > LoadModule mime_module modules/mod_mime.so > LoadModule dav_module modules/mod_dav.so > LoadModule status_module modules/mod_status.so > LoadModule autoindex_module modules/mod_autoindex.so > LoadModule asis_module modules/mod_asis.so > LoadModule info_module modules/mod_info.so > LoadModule cgi_module modules/mod_cgi.so > LoadModule dav_fs_module modules/mod_dav_fs.so > LoadModule vhost_alias_module modules/mod_vhost_alias.so > LoadModule negotiation_module modules/mod_negotiation.so > LoadModule dir_module modules/mod_dir.so > LoadModule imagemap_module modules/mod_imagemap.so > LoadModule actions_module modules/mod_actions.so > LoadModule speling_module modules/mod_speling.so > LoadModule userdir_module modules/mod_userdir.so > LoadModule alias_module modules/mod_alias.so > LoadModule rewrite_module modules/mod_rewrite.so > <IfModule !mpm_netware_module> > User daemon > Group daemon > </IfModule> > ServerAdmin www@xxxxxxxxxxx > ServerName www.example.net > DocumentRoot "/usr/local/apache2/htdocs" > <Directory /> > Options FollowSymLinks > AllowOverride None > Order deny,allow > Deny from all > </Directory> > <Directory "/usr/local/apache2/htdocs"> > Options Indexes FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all > </Directory> > <IfModule dir_module> > DirectoryIndex index.html > </IfModule> > <FilesMatch "^\.ht"> > Order allow,deny > Deny from all > Satisfy All > </FilesMatch> > ErrorLog logs/error_log > LogLevel warn > <IfModule log_config_module> > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" > \"%{User-Agent}i\"" combined > LogFormat "%h %l %u %t \"%r\" %>s %b" common > <IfModule logio_module> > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" > \"%{User-Agent}i\" %I %O" combinedio > </IfModule> > CustomLog logs/access_log common > </IfModule> > <IfModule alias_module> > ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" > </IfModule> > <IfModule cgid_module> > </IfModule> > <Directory "/usr/local/apache2/cgi-bin"> > AllowOverride None > Options None > Order allow,deny > Allow from all > </Directory> > DefaultType text/plain > <IfModule mime_module> > TypesConfig conf/mime.types > AddType application/x-compress .Z > AddType application/x-gzip .gz .tgz > </IfModule> > Include conf/extra/httpd-ssl.conf > SSLRandomSeed startup builtin > SSLRandomSeed connect builtin > > > Here is my conf/extra/httpd-ssl.conf > > (root)@www:/usr/local/apache2# cat conf/extra/httpd-ssl.conf > Listen 8443 > AddType application/x-x509-ca-cert .crt > AddType application/x-pkcs7-crl .crl > SSLPassPhraseDialog builtin > SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)" > SSLSessionCacheTimeout 300 > SSLMutex "file:/usr/local/apache2/logs/ssl_mutex" > <VirtualHost _default_:8443> > DocumentRoot "/usr/local/apache2/htdocs" > ServerName www.example.net:8443 > ServerAdmin www@xxxxxxxxxxx > ErrorLog "/usr/local/apache2/logs/error_log" > TransferLog "/usr/local/apache2/logs/access_log" > SSLEngine on > SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL > SSLCertificateFile "/usr/local/apache2/conf/server.crt" > SSLCertificateKeyFile "/usr/local/apache2/conf/server.key" > <FilesMatch "\.(cgi|shtml|phtml|php)$"> > SSLOptions +StdEnvVars > </FilesMatch> > <Directory "/usr/local/apache2/cgi-bin"> > SSLOptions +StdEnvVars > </Directory> > BrowserMatch ".*MSIE.*" \ > nokeepalive ssl-unclean-shutdown \ > downgrade-1.0 force-response-1.0 > CustomLog "/usr/local/apache2/logs/ssl_request_log" \ > "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" > </VirtualHost> > > > Any idea how to make apache2 start ? After removing most of the 56 LoadModules and only keeping the following 5 I were able to start apache2. Thanks to jMCg from #httpd on freenode for the suggestion on trying to remove most of the modules. (root)@www:/usr/local/apache2# grep ^LoadModule conf/httpd.conf LoadModule authz_host_module modules/mod_authz_host.so LoadModule log_config_module modules/mod_log_config.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule ssl_module modules/mod_ssl.so LoadModule mime_module modules/mod_mime.so -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --------------------------------------------------------------------- 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