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

    Dansguardian service fails to start

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 2 Posters 2.7k 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.
    • A
      asterix
      last edited by

      Fresh install. Getting this error in the sys logs

      php: /pkg_edit.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. std::bad_alloc Error parsing the dansguardian.conf file or other DansGuardian configuration files /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian'

      1 Reply Last reply Reply Quote 0
      • A
        asterix
        last edited by

        no one?

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          @asterix:

          no one?

          Check and save all dansguardian config tabs first, then try to restart it.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • A
            asterix
            last edited by

            Tried that. Even did a clean pfSense install and clicked save on all tabs.

            Now it shows

            Nov 20 17:45:53 php: /pkg_edit.php: Creating root certificate bundle hashes from the Mozilla Project
            Nov 20 17:45:53 dansguardian[44432]: Error parsing the dansguardian.conf file or other DansGuardian configuration files
            Nov 20 17:45:53 php: /pkg_edit.php: Starting Dansguardian
            Nov 20 17:45:53 check_reload_status: Syncing firewall

            I am on vmware amd64

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              Bad alloc means problems between pcre lib version 8.3 a dansguardian.

              Do you have other packages installed?

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • A
                asterix
                last edited by

                Yes, Squid, Snort, HAVP.

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  @asterix:

                  Yes, Squid, Snort, HAVP.

                  Snort updates pcre to 8.3, few days ago somebody posted a workaround(remove pcre 8.3 and reinstall dansguardian) for it.

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • A
                    asterix
                    last edited by

                    ok, what would be the pkg_delete command for removing pcre 8.3?

                    1 Reply Last reply Reply Quote 0
                    • marcellocM
                      marcelloc
                      last edited by

                      @asterix:

                      ok, what would be the pkg_delete command for removing pcre 8.3?

                      yes, maybe with -f .

                      Treinamentos de Elite: http://sys-squad.com

                      Help a community developer! ;D

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