Error Creating Dns Resolver Socket
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error Message from DnsResolver.pm after removing IPv6 up vote -1 down vote favorite After removing IPv6 (to get KVM working) from /etc/network/interfaces, I'm getting lately the following error: error creating a DNS resolver socket: Network is unreachable at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 235. Any idea on how to fix this problem? I'm using Debian Wheezy. domain-name-system debian debian-wheezy spamassassin share|improve this question edited Dec 22 '14 at 9:48 masegaloeh 14.1k72566 asked Dec 17 '14 at 14:35 Fadi Asbih 165 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Commenting out the ip6 from /etc/resolv.conf solved the issue. # nameserver config nameserver 213.133.100.100 nameserver 213.133.98.98 nameserver 213.133.99.99 #nameserver 2a01:4f8:0:a111::add:9898 #nameserver 2a01:4f8:0:a102::add:9999 #nameserver 2a01:4f8:0:a0a1::add:1010 share|improve this answer answered Dec 22 '14 at 9:44 Fadi Asbih 165 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged domain-name-system debian debian-wheezy
| Forgot Password Login: [x] Wiki . Forums . Bugs . Translation | Search . Simple . Advanced | Reports . Help | Matrix . 8.x . 9.x . 10.x . Recent . Contribs Bug3839 - RBL Failing - Error creating a DNS resolver socket: Network is unreachable. Summary: RBL Failing - Error creating a DNS resolver socket: Network is unreachable. Status: CLOSED WONTFIX Alias: None Product: SME Server 7.X Classification: SME Server Component: Unknown (show other bugs) Version: 7.3 Hardware: --- --- Importance: P3 normal Target Milestone: --- Assignee: http://serverfault.com/questions/653204/error-message-from-dnsresolver-pm-after-removing-ipv6 SME Server bug team QA Contact: SME Server bug team URL: Depends on: Blocks: Reported: 2008-01-31 02:28 CET by Paul Howard Modified: 2012-06-24 16:48 CEST (History) CC List: 8 users (show) compdoc dirk esmith gweight holckj ian mauro.de_carolis michael See Also: Package: --- Attachments Server History 1 (942 bytes, text/plain) 2008-01-31 04:04 CET, Paul Howard Details Detailed Server History of All Updates Applied Since Instalation https://bugs.contribs.org/show_bug.cgi?id=3839 (173.78 KB, text/plain) 2008-01-31 04:58 CET, Paul Howard Details Error Logged in Yum/yum.log 120125304 smeserver-qpsmtpd (8.09 KB, text/plain) 2008-01-31 05:55 CET, Paul Howard Details Spam Assassin "UseAutoWhiteList" reinstated RBL (?) (5.71 KB, text/plain) 2008-02-01 08:54 CET, Paul Howard Details strace output (27.68 KB, text/plain) 2008-07-26 19:41 CEST, Michael Doerner Details Spam Log Before and after Restart (3.70 KB, text/richtext) 2009-02-28 13:26 CET, Ian McIntyre Details Output from strace as suggested by Charlie (343.66 KB, application/x-gzip) 2009-12-05 06:52 CET, Jesper Holck Details Fragments of logfiles for spamd, dnscache, and dnscache.forwarder (43.63 KB, application/x-compressed-tar) 2009-12-09 15:04 CET, Jesper Holck Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Paul Howard 2008-01-31 02:28:10 CET Errors written in the spamd/current log seem to indicate that the RBL are failing. Extract of the log is detailed below from when the problem was first logged which was oon the 25th January 2008, previously was working fine. 2008-01-25 09:30:49.310455500 [2974] warn: Error creating a DNS resolver socket: Network is unreachable at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/DnsResolver.pm line 233. 2008-01-25 09:30:52.630018500 [2974] warn: razor2: razor2 check failed: No
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles only Posted by Member: https://forums.cpanel.net/threads/spamassassin-dns-resolver.49085/ Separate names with a comma. Newer Than: Search this thread only Search http://spamassassin.1065346.n5.nabble.com/AMaViS-SA-chrroted-Error-creating-a-DNS-resolver-socket-No-such-file-or-directory-td37935.html this forum only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with an entire community of cPanel & WHM users! cPanel Forums error creating > Server Administration and Customization > Bind / DNS / Nameserver Issues > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. SpamAssassin DNS Resolver Discussion in 'Bind / DNS / Nameserver Issues' started by edesignway, Jan 23, 2006. edesignway Well-Known Member Joined: Dec 4, 2001 error creating dns Messages: 96 Likes Received: 0 Trophy Points: 6 Hello, I am having an issue with the SpamAssassin DNS Resolver Socket. I have tried forcing the reinstall, manually uninstalling... no luck. Below is the result of the debug command... I am running CentOS 4.x with the latest release version of cPanel. Code: root@cody [/scripts]# spamassassin --lint -D [12520] dbg: logger: adding facilities: all [12520] dbg: logger: logging level is DBG [12520] dbg: generic: SpamAssassin version 3.1.0 [12520] dbg: config: score set 0 chosen. [12520] dbg: util: running in taint mode? yes [12520] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH [12520] dbg: util: PATH included '/usr/local/jdk/bin', keeping [12520] dbg: util: PATH included '/usr/kerberos/sbin', keeping [12520] dbg: util: PATH included '/usr/kerberos/bin', keeping [12520] dbg: util: PATH included '/usr/local/sbin', keeping [12520] dbg: util: PATH included '/usr/local/bin', keeping [12520] dbg: util: PATH included '/sbin', keeping [12520] dbg: util: PATH included '/bin', keeping [12520] dbg: util: PATH included '/usr/sbin', keeping [12520] dbg: util: PATH included '/usr/bin', keeping [12520] dbg: util: PATH included '/usr/X11R6/bin', keep
Schneider Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ AMaViS/SA chrroted: Error creating a DNS resolver socket: No such file or directory Hi, I tried to set up SA with AMaViS in a chrooted environment ($daemon_chroot_dir = $MYHOME). I (thought I) copied all necessary files to the jail but when SA is starting I get an error: Jul 10 10:44:02 TEG /usr/local/sbin/amavisd[6817]: SpamControl: initializing Mail::SpamAssassin Error creating a DNS resolver socket: No such file or directory at /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DnsResolver.pm line 227. Jul 10 10:44:05 TEG /usr/local/sbin/amavisd[6817]: SpamControl: init_pre_fork done Any idea what is missing? Thanks, Helmut Leon Kolchinsky Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ RE: AMaViS/SA chrroted: Error creating a DNS resolver socket: No such file or directory > Hi, > > I tried to set up SA with AMaViS in a chrooted environment > ($daemon_chroot_dir = $MYHOME). I (thought I) copied all necessary files > to > the jail but when SA is starting I get an error: > > Jul 10 10:44:02 TEG /usr/local/sbin/amavisd[6817]: SpamControl: > initializing > Mail::SpamAssassin > Error creating a DNS resolver socket: No such file or directory at > /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DnsResolver.pm line > 227. > Jul 10 10:44:05 TEG /usr/local/sbin/amavisd[6817]: SpamControl: > init_pre_fork done > > Any idea what is missing? > Do you have this /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DnsResolver.pm File in your chrooted environment? If not, copy it to $daemon_chroot_dir//usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DnsResolver.pm Regards, Leon Kolchinsky Helmut Schneider Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: AMaViS/SA chrroted: Error creating a DNS resolver socket: No such file or directory From: "Leon Kolchinsky" <[hidden email]> >> I tried to set up SA with AMaViS in a chrooted environment >> ($daemon_chroot_dir = $MYHOME). I (thought I) copied all necessary files >> to >> the jail but when SA is starting I get an error: >> Jul 10 10:44:02 TEG /usr/local/sbin/amavisd[6817]: SpamControl: >> initializing >> Mail::SpamAssassin >> Error creating a DNS resolver socket: No such file or directory at >> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DnsResolver.pm >> line 227. >> Jul 10 10:44:05 TEG /usr/local/sbin/amavisd[6817]: SpamControl: >> init_pre_fork done