OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: ArminF on January 28, 2022, 09:35:22 PM

Title: 22.1 start up error on GUI - A non-numeric value encountered
Post by: ArminF on January 28, 2022, 09:35:22 PM
A non-numeric value encountered in /usr/local/sbin/carp_service_status on line 51

Hi all
the above error keeps poping up on the GUI.
Not sure how to handle it.

Any recommendations?

thanks
cheers A

OPNsense 22.1-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1m 14 Dec 2021
Title: Re: 22.1 start up error on GUI - A non-numeric value encountered
Post by: Fright on January 29, 2022, 06:03:13 PM
hi
what
sysctl net.inet.carp.demotion
returns?
Title: Re: 22.1 start up error on GUI - A non-numeric value encountered
Post by: franco on January 29, 2022, 07:32:24 PM
I know this happened on FreeBSD 12.1 too but I couldn't reproduce this easily. My best guess is it returns empty maybe because CARP isn't loaded or something...


Cheers,
Franco
Title: Re: 22.1 start up error on GUI - A non-numeric value encountered
Post by: ArminF on January 29, 2022, 09:15:18 PM
sysctl net.inet.carp.demotion
net.inet.carp.demotion: 0

Not sure if this is zenarmor or elasticsearch related.
Since the upgrade in ran into issues.
Had to reinstall zenarmor and have to run it with mongodb now.
elasticsearch will not work.  Even a support session with the sensei guys did not resolve it.

i may take the time and reinstall with a fresh 22 version and restore the backups i got.
Title: Re: 22.1 start up error on GUI - A non-numeric value encountered
Post by: Fright on January 30, 2022, 08:02:01 AM
@franco
maybe an additional check with a message like "carp promotion cannot be made because the net.inet.carp.demotion value has not been received" would be appropriate here?)

offtopic: can you please look at src ticket when you have time? very interested in your opinion. thnks!
Title: Re: 22.1 start up error on GUI - A non-numeric value encountered
Post by: franco on January 30, 2022, 10:47:39 AM
We already know it's not working so in which way we log it doesn't matter. What is important is to look at why it happens and wether that's bad (fix in src.git probably) or good/irrelevant to operation (ignore situation).
Title: Re: 22.1 start up error on GUI - A non-numeric value encountered
Post by: Fright on January 30, 2022, 11:00:34 AM
ah, got your point, sorry then
Title: Re: 22.1 start up error on GUI - A non-numeric value encountered
Post by: ArminF on July 24, 2022, 08:51:30 AM
Issue came back after reinstallation.
So installed fresh from usb (vga version)
Upgraded to latest packages.
Installed Zenarmor with Elasticsearch.

A non-numeric value encountered in /usr/local/sbin/carp_service_status on line 51

mountroot: waiting for device /dev/gpt/rootfs...
WARNING: /mnt was not properly dismounted
WARNING: /mnt: mount pending error: blocks 23000 files 5

Hardware Issue?