HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Mydns-ng problem, port 53 already in use. (http://www.howtoforge.com/forums/showthread.php?t=32397)

jerek 13th March 2009 09:38

Mydns-ng problem, port 53 already in use.
 
Hi to all peeps around ,ive been fighting with this problem now around 20 hours and i cant manage this alone, coz i am linux newbie

So i reinstalled vps 2 times in row coz this problem. i followed the installation instructions for ispconfig 3 etc. Problem is that i uninstalled bind9 + killed the process and then reboot. after that i installed mydns but still this problem exists. I would be nice if someone of you gurus would lookthis and give some hints. :P .


It wont update nameserver records at all and dnscheck fails.



edit:
System is ubuntu 8.0.4.2

mydns -v
Quote:

mydns[19710]: AXFR is enabled
mydns[19710]: TCP ports are enabled
mydns[19710]: DNS UPDATE is enabled
mydns[19710]: DNS NOTIFY is not enabled
mydns[19710]: DNS IXFR is not enabled
mydns[19710]: optional 'xfer' column found in 'dns_soa' table
mydns[19710]: ipv4_listerner: bind on socket 6 (TCP) failed: 127.0.0.1+53: Address already in use
then ps -A

Code:


       
Quote:

       
       
               
       
       

                       

                       
                                ps -A
  PID TTY          TIME CMD
    1 ?        00:00:00 init
12021 ?        00:00:00 syslogd
12052 ?        00:00:00 sshd
12090 ?        00:00:01 amavisd-new
12123 ?        00:00:00 mysqld_safe
12165 ?        00:00:00 mysqld
12167 ?        00:00:00 logger
12173 ?        00:00:00 amavisd-new
12174 ?        00:00:00 amavisd-new
12243 ?        00:00:02 spamd
12270 ?        00:00:00 courierlogger
12271 ?        00:00:00 authdaemond
12272 ?        00:00:00 authdaemond
12273 ?        00:00:00 authdaemond
12274 ?        00:00:00 authdaemond
13313 ?        00:00:00 courierlogger
13314 ?        00:00:00 couriertcpd
13334 ?        00:00:00 courierlogger
13335 ?        00:00:00 couriertcpd
13336 ?        00:00:00 authdaemond
13337 ?        00:00:00 authdaemond
13350 ?        00:00:00 courierlogger
13351 ?        00:00:00 couriertcpd
13370 ?        00:00:00 courierlogger
13371 ?        00:00:00 couriertcpd
13375 ?        00:00:00 mydns
13388 ?        00:00:00 mydns
13442 ?        00:00:00 master
13444 ?        00:00:00 qmgr
13445 ?        00:00:00 pickup
13464 ?        00:00:00 spamd
13465 ?        00:00:00 spamd
13466 ?        00:00:00 nmbd
13468 ?        00:00:00 smbd
13490 ?        00:00:00 smbd
13494 ?        00:00:00 saslauthd
13495 ?        00:00:00 saslauthd
13496 ?        00:00:00 saslauthd
13497 ?        00:00:00 saslauthd
13498 ?        00:00:00 saslauthd
13513 ?        00:00:00 xinetd
13648 ?        00:00:00 proftpd
13662 ?        00:00:00 atd
13673 ?        00:00:00 cron
13697 ?        00:00:00 apache2
13708 ?        00:00:00 sh
13709 ?        00:00:00 vlogger
13715 ?        00:00:01 fail2ban-server
13717 ?        00:00:00 apache2
13896 ?        00:00:00 tlsmgr
14041 ?        00:00:00 sshd
14115 pts/0    00:00:00 bash
15516 ?        00:00:00 apache2
19765 ?        00:00:00 smtpd
19767 ?        00:00:00 anvil
19799 pts/0    00:00:00 ps
                       
                       

               


And for some netstat -tap &
Quote:

Code:

netstat -napt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address          Foreign Address        State      PID/Program name
tcp        0      0 0.0.0.0:25              0.0.0.0:*              LISTEN      13442/master
tcp        0      0 0.0.0.0:443            0.0.0.0:*              LISTEN      13697/apache2
tcp        0      0 0.0.0.0:445            0.0.0.0:*              LISTEN      13468/smbd
tcp        0      0 127.0.0.1:10024        0.0.0.0:*              LISTEN      12090/amavisd (mast
tcp        0      0 127.0.0.1:10025        0.0.0.0:*              LISTEN      13442/master
tcp        0      0 127.0.0.1:3306          0.0.0.0:*              LISTEN      12165/mysqld
tcp        0      0 0.0.0.0:139            0.0.0.0:*              LISTEN      13468/smbd
tcp        0      0 127.0.0.1:783          0.0.0.0:*              LISTEN      12243/spamd.pid
tcp        0      0 0.0.0.0:8080            0.0.0.0:*              LISTEN      13697/apache2
tcp        0      0 0.0.0.0:80              0.0.0.0:*              LISTEN      13697/apache2
tcp        0      0 0.0.0.0:113            0.0.0.0:*              LISTEN      13513/xinetd
tcp        0      0 87.118.125.105:53      0.0.0.0:*              LISTEN      13375/mydns
tcp        0      0 87.118.124.105:53      0.0.0.0:*              LISTEN      13375/mydns
tcp        0      0 127.0.0.1:53            0.0.0.0:*              LISTEN      13375/mydns
tcp        0      0 127.0.0.1:50495        127.0.0.1:3306          ESTABLISHED 12173/amavisd (ch1-
tcp        0      0 127.0.0.1:3306          127.0.0.1:50495        ESTABLISHED 12165/mysqld
tcp6      0      0 :::993                  :::*                    LISTEN      13335/couriertcpd
tcp6      0      0 :::995                  :::*                    LISTEN      13371/couriertcpd
tcp6      0      0 :::110                  :::*                    LISTEN      13351/couriertcpd
tcp6      0      0 :::143                  :::*                    LISTEN      13314/couriertcpd
tcp6      0      0 :::21                  :::*                    LISTEN      13648/proftpd: (acc
tcp6      0      0 ::1:53                  :::*                    LISTEN      13375/mydns
tcp6      0      0 :::22                  :::*                    LISTEN      12052/sshd
tcp6      0      0 87.118.124.105:22      212.54.20.123:2416      ESTABLISHED 14041/0



jerek 13th March 2009 10:27

Well into dns shows this kind of messages when trying to dnscheck :/

Quote:

Error Missing nameservers reported by parent FAIL: The following nameservers are listed at your nameservers as nameservers for your domain, but are not listed at the parent nameservers (see RFC2181 5.4.1). You need to make sure that these nameservers are working.If they are not working ok, you may have problems!
ns2.*.org.*.org
ns.*.org.*.org
Error Missing nameservers reported by your nameservers ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:
ns2.*.org
ns.*.org
This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example).
Omg,i am so stupid...
:)

well problem was badly configured dns records,

Remember peeps to use dig : dig @localhost NS example.org

mine dig for ns was this:

dig @localhost NS *.org

Quote:

; <<>> DiG 9.4.2-P2 <<>> @localhost NS *.org
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46088
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;*.org. IN NS

;; ANSWER SECTION:
*.org. 86400 IN NS ns.*.org.*.org.
*.org. 86400 IN NS ns2.*.org.*.org.

;; Query time: 47 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 13 09:19:45 2009
;; MSG SIZE rcvd: 82

and correct one is this :

Quote:

dig @localhost NS finreactor.org

; <<>> DiG 9.4.2-P2 <<>> @localhost NS *.org
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31093
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;*.org. IN NS

;; ANSWER SECTION:
*.org. 86400 IN NS ns.*.org.
*.org. 86400 IN NS ns2.*.org.

;; ADDITIONAL SECTION:
ns.*.org. 86400 IN A 87.118.124.105
ns2.*.org. 86400 IN A 87.118.125.105

;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 13 09:32:13 2009
;; MSG SIZE rcvd: 99


All times are GMT +2. The time now is 13:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.