• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

ARP error

Scheduled Pinned Locked Moved DHCP and DNS
16 Posts 6 Posters 4.0k Views 6 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    Gertjan @Guest
    last edited by Sep 4, 2018, 1:19 PM

    @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 ...

    No "help me" PM's please. Use the forum, the community will thank you.
    Edit : and where are the logs ??

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User
      last edited by Sep 4, 2018, 1:21 PM

      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?

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gertjan
        last edited by Sep 4, 2018, 1:23 PM

        Well, by no means I'm an "interface" expert, but if arp complains about :
        @gertjan said in ARP error:

        arp: writing to routing socket: No such file or directory

        that that network (mounted on that interface) doesn't exists, or has serious troubles.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • J Offline
          jimp Rebel Alliance Developer Netgate
          last edited by Sep 4, 2018, 1:23 PM

          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".

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gertjan
            last edited by Sep 4, 2018, 1:25 PM

            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).

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by Sep 4, 2018, 1:27 PM

              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

              1 Reply Last reply Reply Quote 0
              • J Offline
                jimp Rebel Alliance Developer Netgate
                last edited by Sep 4, 2018, 1:29 PM

                Then ignore it as it's harmless. See my previous reply for the explanation.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TheRealHawk
                  last edited by Aug 10, 2019, 3:16 PM

                  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. :-(

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jimp Rebel Alliance Developer Netgate
                    last edited by Aug 12, 2019, 12:57 PM

                    Probably the ü in the hostname caused that. Try only using plain ASCII (a-z, A-Z, numbers) and see if that works.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    T 1 Reply Last reply Aug 12, 2019, 2:59 PM Reply Quote 1
                    • T Offline
                      TheRealHawk @jimp
                      last edited by Aug 12, 2019, 2:59 PM

                      @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!

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jimp Rebel Alliance Developer Netgate
                        last edited by Aug 12, 2019, 3:04 PM

                        Blame the developers of the XML standard which disallows such characters without special encoding. :-)

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received