Error Opening /etc/dansguardian/dansguardian.conf
WRT54GL Pages 1 You must login or register to post a reply RSS topic feed Posts: 9 1 Topic by ridius 2008-02-19 22:21:02 ridius Member Offline Registered: 2008-02-19 Posts: 6 Topic: Error using Dansguardian on WRT54GL Hello All,I only saw two posts here on my problem and neither helped me solve. I'm trying to use TinyProxy and Dansguardian on my WRT54GL with Kamikaze (7.09). I successfully installed (and am able to use) TinyProxy. I also installed Dansguardian using the packetprotector package at http://packetprotector.org/download/kam … mipsel.ipk. But whenever I start Dansguardian, I get the following error: root@OpenWrt:~# dansguardian Error opening filter group config: /etc/dansguardian/dansguardianf1.conf Error reading filter group conf file(s). Error parsing the dansguardian.conf file or other DansGuardian configuration files root@OpenWrt:~#I've noticed on another thread that someone had a similar issue that was related to memory, but I'm not receiving the memory error that that person was.Any idea's?Thanks in advance,Ridius 2 Reply by ridius 2008-02-20 09:40:16 ridius Member Offline Registered: 2008-02-19 Posts: 6 Re: Error using Dansguardian on WRT54GL Just to be a little more proactive, I did an strace on Dansguardian and here's what it came back with (at least, the last 75 lines of what it came back with):stat("/etc/dansguardian/lists/phraselists/badwords/weighted_spanish", {st_mode=S_IFREG|0644, st_size=1108, ...}) = 0 open("/etc/TZ", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/dansguardian/lists/phraselists/badwords/weighted_spanish", O_RDONLY) = 8 ioctl(8, TIOCNXCL, 0x7fff70e0) = -1 ENOTTY (Inappropriate ioctl for device) read(8, "#\n# Spanish Swear Words Weighted"..., 4095) = 1108 read(8, "", 4095) = 0 close(8) = 0 read(7, "weighted>\n#.Include
longer works « previous next » Print Pages: [1] Go Down Author Topic: V2.1.1 Dansguardian no longer works (Read 541 times) 0 Members and 1 Guest are viewing this topic. hansloki Newbie Posts: 2 Karma: +0/-0 V2.1.1 Dansguardian no longer works « on: April 08, 2014, 09:17:35 am » Hi EveryoneI upgraded to V2.1.1(i386) this morning and ever https://forum.openwrt.org/viewtopic.php?id=14580 since the dansguardian package no longer starts. Its status is just "stopped" with a red cross next to it. When i try to start it, it states that "dansguardian has been started" but its status remains stopped. I have tried uninstalling and reinstalling it https://forum.pfsense.org/index.php?topic=74832.0 but that did not work. Here are some info from the System Log:Apr 8 16:12:03 dansguardian[60236]: Error reading file /usr/pbi/dansguardian-i386/etc/dansguardian/lists/blacklists/virusinfected/domains: No such file or directoryApr 8 16:12:03 dansguardian[60236]: Error reading file /usr/pbi/dansguardian-i386/etc/dansguardian/lists/blacklists/virusinfected/domains: No such file or directoryApr 8 16:12:03 dansguardian[60236]: Error opening file: /usr/pbi/dansguardian-i386/etc/dansguardian/lists/blacklists/virusinfected/domainsApr 8 16:12:03 dansguardian[60236]: Error opening bannedsitelistApr 8 16:12:03 dansguardian[60236]: Error opening filter group config: /usr/pbi/dansguardian-i386/etc/dansguardian/dansguardianf1.confApr 8 16:12:03 dansguardian[60236]: Error reading filter group conf file(s).Apr 8 16:12:03 dansguardian[60236]: Error parsing the dansguardian.conf file or other DansGuardian configuration filesApr 8 16:12:03 root: /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardianAny ideas on how to get it back up and running ??Thanks in advance!! Logged rjcrowder Hero Member Posts: 648 Karma: +25/-0 Re: V2.1.1 Dansguardian no longer works « Reply #1 on: April 08, 2014, 09:33:12 am » I'v
2authplugin = /etc/dansguardian/authplugins/ip.confand copy /etc/dansguardian/dansguardianf1.conf to/etc/dansguardian/dansguardianf2.confand modify /etc/dansguardian/lists/authplugins/ipgroups as follow:172.16.1.88 = filter2but I failed to restart dansguardianI meet the following in /var/log/messagesError http://dansguardian.yahoogroups.narkive.com/yLDz9t1f/error-opening-filter-group-config-etc-dansguardian-dansguardianf2-conf opening filter group config: /etc/dansguardian/dansguardianf2.confError opening filter group conf file (s)Error parsing the dansguardian.conf file or other Dansguardian configurationfileWhat I missed? .. please helpThanks & RegardsWinanjaya Thiago Francisco Gibran Campos 2009-04-28 12:14:33 UTC PermalinkRaw Message Make sure you've not commented out or deleted any line ondansguardianf2.conf. You error opening can change your prefererences in the filesreferenced by dansguardianf2.conf.Thiago Campos.Manaus - Amazonas - BrazilPost by Winanjaya - CBNHello all,I made in /etc/dansguardian/dansguardian.conffiltergroups = 2authplugin = /etc/dansguardian/authplugins/ip.confand copy /etc/dansguardian/dansguardianf1.conf to/etc/dansguardian/dansguardianf2.conf172.16.1.88 = filter2but I failed to restart dansguardianI meet the following in /var/log/messagesError opening filter group config: /etc/dansguardian/dansguardianf2.confError opening error opening /etc/dansguardian/dansguardian.conf filter group conf file (s)Error parsing the dansguardian.conf file or other DansguardianconfigurationfileWhat I missed? .. please helpThanks & RegardsWinanjaya[Non-text portions of this message have been removed] Chuck Kollars 2009-04-28 16:30:53 UTC PermalinkRaw Message Post by Winanjaya - CBNand copy /etc/dansguardian/dansguardianf1.conf to/etc/dansguardian/dansguardianf2.conf/etc/dansguardian/dansguardianf2.confMost likely your new dansguardianf2.conf file picked up the wrong ownership/permissions. Use `ls -l dansguardianf1.conf` to display the ownerid, groupid, and permissions bits of dansguardianf1.conf. Then use `chown ...` (and `chgrp ...`) and `chmod ...` to make dansguardianf2.conf be the same as the existing dansguardianf1.conf.thanks! -Chuck Kollars Winanjaya - CBN 2009-04-29 01:03:33 UTC PermalinkRaw Message Hello,dansguardian.conf, dansguardianf1.conf and dansguardianf2.conf have the same owner (root) and also modes (-rw-------)please hlep..Thanks & RegardsWinanjaya----- Original Message -----From: Chuck KollarsTo: dansguardian-***@public.gmane.orgSent: Tuesday, April 28, 2009 11:30 PMSubject: [dansguardian] Re: Error opening filter group config: /etc/dansguardian/dansguardianf2.confPost by Winanjaya - CBNand copy /etc/dansguardian/dansguardianf1.conf to/etc/dansguardian/dansguardianf2.conf/etc/dansguardian/dansguardianf2.confMost li