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

    nrpe 3.1_3 not working on secondary CARP/HA firewall

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 438 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
      michaelschefczyk
      last edited by

      Dear All,

      I am runing pfSense in two SOHO locations. In each location, I have a CARP HA setup with two servers. Package nrpe has been installed for a long time. All for servers are being checked via NAGIOS for years.

      Upgrading package nrpe to 3.1_3 did work well on both primary firewalls. It did fail on both secondary firewalls with nrpe no longer running.

      The error message is:

      PHP ERROR: Type: 1, File: /usr/local/share/pear/XML/RPC2/Client.php, Line: 167, Message: Uncaught XML_RPC2_InvalidUriException: Client URI 'https://:@:8080/xmlrpc.php' is not valid in /usr/local/share/pear/XML/RPC2/Client.php:167
      Stack trace:
      #0 /usr/local/share/pear/XML/RPC2/Backend/Php/Client.php(80): XML_RPC2_Client->__construct('https://:@:8080...', Array)
      #1 /usr/local/share/pear/XML/RPC2/Client.php(238): XML_RPC2_Backend_Php_Client->__construct('https://:@:8080...', Array)
      #2 /etc/inc/xmlrpc_client.inc(92): XML_RPC2_Client::create('https://:@:8080...', Array)
      #3 /etc/inc/xmlrpc_client.inc(153): pfsense_xmlrpc_client->xmlrpc_internal('merge_installed...', Array, 100)
      #4 /usr/local/pkg/nrpe.inc(320): pfsense_xmlrpc_client->xmlrpc_method('merge_installed...', Array, 100)
      #5 /usr/local/pkg/nrpe.inc(290): nrpe_do_xmlrpc_sync('', '8080', 'https', '', '', 100)
      #6 /usr/local/pkg/nrpe.inc(215): nrpe_sync_config()
      #7 /usr/local/pkg/nrpe.inc(160): nrpe_custom_php_write_config()
      #8 /etc/inc/pkg-utils.inc(770) : eval()'d code(1): nrpe_resync_package()
      #9 /etc/inc/pkg-utils.inc(770): eval()
      #10 /etc/inc/ @ 2020-10-30 14:00:13

      I suspect that this has something to to with the new xmlrpc feature introduces in 3.1_3 (commit f500dc7821b0f842e34497c2935fd98bcd7cbd5e as of yesterday).

      The consequence is, that the package manager thinks that the package is installed. However nrpe is not running and menu services has no NRPE entry. I did try the troubleshoot broken pkg database procedure (https://docs.netgate.com/pfsense/en/latest/troubleshooting/pkg-broken-database.html), but this did not have any effect. Of course rebooting, reinstalling and uninstalling and installing again after a reboot do not help either.

      Does anyone have any recommendation in terms of how to deal with this or how to fix it?

      Regards,

      Michael Schefczyk

      1 Reply Last reply Reply Quote 0
      • M
        michaelschefczyk
        last edited by

        Setting the bind address to 0.0.0.0 and upgrading to nrpe 3.1_4 does solve the issue.

        Thanks to the developers!

        1 Reply Last reply Reply Quote 0
        • kiokomanK
          kiokoman LAYER 8
          last edited by

          it seems to be a general problem with packages
          https://forum.netgate.com/topic/157998/error-installing-stunnel-package
          https://forum.netgate.com/topic/158001/upgrade-from-2-4-4p3-to-2-4-5_1-php-error

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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