Now, if every issue I had in life could be that simple I would be set! Thanks for the help! Both issues are resolved.
Posts made by Greg Martin
-
RE: Can't logon to FOG website; database errors
-
Can't logon to FOG website; database errors
Okay, I have two issues that I’m not sure how to get resolved. I had FOG setup on another server, but the space was limited so I’ve been working on getting it to work on another machine. I’m using Ubuntu 12.04 Server to install FOG onto.
- In my PXE menu, when I goto inventory a machine I get an error message stating "unknown database ‘fog’ "
- The web gui just says “It Works, but there is no content added”.
If someone could help me on this I would appreciate it.
Thanks,
Greg -
RE: Having issue with connecting to MYSQL database
When I ran the cd /images; ls -a command it did show me the .mntcheck file in the images folder. I’m still not able to deploy though, it just tells me there is no boot device available. Not sure what else to try. Maybe I’ll try imaging one of our Windows 7 pc’s here, then try to deploy it on a brand new computer. Maybe it’s just the hardware that I’m using. I have an Optiplex 780 that I took the image of XP from, then I was trying to deploy the XP image to an Optiplex GX620. Maybe there is just a conflict there? I don’t know at this point.
-
RE: Having issue with connecting to MYSQL database
I am trying to use an image that is on the server. I have verified the location of the image on the FOG server and it’s there. I associated that image with the client pc, then I reboot the client pc and it goes through a process and acts like it’s going to deploy the image, but everything happens really fast, then the pc reboots and comes up to a Windows Boot Manager screen saying “The boot selection failed because a required device is inaccessible.” I did remove the partitions on this pc. Not sure if that has anything to do with this or not. It’s pretty much just a blank hard drive right now.
-
RE: Having issue with connecting to MYSQL database
I believe I got part of the issue figured out. The image store issue was due to me not really having an image under the name I was trying to use. When I try to deploy (I have selected the debug option). A black screen comes up with some tasks that it verifies are “Done”. Under “Starting Image Push”, it does not have any completion status listed. Some other things that I note are I’m seeing a umount: can’t umount /ntfs: Invalid argument Done. It tells me the database is updated and says the task is complete, but when the PC boots up again, there is no OS that loads. I checked all the passwords that you mentioned above and everything looks good with that.
-
RE: Having issue with connecting to MYSQL database
Okay, the newest error message that I’m receiving when trying to deploy an image is “unable to locate image store”. I’ve searched the forum on answers to this, but have not been able to get this resolved.
-
RE: Having issue with connecting to MYSQL database
Alright, now I’ve inserted a drive the same size as the one that I’ve pulled the image from and I’m still not able to deploy to the machine. It gives me a "The third argument [/images/xp] must be a valid regular file or fifo (not a directory, a symlink, …). I’ve tried everything I can think of to get this image deployed. I went into the drive and completely wiped the partitions off of it so now it’s a clean drive. I still can’t get FOG to deploy the OS on the machine.
-
RE: Having issue with connecting to MYSQL database
Kind of what I figured. I was working on this off and on all day today. I think I’ve got it down now, just need to find myself a large enough hard drive to test the image with. Thanks for all the help!
-
RE: Having issue with connecting to MYSQL database
Another thing happened with FOG that I’m trying to work through. I have my image stored on the server now, but when I try to deploy the image on another machine I get the following message “can’t have partition outside the disk”. It looks like FOG wiped the OS off the machine, but now there is no OS and I can’t get the image to load. Any ideas on this one?
-
RE: Having issue with connecting to MYSQL database
[quote=“Tom Elliott, post: 14170, member: 7271”]Greg,
Check your config.inc.php file. It is located typically in:
/var/www/html/fog/commons (redhat base) or
/var/www/fog/commons (debian/ubuntu)It sounds like the information you need is not in this file.
Also, if you’re trying to access a separate mysql server you need to ensure your host can actually log in.
So to test that, you would do:
mysql -u root -p -h <hostname/IP>
If you can connect this way, you know all is good.[/quote]
Perfect!! It works now! Thanks for your help on this! I’m new to Linux and new to FOG as well, but looking forward to not having to manually install software on 47+ computers!
-
Having issue with connecting to MYSQL database
When I try connecting to fog using the web interface, I get the the following error.
Unable to connect to database.
I checked the connection and was able to connect by entering the root password. I’m not sure if I’m missing something, but could someone help me troubleshoot this issue?
Thanks,
Greg