apache2 reload fails after update to apache2-2.2.12-1.18.1
This document (7009707) is provided subject to the disclaimer at the end of this document.
Environment
Situation
[Tue Nov 08 10:10:08 2011] [notice] Graceful restart requested, doing restart
httpd2-prefork: Syntax error on line 116 of /etc/apache2/httpd.conf: Syntax error on line 22 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2-prefork/mod_include.so into
server: /usr/lib64/apache2-prefork/mod_include.so: undefined symbol: ap_escape_html2
in /var/log/apache2/error_log
Resolution
The solution is to use
after the update to restart the service.
Please note: If the service does not get restarted after the update, logrotate may rotate the logs in /var/log/apache2 at some point and execute the reload by itself causing the service to fail.
The behavior of the package got addressed with apache2-2.2.12-1.30.1 and later.
Additional Information
Refreshing service 'SMT-http_smt_test_site'.
Loading repository data...
Reading installed packages...
The following package updates will NOT be installed:
The following packages are going to be upgraded:
apache2 apache2-prefork
2 packages to upgrade.
Overall download size: 1.0 MiB. After the operation, additional 25.0 KiB will be used.
Continue? [y/n/?] (y):
Retrieving package apache2-prefork-2.2.12-1.18.1.x86_64 (1/2), 272.0 KiB (669.0 KiB unpacked)
Retrieving delta: ./rpm/x86_64/apache2-prefork-2.2.10_2.2.12-2.30.1_1.18.1.x86_64.delta.rpm, 127.0 KiB
Applying delta: ./apache2-prefork-2.2.10_2.2.12-2.30.1_1.18.1.x86_64.delta.rpm [done]
Installing: apache2-prefork-2.2.12-1.18.1 [done]
Retrieving package apache2-2.2.12-1.18.1.x86_64 (2/2), 753.0 KiB (2.3 MiB unpacked)
Retrieving delta: ./rpm/x86_64/apache2-2.2.10_2.2.12-2.30.1_1.18.1.x86_64.delta.rpm, 271.0 KiB
Applying delta: ./apache2-2.2.10_2.2.12-2.30.1_1.18.1.x86_64.delta.rpm [done]
Installing: apache2-2.2.12-1.18.1 [done]
Additional rpm output:
Starting SuSEconfig, the SuSE Configuration Tool...
Running module permissions only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.permissions...
Finished.
Updating etc/sysconfig/apache2...
looking for old 2.0 modules to be renamed...
Done.
There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs.
sles11test:~ #
Running "zypper ps" will provide a list of processes that needs to be restarted due to changed libraries. In order to avoid any problems with changed libraries its highly recommended to restart the service as soon as the update was installed.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7009707
- Creation Date: 08-Nov-2011
- Modified Date:14-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com