Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Load Balance Service Stopped!

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      ik34
      last edited by

      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'

      1 Reply Last reply Reply Quote 0
      • C Offline
        cmb
        last edited by

        what's your relayd.conf look like?

        1 Reply Last reply Reply Quote 0
        • I Offline
          ik34
          last edited by

          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>

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            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.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.