Page 1 of 1

Nagios Upgrade from 5.4.13 to 5.5.2

Posted: Mon Jul 30, 2018 10:10 am
by Johnsmit
HI,

Recently i upgraded Nagios Xi 5.4.13 to Nagios Xi 5.5.2 the installation in RHEL environment is a success but i cant launch the web UI. I checked the status of all services, all are working except HTTP.

$: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 Mon 2018-07-30 10:16:46 EDT; 1s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 32285 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 32283 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 32283 (code=exited, status=1/FAILURE)

Starting The Apache HTTP Server...
httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 150 of /etc/http...IfModule>
httpd.service: main process exited, code=exited, status=1/FAILURE
kill: cannot find process ""
httpd.service: control process exited, code=exited status=1
Failed to start The Apache HTTP Server.
Unit httpd.service entered failed state.
httpd.service failed.


I tried to restart HTTP But no use.

Help me in resolving the issue.

Thanks in advance.

Re: Nagios Upgrade from 5.4.13 to 5.5.2

Posted: Mon Jul 30, 2018 10:30 am
by YannPingot
Hi John,

It seems that you have errors in your httpd config according to this line, more precisely in a file included from /etc/httpd/conf.d/ folder :
Jul 30 10:16:46 xxx httpd[32283]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 150 of /etc/http...IfModule>
//Yann

Re: Nagios Upgrade from 5.4.13 to 5.5.2

Posted: Mon Jul 30, 2018 11:09 am
by scottwilkerson
YannPingot wrote:Hi John,

It seems that you have errors in your httpd config according to this line, more precisely in a file included from /etc/httpd/conf.d/ folder :
Jul 30 10:16:46 XXXXXXXXX.XXXXXXXXXX httpd[32283]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 150 of /etc/http...IfModule>
//Yann
I would agree with the above, please check you /etc/httpd/conf/httpd.conf line 353 for Syntax errors