ARP error
-
I have combined this ticket with https://forum.netgate.com/topic/134238/issue-with-dnsamasq-when-adding-a-static-lease
So this ticket can be closed
-
@dcolhoun said in ARP error:
Sep 2 10:13:07 php-fpm 340 /services_dhcp_edit.php: The command '/usr/sbin/arp -d '192.168.170.251'' returned exit code '1', the output was 'arp: writing to routing socket: Operation not permitted'
What is this interface 192.168.170.xxxx ?
In the other thread I saw :/services_dhcp_edit.php: The command '/usr/sbin/arp -d '192.168.170.239'' returned exit code '1', the output was 'arp: writing to routing socket: No such file or directory'
devices ...251 and 239 can't be arp'ed ...
-
I tried with .251. and then changed to 239, just to eliminate the ip as a factor. This is a static lease for a new VM. Why should arp be failing?
-
-
It's trying to remove a static ARP entry for that IP address. Are you setting or removing the static ARP entry checkbox on the entry? (hint: You probably do not actually want static ARP)
That error message is harmless though, it's basically saying "I can't remove that address from the ARP table because it isn't in the ARP table".
-
Humm, good to have a expert around ;)
Harmless, or not, it seems a good thing to me to make arp happy here - and see if the dnsmasq errors go away also (the other thread).
-
This is an error in the system logs after adding a static DHCP lease. I am not doing it manually
Last 2000 General Log Entries. (Maximum 2000)
Sep 4 14:06:02 php-fpm /services_dhcp_edit.php: The command '/usr/sbin/arp -d '192.168.170.239'' returned exit code '1', the output was 'arp: writing to routing socket: No such file or directory'192.168.170.239 is the ip of the static lease I am adding
-
Then ignore it as it's harmless. See my previous reply for the explanation.
-
hello there.
i know it's a old thread but it fits 100% my problem.
---cut---
Aug 10 17:02:24 php-fpm 343 /services_dhcp_edit.php: Das Kommando '/usr/sbin/arp -d '192.168.0.199'' gab den Exitcode '1' zurück', das Ergebnis war 'arp: writing to routing socket: No such file or directory'
Aug 10 17:02:24 check_reload_status Syncing firewall
Aug 10 17:02:24 php-fpm 343 /services_dhcp_edit.php: Neuer Benachtichtung: pfSense stellt die Konfiguration wieder her /cf/conf/backup/config-1565448210.xml
Aug 10 17:02:24 php-fpm 343 /services_dhcp_edit.php: pfSense stellt die Konfiguration wieder her /cf/conf/backup/config-1565448210.xml
Aug 10 17:02:24 php-fpm 343 /services_dhcp_edit.php: XML Fehler: Undeclared entity error in Zeile 364 ind /conf/config.xml
---cut---i can't reserve a simple ipv4 with a mac. that is a real problem for me because this device must have the fix ip. i thought it was a special ip which caused this error but it isn't. it doesn't matter which ip i use, always the same error. :-(
-
Probably the
ü
in the hostname caused that. Try only using plain ASCII (a-z, A-Z, numbers) and see if that works. -
@jimp hell... such simple as this... it's to simple for me to find it my self... most of the time i can't find the easiest things... great! thx! ;) however... this shouldn't happen at all!
-
Blame the developers of the XML standard which disallows such characters without special encoding. :-)