Can't send inventory.. PLS HLP
-
Brand new install… Ubuntu 12.4 lts with 0.32
-
And you’re sure the database is accessible?
-
Jaymes… No I do not have any machines currently I can test. I have 40 z210’s that need imaged and I am hoping to get this solution working. I have heard great things about FOG so I figured I would give it a try.
-
Tom… How can I test that?
-
I checked the /opt/fog/service/etc/config.php and noticed that the SQL username was blank… Should Root be added here?
[IMG]https://dl.dropboxusercontent.com/u/40787797/IMG_2740.jpg[/IMG] -
Yes, but your main file dealing with that needs to match:
/var/www/fog/commons/config.php
-
Your host should be the FOG SERVER IP (not Localhost or 127.0.0.1)
The database should, typically, be called fog
The Username is usually root. If you have a different username, then use that, but typically it’s fog.
Did you set a password for the database? If you did, make sure that is correct as well.
-
Tom
I found in the /var/www/fog/commons/config.php the MYSQL_Host was set to “localhost”. I changed the “localhost” to the IP address of the server and rebooting. I just want to confirm that is the correct change for the MYSQL_Host variable.Thanks
-
It should be correct, but did you verify the database name, username, and password fields were all correct?
-
Tom
After I changed the MYSQL_Host variable to the IP address it now when I try to PXE boot times out at the TFTP portion of the PXE boot… It pulls but doesn’t go past that stage.
Thanks
-
This post is deleted! -
then change the host part back to localhost for both the /opt/fog/service/etc/config.php and the /var/www/fog/commons/config.php
-
I changed it back and now it is still crapping out on the TFTP… The database name and password are correct… Can you post an image of what both of those files should look like so I have something to compare it to…
Thanks
-
I really can’t.
However, try running service tftp-hpa stop; service tftp-hpa start
-
Now I am getting an unrecognized service.
-
I don’t know your system. I don’t know your particular setup.
Unrecognized service means something is not being typed properly.
What ever the commands where that restarted your tftp services yesterday should be the same today, unless somebody uninstalled that program.
To find the service, open a terminal and perform:
sudo ls /etc/init.d
Look for a the files called tftp. I think it may be tftpd-hpa
so maybe try:
sudo service tftpd-hpa restart.
-
I was able to restart the service. It went back to doing the same original issue. So I changed the files again, restarted the server, restarted the services, with changed files and still will not register the host.
This is not working out to well.
-
Since this is a blank server with no data on it yet have you entertained the idea of re-naming the installation directory and re-installing the server again?
I blew my server away and re-configured it about 5 times before I found the method that worked with my hardware.
-
I have done this twice… Thinking it is a configuration issue or I missed something during the setup. I am new to both Fog and Ubuntu. Both times I have blown away the system and the fog… First time I was able to get an inventory of the same machine, but it wouldn’t pull the image… This time I can’t even get it to do the inventory.
-
Ok… After some assistance from Jaymes I am now able to do an inventory, however when it tries to uploade the image it says can’t find image store.
I have completely rebuilt the Ubuntu and the Fog server. So I am getting closer to uploading an image…
Pls Advise
Thanks in advance.