Dansguardian service fails to start



  • 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'



  • no one?



  • @asterix:

    no one?

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



  • 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



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

    Do you have other packages installed?



  • Yes, Squid, Snort, HAVP.



  • @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.



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



  • @asterix:

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

    yes, maybe with -f .


Locked