I got the same error
Hre is my config file
ldirectord.cf
# Global Directives
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=yes
virtual=192.168.1.55:3306
service=mysql
real=192.168.1.48:3306 gate
real=192.168.1.49:3306 gate
checktype=negotiate
login="ld"
passwd="password"
database="lddb"
request="SELECT * FROM connectioncheck"
scheduler=wrr
Seem like line 8 is not right service=mysql
I tried service=mysqld still same error
I tried to remove all blank spaces still same error
I tried to move service=mysql under real=192.168.1.49:3306 gate
now it complain about the real=192.168.1.48:3306 gate
# Global Directives
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=yes
virtual=192.168.1.55:3306
real=192.168.1.48:3306 gate #line 8 error
real=192.168.1.49:3306 gate
service=mysql
checktype=negotiate
login="ld"
passwd="password"
database="lddb"
request="SELECT * FROM connectioncheck"
No matter what i put in always line 8? anyone got any solution to this?
thanks
scheduler=wrr
|