<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dansguardian doesn&#x27;t start]]></title><description><![CDATA[<p dir="auto">Hi everyone.</p>
<p dir="auto">Although i am new to the forum, i've been using and testing pfsense for quite some time and always managed to learn and solve my problems here. I feel this is an awesome community  and since this is my first post i'd like to present my respects and apreciation for all the work you are doing.</p>
<p dir="auto">Now to the point.</p>
<p dir="auto">I've been trying to install dansguardian package on a test machine for some days in the latest 2.1 snapshots, but never got it to work. My latest experience was with a clean install of 13-08-2012 snapshot and like all the others i'm always getting the same errors.</p>
<p dir="auto">System log:</p>
<pre><code>dansguardian[49112]: Error parsing the dansguardian.conf file or other DansGuardian configuration files
php: /pkg_edit.php: Starting Dansguardian
...
dansguardian[27130]: Error parsing the dansguardian.conf file or other DansGuardian configuration files
php: /pkg_edit.php: Starting Dansguardian
...
dansguardian[1745]: Error parsing the dansguardian.conf file or other DansGuardian configuration files

</code></pre>
<p dir="auto">Always the same message, only different codes</p>
<p dir="auto">In PHP_errors.log i get</p>
<pre><code>[14-Aug-2012 23:25:37 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:38 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:38 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:38 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:38 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:38 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:38 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:38 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:38 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:38 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:38 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:38 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:38 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:38 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:38 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:38 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:39 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:39 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:39 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:39 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:39 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:39 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:39 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:39 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:39 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:39 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:39 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:39 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:39 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:40 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:40 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:40 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:40 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:40 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:40 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:40 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:40 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:40 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:40 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:40 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:40 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:41 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:41 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:41 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:41 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:41 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:41 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:41 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:42 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:42 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:42 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:42 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:43 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:43 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:43 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:43 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:43 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:43 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:43 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:43 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:43 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:43 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:43 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:43 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:44 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:44 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:44 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:44 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76
[14-Aug-2012 23:25:49 UTC] PHP Warning:  file_get_contents(/usr/local/etc/clamd.conf): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 877
[14-Aug-2012 23:25:50 UTC] PHP Warning:  closedir() expects parameter 1 to be resource, null given in /usr/local/pkg/dansguardian.inc on line 69
[14-Aug-2012 23:25:50 UTC] PHP Warning:  file(/usr/local/share/certs/ca-root-nss.crt): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 74
[14-Aug-2012 23:25:50 UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/pkg/dansguardian.inc on line 76

</code></pre>
<p dir="auto">(It's not all here but i guess it's enough to get the point)</p>
<p dir="auto">This is from a clean install vmware esxi VM x64</p>
<p dir="auto">Already reinstalled, deleted and installed, installed squid and then dansguardian, dansguardian then squid, squid3 and some more things i can't remember.</p>
<p dir="auto">I hope someone can help me or point me in the right direction because i spent several hours searching the forums, reading and trying "everything" without success.</p>
<p dir="auto">I'm sorry if this is answered somewhere else but i really tried and couldn't find a solution.</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>https://forum.netgate.com/topic/47705/dansguardian-doesn-t-start</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 20:55:55 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/47705.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Aug 2012 01:22:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dansguardian doesn&#x27;t start on Thu, 16 Aug 2012 00:14:30 GMT]]></title><description><![CDATA[<p dir="auto">UPDATE</p>
<p dir="auto">Today i tried the same process but in the i386 version - same problems.</p>
<p dir="auto">After that i tried installing squid and HAVP (because of the clamav part) letting HAVP disabled, and after reboot i no longer had those errors in PHP_error.log.</p>
<p dir="auto">Now the thing is complaining that it can't open or create the log file.</p>
<pre><code>Error opening/creating log file. (check ownership and access rights).
I am running as nobody and I am trying to open /var/log/dansguardian/access.log
</code></pre>
<p dir="auto">Tried modifiing the permissions of /var/log/dansguardian/access.log but still i get the same error both in system logs as when i try to start dansguardian from the console.</p>
<p dir="auto">Any help??</p>
]]></description><link>https://forum.netgate.com/post/351650</link><guid isPermaLink="true">https://forum.netgate.com/post/351650</guid><dc:creator><![CDATA[POSTMAN]]></dc:creator><pubDate>Thu, 16 Aug 2012 00:14:30 GMT</pubDate></item></channel></rss>