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:
With the stock init script, I just get "Starting MySQL server ... [FAILED]". Running mysqld_safe --user=mysql as root starts the server, with the following output; "/etc/init.d/mysqld stop" in a different terminal stops it fine: 101019 19:14:35 mysqld_safe Logging to '/var/log/mysqld.log'. 101019 19:14:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 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: 101019 19:20:36 mysqld_safe Logging to '/var/log/mysqld.log'. mkdir: cannot create directory `/var/lib/mysql': File exists chown: cannot access `/var/lib/mysql': Permission denied chmod: cannot access `/var/lib/mysql': Permission denied 101019 19:20:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql rm: cannot remove `/var/lib/mysql/mysql.sock': Permission denied 101019 19:20:37 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended Has anyone else seen this kind of problem? 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. -- David Lee Lambert IBM Global Business Services Software Developer Michigan Application Services IBM office ph# 517-391-5236 (T/L 596-5236) Delivery Center cell ph# 586-873-8813 600 E Crescent Rd, Floor 2 member ACM, Lansing JUG, Detroit.pm, MDLUG East Lansing, MI 48823
_______________________________________________ rhelv6-beta-list mailing list rhelv6-beta-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-beta-list