Failet to start SYSV: mysql-proxy is a proxy daemon fo mysql

Issues related to applications and software problems
Post Reply
AlexC
Posts: 3
Joined: 2017/07/19 15:32:11

Failet to start SYSV: mysql-proxy is a proxy daemon fo mysql

Post by AlexC » 2017/07/19 15:52:18

I'm working on mysql-proxy. I've used "systemctl restart mysql-proxy.service", the result is shown in the screen shot [Error.jpg]

This is my configuration [Conf.jpg]


Please, help me
Attachments
Conf.jpg
Conf.jpg (176 KiB) Viewed 1585 times
Error.jpg
Error.jpg (246.55 KiB) Viewed 1585 times

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failet to start SYSV: mysql-proxy is a proxy daemon fo mysql

Post by TrevorH » 2017/07/19 16:40:39

a) are you really running CentOS 5? It's dead and you should get off it ASAP if so. That looks far more like CentOS 7 to me. If so, say and I will move the thread to the correct forum.
b) not sure it was wise to post a pic containing the password
c) It says "Key file contains line 'mysql-proxy' which is not a key-value pair" and it's right, your file does contain that. Are you sure that shouldn't be "[mysql-proxy]" ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

AlexC
Posts: 3
Joined: 2017/07/19 15:32:11

Re: Failet to start SYSV: mysql-proxy is a proxy daemon fo mysql

Post by AlexC » 2017/07/19 16:56:07

@TrevorH

I'm using Centos 7.

About [mysql-proxy], it was just like that since original format. I don't know why it causes problems now.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failet to start SYSV: mysql-proxy is a proxy daemon fo mysql

Post by TrevorH » 2017/07/19 23:52:11

Because it's not valid?

Moved to CentOS 7 Software Support.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

AlexC
Posts: 3
Joined: 2017/07/19 15:32:11

Re: Failet to start SYSV: mysql-proxy is a proxy daemon fo mysql

Post by AlexC » 2017/07/20 17:33:32

This problem was caused by UTF-8 format at file (mysql-proxy.cnf)
It's solved by:

cd /etc/mysql/
cp -p mysql-proxy.cnf mysql-proxy.cnf.bak
file*
cat mysql-proxy.cnf > mysql-proxy.cnf
rm mysql-proxy.cnf
vim mysql-proxy.cnf
ls -la
file*
chmod 640 mysql-proxy.cnf
service mysql-proxy restart

Post Reply