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

    userland calling deprecated sysctl, please rebuild world

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 4 Posters 1.9k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Right but a firewall/router is not a host. Almost all traffic passes through it and those TCP tunables apply to traffic terminated on the system.

      Why have you added them? Were you seeing a problem? Did it help?

      One of those is causing the error you are seeing. So if you want to not see it you need to stop applying that tunable.

      Steve

      I 1 Reply Last reply Reply Quote 1
      • provelsP
        provels
        last edited by

        "Userland calling deprecated sysctl, please rebuild world"

        ~ An anthem for Modern Man

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        1 Reply Last reply Reply Quote 1
        • I
          itfsupport @stephenw10
          last edited by itfsupport

          @stephenw10
          Hello!
          Now i delete all settings from boot/loader.conf.local
          and i still have this error

          1 Reply Last reply Reply Quote 0
          • I
            itfsupport
            last edited by itfsupport

            Now i reset boot.loader.conf.local and syscl.conf to default and i have error

            userland calling deprecated sysctl, please rebuild world

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              You still have not shown us the log containing this error for context so we can only guess what is calling it. You must have something custom on that box.
              To confirm you have removed the custom sysctls from Sys > Adv > System tunables?
              sysctl.conf will just get rebuilt at boot.

              Steve

              I 2 Replies Last reply Reply Quote 0
              • I
                itfsupport @stephenw10
                last edited by itfsupport

                @stephenw10
                sysctl.conf recovered after reboot
                only this settings
                kern.ipc.shmall=2097152
                kern.ipc.shmmax=2147483648
                kern.ipc.semmsl=250

                1 Reply Last reply Reply Quote 0
                • I
                  itfsupport @stephenw10
                  last edited by itfsupport

                  @stephenw10
                  I don't really understand how to show you an error
                  There is a journal entry

                  Sep 26 23:17:21 pfSenseIllanM syslogd: kernel boot file is /boot/kernel/kernel
                  Sep 26 23:17:22 pfSenseIllanM nginx: 2021/09/26 23:17:22 [error] 71259#100112: send() failed (54: Connection reset by peer)
                  Sep 26 23:17:45 pfSenseIllanM kernel: userland calling deprecated sysctl, please rebuild world
                  Sep 26 23:17:45 pfSenseIllanM kernel: userland calling deprecated sysctl, please rebuild world
                  Sep 26 23:18:48 pfSenseIllanM kernel: userland calling deprecated sysctl, please rebuild world
                  Sep 26 23:18:48 pfSenseIllanM kernel: userland calling deprecated sysctl, please rebuild world
                  Sep 26 23:19:50 pfSenseIllanM kernel: userland calling deprecated sysctl, please rebuild world
                  Sep 26 23:19:50 pfSenseIllanM kernel: userland calling deprecated sysctl, please rebuild world

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Ok, so it occurs multiple times and not just at boot? Some minutes apart?

                    Does it log that continually?

                    That's not a sysctl that is applied at boot then. You have something else on that system actively setting something that's no longer valid. Do you have something else running there? Some other custom script or manually added package?

                    Steve

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      itfsupport @stephenw10
                      last edited by

                      @stephenw10 said in userland calling deprecated sysctl, please rebuild world:

                      Ok, so it occurs multiple times and not just at boot? Some minutes apart?

                      Does it log that continually?

                      That's not a sysctl that is applied at boot then. You have something else on that system actively setting something that's no longer valid. Do you have something else running there? Some other custom script or manually added package?

                      Steve

                      Good day!
                      After a long search for the error found the following.
                      The problem appears when enable an additional parameter in the Zabbix agent settings

                      EnableRemoteCommands=1

                      1 Reply Last reply Reply Quote 1
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Nice find.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.