Hello all,
This morning I ran and update and a restart of my system. Phones work fine and i can SSH into the system without an issue, however I cannot access the web GUI.
I believe I have narrowed it down to this, but no idea how to fix it.
Looks like the httpd.service failed to start
[root@Toolroom ~]# journalctl -u httpd.service
-- Logs begin at Tue 2023-12-12 10:26:08 EST, end at Tue 2023-12-12 16:04:31 EST. --
Dec 12 15:26:21 Toolroom.local systemd[1]: Starting The Apache HTTP Server...
Dec 12 15:26:22 Toolroom.local httpd[1048]: [Tue Dec 12 15:26:22.278463 2023] [so:warn] [pid 1048] AH01574: module ssl_module is already loaded, skipping
Dec 12 15:26:22 Toolroom.local httpd[1048]: AH00112: Warning: DocumentRoot [/invalid/folder/name] does not exist
Dec 12 15:26:22 Toolroom.local httpd[1048]: AH00526: Syntax error on line 165 of /etc/httpd/conf.d/ssl.conf:
Dec 12 15:26:22 Toolroom.local httpd[1048]: RewriteCond: bad flag delimiters
Dec 12 15:26:22 Toolroom.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Dec 12 15:26:22 Toolroom.local systemd[1]: Failed to start The Apache HTTP Server.
Dec 12 15:26:22 Toolroom.local systemd[1]: Unit httpd.service entered failed state.
Dec 12 15:26:22 Toolroom.local systemd[1]: httpd.service failed.
Dec 12 15:46:57 Toolroom.local systemd[1]: Starting The Apache HTTP Server...
Dec 12 15:46:57 Toolroom.local httpd[22301]: [Tue Dec 12 15:46:57.800207 2023] [so:warn] [pid 22301] AH01574: module ssl_module is already loaded, skipping
Dec 12 15:46:57 Toolroom.local httpd[22301]: AH00112: Warning: DocumentRoot [/invalid/folder/name] does not exist
Dec 12 15:46:57 Toolroom.local httpd[22301]: AH00526: Syntax error on line 165 of /etc/httpd/conf.d/ssl.conf:
Dec 12 15:46:57 Toolroom.local httpd[22301]: RewriteCond: bad flag delimiters
Dec 12 15:46:57 Toolroom.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Dec 12 15:46:57 Toolroom.local systemd[1]: Failed to start The Apache HTTP Server.
Dec 12 15:46:57 Toolroom.local systemd[1]: Unit httpd.service entered failed state.
Dec 12 15:46:57 Toolroom.local systemd[1]: httpd.service failed.
Dec 12 15:48:56 Toolroom.local systemd[1]: Starting The Apache HTTP Server...
Dec 12 15:48:56 Toolroom.local httpd[23186]: [Tue Dec 12 15:48:56.676824 2023] [so:warn] [pid 23186] AH01574: module ssl_module is already loaded, skipping
Dec 12 15:48:56 Toolroom.local httpd[23186]: AH00112: Warning: DocumentRoot [/invalid/folder/name] does not exist
Dec 12 15:48:56 Toolroom.local httpd[23186]: AH00526: Syntax error on line 165 of /etc/httpd/conf.d/ssl.conf:
Dec 12 15:48:56 Toolroom.local httpd[23186]: RewriteCond: bad flag delimiters
Dec 12 15:48:56 Toolroom.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Dec 12 15:48:56 Toolroom.local systemd[1]: Failed to start The Apache HTTP Server.
Dec 12 15:48:56 Toolroom.local systemd[1]: Unit httpd.service entered failed state.
Dec 12 15:48:56 Toolroom.local systemd[1]: httpd.service failed.
So I checked line 165 in that file and this is what it says
163 <Location /chatul>
164
165 RewriteCond %{HTTP_USER_AGENT} !(SangomaPhone|Sangoma.*Softphone|Sangoma.*Phone|Sangoma-Mobile-Chat) RequestHeader set X-Real-IP %{REMOTE_ADDR}s
166 ProxyPass http://127.0.0.1:6086/chatul
167 ProxyPassReverse http://127.0.0.1:6086/chatul
168 </Location>
Any help would be greatly appreciated.