[root@email ~]# netstat -anp | grep 53 tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2327/dnscache
tcp 0 0 192.168.0.200:110 182.72.16.53:49867 TIME_WAIT - tcp 0 14053 192.168.0.200:993 192.168.0.1:49447 ESTABLISHED 18706/imap-login tcp 0 200 ::ffff:192.168.0.200:22 ::ffff:115.111.32.170:53548 ESTABLISHED 18850/1 udp 0 0 127.0.0.1:53 0.0.0.0:* 2327/dnscache udp 0 0 0.0.0.0:5353 0.0.0.0:* 2878/avahi-daemon: udp 0 0 :::5353 :::* 2878/avahi-daemon: unix 2 [ ACC ] STREAM LISTENING 6653 2209/acpid /var/run/acpid.socket unix 3 [ ] STREAM CONNECTED 516753 18707/imap-login unix 3 [ ] STREAM CONNECTED 507529 17053/imap unix 3 [ ] STREAM CONNECTED 499453 2790/anvil /var/run/dovecot/anvil unix 3 [ ] STREAM CONNECTED 6539 2123/dbus-daemon /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 6538 2132/hcid From: Craig McLaughlin [mailto:[email protected]] Sent: Friday, January 03, 2014 9:51 AM To: [email protected] Subject: RE: [qmailtoaster] Pdns error: 127.0.0.1: Address already used Run 'netstat -anp' and look for port 53. The last column will tell you the binary listening on that port. Please note this command option needs be run by root. On Jan 2, 2014 9:07 PM, "Linux" <[email protected]> wrote: Dan, Still I am facing the same. Before I post this comment on list, checked everything like named service and bind. No packages of named and bind installed on my server. Regards, Vivek Patil system admin From: Dan McAllister [mailto:[email protected]] Sent: Thursday, January 02, 2014 7:49 PM To: [email protected] Subject: Re: [qmailtoaster] Pdns error: 127.0.0.1: Address already used Vivek Patil The nmap report shows that SOMETHING is already listening on port 53 (note: the error says that the socket for port 53 at address 127.0.0.1 is already in use ... what they mean by "address" would be more clearly written as 127.0.0.1:53 so as not to confuse you into thinking that ALL of 127.0.0.1 was "in use"). Typically, COS comes with a BIND installation -- so you will need to, at a minimum, turn that off: chkconfig named off ; service named stop Then try starting your pdns recursor.... If that solves the problem, then you can get rid of bind altogether (although, there are a number of DNS utilities that I personally like to have, so I personally keep BIND on the server, even if I am running a pdns recursor instead of BIND). Still, if you must, you can remove BIND with: yum erase named I hope this helps :) Dan McAllister On 1/1/2014 11:18 PM, Linux wrote: Hi All, I installed pdns-recursor, but when I started the service it give me an error as, Jan 2 09:43:45 email pdns_recursor[5042]: PowerDNS recursor 3.1.5 (C) 2001-2008 PowerDNS.COM BV (Apr 1 2008, 11:52:14, gcc 4.1.2 20070626 (Red Hat 4.1.2-14)) starting up Jan 2 09:43:45 email pdns_recursor[5042]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2. Jan 2 09:43:45 email pdns_recursor[5042]: Operating in 32 bits mode Jan 2 09:43:45 email pdns_recursor[5042]: Reading random entropy from '/dev/urandom' Jan 2 09:43:45 email pdns_recursor[5042]: Only allowing queries from: 127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 Jan 2 09:43:45 email pdns_recursor[5042]: Will not send queries to: 127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 Jan 2 09:43:45 email pdns_recursor[5042]: Inserting rfc 1918 private space zones Jan 2 09:43:45 email pdns_recursor[5042]: Exception: Resolver binding to server socket on port 53 for 127.0.0.1: Address already in use My namp report as, PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 110/tcp open pop3 111/tcp open rpcbind 143/tcp open imap 443/tcp open https 587/tcp open submission 631/tcp open ipp 783/tcp open spamassassin 993/tcp open imaps 999/tcp open garcon 3306/tcp open mysql 8443/tcp open https-alt 10000/tcp open snet-sensor-mgmt Regards, Vivek Patil system admin -- IT4SOHO, LLC 33 - 4th Street N, Suite 211 St. Petersburg, FL 33701-3806 CALL TOLL FREE: 877-IT4SOHO 877-484-7646 Phone 727-647-7646 Local 727-490-4394 Fax We have support plans for QMail!
