Load Balance Service Stopped!
-
can anyone has any idea!!!
php: /status_services.php: The command '/usr/local/sbin/relayd -f /var/etc/relayd.conf' returned exit code '1', the output was '/var/etc/relayd.conf:9: syntax error /var/etc/relayd.conf:14: syntax error /var/etc/relayd.conf:19: syntax error /var/etc/relayd.conf:24: syntax error /var/etc/relayd.conf:29: syntax error /var/etc/relayd.conf:34: syntax error no redirections, nothing to do unused protocol: dnsproto'
-
what's your relayd.conf look like?
-
here is the conf.
log updates
timeout 1000
table <http>{ 172.16.1.21, 172.16.1.22 }
dns protocol "dnsproto" {
tcp { nodelay, sack, socket buffer 1024, backlog 1000 }
}
redirect "LB11" {
listen on x.x.x.x port 80
forward to <> port
sticky-address
}
redirect "LB12" {
listen on x.x.x.x port 80
forward to <> port
sticky-address
}
redirect "LB13" {
listen on x.x.x.x port 80
forward to <> port
sticky-address
}
redirect "LB14" {
listen on x.x.x.x port 80
forward to <> port
sticky-address
}
redirect "LB248" {
listen on x.x.x.x port 80
forward to <> port
sticky-address
}
redirect "LB249" {
listen on x.x.x.x port 80
forward to <> port
sticky-address
}</http> -
Somehow it's skipping over the name of the pool there…
Try using a different pool name than http, that may be a reserved keyword there that our input validation doesn't reject. Even just something slightly different like "http80" or "httppool" would suffice.
And edit each virtual server and save it again after making sure the right pool is selected.