Apache2 will not start on OpenSUSE after enabling mod_pagespeed

Posted by alpha1 on Server Fault See other posts from Server Fault or by alpha1
Published on 2013-06-06T21:11:08Z Indexed on 2014/08/18 22:23 UTC
Read the original article Hit count: 564

I have a linode VPS, running openSUSE 12.1 (A little outdated, but stable). I have installed the RPMS for mod_pagespeed. mod_pagespeed.conf has "ModPagespeed on".

Restarting apache fails after enabling pagespeed. the errors are not very helpful.

li361-39:/usr/lib64/apache2 # a2enmod pagespeed
li361-39:/usr/lib64/apache2 # service apache2 restart

redirecting to systemctl
Job failed. See system logs and 'systemctl status' for details.
li361-39:/usr/lib64/apache2 # systemctl status apache2.service
apache2.service - apache
          Loaded: loaded (/lib/systemd/system/apache2.service; enabled)
          Active: failed since Thu, 06 Jun 2013 20:49:00 +0000; 1s ago
         Process: 6701 ExecStop=/usr/sbin/httpd2 -D SYSTEMD -k stop (code=exited, status=0/SUCCESS)
         Process: 6704 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start (code=exited, status=1/FAILURE)
        Main PID: 6637 (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/apache2.service

li361-39:/usr/lib64/apache2 # a2dismod pagespeed
li361-39:/usr/lib64/apache2 # service apache2 restart
redirecting to systemctl
li361-39:/usr/lib64/apache2 #

And the error log (/var/log/apache2/error_log) is useless as well.

[Thu Jun 06 20:48:59 2013] [notice] caught SIGTERM, shutting down
[Thu Jun 06 20:49:12 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jun 06 20:49:13 2013] [notice] Apache/2.2.21 (Linux/SUSE) mod_ssl/2.2.21 OpenSSL/1.0.0k PHP/5.4.15 configured -- resuming normal operations

EDIT This is from /var/log/messages Jun 12 14:24:14 li361-39 start_apache2[27951]: httpd2-prefork: Syntax error on line 116 of /etc/apache2/httpd.conf: Syntax error on line 34 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_pagespeed.so into server: /usr/lib64/apache2/mod_pagespeed.so: undefined symbol: ap_unixd_config Full Log is here: http://pastebin.com/hjnbZZTr

I've tried looking for other logs and checking the mod_pagespeed.conf against posts claiming it works and nothing is striking as wrong. Any Ideas?

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about opensuse