Sabtu, 13 Oktober 2018

How to dump debug apache module

  Tidak ada komentar
Some missing or error module shown
[root@maswachid mods-enabled]#
[root@maswachid mods-enabled]# apachectl -t -D DUMP_MODULES
[Sun Oct 14 12:51:51.969194 2018] [so:warn] [pid 54421] AH01574: module dir_module is already loaded, skipping
[Sun Oct 14 12:51:51.969554 2018] [so:warn] [pid 54421] AH01574: module setenvif_module is already loaded, skipping
[Sun Oct 14 12:51:51.972459 2018] [so:warn] [pid 54421] AH01574: module status_module is already loaded, skipping
[Sun Oct 14 12:51:51.973036 2018] [core:warn] [pid 54421] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
AH00526: Syntax error on line 36 of /usr/local/apache2/conf/mods-enabled/ssl.conf:
SSLPassPhraseDialog: file '/usr/share/apache2/ask-for-passphrase' does not exist
[root@maswachid mods-enabled]# mkdir /usr/share/apache2
[root@maswachid mods-enabled]# vi /usr/share/apache2/ask-for-passphrase
[root@maswachid mods-enabled]#
After module fixed
[root@maswachid mods-enabled]# apachectl -t -D DUMP_MODULES
[Sun Oct 14 12:54:01.971412 2018] [so:warn] [pid 54430] AH01574: module dir_module is already loaded, skipping
[Sun Oct 14 12:54:01.971921 2018] [so:warn] [pid 54430] AH01574: module setenvif_module is already loaded, skipping
[Sun Oct 14 12:54:01.974746 2018] [so:warn] [pid 54430] AH01574: module status_module is already loaded, skipping
[Sun Oct 14 12:54:01.975247 2018] [core:warn] [pid 54430] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_prefork_module (static)
 authz_groupfile_module (shared)
 access_compat_module (shared)
 reqtimeout_module (shared)
 log_config_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)
 dir_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 deflate_module (shared)
 env_module (shared)
 filter_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
[root@maswachid mods-enabled]#

Install both packages

Tidak ada komentar :

Posting Komentar