OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: javier.wong on May 31, 2016, 04:00:43 am

Title: [SOLVED] Load Balancer - relayd service stopped
Post by: javier.wong on May 31, 2016, 04:00:43 am
Looking at the Log File it says

May 31 09:56:36   relayd[68412]: hce exiting, pid 68412
May 31 09:56:36   relayd[67754]: no actions, nothing to do
May 31 09:56:36   relayd[67754]: /var/etc/relayd.conf:9: syntax error

I have attached my config.

Any ideas? Thanks.
Title: Re: Load Balancer - relayd service stopped
Post by: franco on June 01, 2016, 06:53:24 pm
Hi Javier,

It's a little hard for me to reproduce as the load balancer setup is complex. Can you export the Load Balancer Section from your config using the backup feature? You can also send it via PM or Email if you want.


Cheers,
Franco
Title: Re: Load Balancer - relayd service stopped
Post by: javier.wong on September 13, 2016, 12:34:18 pm
Hi Franco,

So weird, I never ever got this reply in my mailbox!

I ignored this issue but I am trying the load balancer again. This time I'm getting a different error. Attached is my config.

This time i get the following error: relayd[28071]: fatal: cannot add rule: Operation not supported by device

The service starts for a short period of time before exiting out.

Any ideas? Thanks.


Javier
Title: Re: Load Balancer - relayd service stopped
Post by: javier.wong on September 13, 2016, 01:04:13 pm
Hi Franco,

FYI, on another config, If i change Monitor to SMTP in Pool Setup. The relayd service never starts up. It just complains that there is a syntax error.


Javier
Title: Re: Load Balancer - relayd service stopped
Post by: javier.wong on September 13, 2016, 01:20:31 pm
OMG! I just changed the Virtual Server mode to Relay and it worked!.

Why cant we not use Redirect for Web Load Balancing?
Title: Re: Load Balancer - relayd service stopped
Post by: javier.wong on September 19, 2016, 09:34:29 am
If anyone has this problem have a look at https://github.com/opnsense/core/issues/565

Basically launch the shell and run 'pkg install -f relayd' to force a reinstallaion of relayd.
Title: Re: Load Balancer - relayd service stopped
Post by: franco on September 21, 2016, 01:12:35 pm
Hi Javier,

Thanks for checking back. I tested your config, it works fine. So did the package reinstall solve this completely? :)


Cheers,
Franco

PS: You can also reinstall packages with the click of a button from the firmware GUI page (tab packages).
Title: Re: Load Balancer - relayd service stopped
Post by: javier.wong on September 30, 2016, 06:44:58 pm
Hi Franco,

Yeap so far so good. Gonna try upgrading to the latest build now. Will report it it breaks again. Thanks!


Javier