Unable to connect to Web Interface. Git trunk(8245)
-
@foggee What if you uninstall apache, then delete that file, then reinstall?
apt-get remove apache2 -y;rm -f /etc/apache2/apache2.conf;apt-get install apache2 -y
I feel you are wanting to fix it rather than rebuild it, but keep in mind that you could probably have already rebuilt the server with the time you’ve spent on this.
-
Have tried removing Apache2, uninstalled FOG as a whole, then retrying the installations but I’m still back to the “Unable to Connect” page.
Does this mean anything to you? Could this be the reason why I cannot access web interface?
root@FogServer:~/git/fogproject/bin# sudo service apache2 stop * Stopping web server apache2 * root@FogServer:~/git/fogproject/bin# sudo service apache2 start * Starting web server apache2 * * The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/authz_default.load: No such file or directory Action 'configtest' failed. The Apache error log may have more information.
-
@foggee But did you delete that file?
-
I did delete the .conf file.
As of right now, the fog installer is asking me to update database schema by entering fog management. And I cannot access the web interface to do so.
Any other ideas? I’d be more the willing to try anything you throw at me…
I wish I know which are the main components that allow me to access the web interface to the fogserver so I can dig in there and dissect each component.
-
@foggee You can try to tell the installer to update the DB, instead of using the web interface. idk if it will work or not.
just add the -y argument.
./installfog.sh -y
-
But the database isn’t the reason why I cannot see the web interface, right?
-
@foggee Right, but it needs updated one way or another.
-
Gotcha.
I just ran ./installfog.sh -y
Updating Database...................................Failed!
How can I verify that Apache2 is running correctly and that it’s doing what its suppose to do?
-
@foggee type the IP of the server into a browser, you should get an Apache test page if it’s working.
-
Hmm…yeah
I’m getting the “unable to connect” page, same as below.Can I ask for your expertise to help me troubleshoot Apache2? I feel like this is where should start but I have no idea how to, as I already uninstalled, deleted .conf file.
-
@foggee If you have time at 4:00 Central Standard, I can try to help via Team Viewer with you.
-
Unfortunately being at work will not allow me to do so, even when this is work related. I sent you an email for the FOG session tomorrow, hoping that it will get me out of this hole…
-
@foggee If it were me, and I couldn’t figure it out, I’d have just rebuilt the server.
-
Some quick questions regarding that.
If I rebuild the VM session, which is the best version of Ubuntu to be on? And when I start installing FOG, do I go straight to trunk or should I install 1.2.0 first then trunk it.
-
@foggee There are mixed thoughts about the best version of Ubuntu. IMO, I’d go with 16. There are special steps that need included (search the forums for “Ubuntu 16”), but after that it’s good to go. Ubuntu 14 will work without modification.
You do not need to install 1.2.0. You can go straight to trunk.