The Perfect Server - OpenSUSE 13.1 Apache does not start

Discussion in 'Server Operation' started by rupertrealbear, Nov 10, 2014.

  1. rupertrealbear

    rupertrealbear New Member

    I was delighted to find HowtoForge Linux tutorial The Perfect Server - OpenSUSE 13.1 x86_64 (Apache2, Dovecot, ISPConfig 3) http://www.howtoforge.com/the-perfect-server-opensuse-13.1-with-apache2-mysql-php-postfix-and-ispconfig-3 and I am following it as closely as I can.

    Because I had no static IP, I skipped step 4 Configure The Network Settings on page 3 http://www.howtoforge.com/the-perfect-server-opensuse-13.1-with-apache2-mysql-php-postfix-and-ispconfig-3-p3, leaving the system configured to get the IP address with DHCP (I DID turn off the firewall, tho).

    On page 4 I installed Apache 2, PHP 5, the Python mod & PHPMyAdmin. I edited /etc/apache2/httpd.conf as directed and tried starting Apache: it failed to start.

    Running

    Code:
    # systemctl status apache2.service -l
    produced [inter alia] the information:-


    Line 48 of /etc/apache2/ssl-global.conf says:-

    Code:
    SSLSessionCache		shmcb:/var/lib/apache2/ssl__scache(512000)

    Googling "SSLSessionCache: 'shmcb' session cache not supported" found this Stackoverflow post:-

    http://stackoverflow.com/questions/20127138/apache-2-4-configuration-for-ssl-not-working

    This post mentions that, for Apache 2.4, config file httpd.conf contains a commented line:-

    Code:
    LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    and that uncommenting the above line should fix the problem [of not supporting 'shmcb' session cache]

    I found no such line in /etc/apache2/httpd.conf in my OpenSUSE 13.1

    This one error seems to be the only thing preventing Apache from starting.

    Does anybody have any suggestions?

    TIA
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The SSLSessionCache is not from ispconfig. The line is not required, you can comment it out and then restart apache.
     
  3. rupertrealbear

    rupertrealbear New Member

    Thanks Till

    I didn't know if the socache_shmcb_module was needed.

    I commented out
    Code:
    LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    in /etc/apache2/ssl-global.conf and Apache successfully restarted!

    Best regards

    Guy:)
     

Share This Page