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

    Siproxd stopped working

    Scheduled Pinned Locked Moved pfSense Packages
    17 Posts 6 Posters 5.0k 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.
    • D Offline
      doktornotor Banned
      last edited by

      The file has never been created by the package, this has nothing to do with the upgrade except for the fast that on uninstall /var/siproxd is now being deleted as it should. I'm having hard time understanding why the thing is so stupid that it cannot create the file itself when needed.

      Can someone post

      
      ps auxw | grep "[s]iprox"
      
      output? Suspect that 0755 + nobody:nobody is not exactly the correct permissions for the directory (again, nothing changed here).[/s]
      
      1 Reply Last reply Reply Quote 0
      • D Offline
        dalex
        last edited by

        $ ps auxw | grep "iprox"
        nobody  66203  0.0  0.4  31668  7308  -  S    11:41AM      0:00.75 /usr/local/sbin/siproxd -c /usr/pbi/siproxd-amd64/etc/siproxd.

        1 Reply Last reply Reply Quote 0
        • D Offline
          doktornotor Banned
          last edited by

          You can try this via System Patches package

          
          --- a/usr/local/pkg/siproxd.inc
          +++ b/usr/local/pkg/siproxd.inc
          @@ -146,6 +146,7 @@ function sync_package_siproxd() {
           	}
           	$siproxd_conffile = SIPROXD . '/etc/siproxd.conf';
           	$siproxd_pwfile = SIPROXD . '/etc/siproxd_passwd.cfg';
          +	$siproxd_chroot = "/var/siproxd/";
          
           	$pfs_version = substr(trim(file_get_contents("/etc/version")), 0, 3);
           	if ($pfs_version == '2.2') {
          
          

          (Save the siproxd configuration after patching.)

          1 Reply Last reply Reply Quote 0
          • D Offline
            dalex
            last edited by

            Worked!

            I added the line manually (via WinSCP).

            The siproxd.pid file created ok, and registrations show fine now.

            Thank you!

            1 Reply Last reply Reply Quote 0
            • D Offline
              doktornotor Banned
              last edited by

              PR done, thanks for testing and reporting. (Fixed that siproxd_registered_phones.php thing as well to shut up when the file doesn't exist while there.)

              https://github.com/pfsense/pfsense-packages/pull/1190

              1 Reply Last reply Reply Quote 0
              • C Offline
                Cartman316
                last edited by

                @doktornotor:

                You can try this via System Patches package

                
                --- a/usr/local/pkg/siproxd.inc
                +++ b/usr/local/pkg/siproxd.inc
                @@ -146,6 +146,7 @@ function sync_package_siproxd() {
                 	}
                 	$siproxd_conffile = SIPROXD . '/etc/siproxd.conf';
                 	$siproxd_pwfile = SIPROXD . '/etc/siproxd_passwd.cfg';
                +	$siproxd_chroot = "/var/siproxd/";
                 
                 	$pfs_version = substr(trim(file_get_contents("/etc/version")), 0, 3);
                 	if ($pfs_version == '2.2') {
                
                

                (Save the siproxd configuration after patching.)

                Thank you, it works again. I followed your instruction.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  eddi1984
                  last edited by

                  @doktornotor:

                  You can try this via System Patches package

                  
                  --- a/usr/local/pkg/siproxd.inc
                  +++ b/usr/local/pkg/siproxd.inc
                  @@ -146,6 +146,7 @@ function sync_package_siproxd() {
                   	}
                   	$siproxd_conffile = SIPROXD . '/etc/siproxd.conf';
                   	$siproxd_pwfile = SIPROXD . '/etc/siproxd_passwd.cfg';
                  +	$siproxd_chroot = "/var/siproxd/";
                   
                   	$pfs_version = substr(trim(file_get_contents("/etc/version")), 0, 3);
                   	if ($pfs_version == '2.2') {
                  
                  

                  (Save the siproxd configuration after patching.)

                  Hi,

                  I have not checked this thread for a while. Will try the fix tonight.

                  When will the next siproxd update be available via the pfsense package manager?

                  Thank you doktormotor!!!

                  Cheers.

                  EDIT: Applied the patch and its working perfect! Thanks again!!!

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    doktornotor Banned
                    last edited by

                    @eddi1984:

                    When will the next siproxd update be available via the pfsense package manager?

                    Whenever someone merges https://github.com/pfsense/pfsense-packages/pull/1190 - have no influence on that, sorry.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SaschaITM
                      last edited by

                      ~~I've noticed siproxd not working on my system (softphones not ringing), so I've searched via Google and found this thread. After installing the patch siproxd started working again. A few minutes later I saw an updated pfSense package, uninstalled the patch, and installed the new package. siproxd is still working, but it doesn't display anything in the "registered phones" tab, even though the phones seem to be registered. I've already tried the obvious stuff (uninstall/reinstall package, save package config, reboot pfSense, re-register softphones, etc.).

                      EDIT: after a bit of rebooting and reconnecting softphones two entries show up in the "registered phones" tab, even though three phones are registered and working. Not sure if this a cosmetic issue or something else.~~

                      Please disregard for now, seems to be an issue on my side.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        doktornotor Banned
                        last edited by

                        Merged.

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          Cartman316
                          last edited by

                          Thank you.

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