FOG with ubuntu server 14.04 - my experience
-
Greetings,
at first fog is a create bunch of tools and many thanks to the developers and supporters.
For testing i use a dell power edge r710 with a hardware certified ubuntu 14.04 Edition…
I use dnsmasq for pxe delivery no dhcp, dns and so on.
My first problem was the Installation script of the fog 1.2.0 . It seems not install mysql-server correctly because after every reboot of the system the mysql server is down or it dont running correct (dont listen on the internal port) and when i try to login to SQL with mysql -u root -p the message “ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)” appears.
Web-Interface of Fog don`t work too.I found the solution here:
http://ubuntuforums.org/showthread.php?t=804021It helps to reinstall mysql-server with apt-get:
sudo apt-get remove mysql-server libapache2-mod-auth-mysql php5-mysql
sudo apt-get autoremove
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysqlA next Problem was the symlink for the undionly.kpxe
https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_serverIt dont work for me but with cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it`s okay…
Now it works generally… ^^
improvement suggestions:
- german translation is gruesome (but my english too - but the webinterface is better to understand in english then in german)
- possibility to delete more marked Hosts in the host list.
(as a workaround and for more comfort i have phpmyadmin installed)
-
Ubuntu and mysql is a well known problem.
I even have an issue and a potential solution for fixing it sitting here:
-
As you’re using DNSMASQ in a Proxy setup ( I imagine ) you’re absolutely correct that you need to either make a copy or link to undionly.0 (or whatever filename you’ve specified in the dnsmasq.conf file.)
-
@Tom-Elliott Yes it`s correct i use dnsmasq only with a proxy setup. Like i said a symlink to undionly.0 seems dont work … but a copy… seems illogical, eventually i have misspelled but i copy the line from the manual
ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
After that a PXE boot was not possible it cant find the file. With cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it works… -
@robin-masters Symbolic links have never worked for me in Fedora. I’ve always had to make a copy.
-
@robin-masters said:
@Tom-Elliott Yes it`s correct i use dnsmasq only with a proxy setup. Like i said a symlink to undionly.0 seems dont work … but a copy… seems illogical, eventually i have misspelled but i copy the line from the manual
ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
After that a PXE boot was not possible it cant find the file. With cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it works…Hi, try relative link instead absolute.
ln -s undionly.kpxe undionly.0
-
Hey lol it works… tried before again with ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0 and it definitively dont work.
ln -s undionly.kpxe undionly.0 works now… oO
Tried pxe boot from Dell Optiplex 790 and 7010
-
@robin-masters said:
Hey lol it works… tried before again with ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0 and it definitively dont work.
ln -s undionly.kpxe undionly.0 works now… oO
Tried pxe boot from Dell Optiplex 790 and 7010
-
Thx…for this.
Who maintained this page?https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_serverundefined
Under the text: "Make a symlink for the undionly.kpxe file so dnsmasq can find it. " eventually it`s better to use here the relative link it should work for all systems?
-
@robin-masters said:
Thx…for this.
Who maintained this page?https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_serverundefined
Under the text: "Make a symlink for the undionly.kpxe file so dnsmasq can find it. " eventually it`s better to use here the relative link it should work for all systems?
@Wayne-Workman , it’s for you.
It’s work for all system, I think it’s a tftpd server limitation.
-
@ch3i fixed.
-
@ch3i said:
I think it’s a tftpd server limitation.
I guess this is for security reasons. tftpd is not allowed to leave the “cage” of /tftpboot … not even to follow a symlink back into the cage. “Keep it local”.