Page 1 of 2

Dashboard not Accessable

Posted: Mon Apr 15, 2013 10:05 am
by rdagijones
I had changed my server to SSL (port443) (following these instructions https://wiki.amahi.org/index.php/Access_HDA_over_SSL) and I could only get to the server from outside the local network sporadically . I decided to switch it back to port 80 and now the dashboard does not resolve correctly. I can still access shares from other computers in the network and the applications seem to be working just fine.

To revert back to Port 80 I tried the following steps on the above wiki:
yum -y remove mod_ssl​
rm -rf /etc/httpd/ssl.crt
rm -rf /etc/httpd/ssl.key
(cd /etc/httpd/conf.d/ && rm -f *-ssl.conf​)
(cd /etc/httpd/ && tar -xzf apache-backup.tar.gz)
I had other error when trying to restart apache so I followed the guide to put it back on SSL. Now I cannot access the Amahi Dashboard.

What I would really like is to go back to Port 80 but I need some help.

System Information:
Amahi installed on Fedora 14

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 11:46 am
by bigfoot65
What was the apache error?

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 1:40 pm
by rdagijones
The error that I am getting now is:
Syntax error on line 2 of /etc/httpd/conf.d/01-platform-ssl.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
but I am not sure that the error and the disappearing dashboard are necessarily related.

I have installed mod_ssl via

Code: Select all

yum -y install mod_ssl
and I still get this error.

I am also getting a boot message that says:
Starting httpd: Warning: DocumentRoot [/var/hda/web-apps/webmin/html] does not exist
but, again, I don't think this is related.

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 1:48 pm
by bigfoot65
The error that I am getting now is:
Syntax error on line 2 of /etc/httpd/conf.d/01-platform-ssl.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
Ensure /etc/httpd/conf.d/01-platform-ssl.conf file is removed and restart apache.

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 3:15 pm
by rdagijones
Now I get this:
Syntax error on line 31 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 4:03 pm
by bigfoot65
You need to verify that all the steps you took to undo the setup were done successfully. If you copied from the wiki, sometimes there are hidden special characters that prevent commands from working.

What does line 31 show? It should reflect:

Code: Select all

SSLPassPhraseDialog builtin
Also did you do this step:

Code: Select all

yum -y remove mod_ssl​
I would go back and manually verify to be sure.

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 6:15 pm
by rdagijones
I went through each step, typing them manually and even used the file browser to make sure that files were removed. These are the steps that I took:
yum -y remove mod_ssl​
rm -rf /etc/httpd/ssl.crt
rm -rf /etc/httpd/ssl.key
(cd /etc/httpd/conf.d/ && rm -f *-ssl.conf​)
(cd /etc/httpd/ && tar -xzf apache-backup.tar.gz)
Still getting the following error when I try

Code: Select all

service httpd restart
Starting httpd: Warning: DocumentRoot [/var/hda/web-apps/webmin/html] does not exist
Syntax error on line 31 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
I even went through the rest of the wiki and checked each step to make sure that no directories that were created still existed and file modifications were reverted.
Any other thoughts?

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 6:20 pm
by bigfoot65
Is Webmin installed? Might wanna unintelligible it. Also did you do anything not in the wiki.

[ Post made via Android ] Image

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 7:03 pm
by rdagijones
Webmin is not installed.

What does this mean:
Might wanna unintelligible it
OpenVPN ALS is installed. If I try to go to http://hda OpenVPN ALS comes up. If I try http://ip.of.server OpenVPN ALS comes up.
The web address for OpenVPN ALS is https://adito.servername.come:4443

Re: Dashboard not Accessable

Posted: Mon Apr 15, 2013 7:05 pm
by bigfoot65
Sorry, autocomplete on my tablet LOL It was supposed to say uninstall it. Check to see if there is a file in /etc/httpd/conf.d called ####-webmin.conf and if so, remove it.

Also may need to do a reboot. Sometimes OpenVPN ALS takes runs before httpd and causes issues.