Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-14-2011, 04:43 AM
Intermediate Member
 
Posts: 15
Default can't get access to server (pop, imap? web), but it works with smtp...

Hi all. I've got strange situation. A little pre history:
This weekend we had electricity outages. For long time. So UPS switched off the servers. Today on monday I'm late about half hour and other man in office restart both servers, switches and router with button to get the internet in office. And now:
Internet works,
DNS works,
Mail server works (u can check it here intoDNS: mmsystems.ru - check DNS server and mail server health)
It receive mail and can resent it to external hosts.
BUT no one in office can't access mail, by pop, imap, web interface. And I can't access admin interface.
We used zimbra about 2 years and this is first time we get the troubles.
I tried to restart server checked logs but can't understand what's happened.
Logs of server's start in attachment.
Ubuntu 8.04, last 6 version of Zimbra.
Some postfix warnings "not owned by root" as usual and new "zmmailboxdmgr[11993]: no manager process is running"
25 port works:
Code:
# netstat -luntp | grep 25
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      19644/master    
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      19644/master
# netstat -luntp | grep 110
# netstat -luntp | grep 7071
so 110 and 7071 just clear.
all ok with nslookup, hosts and external DNS..
Tried to reinstall zimbra server also.
Any ideas?
Attached Files
File Type: gz mail.tar.gz (3.8 KB, 1 views)
Reply With Quote
  #2 (permalink)  
Old 02-14-2011, 05:06 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Please update your forum profile with the output of the following command (do not post the output in this thread):

Code:
zmcontrol -v
Quote:
Originally Posted by chain View Post
all ok with nslookup, hosts and external DNS..
What about your internal DNS server? You have this in the log file you've posted:

Code:
;; Got SERVFAIL reply from 192.168.8.1, trying next server
Server:		192.168.8.10
Address:	192.168.8.10#53

** server can't find mail: NXDOMAIN

root@mail:/etc# nslookup mail.pt.network
Server:		192.168.8.10
Address:	192.168.8.10#53

** server can't find mail.pt.network: NXDOMAIN

root@mail:/etc# nslookup 192.168.8.10
Server:		192.168.8.1
Address:	192.168.8.1#53

10.8.168.192.in-addr.arpa	name = mail.pt.network.
Go to the Split DNS article and run all the commands in the 'Verify...' section to confirm your hosts file is correct and the LAN DNS settings.

Quote:
Originally Posted by chain View Post
Tried to reinstall zimbra server also.
It's never a good idea doing that, you should resolve the problem first.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-14-2011, 05:48 AM
Intermediate Member
 
Posts: 15
Default

Thanx for quick reply. I'll update forum profile tomorrow.
May be my story was not so clear, server worked about 2 years with the same settings, nothing was changed. But I'll sent u all outputs tomorrow.
Thank u.
Reply With Quote
  #4 (permalink)  
Old 02-14-2011, 06:09 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by chain View Post
May be my story was not so clear, server worked about 2 years with the same settings,
It was perfectly clear.

Quote:
Originally Posted by chain View Post
....nothing was changed.
That may be true but something is obviously different as you're getting no response to your nslookup commands.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 02-15-2011, 03:54 AM
Intermediate Member
 
Posts: 15
Default

Hi, again.
That's from verify section:
Code:
dig mmsystems.ru mx

; <<>> DiG 9.4.2-P2.1 <<>> mmsystems.ru mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3767
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

;; QUESTION SECTION:
;mmsystems.ru.			IN	MX

;; ANSWER SECTION:
mmsystems.ru.		604800	IN	MX	10 mail.mmsystems.ru.

;; AUTHORITY SECTION:
mmsystems.ru.		604800	IN	NS	ns8.nic.ru.
mmsystems.ru.		604800	IN	NS	ns.mmsystems.ru.
mmsystems.ru.		604800	IN	NS	ns4.nic.ru.

;; ADDITIONAL SECTION:
mail.mmsystems.ru.	604800	IN	A	192.168.8.10
ns.mmsystems.ru.	604800	IN	A	192.168.8.10
ns4.nic.ru.		74916	IN	A	194.226.96.8
ns8.nic.ru.		74916	IN	A	193.232.130.14

;; Query time: 0 msec
;; SERVER: 192.168.8.10#53(192.168.8.10)
;; WHEN: Tue Feb 15 14:23:10 2011
;; MSG SIZE  rcvd: 172
Code:
dig mmsystems.ru any

; <<>> DiG 9.4.2-P2.1 <<>> mmsystems.ru any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7267
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 4

;; QUESTION SECTION:
;mmsystems.ru.			IN	ANY

;; ANSWER SECTION:
mmsystems.ru.		604800	IN	SOA	ns.paritet-invest.ru. admin.paritet-invest.ru. 2010102604 1500 600 2419200 3600
mmsystems.ru.		604800	IN	NS	ns.mmsystems.ru.
mmsystems.ru.		604800	IN	NS	ns4.nic.ru.
mmsystems.ru.		604800	IN	NS	ns8.nic.ru.
mmsystems.ru.		604800	IN	MX	10 mail.mmsystems.ru.
mmsystems.ru.		604800	IN	A	192.168.8.10

;; ADDITIONAL SECTION:
ns.mmsystems.ru.	604800	IN	A	192.168.8.10
ns4.nic.ru.		74797	IN	A	194.226.96.8
ns8.nic.ru.		74797	IN	A	193.232.130.14
mail.mmsystems.ru.	604800	IN	A	192.168.8.10

;; Query time: 0 msec
;; SERVER: 192.168.8.10#53(192.168.8.10)
;; WHEN: Tue Feb 15 14:25:09 2011
;; MSG SIZE  rcvd: 248
Code:
host $(hostname)
mail.pt.network has address 192.168.8.10
Code:
cat /etc/resolv.conf
nameserver 192.168.8.10
nameserver 192.168.8.1
Code:
cat /etc/hosts
127.0.0.1 localhost
192.168.8.10 mail.pt.network mail
And after server starting I always receive 2 messageson my external mailbox:
Code:
mail zimbramon[8656]: 8656:err: Service status change: mmsystems.ru mailboxd changed from running to stopped
Code:
mail zimbramon[8656]: 8656:err: Service status change: mmsystems.ru mailbox changed from running to stopped
Reply With Quote
  #6 (permalink)  
Old 02-15-2011, 04:00 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by chain View Post
Code:
cat /etc/resolv.conf
nameserver 192.168.8.10
nameserver 192.168.8.1
Unless both of those servers have exactly the same DNS records you should only have the DNS server IP address for the Zimbra server in there.

Quote:
Originally Posted by chain View Post
Code:
cat /etc/hosts
127.0.0.1 localhost
192.168.8.10 mail.pt.network mail
That hosts file is incorrect, check the Split DNS article for the correct format and required contents of the loopback IP line.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 02-15-2011, 04:29 AM
Intermediate Member
 
Posts: 15
Default

mail server is in thw windows active directory, so I need in that config. For sure I'll try to change it, but it worked about 2 years...
It's more looks like something wrong with mailboxes:
Code:
Feb 15 15:26:05 mail zmmailboxdmgr[30434]: stale pid 27076 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Feb 15 15:26:05 mail zmmailboxdmgr[30434]: assuming no other instance is running
Feb 15 15:26:05 mail zmmailboxdmgr[30434]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Feb 15 15:26:05 mail zmmailboxdmgr[30434]: assuming no other instance is running
Feb 15 15:26:05 mail zmmailboxdmgr[30434]: no manager process is running
__________________
Release 6.0.10_GA_2692.UBUNTU8 UBUNTU8 FOSS edition.
Reply With Quote
  #8 (permalink)  
Old 02-15-2011, 05:16 AM
Intermediate Member
 
Posts: 15
Default

Code:
~$ cat /etc/resolv.conf
nameserver 192.168.8.10
~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.8.10 mail.pt.network mail
__________________
Release 6.0.10_GA_2692.UBUNTU8 UBUNTU8 FOSS edition.
Reply With Quote
  #9 (permalink)  
Old 02-15-2011, 09:56 PM
Intermediate Member
 
Posts: 15
Default

any ideas? I can start mailbox service manually, but it stop in about a minute. May be some advices about full logs. For now I can see it's "up" and "down" messages. That's all..
__________________
Release 6.0.10_GA_2692.UBUNTU8 UBUNTU8 FOSS edition.

Last edited by chain; 02-16-2011 at 03:27 AM..
Reply With Quote
  #10 (permalink)  
Old 02-16-2011, 07:33 AM
Intermediate Member
 
Posts: 15
Default

So, as I thought the problem was not in DNS and hosts files. The problem - with database. Because I can start server with new installation. So as I did backup, can u tell me about instruments to check the database and repare it?
__________________
Release 6.0.10_GA_2692.UBUNTU8 UBUNTU8 FOSS edition.

Last edited by chain; 02-16-2011 at 07:47 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.