Bug 6852

Summary: apache won't start with ssl.conf
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: apache-2.4.2-2.mga3 CVE:
Status comment:

Description Barry Jackson 2012-07-23 01:48:41 CEST
Description of problem:
After updating Cauldron to apache-2.4.2-2.mga3 it fails to stsrt.

[root@jackodesktop baz]# systemctl start httpd.service
Job failed. See system journal and 'systemctl status' for details.
[root@jackodesktop baz]# systemctl status httpd.service
httpd.service - The Apache HTTP Server
          Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
          Active: failed (Result: exit-code) since Mon, 23 Jul 2012 00:34:24 +0100; 5s ago
         Process: 973 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
         Process: 989 ExecStart=/usr/sbin/httpd $OPTIONS (code=exited, status=1/FAILURE)
        Main PID: 32182 (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/httpd.service

Jul 23 00:34:24 jackodesktop httpd[989]: AH00526: Syntax error on line 51 of /etc/httpd/conf/conf.d/ssl.conf:                               
Jul 23 00:34:24 jackodesktop httpd[989]: Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included ...uration
[root@jackodesktop baz]#

Commenting the four un-commented lines in /etc/httpd/conf/conf.d/ssl.conf allows httpd to start. This config file is not present in a default apache installation in mga2.

Not sure if it's related, but index.php is permission denied 403, despite being owned by apache. index.html *is* readable when present.

Installed apache/php packages:-
[root@jackodesktop baz]# rpm -qa | grep apache
apache-commons-logging-1.1.1-17.mga1
apache-mod_php-5.4.4-7.mga3
apache-commons-codec-1.6-1.mga3
apache-commons-lang-2.6-6.mga3
apache-2.4.2-2.mga3
[root@jackodesktop baz]# rpm -qa | grep php
php-gettext-5.4.4-7.mga3
php-tokenizer-5.4.4-7.mga3
php-zlib-5.4.4-7.mga3
php-openssl-5.4.4-7.mga3
apache-mod_php-5.4.4-7.mga3
php-ctype-5.4.4-7.mga3
lib64php5_common5-5.4.4-7.mga3
php-xmlreader-5.4.4-7.mga3
php-sysvshm-5.4.4-7.mga3
php-xml-5.4.4-7.mga3
php-cgi-5.4.4-7.mga3
php-sockets-5.4.4-7.mga3
php-suhosin-0.9.34-0.0.git1fba865.1.mga3
php-xmlwriter-5.4.4-7.mga3
php-posix-5.4.4-7.mga3
php-timezonedb-2012.3-2.mga3
php-sysvsem-5.4.4-7.mga3
php-dom-5.4.4-7.mga3
php-ftp-5.4.4-7.mga3
php-hash-5.4.4-7.mga3
php-filter-5.4.4-7.mga3
php-ini-5.4.4-7.mga3
php-mysql-5.4.4-7.mga3
php-json-5.4.4-7.mga3
php-session-5.4.4-7.mga3


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. install apache
2. attempt to start default apache server with systemctl start httpd.service
3.
Comment 1 Manuel Hiebel 2012-07-23 18:21:40 CEST
there was an update regarding ssl from blino yesterday http://svnweb.mageia.org/packages/cauldron/apache/current/SPECS/apache.spec?r1=272823&r2=273652, same as before ?

Keywords: (none) => NEEDINFO

Comment 2 Barry Jackson 2012-07-23 21:28:52 CEST
Yes that was it - fixed with the updated apache.

Thanks.

Keywords: NEEDINFO => (none)
Status: NEW => RESOLVED
Resolution: (none) => FIXED