Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

MySQL Daemon failed on the start of docker version of HDP 2.6.4

avatar
Explorer

I am just starting with a Hortonworks tools and using Docker version of HDP 2.6.4 Sandbox on the Ubuntu 16.04.2 LTS server.

Fore some reason MySQL fails immediately after running of the start-sandbox-hdp-standalone_2-6-4.sh with the message

MySQL Daemon failed to start.

62652-2018-03-05-01-20-45.png

What might be the reason?

1 ACCEPTED SOLUTION

avatar
Contributor

@Timur Kobilov, I could deploy HDP 2.6.4 on Ubuntu 16.04 LTS and MySQL started without any issues.

Could you please try running the command "service mysqld start" from inside the sandbox and see what error you get ?

Can you please check the permission/ownership of directory "/var/lib/mysql" ?

Also if you could paste the log contents from "/var/log/mysqld.log" in sandbox, that would be helpful.

View solution in original post

12 REPLIES 12

avatar
Explorer

Shall-file I got here after unzipping has exactly the same md5sum you say:

62705-2018-03-07-21-45-24.png

And it resilts with an error I mentioned before:

62706-2018-03-07-22-18-47.png

My docker version is '17.12.1-ce' and OS is Ubuntu 16.04.4 LTS. Is it ok?

avatar
Contributor

@Timur Kobilov

It looks the host where the container is deployed has an active MySQL installation and the MySQL daemon is running.

I tried installing and starting MySQL on my Ubuntu host and could see MySQL in the container failing to start.

Could you please try stopping MySQL daemon in your host machine and then deploy the sandbox ?

I have similar configuration as yours.

Ubuntu 16.04 LTS Release:16.04

Docker version 17.12.0-ce, build c97c6d6

avatar
Explorer

Yes! It works. As you said the problem was with a mysql daemon running on the host machine.

Thank you!