Unable to access Fog server management settings
-
We had a FOG server setup in our office that was working great until this week when it crashed. I now the have task of building a new server. Unfortunately, the person who built the original server is no longer with the company and he did not leave any documentation behind. I’ve tried to reach out to him for assistance, but he is not really inclined to help. I have no background with Linux, and have minimal understanding of networking. I’ve been working based on the really well written tutorial provided by Liam Sullivan, but have hit a wall.
[U]Current Setup:[/U]
I’m trying to duplicate the setup we already had in place. The FOG server (it is a physical server) was not on our network. The FOG server and the computer used to manage it were attached to a switch. I did find documentation on the following server configuration information located in the /etc/network/interfaces file:
#loopback network interface
auto lo
iface lo inet loopback#Primary network interface
auto eth0
iface eth0 inet static
address 10.1.10.13
netmask 255.255.255.0
gateway 10.1.10.1
broadcast 10.1.10.255[U]Issue:[/U]
After much trial and error, I got Ubuntu and the FOG software installed and upgraded. I’m at the step where I’m supposed to use the laptop to change the FOG settings. That’s where I’m stuck. On the former laptop I could type [url]http://10.1.10.13/fog/management[/url] and access it without any issues from the Chrome browser. With the new setup I cannot. I receive the “This webpage is no available” error message. I even tried it while it was still on our network. Is there some piece of software that has to be on the laptop? Is there something on the server not installed / running properly After 2 days of looking through these forums and Google, I’m uncertain how to proceed. Any suggestions would be greatly appreciated. Thank you.
-
Which version of Ubuntu?
Can you post your Fog install log? It’s here: [SIZE=12px]/var/log/foginstall.log[/SIZE]
[SIZE=12px]Apache log errors? They are here: [/SIZE][SIZE=12px]/var/log/apache2/error.log[/SIZE]
[SIZE=12px]Thanks,[/SIZE]
[SIZE=12px]Wayne[/SIZE] -
Ubuntu 12.04.5
Sorry, until 2 days ago I had never touched a Linux server. I’m learning the commands as I go. It will take me some time to figure out how to copy those files so I can post them. Thanks for your patience.
-
What’s the version of FOG you have installed?
You can cat the file or use gedit if using a GUI based linux to read the files you need.
It sounds like the /var/www/fog folder isn’t copied or the apache2 service isn’t running.
-
I’m not using the GUI based Ubuntu, so everything has to be done via the command line. Unfortunately, I have been unable to successfully figure out how to copy the outputs of the files you requested. Can you tell me what I should be looking for and perhaps I can get that info to you?
Here are answers to some other things:
FOG version installed - 1.2.0
There is no FOG folder in /var/www. The only file listed is Index.html
I verified the Apache server was running when the server was still connected to my network (before I changed the IP information). I typed in the IP address in the browser of the connected PC and received the IT WORKS page from Apache. -
simplest way to get those file would be to log into the server with an ftp client, like filezilla
but if you don’t have a fog directory in your webroot, your install did not complete successfully -
[CODE]cat /var/log/apache2/error.log > sometextfile.txt[/CODE]
-
Or take a picture with a phone… and upload the picture… way simpler.
-
I just checked the fog install log. The only error message I found was under the section called Confirming package installation. Installation of package php5-gd failed.
-
ahhhhhh
So you don’t have a /var/www/fog folder because it doesn’t exist. It never made it that far.
Maybe you ran the ./installfog.sh as a non-root user:
Maybe retry running installer with:
[code]sudo ./installfog.sh[/code]
-
Tom,
I’m pretty sure I ran it with sudo since its in Liam’s how to. However, I just ran it again with sudo ./installfog.sh and still no fog folder. I still see the installation of package php5-gd failed then the script ends. Not sure if that is significant or not. -
This post is deleted! -
Wayne,
I ran sudo apt-get update and sudo apt-get upgrade earlier. Is that the same as what you are proposing? -
@Digital Dog,
Yes that’s what he was implying I think. Make sure the OS is updated/upgraded to the latest stuff available. It’s just odd that your’s is the first I’ve heard of not being able to install php5-gd.
-
[quote=“Tom Elliott, post: 43711, member: 7271”]@Digital Dog,
Yes that’s what he was implying I think. Make sure the OS is updated/upgraded to the latest stuff available. It’s just odd that your’s is the first I’ve heard of not being able to install php5-gd.[/quote]
He did say he was using the non-GUI version… that is different. Think that might have something to do with it?
-
Well, if it was going to happen to anyone it would be me.
-
[quote=“Wayne Workman, post: 43713, member: 28155”]He did say he was using the non-GUI version… that is different. Think that might have something to do with it?[/quote]
i never use the GUI version for servers
-
I don’t have to use the non-GUI version. I chose it because that’s what the prior server had on it. You think it would be helpful to try the GUI version?
-
GUI Aside,
The issue you’re reporting where php5-gd is not being able to be installed is strange to me.
-
my point regarding the fact that i use a non-GUI version was simply to say that it shouldn’t be an issue.
Chris Wells may have found something that might be relevant [url]http://fogproject.org/forum/threads/not-a-problem-just-a-solution-i-found.12575/[/url]