Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 16th September 2009, 11:25
soch soch is offline
Junior Member
 
Join Date: Sep 2009
Posts: 23
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Run this command directly on the server and post the output:

dig @localhost domain1.com
# dig @localhost domain1.com --> edited to domain1

; <<>> DiG 9.5.1-P2 <<>> @localhost domain1.com
; (2 servers found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 38765
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;domain1.com. IN A

;; Query time: 115 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 16 02:23:33 2009
;; MSG SIZE rcvd: 34
Reply With Quote
Sponsored Links
  #12  
Old 16th September 2009, 11:30
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,388
Thanks: 833
Thanked 5,485 Times in 4,317 Posts
Default

Ok, looks as if no dns server is running. Then run the command and post the output:

netstat -tap | grep dns
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 16th September 2009, 11:32
soch soch is offline
Junior Member
 
Join Date: Sep 2009
Posts: 23
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Ok, looks as if no dns server is running. Then run the command and post the output:

netstat -tap | grep dns
Yup. No data returned:
root@Bada:~# netstat -tap | grep dns
root@Bada:~#
root@Bada:~# vi /etc/init.d/mydns
root@Bada:~# ls -l /etc/init.d/mydns
-rwxr-xr-x 1 root root 1402 2009-09-03 10:42 /etc/init.d/mydns
root@Bada:~# update-rc.d mydns defaults
update-rc.d: warning: /etc/init.d/mydns missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
System startup links for /etc/init.d/mydns already exist.
root@Bada:~#

Last edited by soch; 16th September 2009 at 11:39.
Reply With Quote
  #14  
Old 16th September 2009, 11:36
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,388
Thanks: 833
Thanked 5,485 Times in 4,317 Posts
Default

Run:

/etc/init.d/mydns start
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 16th September 2009, 11:43
soch soch is offline
Junior Member
 
Join Date: Sep 2009
Posts: 23
Thanks: 6
Thanked 0 Times in 0 Posts
Default

root@Bada:~# /etc/init.d/mydns start
Starting DNS server: mydns.

root@Bada:~# netstat -tap | grep dns
root@Bada:~# /etc/init.d/mydns start
Starting DNS server: mydns.
root@Bada:~# netstat -tap | grep dns
root@Bada:~#

Is mydns crashing?

Last edited by soch; 16th September 2009 at 11:48.
Reply With Quote
  #16  
Old 16th September 2009, 13:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 16th September 2009, 18:20
soch soch is offline
Junior Member
 
Join Date: Sep 2009
Posts: 23
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
netstat -tap
?

Code:
root@server1:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                                                                    PID/Program name
tcp        0      0 *:npmp-gui              *:*                     LISTEN                                                                                                   2554/ypbind
tcp        0      0 server1.domain1:10024 *:*                     LISTEN                                                                                                   2709/amavisd (maste
tcp        0      0 server1.domain1:10025 *:*                     LISTEN                                                                                                   3527/master
tcp        0      0 *:mysql                 *:*                     LISTEN                                                                                                   2786/mysqld
tcp        0      0 server1.domain1:spamd *:*                     LISTEN                                                                                                   2868/spamd.pid
tcp        0      0 *:sunrpc                *:*                     LISTEN                                                                                                   2196/portmap
tcp        0      0 *:http-alt              *:*                     LISTEN                                                                                                   499/apache2
tcp        0      0 *:www                   *:*                     LISTEN                                                                                                   499/apache2
tcp        0      0 *:ftp                   *:*                     LISTEN                                                                                                   3543/pure-ftpd (SER
tcp        0      0 *:ssh                   *:*                     LISTEN                                                                                                   2505/sshd
tcp        0      0 server1.domain1.c:ipp *:*                     LISTEN                                                                                                   3890/cupsd
tcp        0      0 *:smtp                  *:*                     LISTEN                                                                                                   3527/master
tcp        0      0 server1.domain1.c:953 *:*                     LISTEN                                                                                                   2479/named
tcp        0      0 *:https                 *:*                     LISTEN                                                                                                   499/apache2
tcp        0      0 server1.domain1:mysql server1.domain1:53718 ESTABLISHED                                                                                              2786/mysqld
tcp        0    300 server1.domain1.c:ssh 192.168.1.4:2958        ESTABLISHED                                                                                              7112/0
tcp        0      0 server1.domain1:53718 server1.domain1:mysql ESTABLISHED                                                                                              2810/amavisd (ch2-a
tcp       58      0 server1.domain1:40667 server1.domain1:10025 CLOSE_WAIT                                                                                               2811/amavisd (ch1-a
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN                                                                                                   3394/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN                                                                                                   3438/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN                                                                                                   3413/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN                                                                                                   3369/couriertcpd
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN                                                                                                   3543/pure-ftpd (SER
tcp6       0      0 [::]:domain             [::]:*                  LISTEN                                                                                                   2479/named
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN                                                                                                   2505/sshd
tcp6       0      0 localhost:ipp           [::]:*                  LISTEN                                                                                                   3890/cupsd
tcp6       0      0 localhost:953           [::]:*                  LISTEN                                                                                                   2479/named


Following 2 entries didn't have the full names of the domain. The last character of the domain name was truncated

tcp        0      0 server1.XXXXXX:domain *:*                     LISTEN                                                                                                   2479/named
tcp        0      0 server1.xxxxxx:domain *:*                     LISTEN                                                                                                   2479/named
root@server1:~#


So if domain name was domainXYZ the above two "named" entries were:

tcp 0 0 server1.domainXY:domain *:* LISTEN 2479/named
tcp 0 0 server1.domainXY:domain *:* LISTEN 2479/named

Is that the problem?

Last edited by soch; 18th September 2009 at 20:29.
Reply With Quote
  #18  
Old 17th September 2009, 13:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

named (aka BIND) is running, therefore MyDNS cannot be started. Please stop BIND and start MyDNS.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
soch (18th September 2009)
  #19  
Old 17th September 2009, 21:30
soch soch is offline
Junior Member
 
Join Date: Sep 2009
Posts: 23
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
named (aka BIND) is running, therefore MyDNS cannot be started. Please stop BIND and start MyDNS.
Thanks I did that. Same problem.

root@Server1:/# netstat -tap | grep dns
tcp 0 0 server1.domainXY:domain *:* LISTEN 11644/mydns
tcp 0 0 server1.domainXY:domain *:* LISTEN 11644/mydns
tcp6 0 0 localhost:domain [::]:* LISTEN 11644/mydns
root@server1:#

Why is the domain name truncated? domainXY instead of domainXYZ
Reply With Quote
  #20  
Old 18th September 2009, 14:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

But now MyDNS is running. Isn't that what you wanted?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
Can't access my website "the normal way" LinuxDuud General 3 13th December 2006 10:59
access website via intranet resnostyle General 1 29th October 2006 19:03
Website access by IP gundamf90 Installation/Configuration 3 28th October 2006 17:12
ISPConfig slow on external access mphayesuk General 7 17th August 2006 10:28


All times are GMT +2. The time now is 12:32.


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