[Bug 1051564] New: apache cannot load php
http://bugzilla.opensuse.org/show_bug.cgi?id=1051564 Bug ID: 1051564 Summary: apache cannot load php Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Critical Priority: P5 - None Component: Apache Assignee: bnc-team-apache@forge.provo.novell.com Reporter: blacktav@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 Build Identifier: After online update of apache, apache cannot load php Reproducible: Always Steps to Reproduce: 1.add php5 or php7 to MODULES in sysconfig/apache 2.systemctl restart apache2 3. Jul 31 22:50:15 bavaria start_apache2[4175]: httpd-prefork: Syntax error in -C/-c directive: Syntax error on line 22 o Jul 31 22:50:15 bavaria systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE Jul 31 22:50:15 bavaria start_apache2[4184]: httpd-prefork: Syntax error in -C/-c directive: Syntax error on line 22 o Jul 31 22:50:15 bavaria systemd[1]: apache2.service: Control process exited, code=exited status=1 Jul 31 22:50:15 bavaria systemd[1]: Failed to start The Apache Webserver. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1051564 http://bugzilla.opensuse.org/show_bug.cgi?id=1051564#c1 --- Comment #1 from Black Tavish <blacktav@gmail.com> --- Created attachment 734640 --> http://bugzilla.opensuse.org/attachment.cgi?id=734640&action=edit journal message attempting to start apache -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1051564 http://bugzilla.opensuse.org/show_bug.cgi?id=1051564#c2 --- Comment #2 from Black Tavish <blacktav@gmail.com> --- Comment on attachment 734640 --> http://bugzilla.opensuse.org/attachment.cgi?id=734640 journal message attempting to start apache Jul 31 22:50:15 bavaria start_apache2[4175]: httpd-prefork: Syntax error in -C/-c directive: Syntax error on line 22 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_php7.so into server: /usr/lib64/apache2/mod_php7.so: symbol xmlOutputBufferGetSize, version LIBXML2_2.9.0 not defined in file libxml2.so.2 with link time reference Jul 31 22:50:15 bavaria systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE Jul 31 22:50:15 bavaria start_apache2[4184]: httpd-prefork: Syntax error in -C/-c directive: Syntax error on line 22 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_php7.so into server: /usr/lib64/apache2/mod_php7.so: symbol xmlOutputBufferGetSize, version LIBXML2_2.9.0 not defined in file libxml2.so.2 with link time reference Jul 31 22:50:15 bavaria systemd[1]: apache2.service: Control process exited, code=exited status=1 Jul 31 22:50:15 bavaria systemd[1]: Failed to start The Apache Webserver. -- Subject: Unit apache2.service has failed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1051564 http://bugzilla.opensuse.org/show_bug.cgi?id=1051564#c3 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |astieger@suse.com, | |blacktav@gmail.com, | |pgajdos@suse.com Flags| |needinfo?(blacktav@gmail.co | |m) Severity|Critical |Major --- Comment #3 from Andreas Stieger <astieger@suse.com> --- This seems relevant: https://build.opensuse.org/package/rdiff/openSUSE:Leap:42.2:Update/apache2?linkrev=base&rev=4 +- start_apache2: include individual sysconfig.d files instead of + sysconfig.d dir, include sysconfig.d/include.conf after httpd.conf + is processed [bsc#1023616], [bsc#1043055] @@ -157,9 +157,12 @@ # run Apache # -exec $apache_bin -f $httpd_conf $server_flags \ +exec $apache_bin $server_flags \ -C "PidFile $pid_file" \ - -C "Include $sysconfd_dir" \ + -C "Include $sysconfd_dir/loadmodule.conf" \ + -C "Include $sysconfd_dir/global.conf" \ + -f $httpd_conf \ + -c "Include $sysconfd_dir/include.conf" \ "${sysconfig_setting[@]}" \ $@ So that or XML. Reporter, have you isolated that apache2-2.4.23-13.1 (only) causes this? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1051564 http://bugzilla.opensuse.org/show_bug.cgi?id=1051564#c4 Black Tavish <blacktav@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID Flags|needinfo?(blacktav@gmail.co | |m) | --- Comment #4 from Black Tavish <blacktav@gmail.com> --- Apologies everyone, it was all my fault Doing a system migration from an old server and an old Plone deployment installed a couple of xml2/xslt libraries in local which got picked up during the installation of the patch or update bundle. yast itself started randomly core-dumping as well after the update - all very distressing So removed these libs and apache & yast started behaving properly again. Sorry for the noise -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com