Current time: 12-24-2024, 04:17 AM Hello There, Guest! (LoginRegister)


Post Reply 
DNS, AMaVis, POP3-SSL and Spamassasin down
Author Message
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #1
DNS, AMaVis, POP3-SSL and Spamassasin down
I've just installed IspCp daily snapshot version 1.0.3 on a clean Debian Lenny 5.0 32 bits system.

Everything works just fine, but the DNS service is down (Server status page indicates that). Also AMaVis, POP3-SSL and Spamassasin. I can't change DNS of any domain to my server and use it, because it shows that my server is not congfiured for the particular domain. So basically I guess the DNS Service isnt working. And the ones mentioned above.

However, in the terminal I get the following status:

Code:
r48:~# /etc/init.d/bind9 status
bind9 is running.

What should I do?
09-10-2009 10:48 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
Quote:/etc/init.d/bind9 stop
killall -9 named
/etc/init.d/bind9 start
grep named /var/log/syslog | tail -n 40

Post the resulting output Wink
(This post was last modified: 09-10-2009 10:54 PM by kilburn.)
09-10-2009 10:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #3
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
Code:
r48:~# /etc/init.d/bind9 stop
Stopping domain name service...: bind9 waiting for pid 29561 to die.

Code:
r48:~# killall -9 named
named: nie zabito żadnego procesu (Translation - named: no procces was killed)

Code:
r48:~# /etc/init.d/bind9 start
Starting domain name service...: bind9.

Code:
r48:~# grep named /var/log/syslog | tail -n 40
Sep  9 22:49:19 stock named[29561]: zone admin.r27248.ovh.net/IN: sending notifies (serial 2009090900)
Sep  9 22:49:19 stock named[29561]: zone cip-soft.pl/IN: sending notifies (serial 2009090900)
Sep  9 22:49:19 stock named[29561]: running
Sep 10 14:46:21 stock named[29561]: unexpected RCODE (SERVFAIL) resolving '203.17.254.77.in-addr.arpa/PTR/IN': 193.0.0.193#53
Sep 10 14:55:25 stock named[29561]: received control channel command 'stop -p'
Sep 10 14:55:25 stock named[29561]: shutting down: flushing changes
Sep 10 14:55:25 stock named[29561]: stopping command channel on 127.0.0.1#953
Sep 10 14:55:25 stock named[29561]: no longer listening on 127.0.0.1#53
Sep 10 14:55:25 stock named[29561]: exiting
Sep 10 14:55:34 stock named[12473]: starting BIND 9.5.1-P3 -u bind
Sep 10 14:55:34 stock named[12473]: found 2 CPUs, using 2 worker threads
Sep 10 14:55:34 stock named[12473]: using up to 4096 sockets
Sep 10 14:55:34 stock named[12473]: loading configuration from '/etc/bind/named.conf'
Sep 10 14:55:34 stock named[12473]: max open files (1024) is smaller than max sockets (4096)
Sep 10 14:55:34 stock named[12473]: using default UDP/IPv4 port range: [1024, 65535]
Sep 10 14:55:34 stock named[12473]: using default UDP/IPv6 port range: [1024, 65535]
Sep 10 14:55:34 stock named[12473]: no IPv6 interfaces found
Sep 10 14:55:34 stock named[12473]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 10 14:55:34 stock named[12473]: automatic empty zone: 254.169.IN-ADDR.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: D.F.IP6.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: 8.E.F.IP6.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: 9.E.F.IP6.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: A.E.F.IP6.ARPA
Sep 10 14:55:34 stock named[12473]: automatic empty zone: B.E.F.IP6.ARPA
Sep 10 14:55:34 stock named[12473]: command channel listening on 127.0.0.1#953
Sep 10 14:55:34 stock named[12473]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 10 14:55:34 stock named[12473]: zone 127.in-addr.arpa/IN: loaded serial 1
Sep 10 14:55:34 stock named[12473]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 10 14:55:34 stock named[12473]: zone localhost/IN: loaded serial 2
Sep 10 14:55:34 stock named[12473]: zone admin.r27248.ovh.net/IN: loaded serial 2009090900
Sep 10 14:55:34 stock named[12473]: zone cip-soft.pl/IN: loaded serial 2009090900
Sep 10 14:55:34 stock named[12473]: zone test.ntm4.pl/IN: loaded serial 2009090900
Sep 10 14:55:34 stock named[12473]: zone test.ntm4.pl/IN: sending notifies (serial 2009090900)
Sep 10 14:55:34 stock named[12473]: zone admin.r27248.ovh.net/IN: sending notifies (serial 2009090900)
Sep 10 14:55:34 stock named[12473]: zone cip-soft.pl/IN: sending notifies (serial 2009090900)
Sep 10 14:55:34 stock named[12473]: running


[Image: status.jpg]
(This post was last modified: 09-10-2009 11:01 PM by Cdmar.)
09-10-2009 10:58 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
DNS seems to be working properly. Maybe you've set it so it doesn't listen in 127.0.0.1? What is the output of:

Code:
netstat -tlnp | grep named
09-10-2009 11:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #5
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
Code:
r48:~# netstat -tlnp | grep named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      12473/named
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      12473/named

Maybe I've set incorrect IP Number? because my server has two IPs. One, and the second is fail-over which I've actually used. I've added DNS2 to server status, providing local ip number (127.0.0.1) and it shows DNS on port 53 as "UP". But I still cant add or use any domains. Should I reinstall it providing the first, base IP Number? Or maybe I should have provided IP of the secondary DNS during install?
(This post was last modified: 09-10-2009 11:13 PM by Cdmar.)
09-10-2009 11:01 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
Okay, your dns server is setup to listen only on localhost. See the bind/your distro's docs on how to change it so it listents on all the machine interfaces. By the way, which distro/version do you use?
(This post was last modified: 09-10-2009 11:13 PM by kilburn.)
09-10-2009 11:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #7
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
Debian Lenny 5.0 32 Bits

Also, when I go to manage IPs I have the following message:

"File /proc/net/dev does not exists or cannot be reached !Error while trying to obtain list of network cards!Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
Return value: 1"
(This post was last modified: 09-10-2009 11:17 PM by Cdmar.)
09-10-2009 11:13 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
Quote:grep -Ri listen.on /etc/bind
Wherever the line is, comment it out...
09-10-2009 11:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #9
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
(09-10-2009 11:18 PM)kilburn Wrote:  
Quote:grep -Ri listen.on /etc/bind
Wherever the line is, comment it out...



Alright, DNS seems to be working fine at the moment, thanks Smile

When the install asked me about my FQHN/FQDN i provided ntm4.pl instead of my full server name that is name.ovh.net . When I try to change DNS of that domain (ntm4.pl), it says that my server is not configured for this particular domain. What should I change? And what about the rest, AMaVIS, POP3-SSL and Spamassasin, are those important to work?
09-10-2009 11:24 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #10
RE: DNS, AMaVis, POP3-SSL and Spamassasin down
just add "ntm4.pl" as a client domain and this should be enough.

The other services are not required, so you can safely remove them from that page if you prefer. On the other hand, if you want an antispam solution, search this forum where some ppl explained how to setup amavis Smile
(This post was last modified: 09-11-2009 12:13 AM by kilburn.)
09-11-2009 12:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)