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

flock() error after upgrading

Scheduled Pinned Locked Moved Plus 23.01 Development Snapshots (Retired)
49 Posts 8 Posters 4.7k Views
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.
  • M
    Maff
    last edited by Feb 4, 2023, 2:04 AM

    Still awake lol

    From blathierry’s list of packages it’s looking like something acme, wireguard or haproxy puts in the config as those are what match with myself

    If I can get my hybrid config working I’ll then try and strip out a package one by one but that could be to much time will see

    V 1 Reply Last reply Feb 4, 2023, 2:05 AM Reply Quote 0
    • V
      Vanimox @Maff
      last edited by Feb 4, 2023, 2:05 AM

      @maff Do you think I should downgrade PfSense for the time being? Or this this something that's okay to sit with errors piling up until its resolved. It looks like its just the same error on line 174 at /etc/inc/util.inc over and over again.

      M 1 Reply Last reply Feb 4, 2023, 2:09 AM Reply Quote 0
      • M
        Maff @Vanimox
        last edited by Feb 4, 2023, 2:09 AM

        @vanimox

        I have downgraded again back to 22.05, the snapshot feature if you have enabled is awesome, just always keep a config back up just in case, I have keep the rc image and it’s just a mouse click and reboot to get back to that environment

        V 1 Reply Last reply Feb 4, 2023, 2:11 AM Reply Quote 0
        • V
          Vanimox @Maff
          last edited by Feb 4, 2023, 2:11 AM

          @maff I actually wasn't even aware of the snapshot feature. Is it an additional package I need to download/enable? Or is it built in? It'll likely come in handy in the future.

          M 1 Reply Last reply Feb 4, 2023, 2:15 AM Reply Quote 0
          • M
            Maff @Vanimox
            last edited by Feb 4, 2023, 2:15 AM

            @vanimox

            It’s built in but you have to have installed pfsense on a zfs partitioned drive (can’t remember if it’s converted to one or not when going to 22.05)) then it’s under system and boot environments

            V 1 Reply Last reply Feb 4, 2023, 5:53 AM Reply Quote 0
            • V
              Vanimox @Maff
              last edited by Feb 4, 2023, 5:53 AM

              @maff said in flock() error after upgrading:

              zfs

              Since I had to reinstall PfSense anyway, I used the ZFS and now have the option under System>Boot Environments. Now how do I take a snapshot?

              G 1 Reply Last reply Feb 4, 2023, 6:57 AM Reply Quote 0
              • G
                Gertjan @Vanimox
                last edited by Feb 4, 2023, 6:57 AM

                @vanimox said in flock() error after upgrading:

                Now how do I take a snapshot?

                Look at this one.

                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 1
                • S
                  stephenw10 Netgate Administrator
                  last edited by Feb 4, 2023, 4:06 PM

                  Or: https://docs.netgate.com/pfsense/en/latest/backup/zfsbe/gui.html

                  1 Reply Last reply Reply Quote 1
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Feb 4, 2023, 4:18 PM

                    None of those cronjobs look unusual. I those on test boxes here and none of them show those error logs. 🤔

                    1 Reply Last reply Reply Quote 0
                    • M
                      Maff
                      last edited by Feb 4, 2023, 8:19 PM

                      well bugger, just got a chance to mess around so started out with the factory reset this time configured my wan lan and error has returned

                      is there anything left behind in a factory reset?, hoping not to have to do a fresh install

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Feb 4, 2023, 9:43 PM

                        When you reset the config to factory defaults it's exactly that; the config file is replaced by the default config. So, yes, potentially there could be many things left behind.

                        If you run at the command line: top -HaSP can you see what's being run once a minute to trigger this?

                        M 1 Reply Last reply Feb 4, 2023, 9:50 PM Reply Quote 0
                        • M
                          Maff @stephenw10
                          last edited by Maff Feb 4, 2023, 10:03 PM Feb 4, 2023, 9:50 PM

                          @stephenw10

                          just for testing i have concluded nothing i have configured or installed is causing this

                          just gone through a fresh hard drive in my hardware, pfsense 2.6ce installed, upgraded to 22.01, upgrade to 22.05 upgrade to 23.01rc and error is there

                          another fresh hard drive, 2.6ce installed, upgrade to 22.01 then straight to 23.01rc and the error is there

                          Only things configured was wan connection and basic default lan

                          1 Reply Last reply Reply Quote 0
                          • M
                            Maff
                            last edited by Maff Feb 4, 2023, 10:12 PM Feb 4, 2023, 9:57 PM

                            Am also kinda a novice when it comes to Linux etc, alway trying to learn, I am not sure what I am looking for in the output of that command

                            Was a lot of things flashing up constantly but didn’t see any refresh to anything in the error output

                            S 1 Reply Last reply Feb 4, 2023, 11:05 PM Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Feb 4, 2023, 10:33 PM

                              Ah, interesting. So this appears to be something hardware or network related.

                              What are you running this on? How is the network setup that it's connected to?

                              M 1 Reply Last reply Feb 4, 2023, 10:39 PM Reply Quote 0
                              • M
                                Maff @stephenw10
                                last edited by Maff Feb 4, 2023, 10:44 PM Feb 4, 2023, 10:39 PM

                                @stephenw10

                                Running on a Lenovo m720q with a intel 9500t cpu, 16 gig of ram, network card is intel x710-t2l

                                Port one is dhcp setup to cable modem in modem mode 2.5gbs link

                                Port 2 is the basic lan setup you go through when installing pfsense 10gb link

                                Not noticed any issue with this hardware on 22.05

                                Maybe some form of sensor not working right in the new kernel?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  SteveITS Galactic Empire @Maff
                                  last edited by Feb 4, 2023, 11:05 PM

                                  @maff said in flock() error after upgrading:

                                  Linux

                                  FreeBSD in this case 😉
                                  top shows running processes.

                                  Question: does it happen if you're NOT displaying the dashboard? Logged out of the web GUI?

                                  Is the config file on disk growing in size or changing time stamps? (/conf/config.xml)

                                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                  Upvote 👍 helpful posts!

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Feb 5, 2023, 12:49 AM

                                    Mmm, that's a good question. Something that could be configured to update once a minute like that might be a dashboard widget.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by Feb 6, 2023, 2:09 PM

                                      Does anyone seeing this have some kind of off-firewall monitoring system that probes the firewall once per minute? Maybe some kind of third party integration / tacked on "API" that is leveraging xmlrpc.php?

                                      Nothing in the base system queries that file except for HA sync, and HA sync would not be triggered that often.

                                      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!

                                      B 1 Reply Last reply Feb 6, 2023, 2:12 PM Reply Quote 0
                                      • B
                                        blathierry @jimp
                                        last edited by Feb 6, 2023, 2:12 PM

                                        @jimp I use the home assistant integration and uptime kuma. Is that causing it?

                                        R 1 Reply Last reply Feb 6, 2023, 2:46 PM Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Feb 6, 2023, 2:24 PM

                                          How is that querying? SNMP? Some plugin code?

                                          B 1 Reply Last reply Feb 6, 2023, 2:27 PM Reply Quote 0
                                          26 out of 49
                                          • First post
                                            26/49
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received