Navigation

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

    Dansguardian fails after update

    pfSense Packages
    4
    7
    2913
    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
      thestealth last edited by

      Hi All,

      I was running pfSense 2.1.0 i386 without any problems. Upgraded to 2.1.2 to patch for heartbleed. Now the Dansguardian service does not start. I have removed and reinstalled the package to no avail. Here is the logs related to the error:

      Apr 15 08:57:59	php: /pkg_mgr_install.php: The command '/usr/local/etc/rc.d/dansguardian.sh start' returned exit code '1', the output was 'kern.ipc.somaxconn: 16384 -> 16384 kern.maxfiles: 131072 -> 131072 kern.maxfilesperproc: 104856 -> 104856 kern.threads.max_threads_per_proc: 4096 -> 4096 Starting dansguardian. Error binding ipc server file (try using the SysV to stop DansGuardian then try starting it again or doing an 'rm /tmp/.dguardianipc'). Exiting with error /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian'
      Apr 15 08:57:59	root: /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian
      Apr 15 08:57:59	dansguardian[77820]: Exiting with error
      Apr 15 08:57:59	dansguardian[77820]: Error binding ipc server file (try using the SysV to stop DansGuardian then try starting it again or doing an 'rm /tmp/.dguardianipc').
      Apr 15 08:57:59	php: /pkg_mgr_install.php: Starting Dansguardian
      

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • B
        Brak last edited by

        Error binding urllistsock server file (try using the SysV to stop DansGuardian then try starting it again or doing an 'rm /tmp/.dguardianurlipc').
        Exiting with error
        /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian

        In case anyone else has this issue like I also did, try this.

        rm /tmp/.dguardian*
        

        Even though the error message tells you to delete a certain file, it is unaware there is actually 3 files that cause the same issue in that folder.

        2.1.5-RELEASE][root@fringebox.bchs]/tmp(25): ls
        .dguardianipc         
        .dguardianipipc       
        .dguardianurlipc
        
        1 Reply Last reply Reply Quote 0
        • I
          ipfftw last edited by

          I have the same problem. is there no fix yet? I keep forgetting to do this and people lose internet access because the proxy is down, as dansguardian cannot start if those files are there. This happens every time I updated pfsense or restart it so you would think i would remember but i never do!!!

          
          Cd /tmp
          rm .d*
          /usr/local/etc/rc.d/dansguardian.sh start
          

          I just figured out that i can automate this with the package "shellcmd".

          The string I am using is:

          rm /tmp/.d* && /usr/local/etc/rc.d/dansguardian.sh start
          

          I believe that will run the two commands back to back. I havent tested it yet, but maybe i will tomorrow morning.

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

            @ipfftw:

            I have the same problem. is there no fix yet?

            No sh*t, there's no fix yet when noone reported it properly on Redmine for years…

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

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

              Fixed in pkg v0.1.13

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

                Ok well no need to swear about it!

                Thank you very much for fixing it.
                Sometimes people don't report things, it was a minor thing because as you know, rebooting pfsense doesn't happen very often what with it being rock solid. just a minor annoyance but im glad its fixed. Always prefer to use the forums then github or anything like that, incase its not really a bug.

                for anyone else who has this problem, go into installed packages and re-run the package install. that will serve to update the package and your config will be preserved. My work around did work as well, i just tested it this AM.

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

                  The point here is: there are hundreds of new threads here every day; when you have a verified bug, file it @ https://redmine.pfsense.org/projects/pfsense-packages/issues/new - developers won't be digging for bugs here at the forum, noone has time for that.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post