Errors on boot
-
Had my Netgate SG3100 running 2.4.4-RELEASE-p3 suddenly grind to a halt. Could ping but couldn't sign in to the web interface and no traffic going through. I rebooted (pulled power, counted to 10, restored power).
During boot I got this:
rc.bootup: The command '/usr/local/bin/dpinger -S -r 0 -i WAN_DHCP -B 84.73.89.22 -p /var/run/dpinger_WAN_DHCP~84.73.89.22~84.73.88.1.pid -u /var/run/dpinger_WAN_DHCP~84.73.89.22~84.73.88.1.sock -C "/etc/rc.gateway_alarm" -d 0 -s 500 -l 2000 -t 60000 -A 1000 -D 500 -L 20 84.73.88.1 >/dev/null' returned exit code '1', the output was ''
and:
rc.bootup: There is something wrong in the config because user password is missing!
and:
rc.bootup: The command '/usr/sbin/pw groupdel 'OVPN'' returned exit code '65', the output was 'pw: unknown group `OVPN''
The unit is routing ok.
How should I proceed further diagnosing and sorting out whatever is messed up in the OpenVPN servers and/or users?
-
The first one is probably harmless. If you look at your gateway monitoring and see all the gateways you expect to be up, marked as up, then it's fine.
The second one is probably a blank entry in the users section of the config. Most likely harmless, but easy to check. Download a backup of config.xml (Diag > Backup/Restore) and look inside with a text editor.
log_error("There is something wrong in the config because user {$user['name']} password is missing!");
There should be a username in there. Since there isn't, that leads me to believe the username is also blank/empty, hence it being an empty user (like a
<user/>
tag, perhaps)The last error is probably just that the group wasn't in the OS group files when it tried to sync it. It isn't necessarily a fatal error.
Are you seeing any actual failures associated with any of this?
-
Thanks for the reply jimp! There are indeed several <user></user> lines in the config. And everything does appear to be working (gateways, OVPN servers, etc.) So I am not going to change anything.
Thanks!!
-
You could edit those out of a backup and then restore that, and it should clear up those errors for the future. Or if you see blank entries in the user manager, delete them from there.
-
Deleted from within the user manager