SOLVED reboot iPBX 2020 - knockd service failed

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
676
Reaction score
194
ssh into a sandbox and when status page comes up i see Port Knock is Down. Looked back during the update and it failed. Checked the log:
Oct 28 04:35:50 noreply systemd[1]: Starting SYSV: Knock is a port-knocking server/client....
Oct 28 04:35:50 noreply knockd[3585]: /etc/rc.d/init.d/knockd: line 25: [: =: unary operator expected
Oct 28 04:35:50 noreply knockd[3585]: Starting knockd: could not open venet0:0: venet0:0: No such device exists (SIOCGIFHWADDR: No such device)
Oct 28 04:35:50 noreply knockd[3585]: [FAILED]
Oct 28 04:35:50 noreply systemd[1]: knockd.service: control process exited, code=exited status=1
Oct 28 04:35:50 noreply systemd[1]: Failed to start SYSV: Knock is a port-knocking server/client..
Oct 28 04:35:50 noreply systemd[1]: Unit knockd.service entered failed state.
Oct 28 04:35:50 noreply systemd[1]: knockd.service failed.

any ideas?
Thanks,
brian
 
Code:
Starting knockd: could not open venet0:0: venet0:0: No such device exists (SIOCGIFHWADDR: No such device)

What is your Interface called?
 
My guess is you'll need to make /etc/sysconfig/knockd look like this then:
Code:
[root@pbx sysconfig]# cat knockd
OPTIONS="-i eth0"
[root@pbx sysconfig]#
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top