Results 1 to 3 of 3

Thread: Apache Syntax Error /etc/apache2/ssl-global.conf

  1. #1

    Default Apache Syntax Error /etc/apache2/ssl-global.conf

    My Goal is to use owncloud on my opensuse 13.1 box.
    Currently trying to setup SSL in apache.

    when I try to retart the apache2 service I get the following:
    # /etc/init.d/apache2 restart
    redirecting to systemctl restart apache2
    Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.





    when looking at System Monitor Logs I am getting the followingr: AH00526: Syntax error on line 48 of /etc/apache2/ssl-global.conf:

    2014-01-06T19:16:24.377700-05:00 linuxpd2 start_apache2[15930]: SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).


    ssl-global.conf line 48 & 49 are as shown:
    SSLSessionCache shmcb:/var/lib/apache2/ssl_scache(512000)
    SSLSessionCacheTimeout 300



    ----------
    when looking at journalctl -xn' for details: (only showing portion)
    Jan 06 19:45:01 linuxpd2 /USR/SBIN/CRON[21385]: pam_unix(crond:session): session closed for user root
    Jan 06 19:45:18 linuxpd2 kernel: SFW2-INext-DROP-DEFLT IN=enp9s0 OUT= MAC= ##MYMAC## SRC=192.168.1.1 DST=192.168.1.2 LEN=78 TO
    ...
    Jan 06 19:45:01 linuxpd2 /USR/SBIN/CRON[21385]: pam_unix(crond:session): session closed for user root
    Jan 06 19:45:18 linuxpd2 kernel: SFW2-INext-DROP-DEFLT IN=enp9s0 OUT= MAC=##MYMAC## SRC=192.168.1.1 DST=192.168.1.2 LEN=78 TOS

    ..
    .. similar incremental till the end:
    Jan 06 19:45:01 linuxpd2 /USR/SBIN/CRON[21385]: pam_unix(crond:session): session closed for user root
    Jan 06 19:45:18 linuxpd2 kernel: SFW2-INext-DROP-DEFLT IN=enp9s0 OUT= MAC=##MYMAC## SRC=192.168.1.1 DST=192.168.1.2 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=61321 DF PROTO=UDP SPT=1025 DPT=137 LEN=58



    any suggestions for a newbie?

    Thank you for your time
    Qu1nn
    Pentium D 820, 2.80GHz, Intel D945PSN ATX, PowerColor Radeon HD7870, Geil DDR2, (1GB x 2) Dual Channel 667MHz Suse 13.2, KDE
    Haswell i4771, 3.5GHz, Asus Z87-WS ATX, Club3d R9 280X RoyalQueen, Corsair 8GBx2, Corsair AX860 PS, openSuse 13.1, KDE

  2. #2

    Default Re: Apache Syntax Error /etc/apache2/ssl-global.conf

    Found a post which may have gotten me past the above hitch;

    from New: mod_ssl not working properly - opensuse-bugs.opensuse.org - ArchiveOrange
    "Okay, that's hardly a syntax error though. For that to work, you need to load
    "mod_socache_dbm" too. See the apache manual. To get it loaded, you have to
    amend /etc/sysconfig/apache2::APACHE_MODULES."


    Except I had to add "mod_socache_shmcb" as well.
    before I could get asked for the SSL pass phrase for localhost:443 (RSA)

    qu1nn
    Pentium D 820, 2.80GHz, Intel D945PSN ATX, PowerColor Radeon HD7870, Geil DDR2, (1GB x 2) Dual Channel 667MHz Suse 13.2, KDE
    Haswell i4771, 3.5GHz, Asus Z87-WS ATX, Club3d R9 280X RoyalQueen, Corsair 8GBx2, Corsair AX860 PS, openSuse 13.1, KDE

  3. #3

    Red face Re: Apache Syntax Error /etc/apache2/ssl-global.conf

    you just load and copy mod_socache_shmcb.so to /srv/www/modules ,

    first you need to create modules directory /srv/www/
    mkdir /srv/www/modules

    copy shmcb file to modules directory
    cp ./usr/lib/apache2-prefork/mod_socache_shmcb.so /srv/www/modules/

    and then, you should edit /etc/apache2/httpd.conf and add this line
    #Load module shmcb
    LoadModule socache_shmcb_module modules/mod_socache_shmcb.so


    restart apache2
    systemctl restart apache2.service

    that's work for my opensuse 13.1,
    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •