Error Connecting Via Ipc To Log
just recently upgraded dansguardian (2.10-r1) and finally found the problem. I originally posted this issue in February on the Gentoo forums and didn't receive any response. Today, I found the problem and the fix. Below is an example of the logs: Nov 11 09:08:10 comp dansguardian[22266]: Error connecting via IPC socket to log: No such file or directory
Nov 11 09:08:21 comp dansguardian[22262]: Error connecting via IPC socket to log: No such file or directory
Nov 11 09:08:22 comp dansguardian[22262]: Error connecting via IPC socket to log: No such file or directory
Nov 11 09:08:22 comp dansguardian[22267]: Error connecting via IPC socket to log: No such file or directory
Nov 11 09:08:22 comp dansguardian[22266]: Error connecting via ipc to url cache: No such file or directory
Nov 11 09:08:22 comp dansguardian[22266]: Error connecting via ipc to url cache: No such file or directory
Nov 11 09:08:22 comp dansguardian[22266]: Error connecting via IPC socket to log: No such file or directory
Nov 11 09:19:40 comp dansguardian[22262]: Error connecting via ipc to url cache: No such file or directory
Nov 11 09:19:40 comp dansguardian[22262]: Error connecting via IPC socket to log: No such file or directory
Nov 11 09:19:40 comp dansguardian[22263]: Error connecting via ipc to url cache: No such file or directory
Nov 11 09:19:41 comp dansguardian[22263]: Error connecting via ipc to url cache: No such file or directory
Nov 11 09:19:41 comp dansguardian[22263]: Error connecting via IPC socket to log: No such file or directory What I should have done originally was searched the dansguardian directory and sub-directories for instances of IPC. I found that IPC was referenced in dansguardian.conf, and found that the sockets were being created in /tmp. srwxr-xr-x 1 nobody nobody 0 Nov 11 10:12 .dguardianipc
srwxr-xr-x 1 nobody nobody 0 Nov 11 10:12 .dguardianurlipc That's when the light bulb appeared above my head. I use tmpreaper to clean out my /tmp folder. It will delete anything older than a day old. This is what was nuking my sockets. I added the following argument to my tmpreaper command: tmpreaper --all 1d --mtime --force --protect '.dguardian*' /tmp Everthing is much better now.If you found this post helpful, buy me a beer. admin's blog • Login to post comments Navigation blogs polls search Recent posts privacy policy Server Admin Dirvish Backup System PHP mail() in apache chroot Amavisd Quarantine with amavisnewsql squirrelmail plugi
Felipe
previous next » Print Pages: 1 ... 10 11 12 13 [14] 15 16 17 18 ... 33 Go Down Author Topic: Dansguardian package for 2.0 (Read 174225 times) 0 Members and 2 Guests are viewing this topic. dig1234 Jr. Member Posts: https://forum.pfsense.org/index.php?topic=43786.195 64 Karma: +0/-0 Re: Dansguardian package for 2.0 « Reply #195 on: April 24, https://kb.juniper.net/InfoCenter/index?page=content&id=KB23977 2012, 12:38:43 pm » Quote from: marcelloc on April 23, 2012, 01:29:32 pmdig1234,I've already included the ca-root package as well links to ca folder, can you test on a virtual machine if this patch results on the same point you got?Hi I tried this, fresh pfsense install on vmware, installed dans and squid, turned on cert check error connecting & mitm. Now I just get connection refused when trying https sites. Also in the logs I see dansguardian[17654]: error opening new certificate. So, no I am not at the same place.One thing I noticed is that you have added the 150 public certs to /etc/ssl but they are all in one file called cert.pem. Dans wants each one to be in a separate. Also they need to be named error connecting via with the hash value of the cert (or symlinks by that name). They should look something like this:ef2f636c.0f060240e.0f081611a.0f15719eb.0f3377b1b.0UPDATE:I turned off mitm and left cert checking turned on and didn't get any errors so maybe it is finding the certs. The problem now is with creation of the 'forged' certs.. Is there a way to get more verbose logging from dansguardian? « Last Edit: April 24, 2012, 12:50:23 pm by dig1234 » Logged abnz Newbie Posts: 9 Karma: +0/-0 Re: Dansguardian package for 2.0 « Reply #196 on: April 28, 2012, 03:25:26 am » I had issues and uninstalled DG, Squid, HAVP, reinstalled Dansguardian ----> HAVP ----> WWW, so no more squid. I now get in the system logs: Dans Guardian [xxxx} "Error connecting via IPC socket to log: No such file or directory"After a reboot Dansguardian doesnt start, it starts from web configurator fine, workd fine, just using ram I think and get this in the log quite frequently. Any one seen this? Logged dig1234 Jr. Member Posts: 64 Karma: +0/-0 Re: Dansguardian package for 2.0 « Reply #197 on: April 28, 2012, 09:36:33 pm » Quote from: abnz on April 28, 2012, 03:25:26 amAfter a reboot Dansguardian doesnt start, it starts from web configurator fine, workd fine, just usin
- China India 日本 - Japan 대한민국 - Korea 台灣 - Taiwan Remember my choice Solutions Products & Services Company Partners Support Education Community Security Intelligence Center Knowledge Center - Browse All Missing key: null Knowledge Base TechNotes Security Advisories Technical Bulletins Pages: 67 [ 1 2 3 4 5 … 67 | Next ] Status ID Title Views Last Updated Unread KB4741 [ScreenOS] NAT Traversal overview 284,463 1 hour ago Unread KB7007 [ScreenOS] How to filter and sort traffic or event logs 78,245 2 hours ago Unread KB4293 [ScreenOS] Configuring an interface with a Secondary IP address 90,832 2 hours ago Unread KB29280 [EX] Managing EX9200 devices using both Master's and Backup RE's management interface 52 3 hours ago Unread KB31081 [SRX] Example – Configure Ethernet Switching in SRX 140 4 hours ago Unread KB12337 [ScreenOS] SSG-5 and SSG-20 has ~ 80% Memory Utilization after an upgrade to ScreenOS 6.1.0 79,152 2 days ago Unread KB31160 [MX] Supportable egress-shaping-overhead range for MPC. 288 2 days ago Unread KB9243 [ScreenOS] How to Pass IPSec traffic through a Juniper Firewall when the Firewall is expected to NAT the IPSec traffic without port translation 253,525 2 days ago Unread KB9740 [ScreenOS] What is the difference between a subscription and a perpetual license for Juniper firewalls? 127,275 2 days ago Unread KB4896 [ScreenOS] How to interpret the output of 'get sa stat' command? 70,108 2 days ago Unread KB4132 [ScreenOS] How to configure a Phase 2 for VPN 62,787 2 days ago Unread KB6633 [ScreenOS] Where are messages shown after executing 'exec nsrp sync' related commands? 75,920 3 days ago Unread KB31122 [SRX] Blocking HTTPS sites using EWF (Enhanced Web Filtering) 312 3 days ago Unread KB30506 [Junos Space] How to reset the CLI admin password on a Junos Space 26,634 5 days ago Unread KB31158 Creating a Technical Support Case for AWS (Amazon Web Services) Cloud Marketplace Products 536 6 days ago Pages: 67 [ 1 2 3 4 5 &h