Error after migration
Error after migration
I am moving from CentOS release 6.5 (Final) 64bit to:
[root@nagios01 nagiosxi]# cat /etc/*elease
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
I get the following errors:
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Starting The Apache HTTP Server...
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: [Thu Sep 05 16:48:04.551717 2019] [so:warn] [pid 4742] AH01574: module ssl_module is already loaded, skipping
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 05 16:48:04 nagios01.corp.globetax.com kill[4744]: kill: cannot find process ""
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Failed to start The Apache HTTP Server.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Unit httpd.service entered failed state.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service failed.
[root@nagios01 nagiosxi]# cat /etc/*elease
CentOS Linux release 7.6.1810 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core)
CentOS Linux release 7.6.1810 (Core)
I get the following errors:
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Starting The Apache HTTP Server...
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: [Thu Sep 05 16:48:04.551717 2019] [so:warn] [pid 4742] AH01574: module ssl_module is already loaded, skipping
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 05 16:48:04 nagios01.corp.globetax.com kill[4744]: kill: cannot find process ""
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Failed to start The Apache HTTP Server.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Unit httpd.service entered failed state.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service failed.
Re: Error after migration
Can you post the output to the following commands,
Code: Select all
systemctl status httpd
systemctl start httpd
journalctl -xeAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error after migration
[root@nagios01 ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-09-05 16:48:04 EDT; 19h ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 4744 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 4742 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 4742 (code=exited, status=1/FAILURE)
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Starting The Apache HTTP Server...
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: [Thu Sep 05 16:48:04.551717 2019] [so:warn] [pid 4742] AH01574: module ssl_module is already loaded, skipping
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 05 16:48:04 nagios01.corp.globetax.com kill[4744]: kill: cannot find process ""
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Failed to start The Apache HTTP Server.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Unit httpd.service entered failed state.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service failed.
[root@nagios01 ~]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@nagios01 ~]# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit user-0.slice has finished starting up.
--
-- The start-up result is done.
Sep 06 11:50:28 nagios01.corp.globetax.com systemd-logind[5230]: New session 16336 of user root.
-- Subject: A new session 16336 has been created for user root
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar ... /multiseat
--
-- A new session with the ID 16336 has been created for the user root.
--
-- The leading process of the session is 6909.
Sep 06 11:50:28 nagios01.corp.globetax.com systemd[1]: Started Session 16336 of user root.
-- Subject: Unit session-16336.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit session-16336.scope has finished starting up.
--
-- The start-up result is done.
Sep 06 11:50:29 nagios01.corp.globetax.com sshd[6909]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/pickup[1109]: 0600E40980F5: uid=1001 from=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/cleanup[6437]: 0600E40980F5: message-id=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/qmgr[6451]: 0600E40980F5: from=<[email protected]>, size=1825, nrcpt=1 (queue active)
Sep 06 11:50:29 nagios01.corp.globetax.com dbus[5244]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Sep 06 11:50:29 nagios01.corp.globetax.com dbus[5244]: [system] Successfully activated service 'org.freedesktop.problems'
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/pickup[1109]: 23EE240980F6: uid=1001 from=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/cleanup[6437]: 23EE240980F6: message-id=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/qmgr[6451]: 23EE240980F6: from=<[email protected]>, size=1826, nrcpt=1 (queue active)
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/smtp[8776]: 23EE240980F6: to=<[email protected]>, relay=mailhost3.globetax.com[64.132.182.235]:25, delay=0.15, delays=0.01/0/0.07/0.07, dsn=2.0.0, status=sent (250 2.0.0 Ok: que
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/qmgr[6451]: 23EE240980F6: removed
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming timedevents.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming systemcommands.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming servicechecks.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming hostchecks.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming eventhandlers.
Sep 06 11:50:30 nagios01.corp.globetax.com polkitd[5236]: Registered Authentication Agent for unix-process:7270:8486453 (system bus name :1.45446 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/Aut
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has begun starting up.
Sep 06 11:50:30 nagios01.corp.globetax.com httpd[7276]: [Fri Sep 06 11:50:30.083702 2019] [so:warn] [pid 7276] AH01574: module ssl_module is already loaded, skipping
Sep 06 11:50:30 nagios01.corp.globetax.com httpd[7276]: AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Sep 06 11:50:30 nagios01.corp.globetax.com httpd[7276]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 06 11:50:30 nagios01.corp.globetax.com kill[7279]: kill: cannot find process ""
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: Unit httpd.service entered failed state.
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: httpd.service failed.
Sep 06 11:50:30 nagios01.corp.globetax.com polkitd[5236]: Unregistered Authentication Agent for unix-process:7270:8486453 (system bus name :1.45446, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (discon
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-09-05 16:48:04 EDT; 19h ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 4744 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 4742 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 4742 (code=exited, status=1/FAILURE)
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Starting The Apache HTTP Server...
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: [Thu Sep 05 16:48:04.551717 2019] [so:warn] [pid 4742] AH01574: module ssl_module is already loaded, skipping
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 05 16:48:04 nagios01.corp.globetax.com kill[4744]: kill: cannot find process ""
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Failed to start The Apache HTTP Server.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: Unit httpd.service entered failed state.
Sep 05 16:48:04 nagios01.corp.globetax.com systemd[1]: httpd.service failed.
[root@nagios01 ~]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@nagios01 ~]# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit user-0.slice has finished starting up.
--
-- The start-up result is done.
Sep 06 11:50:28 nagios01.corp.globetax.com systemd-logind[5230]: New session 16336 of user root.
-- Subject: A new session 16336 has been created for user root
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar ... /multiseat
--
-- A new session with the ID 16336 has been created for the user root.
--
-- The leading process of the session is 6909.
Sep 06 11:50:28 nagios01.corp.globetax.com systemd[1]: Started Session 16336 of user root.
-- Subject: Unit session-16336.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit session-16336.scope has finished starting up.
--
-- The start-up result is done.
Sep 06 11:50:29 nagios01.corp.globetax.com sshd[6909]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/pickup[1109]: 0600E40980F5: uid=1001 from=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/cleanup[6437]: 0600E40980F5: message-id=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/qmgr[6451]: 0600E40980F5: from=<[email protected]>, size=1825, nrcpt=1 (queue active)
Sep 06 11:50:29 nagios01.corp.globetax.com dbus[5244]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Sep 06 11:50:29 nagios01.corp.globetax.com dbus[5244]: [system] Successfully activated service 'org.freedesktop.problems'
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/pickup[1109]: 23EE240980F6: uid=1001 from=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/cleanup[6437]: 23EE240980F6: message-id=<[email protected]>
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/qmgr[6451]: 23EE240980F6: from=<[email protected]>, size=1826, nrcpt=1 (queue active)
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/smtp[8776]: 23EE240980F6: to=<[email protected]>, relay=mailhost3.globetax.com[64.132.182.235]:25, delay=0.15, delays=0.01/0/0.07/0.07, dsn=2.0.0, status=sent (250 2.0.0 Ok: que
Sep 06 11:50:29 nagios01.corp.globetax.com postfix/qmgr[6451]: 23EE240980F6: removed
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming timedevents.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming systemcommands.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming servicechecks.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming hostchecks.
Sep 06 11:50:29 nagios01.corp.globetax.com ndo2db[26587]: Trimming eventhandlers.
Sep 06 11:50:30 nagios01.corp.globetax.com polkitd[5236]: Registered Authentication Agent for unix-process:7270:8486453 (system bus name :1.45446 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/Aut
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has begun starting up.
Sep 06 11:50:30 nagios01.corp.globetax.com httpd[7276]: [Fri Sep 06 11:50:30.083702 2019] [so:warn] [pid 7276] AH01574: module ssl_module is already loaded, skipping
Sep 06 11:50:30 nagios01.corp.globetax.com httpd[7276]: AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Sep 06 11:50:30 nagios01.corp.globetax.com httpd[7276]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 06 11:50:30 nagios01.corp.globetax.com kill[7279]: kill: cannot find process ""
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: Unit httpd.service entered failed state.
Sep 06 11:50:30 nagios01.corp.globetax.com systemd[1]: httpd.service failed.
Sep 06 11:50:30 nagios01.corp.globetax.com polkitd[5236]: Unregistered Authentication Agent for unix-process:7270:8486453 (system bus name :1.45446, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (discon
Re: Error after migration
Ah, I missed it in the first post.
Also, if you could post the output of
That would be great.
Can you PM me your /etc/httpd/conf.d/ssl.conf file?Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: [Thu Sep 05 16:48:04.551717 2019] [so:warn] [pid 4742] AH01574: module ssl_module is already loaded, skipping
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Sep 05 16:48:04 nagios01.corp.globetax.com httpd[4742]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Also, if you could post the output of
Code: Select all
apachectl -MAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error after migration
apachectl -M
[Fri Sep 06 12:02:37.590185 2019] [so:warn] [pid 31368] AH01574: module ssl_module is already loaded, skipping
AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
[Fri Sep 06 12:02:37.590185 2019] [so:warn] [pid 31368] AH01574: module ssl_module is already loaded, skipping
AH00526: Syntax error on line 42 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
Re: Error after migration
Alright, so let's take a look at /etc/httpd/conf.d/ssl.conf. Specifically line 42.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error after migration
changed SSLMutex default to Mutex default and now the daemon runs but the login page looks mangled and access is forbidden. Seems like a deprecated change when upgrading from 2.2 to 2.4
Re: Error after migration
Ah, good catch! Is everything proceeding normally now?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error after migration
No, I am not sure what the fix is. I may just rebuild the server.
Re: Error after migration
Okay, we will leave this thread open in case something happens with the new install. If you get to another mangled login page, definitely grab a screenshot of it, and send that over to us along with the Apache error log, and we'll see what can make of it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!