Went from 2.15 to 2.2 clean install and can't get LCDProc to run



  • I set up LCDProc-dev version and I get "php: lcdproc: Start client procedure. Error counter: (0)" in the logs. I set it up exactly the same way as I did in 2.15 which worked. The only difference was I had to disable driver signing to get LCDProc-dev to install.

    Any idea what this could be from?

    Chris


  • Netgate Administrator



  • I moved the LCDd.conf file from /usr/local/etc and put it in /usr/pbi/lcdproc-amd64/local/etc and now I can start the service but I get this in the logs- The display it self says

    Jan 29 02:03:30 php: lcdproc: Too many errors, the client ends.
    Jan 29 02:03:30 php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
    Jan 29 02:03:19 php: lcdproc: Start client procedure. Error counter: (3)
    Jan 29 02:03:19 php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
    Jan 29 02:03:08 php: lcdproc: Start client procedure. Error counter: (2)
    Jan 29 02:03:08 php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
    Jan 29 02:02:57 php: lcdproc: Start client procedure. Error counter: (1)
    Jan 29 02:02:57 php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
    Jan 29 02:02:46 php: lcdproc: Start client procedure. Error counter: (0)
    Jan 29 02:02:43 LCDd: Listening for queries on 127.0.0.1:13666
    Jan 29 02:02:43 LCDd: Using Configuration File: /usr/local/etc/LCDd.conf
    Jan 29 02:02:43 LCDd: LCDd version 0.5.6 starting

    The display it self says
    LCDProc Server
    Clients 0
    screens 0

    The only screen that I'm trying to use is Enable Interface Traffic

    Any ideas?

    Thanks!


  • Netgate Administrator

    Hmm, well that's interesting. The LCDd server is running and the client is running but they're not talking to each other. The server is running on the standard port perhaps the client is talking on a different port? No idea why that might be though.
    Try running the standard LCDproc client from the command line, for example:

    /usr/local/bin/lcdproc C T U
    

    Steve



  • I'lll give it a shot tonight. I had to revert back to 2.15 as my wife complained about photo's not loading on instagram on her phone using 2.2. I had that problem w 2.15 and I read that disabling all the IPv6 stuff would help and it did. Had it disabled on 2.2 but it didn't seem to help.



  • Credit to https://forum.pfsense.org/index.php?topic=83747.msg471668#msg471668

    Edit /usr/local/pkg/lcdproc.inc, changing:

    define('LCDPROC_HOST','localhost');
    define('LCDPROC_PORT','13666');
    

    To:

    define('LCDPROC_HOST','127.0.0.1');
    define('LCDPROC_PORT','13666');
    

    Steve


  • Netgate Administrator

    Note that JimP just fixed up the pbi paths on the lcdproc-dev package so it should install ok now.

    Steve



  • Without the above change, even using the new package, I see the following repeated in the logs.

    php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
    
    

    Steve


  • Netgate Administrator

    Yeah, interesting that. More testing needed.  ;)

    Steve



  • I am trying to make change in GitHUB now for everyone.  I made this change but and others for 64 bit which I think spawned jimp to change it.  But there is that one change I made that didn't get into it.  I will try again tonight see if I can get github to work with me .. still learning it

    I was the one that fixed the LED's on the Crystalfontz displays so I did it in past lets see if I can do it again