Are you trying to do this install from your home system?
Give me a minute or two and I’ll post the latest and greatest that I’ve created.
I don’t know if it will work, but it will contain many of the Fixes I’ve already implemented.
[quote=“mlb2009, post: 15451, member: 13741”]in fog 0.33 it will be installing and working for fedora,right[/quote]
From my knowledge it is all set and should work for all the Distro’s it nativally supports (Redhat/Centos/Fedora)([X]Ubuntu Based)
For non-standard distro’s you could get it to work, though it might take a little extra work.
I was able to correct for the issue with Quickimage, but it did require me to do two things.
First thing I had to do was edit
Here’s what I did/changed to this file:
54 if( createImagePackage( $conn, $imageMember, “”, $tmp, false ) )
54 $Host = new Host($hid);
55 if ( $Host->createImagePackage(1,“AutoRegTask”,true,true,true) )
56 //if( createImagePackage( $conn, $imageMember, “”, $tmp, false ) )
Then in file:
Go to and comment out Line 528.
Then all worked well. Including the Main GUI.
I don’t like commenting lines within a class that was, for the most part, working already, but I had to for quickimage as it’s trying to assign, for logging purposes I guess, the username to create the task. When it’s quick image, it doesn’t know who the user is so it spits out an error and will not create the task, the PXE File for the host will get created, but no database task gets created.
I’m guessing a similar change will need to be made in the Full Host registration script.
Is there any way you’d be able to allow remote access that I could actually take a look at the file/install process?
There shouldn’t be any problem with installing, so it seems there’s a borked command in the installer somewhere, I just don’t know where. I’m running on CentOS 6.4 and I haven’t run into any issues. I’m also running/testing 0.33 so I’m not a good example.
When giving information, please try to provide as much information as possible. It’s not easy to troubleshoot something when not being directly in front of it. It makes it much more difficult to help out when there isn’t any information to go off of.
Responses such as:
“didn’t work.”,“Didn’t help”
Doesn’t give us anything to work off. We don’t know what you’ve tried, or how you know certain things.
How do you know that mysql is working?
What have you tried beyond the help I’ve tried giving?
What kinds of error messages is the system telling you? Fog tells you information, but we don’t know your systems particular setup.
Is your FOG Server behind a router that then connects to a modem or directly connected to the modem?
If you’re connected directly to the modem, then how did you get the DHCP Server and the DNS Server IP Address?
You’re sure mysql is actually running on your system then?
Is selinux running or disabled?
If it doesn’t say disabled change it and reboot your machine.
Then check that iptables is disabled <- DONT DO THIS IF YOU’RE CONNECTED DIRECTLY TO THE MODEM
service iptables stop; chkconfig iptables off
Once done, retry the install process.
Can you post a reading of:
Directly after you’ve tried installing fog.
While testing my custom init.gz, I found an issue in the Quick Image system. This, from what I can tell right now, affects all of the PXE options to perform the Quick Image (Full host registration, quick image, etc…) as the function it calls does not exist. I see a function called createImagePackage(…) but the function performed within the files is not relative and it’s not pointing to the class. I’m going to play a bit until I figure this part out, but until then, just wanted to post this issue.
Is your fog server connected directly to the internet? You understand linux and the command line?
The way to obtain your systems IP (which you should have setup statically) is to run:
If you have multiple interfaces, you’ll need to figure out which interface you’re trying to use and use the IP associated with that.
I assume your IP is going to be in the range of 192.168.1.2 thru 192.168.1.254 as you put your router and dns server as 192.168.1.1
Your files to be edited should be located in:
There are two files in there which I forget the names of.
However, if my memory serves me correctly, when you do the install, it should ask you what you want to set your IP up as, and it defaults to your systems IP, so unless your FOG server is directly connected to the Modem, it should have a private IP address assigned to it already. I’d recommend, until you understand what this software is doing, sticking with the defaults.
I do the symbolic link on my system as it seems to work the best for my setup.
You can change the information by changing the values in the Storage Management part of the Web gui and you’ll also have to make the changes under fog configuration->fog settings within the GUI as well.