SMT - Enable the Informational LogLevel for Apache
This document (7021216) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
- Use the editor of your preference and edit the file /etc/apache2/conf.d/smt_mod_perl.conf.In the first lines of the file you will see something similar to this:
<IfModule mod_perl.c>
PerlRequire "/etc/apache2/smt-mod_perl-startup.pl"
ErrorDocument 401 /perl/errors/401
ErrorDocument 404 /perl/errors/404
ErrorDocument 500 /perl/errors/500 - You have to add the following line:
LogLevel info - Once added it should look like this:
<IfModule mod_perl.c>
LogLevel info
PerlRequire "/etc/apache2/smt-mod_perl-startup.pl"
ErrorDocument 401 /perl/errors/401
ErrorDocument 404 /perl/errors/404
ErrorDocument 500 /perl/errors/500 - Save the file and exit the editor.
- Restart the Apache service for the change to take effect:
- For SLES 11 based SMT server run:
# service apache2 restart
- For SLES 12 based SMT server run:
# systemctl restart apache2.service
- Once the Apache service is restarted wait for instructions from Support and when requested provide them with the following Apache log file for analysis:
/var/log/apache2/error_log
Cause
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:7021216
- Creation Date: 22-Aug-2017
- Modified Date:03-Mar-2020
-
- Subscription Management Tool
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com