<html><body>
<p>I recently installed and experimented with RHEL6 beta 2. I've been having trouble getting MySQL to start from its init script. I'm not sure I have enough information to file a bug report yet, as I might have done something wrong in setting it up (I'm more familiar with Debian/Ubuntu, and on RHEL4 I used XAMPP rather than the RedHat MySQL package). However, here are the symptoms of my problem:<br>
<br>
With the stock init script, I just get "Starting MySQL server ... [FAILED]".<br>
<br>
Running <br>
<br>
<tt> mysqld_safe --user=mysql</tt><br>
<br>
as root starts the server, with the following output; "/etc/init.d/mysqld stop" in a different terminal stops it fine:<br>
<br>
<tt>101019 19:14:35 mysqld_safe Logging to '/var/log/mysqld.log'.</tt><br>
<tt>101019 19:14:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql</tt><br>
<br>
I edited the init-script to not send the output of "mysqld_safe" to /dev/null, and now this is what I get when I run it:<br>
<br>
<tt>101019 19:20:36 mysqld_safe Logging to '/var/log/mysqld.log'.</tt><br>
<tt>mkdir: cannot create directory `/var/lib/mysql': File exists</tt><br>
<tt>chown: cannot access `/var/lib/mysql': Permission denied</tt><br>
<tt>chmod: cannot access `/var/lib/mysql': Permission denied</tt><br>
<tt>101019 19:20:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql</tt><br>
<tt>rm: cannot remove `/var/lib/mysql/mysql.sock': Permission denied</tt><br>
<tt>101019 19:20:37 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended</tt><br>
<br>
Has anyone else seen this kind of problem? <br>
<br>
I also have installed Oracle 11g on RHEL6 beta. It's a headless system (accessing by SSH+X11 from another system), but the installer runs "xdpyinfo", so I had to install package "xorg-x11-utils" and the libraries it depends on. It also took me a while to figure out why "tnsping" worked locally but not from another host. It was the firewall, of course, which I fixed by editing "/etc/sysconfig/iptables"; a comment in that file says it was written by "system-config-firewall", but no such program is installed; I guess "system-config-firewall-tui" is the equivalent for such a setup.<br>
<br>
<i><font size="4" color="#808080" face="Garamond">--</font></i>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="345" bgcolor="#FFFFFF"><i><font size="4" color="#808080" face="Garamond">David Lee Lambert<br>
Software Developer<br>
IBM office ph# 517-391-5236 (T/L 596-5236)<br>
cell ph# 586-873-8813<br>
member </font></i><a href="http://www.acm.org/"><i><u><font size="4" color="#0000FF" face="Garamond">ACM</font></u></i></a><i><font size="4" color="#808080" face="Garamond">, </font></i><a href="http://groups.google.com/group/greaterlansingjug"><i><u><font size="4" color="#0000FF" face="Garamond">Lansing JUG</font></u></i></a><i><font size="4" color="#808080" face="Garamond">, </font></i><a href="http://detroit.pm.org/"><i><u><font size="4" color="#0000FF" face="Garamond">Detroit.pm</font></u></i></a><i><font size="4" color="#808080" face="Garamond">, </font></i><a href="http://www.mdlug.org/"><i><u><font size="4" color="#0000FF" face="Garamond">MDLUG</font></u></i></a><i><font size="4" color="#808080" face="Garamond"> </font></i></td><td width="261" bgcolor="#FFFFFF"><b><i><font size="4" color="#000080" face="Garamond">IBM</font></i></b><i><font size="4" color="#808080" face="Garamond"> Global Business Services<br>
Michigan Application Services Delivery Center<br>
600 E Crescent Rd, Floor 2<br>
East Lansing, MI 48823 </font></i></td></tr>
</table>
<br>
</body></html>