Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
22.1 start up error on GUI - A non-numeric value encountered
« previous
next »
Print
Pages: [
1
]
Author
Topic: 22.1 start up error on GUI - A non-numeric value encountered (Read 2488 times)
ArminF
Full Member
Posts: 205
Karma: 11
22.1 start up error on GUI - A non-numeric value encountered
«
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
Logged
English: Never try, never know!
Deutsch: Unversucht ist Unerfahren!
Fright
Hero Member
Posts: 1777
Karma: 164
Re: 22.1 start up error on GUI - A non-numeric value encountered
«
Reply #1 on:
January 29, 2022, 06:03:13 pm »
hi
what
Code:
[Select]
sysctl net.inet.carp.demotion
returns?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 22.1 start up error on GUI - A non-numeric value encountered
«
Reply #2 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
Logged
ArminF
Full Member
Posts: 205
Karma: 11
Re: 22.1 start up error on GUI - A non-numeric value encountered
«
Reply #3 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.
Logged
English: Never try, never know!
Deutsch: Unversucht ist Unerfahren!
Fright
Hero Member
Posts: 1777
Karma: 164
Re: 22.1 start up error on GUI - A non-numeric value encountered
«
Reply #4 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!
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 22.1 start up error on GUI - A non-numeric value encountered
«
Reply #5 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).
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: 22.1 start up error on GUI - A non-numeric value encountered
«
Reply #6 on:
January 30, 2022, 11:00:34 am »
ah, got your point, sorry then
Logged
ArminF
Full Member
Posts: 205
Karma: 11
Re: 22.1 start up error on GUI - A non-numeric value encountered
«
Reply #7 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?
Logged
English: Never try, never know!
Deutsch: Unversucht ist Unerfahren!
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
22.1 start up error on GUI - A non-numeric value encountered