Problem after update
-
just at the bottom of the config file?
-
[quote=“drenj19, post: 31859, member: 24855”]I also do no see the line (net-device-up IFACE=ethX)", inside the mysql.conf[/quote]
You won’t you add it.
-
to the bottom of the my.cnf file?
-
[quote=“drenj19, post: 31880, member: 24855”]to the bottom of the my.cnf file?[/quote]
What version of Ubuntu did you install FOG on if you don’t mind my asking?
No it should be at the top. The start on section:
example
[code]MySQL Service
description “MySQL Server”
author “Mario Limonciello superm1@ubuntu.com”start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]respawn
env HOME=/etc/mysql
umask 007pre-start script
#Sanity checks
[ -r $HOME/my.cnf ]
[ -d /var/run/mysqld ] || install -m 755 -o mysql -g root -d /var/run/mysqld
# Load AppArmor profile
if aa-status --enabled 2>/dev/null; then
apparmor_parser -r /etc/apparmor.d/usr.sbin.mysqld || true
fi
LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/. | tail -n 1 | awk ‘{ exit ($4<4096) }’
end scriptexec /usr/sbin/mysqld
post-start script
for i inseq 1 30
; do
/usr/bin/mysqladmin --defaults-file=“${HOME}”/debian.cnf ping && {
exec “${HOME}”/debian-start
# should not reach this line
exit 2
}
sleep 1
done
exit 1
end script[/code]edit the line
[code]
start on (net-device-up
and local-filesystems
and runlevel [2345])[/code]to look like
[code]
start on (net-device-up IFACE=eth0
and local-filesystems
and runlevel [2345])[/code] -
James,
Running Ubuntu 14.04.
[I][B][COLOR=#ff0000]Adding the code mentioned above did fix my issue!![/COLOR][/B][/I]
THANK YOU!!!One last question, in what appears to be my last issue, it looks like I have a chain link issue with my new Dell 9020’s. I’m able to boot to the fog menu but it does not properly boot to the HDD after the timer on the FOG menu expires.
I saw some chain link fixes posted for previous versions of FOG (0.32) do you have any suggestions for a fix on the current 1.1.2 version?
once again thank you for all of your help!!
-
I’ve tried it me too, everything seems ok!
You guys are great!Thanks for the support!!!
-
what you’re seeing is not likely a “chain link” issue so much as an “exit” issue. try changing to a different exit type in the fog boot settings
-
sorry for the delayed response, we were away on vacation!!
the suggest fix for exiting the fog menu worked. Thank you!!
-
Thank you very much Jaymes. This trick worked for me too.
All the best!
-
The code:
[CODE]start on (net-device-up IFACE=eth0
and local-filesystems
and runlevel [2345])[/CODE]
… does not work for me on Ubuntu 14.0.4.1 amd64 and svn 2230I’m using:
[CODE] vim /etc/rc.local
“i”
insert new line at line 14 : service mysql restart[/CODE] -
… and now I eat my hat. A few days into the latest testing, this fix I employed sometimes works, sometimes doesn’t.
-
If you’re daring, are you trying out the latest SVN? I ask because with Mentaloid’s help, he created a setup to not startup certain services until FOG has a network device and mysql is running. I don’t know if this will fix mysql from starting at reboot, but you could try this version and see if it helps you out at al.
Another issue I’ve seen and written about on my github site is about a similar issue with FOG. [url]https://github.com/mastacontrola/fogproject/issues/1[/url]
This details one of the larger issues as well as a potential means to allow restarting mysql on reboots. i don’t know if it will work all the time, but it’s best I’ve been able to come up with.