[mythtvnz] I killed MYSQL now what?

Steve V olivuts at yahoo.com
Fri Jun 1 12:28:00 BST 2012





    if I run
>>     sudo service mysql restart
>>
>>     I get
>>     Rather than invoking init scripts through /etc/init.d, use the
>>     service(8)
>>     utility, e.g. service mysql restart
>>
>>     Since the script you are attempting to invoke has been converted to an
>>     Upstart job, you may also use the stop(8) and then start(8) utilities,
>>     e.g. stop mysql ; start mysql. The restart(8) utility is also available.
>>     start: Unknown job: mysql
>>
>>     Is there a clue in the above?
>>
>>     sudo start mysql
>>     gives
>>     start: Unknown job: mysql
>>
>Do you have a mysql.conf file in /etc/init/? Upstart needs this. Also 
>mysql has apparmor complications which might be screwing with you.
>
>
>
>
>>> I think you may be onto something with apparmor refernce but I don't know what.
>
>
>sudo mysqld gives the following in the error log
>120601 22:43:57 [Note] Plugin 'FEDERATED' is disabled.
>120601 22:43:57  InnoDB: Initializing buffer pool, size = 8.0M
>120601 22:43:57  InnoDB: Completed initialization of buffer pool
>120601 22:43:57  InnoDB: Started; log sequence number 0 279056
>120601 22:43:57 [ERROR] Can't start server : Bind on unix socket: Permission denied
>120601 22:43:57 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
>120601 22:43:57 [ERROR] Aborting
>
>
>120601 22:43:57  InnoDB: Starting shutdown...
>120601 22:44:02  InnoDB: Shutdown completed; log sequence number 0 279056
>120601 22:44:02 [Note] mysqld: Shutdown complete
>
>
> I don't think I have another mysqld running at least not according to ps -aef |grep mysql
>
>
>
>/var/run/mysqld/mysqld.sock does not exist /var/run/mysqld/ is empty
>
>
>
>I did find https://lists.ubuntu.com/archives/ubuntu-server-bugs/2011-October/064838.html
>and I changed 
>
>
>/var/run/mysqld/mysqld.pid w,
/var/run/mysqld/mysqld.sock w,
to
>/{,var/}run/mysqld/mysqld.pid w, 
>/{,var/}run/mysqld/mysqld.sock w, 
>
>
>but that did not change anything - still get the permissions error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20120601/ddeaf4a5/attachment.html>


More information about the mythtvnz mailing list