Lost Access to GUI probably SSL issue

All my extensions are down, I cannot access the GUI but I can get to a command prompt and / or ping the pbx.

I would guess its a certificate issue as I was looking at SSL HTTPS settings in the gui prior to it failing but I wouldn’t know where to start to get this back up and running.

Any ideas?

Offering more information to help you to help me if possible.

[[email protected] ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 22 of /etc/httpd/conf.d/ssl.conf:
ServerName takes one argument, The hostname and port of the server
[FAILED]

Version : 10.13.66-17

You fixed this, right?

I wish, it seems easy but I don’t want to break it some more.

Without fixing this, the web server won’t run. Without the web server, you can’t access the GUI.

Seems kind of like it’s a mandatory step - I don’t think you can avoid fixing it.

I was impressed with myself to get to this stage of the problem and I’m sure I could edit something somewhere to resolve somethings somewhere somehow but I’m struggling to find any literature on the net to point me in the right direction.

Upon a reboot I did notice 2 installs of PBX on the green centos loading type page thingy. or am i getting too deep?

If you are still jammed up on THIS SPECIFIC problem, the instructions on how to fix it are in the error message:

I always use ‘vi’ to make changes to the system, so I’m going to give you the ‘vi’-centric version.

First, open the file in ‘vi’

vi /etc/httpd/conf.d/ssl.conf

Next, go to line 22:

:22

Look at the line that’s there. Using your ‘handy dandy vi reference card’, use the ‘l’ key (lower case L) to move the space between the two items. I’m guessing you have “something.localnet.com 443” in there (that would be two arguments). If that’s the case, use the 'l key to put your curson on the space between them and type the following:

r:

This will replace the character under the cursor with a colon.

Exit the program and save your changes:

:wq!

That is “colon W Q and exclamation point”

Try to restart Asterisk:

fwconsole restart

In general, you should not try to start the individual services on the system by yourself unless you are sure of why you are doing it. The ‘fwconsole’ command does a lot of support stuff for you.

If that doesn’t fix it, you need to send us line 22 from the file so we can point out your mistake.

[quote=“cynjut, post:7, topic:37959, full:true”]

If you are still jammed up on THIS SPECIFIC problem, the instructions on how to fix it are in the error message:

I always use ‘vi’ to make changes to the system, so I’m going to give you the ‘vi’-centric version.

First, open the file in ‘vi’

vi /etc/httpd/conf.d/ssl.conf

I don’t think this will be a proper fix, just a temporary fix. Why? Because the ssl.conf file says “Do NOT edit this file as it is auto-generated” I could be wrong but if I am I would love for someone to point me/us in the right direction. Mostly because I am stuck with this same problem.