Enabling SSL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
LACMAIS
Posts: 16
Joined: Fri Mar 07, 2025 11:44 am

Enabling SSL

Post by LACMAIS »

Good morning.

using the latest version of Nagios as of today 4/28/2025.
I was following the instructions for enabling SSL with a certificate
https://assets.nagios.com/downloads/nag ... s%20XI.pdf

After attempting to restart the httpd.service, I now get the following error:

Code: Select all

Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.
When I enter

Code: Select all

systemctl status httpd.service
I receive:

Code: Select all

× httpd.service - The Apache HTTP Server
     Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/httpd.service.d
             └─php-fpm.conf
     Active: failed (Result: exit-code) since Mon 2025-04-28 11:25:37 PDT; 4min 49s ago
       Docs: man:httpd.service(8)
    Process: 12502 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
   Main PID: 12502 (code=exited, status=1/FAILURE)
     Status: "Reading configuration..."
        CPU: 170ms

Apr 28 11:25:36 Nagios-CSP systemd[1]: Starting The Apache HTTP Server...
Apr 28 11:25:37 Nagios-CSP systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 28 11:25:37 Nagios-CSP systemd[1]: httpd.service: Failed with result 'exit-code'.
Apr 28 11:25:37 Nagios-CSP systemd[1]: Failed to start The Apache HTTP Server.
and when I enter

Code: Select all

journalctl -xeu httpd.service

Code: Select all

Apr 28 11:25:36 Nagios-CSP systemd[1]: Starting The Apache HTTP Server...
░░ Subject: A start job for unit httpd.service has begun execution
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ A start job for unit httpd.service has begun execution.
░░
░░ The job identifier is 44164.
Apr 28 11:25:37 Nagios-CSP systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ An ExecStart= process belonging to unit httpd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Apr 28 11:25:37 Nagios-CSP systemd[1]: httpd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ The unit httpd.service has entered the 'failed' state with result 'exit-code'.
Apr 28 11:25:37 Nagios-CSP systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A start job for unit httpd.service has failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ A start job for unit httpd.service has finished with a failure.
░░
░░ The job identifier is 44164 and the job result is failed.
Please assist, and let me know what other information I can supply. Thank you.
LACMAIS
Posts: 16
Joined: Fri Mar 07, 2025 11:44 am

Re: Enabling SSL

Post by LACMAIS »

Resolved the issue and found where I went wrong with the instructions. Having a different issue now, but will start a new post.
Locked