Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 23:48:49

Author Topic: MySQL Daemon failed to start at Installation  (Read 4644 times)

0 Members and 1 Guest are viewing this topic.

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
MySQL Daemon failed to start at Installation
« on: 2013-06-10, 21:40:09 »
Code: [Select]
Installing database Components....Installing mysql ....
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: gd.tuwien.ac.at
 * extras: gd.tuwien.ac.at
 * kloxo-mr-epel: ftp.fi.muni.cz
 * kloxo-mr-ius: ftp.astral.ro
 * kloxo-mr-ius-c5: ftp.astral.ro
 * updates: gd.tuwien.ac.at
0 packages excluded due to repository protections
Setting up Install Process
Package mysql-5.5.29-1.el6.x86_64 already installed and latest version
Nothing to do

Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
/usr/bin/lxphp.exe: line 3:  2517 Segmentation fault      /usr/local/lxlabs/ext/php/bin/php -c /usr/local/lxlabs/ext/php/etc/php.ini $*

Creating Vpopmail database...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Prepare /home/kloxo/httpd...
Create mysql.sock...
Setting Mysql for always running after reboot and restart now...
Creating 'kloxo database'...
Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Congratulations. Kloxo-MR has been installed succesfully as master

You can connect to the server at:
        https://<ip-address>:7777 - secure ssl connection, or
        http://<ip-address>:7778 - normal one.

The login and password are 'admin' 'admin' for new install.
After Logging in, you will have to change your password to
something more secure

How to fix this?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: MySQL Daemon failed to start at Installation
« Reply #1 on: 2013-06-10, 22:21:56 »
Look like something wrong with mysql 5.5 from CentAlt repo (install Kloxo-MR in Centos 6). Modified /etc/yum.repos.d/kloxo-mr.repo where:
Code: [Select]
...
[kloxo-mr-centalt]
name=Kloxo-MR - centalt - $basearch
baseurl=http://centos.alt.ru/repository/centos/6/$basearch/
enabled=1
gpgcheck=0
exclude=openssh* perl* mariadb*
...
to:
Code: [Select]
...
[kloxo-mr-centalt]
name=Kloxo-MR - centalt - $basearch
baseurl=http://centos.alt.ru/repository/centos/6/$basearch/
enabled=1
gpgcheck=0
exclude=openssh* perl*
...

and then run:
Code: [Select]
# make sure refresh for yum cache
yum clean all
# running yum update will be automatically change mysql to mariadb in Centos 6
yum update
# run again setup process
sh /usr/local/lxlabs/kloxo/setup.sh

I will update Kloxo-MR with enable mariadb from centalt repo.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.057 seconds with 18 queries.

web stats analysis