On 09/20/2012 07:44 AM, Alex Jia wrote:
On 09/20/2012 10:43 AM, Alex Jia wrote:
----- 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

Lucas, unfortunately, it doesn't work for me and got similar error like
before:

_mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (111)")

# ps -ef|grep -i "[a|A]utotest"
autotest  2345     1  0 18:32 ?        00:00:00 /usr/bin/python -u
/usr/local/autotest/scheduler/autotest-scheduler-watcher
autotest  2989  2345  2 18:43 ?        00:00:00 [autotest-schedu] <defunct>

Regards,
Alex

Well, I guess there are not many options left for me but install fedora 16 on some vm and see what the heck is going on. It might take a while since I'm sick and will stop today to see a doctor.

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to