From owner-freebsd-apache@FreeBSD.ORG Sat Jan 1 16:57:09 2011 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEB56106566B for ; Sat, 1 Jan 2011 16:57:09 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6D9A18FC14 for ; Sat, 1 Jan 2011 16:57:08 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 05A3A34D461; Sat, 1 Jan 2011 16:38:55 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Sat, 1 Jan 2011 16:38:54 +0000 User-Agent: KMail/1.13.5 (FreeBSD/7.2-RELEASE-p3; KDE/4.5.4; amd64; ; ) X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201101011638.54711.david@vizion2000.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: apache@freebsd.org Subject: Apache22 not starting - is this a SSL from ports bug? X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 16:57:09 -0000 HI Some assistance would be much appreciated as the web server is now off line. apache22 has mysteriously stopped loading after an attempted restart. The log file even at duebug level does not indicate why the server will not start. It was working fine and stopped following a recent ports upgrade. I have had a similar symptom once before which seemed to be due to using ssl from ports. On that occasion I recompiled apache22 and all mods andput the following line in make.conf: WITH_OPENSSL_FROM_PORTS=yes and that appeared to solve the problem on that occasion. HOWVER this time I am not so fortunate and cannot get the server to start. I am still curious about SSL from ports as a possible cause. openssl from ports is reported as version openssl-1.0.0_4 however as you can see from the httpd-error.log (in full below) the lines: "[Sat Jan 01 15:08:57 2011] [info] mod_ssl/2.2.17 compiled against Server: Apache/2.2.17, Library: OpenSSL/1.0.0c" make me wonder if the apache compile has ignored the make.conf WITH_OPENSSL_FROM_PORTS=yes and compiled from system default. Is that what those lines mean and If so how do I remedy it? Below is some more detailed info which includes httpd.conf, list of ssl relevant ports, & the httpd-error.log file generated at debug level. The following ssl relevant ports are installed: linux-openssl-0.9.7f_2 SSL and crypto library (Linux Version) openssl-1.0.0_4 SSL and crypto library php5-openssl-5.3.4 The openssl shared extension for php py26-openssl-0.11 Python interface to the OpenSSL library qca-ossl-2.0.0.b3_4 QCA OpenSLL plugin httpd.conf Syntax is reported as OK dns1# httpd -t Syntax OK dns1# hostname dns1.vizion2000.net dns1# httpd-error.log file entries after trying to start the server: dns1# /usr/local/sbin/apachectl -e debug -k start test_2011_01_01_12 [Sat Jan 01 15:08:56 2011] [info] Init: Initialized OpenSSL library [Sat Jan 01 15:08:56 2011] [info] Init: Seeding PRNG with 0 bytes of entropy [Sat Jan 01 15:08:56 2011] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Sat Jan 01 15:08:56 2011] [info] Init: Generating temporary DH parameters (512/1024 bits) [Sat Jan 01 15:08:56 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sat Jan 01 15:08:56 2011] [info] Init: Initializing (virtual) servers for SSL [Sat Jan 01 15:08:56 2011] [info] mod_ssl/2.2.17 compiled against Server: Apache/2.2.17, Library: OpenSSL/1.0.0c [Sat Jan 01 15:08:56 2011] [info] mod_unique_id: using ip addr 62.49.197.50 [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authn_file_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authn_dbm_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authn_anon_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authn_default_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authn_alias_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authz_host_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authz_groupfile_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authz_user_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authz_dbm_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authz_owner_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authz_default_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module auth_basic_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module auth_digest_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module file_cache_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module cache_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module disk_cache_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module include_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module filter_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module charset_lite_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module deflate_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module log_config_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module logio_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module env_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module mime_magic_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module cern_meta_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module expires_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module headers_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module usertrack_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module unique_id_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module setenvif_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module version_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module ssl_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module mime_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module dav_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module status_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module autoindex_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module asis_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module info_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module cgi_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module dav_fs_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module vhost_alias_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module negotiation_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module dir_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module imagemap_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module actions_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module speling_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module userdir_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module alias_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module rewrite_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module ruby_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module php5_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module dnssd_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module python_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module dav_svn_module [Sat Jan 01 15:08:57 2011] [debug] mod_so.c(246): loaded module authz_svn_module [Sat Jan 01 15:08:57 2011] [info] Init: Initialized OpenSSL library [Sat Jan 01 15:08:57 2011] [info] Init: Seeding PRNG with 0 bytes of entropy [Sat Jan 01 15:08:57 2011] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Sat Jan 01 15:08:57 2011] [info] Init: Generating temporary DH parameters (512/1024 bits) [Sat Jan 01 15:08:57 2011] [info] Init: Initializing (virtual) servers for SSL [Sat Jan 01 15:08:57 2011] [info] mod_ssl/2.2.17 compiled against Server: Apache/2.2.17, Library: OpenSSL/1.0.0c ________________________________________________________ httpd.conf ____________________________________________________________ ServerRoot "/usr/local" Listen 62.49.197.50:80 LoadModule authn_file_module libexec/apache22/mod_authn_file.so LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so LoadModule authn_default_module libexec/apache22/mod_authn_default.so LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so LoadModule authz_host_module libexec/apache22/mod_authz_host.so LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so LoadModule authz_user_module libexec/apache22/mod_authz_user.so LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so LoadModule authz_default_module libexec/apache22/mod_authz_default.so LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so LoadModule file_cache_module libexec/apache22/mod_file_cache.so LoadModule cache_module libexec/apache22/mod_cache.so LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so LoadModule include_module libexec/apache22/mod_include.so LoadModule filter_module libexec/apache22/mod_filter.so LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so LoadModule deflate_module libexec/apache22/mod_deflate.so LoadModule log_config_module libexec/apache22/mod_log_config.so LoadModule logio_module libexec/apache22/mod_logio.so LoadModule env_module libexec/apache22/mod_env.so LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so LoadModule expires_module libexec/apache22/mod_expires.so LoadModule headers_module libexec/apache22/mod_headers.so LoadModule usertrack_module libexec/apache22/mod_usertrack.so LoadModule unique_id_module libexec/apache22/mod_unique_id.so LoadModule setenvif_module libexec/apache22/mod_setenvif.so LoadModule version_module libexec/apache22/mod_version.so LoadModule ssl_module libexec/apache22/mod_ssl.so LoadModule mime_module libexec/apache22/mod_mime.so LoadModule dav_module libexec/apache22/mod_dav.so LoadModule status_module libexec/apache22/mod_status.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule asis_module libexec/apache22/mod_asis.so LoadModule info_module libexec/apache22/mod_info.so LoadModule cgi_module libexec/apache22/mod_cgi.so LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so LoadModule negotiation_module libexec/apache22/mod_negotiation.so LoadModule dir_module libexec/apache22/mod_dir.so LoadModule imagemap_module libexec/apache22/mod_imagemap.so LoadModule actions_module libexec/apache22/mod_actions.so LoadModule speling_module libexec/apache22/mod_speling.so LoadModule userdir_module libexec/apache22/mod_userdir.so LoadModule alias_module libexec/apache22/mod_alias.so LoadModule rewrite_module libexec/apache22/mod_rewrite.so LoadModule ruby_module libexec/apache22/mod_ruby.so LoadModule php5_module libexec/apache22/libphp5.so LoadModule dnssd_module libexec/apache22/mod_dnssd.so LoadModule python_module libexec/apache22/mod_python.so LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so LoadModule authz_svn_module libexec/apache22/mod_authz_svn.so User www Group www ServerAdmin david@vizion2000.net ServerName dns1.vizion2000.net DocumentRoot "/usr_www/virtualwebs/vizion2000.net" DAV svn SVNPath /usr_www/virtualwebs/vizion2000.net/iinis_svn SVNListParentPath on # Access control Policy AuthzSVNAccessFile /usr/local/etc/apache22/Authz_iinis_svn # try anonymous access first, resort to authentication # if necessary Require valid-user AuthType Basic AuthName "iinis svn repository" AuthUserFile /usr/local/etc/apache22/svn-auth-iinis CustomLog /usr/local/etc/apache22/svn_dev_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION AllowOverride None Order deny,allow Deny from all Options All Indexes FollowSymLinks DirectoryIndex index.php index.html Options ExecCGI FollowSymLinks AllowOverride None Order allow,deny Allow from all Alias /doc /usr_www/virtualwebs/vizion2000.net/doc Options Indexes FollowSymLinks AllowOverride None Order allow,deny allow from all Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all DirectoryIndex index.php index.html Order allow,deny Deny from all Satisfy All ErrorLog /var/log/httpd-error.log LogLevel debug # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio CustomLog /var/log/httpd-access.log combined # ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/" # # ScriptSock: On threaded servers, designate the path to the UNIX # socket used to communicate with the CGI daemon of mod_cgid. # #Scriptsock /var/run/cgisock # # "/usr/local/www/apache22/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all # DefaultType text/plain # # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-type. # TypesConfig etc/apache22/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddHandler cgi-script .cgi AddHandler python_module .py Include etc/apache22/Includes/*.conf #Include etc/apache22/extra/httpd-ssl.conf Photographic Artist Permanent Installations & Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography & Official Portraiture Combined darkroom & digital creations & Systems Adminstrator for the vizion2000.net network