[rhelv6-beta-list] Issue with MySQL init script, etc.
Simon Matter
simon.matter at invoca.ch
Thu Oct 21 06:51:57 UTC 2010
> On Wed, Oct 20, 2010 at 10:25:58AM -0400, David L Lambert wrote:
>>
>> as root starts the server, with the following output;
>> "/etc/init.d/mysqld
>> stop" in a different terminal stops it fine:
>
>
> Since you've been starting "mysqld_safe" directly outside of the
> initscripts, you might have screwed up the selinux labels. Try fixing
> these by running:
Maybe not only that, what does "rpm -Vf /var/lib/mysql" tell?
Simon
>
> restorecon -R /var/lib/mysql
> restorecon /var/log/mysqld.log /var/lib/mysql/mysql.sock
> restorecon /var/run/mysqld/mysqld.pid
>
> Does starting it via "service" instead of running the script directly
> make any difference?
>
> /sbin/service mysqld start
>
>
> -jf
>
> _______________________________________________
> rhelv6-beta-list mailing list
> rhelv6-beta-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-beta-list
>
More information about the rhelv6-beta-list
mailing list