----- Original Message ----- From: "Lucas Meneghel Rodrigues" <[email protected]> To: "Alex Jia" <[email protected]> Cc: "Mike" <[email protected]>, [email protected] Sent: Tuesday, September 18, 2012 10:44:46 PM Subject: Re: [Autotest] [autotest] How to automatically build a autotest server as root?
On 09/12/2012 06:18 AM, Alex Jia wrote: >> </snip> >> >> >> WRT above error message, there are 2 questions, the one is mysql error >> "(2002, "Can't connect to local MySQL server >> through socket '/var/lib/mysql/mysql.sock' (2)")"; moreover, the mysql error >> will results in defunct 'autotest-schedu', >> and the other one is "You can access your server on >> http://10.66.82.148/afe", in fact, this link isn't available. > > > I have faced this problem before. > You need to check your mysql service > maybe you need to reinstall your mysql, > I think you can't find the /etc/init.d/mysqld > Make sure your mysql service can be start > > > I'm sorry I can't follow your advise to reinstall mysql, because I > install a > fresh fedora 16 then run contrib/install-autotest-server.sh, I haven't do any > manually installation and configuration for mysql. > > BTW, I can successfully start mysqld via '/usr/libexec/mysqld -u root > --skip-grant-tables'. > > Thanks, > Alex > I've just got this fix this morning: https://github.com/autotest/autotest/commit/59364b92fe7cf7868c4a5f46184c39777b00068b It seems that there was a bug on the install script that wasn't actually restarting mysqld service properly in systems that do not use systemd for mysqld service control (possibly the case with Fedora 16). Sorry about that, in any case I believe this should fix your problem. Lucas, it's okay for me, I will give a try, thanks. Alex Cheers, Lucas _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
