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

    LCDdProc seems to be broken on 25.07.1-RELEASE

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 3 Posters 411 Views 3 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.
    • T Offline
      timecode
      last edited by timecode

      Was getting hundreds of these messages in logs.

      64880 lcdproc: Connection to LCDd process lost ()

      Uninstalled the package and reinstalled it. Now it won't even start.
      Anyone else seeing an issue with LCDd process?

      Should mention, no more log entries however after the reinstall either.

      fireodoF 1 Reply Last reply Reply Quote 0
      • T Offline
        timecode
        last edited by

        Anther uninstall/reinstall and enabling and disabling of the package - seems to have sorted it. No weird logs either.
        Odd. But it seems fixed.

        1 Reply Last reply Reply Quote 0
        • fireodoF Offline
          fireodo @timecode
          last edited by fireodo

          @timecode said in LCDdProc seems to be broken on 25.07.1-RELEASE:

          Anyone else seeing an issue with LCDd process?

          Yes. If you kill all states (on all interfaces - and specially on "lo0") you get flooded by these messages too ... (its the only way to reliable reproduce the fenomen ...)
          In your case I suppose it was a "hiccup" ...

          Regards,
          fireodo

          Edit: Just for information (as I understand the mecanism) The lcdproc package consist in 2 parts:

          1. the LCDd daemon who makes the physical connection between the LCD-Panel and the hardware port (USB, Serial etc.) and established a Server (see: /usr/local/etc/LCDd.conf) that binds on:
          Bind=127.0.0.1
          Port=13666
          
          1. the lcdproc client that establish a connection to that port (13666) and deliver informations from the pfsense to the LCD-Panel. If this connection (for whatevers reason) get lost, the client cannot reestablish that connection and it comes to the syslog flooding with those, up in the post, mentioned messages.

          Edit: Could the culprit be in the code of "/usr/local/pkg/lcdproc_client.php" between line 389-398? My PHP-Skills are very poor ...

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.8.0 CE
          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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

            Mmm, it's working for me in 25.07.1 and 2.8.1-beta. Not seeing an issue currently.

            fireodoF 1 Reply Last reply Reply Quote 0
            • fireodoF Offline
              fireodo @stephenw10
              last edited by fireodo

              @stephenw10 said in LCDdProc seems to be broken on 25.07.1-RELEASE:

              Mmm, it's working for me in 25.07.1 and 2.8.1-beta. Not seeing an issue currently.

              Try (just for fun) to kill all states (Diagnostics -> States) on all interfaces ... or just on lo0 ...

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.8.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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

                Well, yeah, if you kill the connection between the client and server it does stop.

                The interesting thing is that it doesn't just re-open the connection. 🤔

                Resaving the Screens tab restarts the php client and opens a new connection.

                fireodoF 1 Reply Last reply Reply Quote 1
                • fireodoF Offline
                  fireodo @stephenw10
                  last edited by

                  @stephenw10 said in LCDdProc seems to be broken on 25.07.1-RELEASE:

                  The interesting thing is that it doesn't just re-open the connection.

                  Yepp, thats what I dont understand neither and in the "/usr/local/pkg/lcdproc_client.php" script seams that the error reporting code-part is running wild ... (IMHO)

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.8.0 CE
                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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

                    Mmm, it should increment the error counter until it reaches 3 and then restart the client but....

                    fireodoF 1 Reply Last reply Reply Quote 1
                    • fireodoF Offline
                      fireodo @stephenw10
                      last edited by fireodo

                      @stephenw10 said in LCDdProc seems to be broken on 25.07.1-RELEASE:

                      Mmm, it should increment the error counter until it reaches 3 and then restart the client but....

                      Thats how I have read the code too ...

                      Edit: I had a other situation when after a reboot the lcdproc client floodet right after reboot the log and kill 9 or pkill nothing helped - I had to reboot again, then it stopped and get back to normal operation ... odd ...

                      Edit: This problem was raised also here: LCDproc

                      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                      pfsense 2.8.0 CE
                      Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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

                        Ok let's continue there then. It's definitely not working as intended.

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