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 03-20-2009, 03:39 AM
Member
 
Posts: 13
Default Failed to change MailPort

Hello.

I have 2 Zimbra servers. Both has Ubuntu 8.04.02.
After I run zmprov ms demo.mydomain.net zimbraMailPort XX I can't access server anymore.

zimbra@demo:~/log$ zmprov
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

zimbra@demo:~/log$ zmcontrol status
Host demo.mydomain
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
mta Running
snmp Running
spell Running
stats Running

And nothing in /opt/zimbra/log/mailbox.log
Reply With Quote
  #2 (permalink)  
Old 03-20-2009, 03:49 AM
Moderator
 
Posts: 7,911
Default

Welcome to the forums

Have you tried restarting ZCS ?

Would you also update your profile please so we know which version of ZCS you are running
Code:
su - zimbra
zmcontrol -v
__________________
Reply With Quote
  #3 (permalink)  
Old 03-20-2009, 03:56 AM
Member
 
Posts: 13
Default

Release 5.0.14_GA_2850.UBUNTU8_64 UBUNTU8_64

Yes, I tried many times to restart, but nothing.
Reply With Quote
  #4 (permalink)  
Old 03-20-2009, 04:03 AM
Moderator
 
Posts: 7,911
Default

After the restart you should see something in /opt/zimbra/log/mailbox.log or /var/log/zimbra.log ?
__________________
Reply With Quote
  #5 (permalink)  
Old 03-20-2009, 04:16 AM
Member
 
Posts: 13
Default

Nothing in /opt/zimbra/log/mailbox.log
zimbra.log attached
Attached Files
File Type: txt log.txt (17.9 KB, 24 views)
Reply With Quote
  #6 (permalink)  
Old 03-20-2009, 04:34 AM
Moderator
 
Posts: 7,911
Default

Code:
cat /etc/hosts
cat /etc/resolv.con
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________
Reply With Quote
  #7 (permalink)  
Old 03-20-2009, 04:40 AM
Member
 
Posts: 13
Default

yuri@demo:~$ cat /etc/hosts
127.0.0.1 localhost
#127.0.1.1 demo
212.7.20.125 demo.mydomain.net

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

yuri@demo:~$ cat /etc/resolv.conf
nameserver 212.7.20.110
nameserver 194.126.115.18

yuri@demo:~$ dig demo.mydomain.net mx

; <<>> DiG 9.4.2-P2 <<>> demo.mydomain.net mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3764
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;demo.mydomain.net. IN MX

;; ANSWER SECTION:
demo.mydomain.net. 43200 IN MX 10 mail.demo.mydomain.net.

;; AUTHORITY SECTION:
demo.mydomain.net. 43200 IN NS ns1.demo.mydomain.net.
demo.mydomain.net. 43200 IN NS ns2.demo.mydomain.net.

;; ADDITIONAL SECTION:
mail.demo.mydomain.net. 43200 IN A xxx.xxx.xxx.125
ns1.demo.mydomain.net. 43200 IN A xxx.xxx.xxx.110
ns2.demo.mydomain.net. 43200 IN A xxx.xxx.xxx.114

;; Query time: 1 msec
;; SERVER: xxx.xxx.xxx.110#53(xxx.xxx.xxx.110)
;; WHEN: Fri Mar 20 10:37:05 2009
;; MSG SIZE rcvd: 146

yuri@demo:~$ dig demo.mydomain.net any

; <<>> DiG 9.4.2-P2 <<>> demo.mydomain.net any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39262
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 3

;; QUESTION SECTION:
;demo.mydomain.net. IN ANY

;; ANSWER SECTION:
demo.mydomain.net. 43200 IN TXT "v=spf1 a mx ip4:xxx.xxx.xxx.125 ~all"
demo.mydomain.net. 43200 IN SOA ns1.demo.mydomain.net. postmaster.demo.mydomain.net. 2009031700 28800 1800 2419200 10800
demo.mydomain.net. 43200 IN NS ns2.demo.mydomain.net.
demo.mydomain.net. 43200 IN NS ns1.demo.mydomain.net.
demo.mydomain.net. 43200 IN MX 10 mail.demo.mydomain.net.
demo.mydomain.net. 43200 IN A xxx.xxx.xxx.125

;; ADDITIONAL SECTION:
ns1.demo.mydomain.net. 43200 IN A xxx.xxx.xxx.110
ns2.demo.mydomain.net. 43200 IN A xxx.xxx.xxx.114
mail.demo.mydomain.net. 43200 IN A xxx.xxx.xxx.125

;; Query time: 1 msec
;; SERVER: xxx.xxx.xxx.110#53(xxx.xxx.xxx.110)
;; WHEN: Fri Mar 20 10:37:58 2009
;; MSG SIZE rcvd: 255

yuri@demo:~$ host `hostname`
demo.mydomain.net has address xxx.xxx.xxx.125
demo.mydomain.net mail is handled by 10 mail.demo.mydomain.net.
Reply With Quote
  #8 (permalink)  
Old 03-20-2009, 04:47 AM
Member
 
Posts: 13
Default

All outputs in log
Attached Files
File Type: txt log1.txt (2.3 KB, 19 views)
Reply With Quote
  #9 (permalink)  
Old 03-20-2009, 04:52 AM
Moderator
 
Posts: 7,911
Default

A few things; for one please fix your /etc/hosts as it is incorrect
Code:
127.0.0.1           localhost.localdomain localhost
your.ip.address         FQDN yourhostname
Secondly you have your FQDN as demo.mydomain.net yet the MX record points to mail.demo.mydomain.net ? Your server FQDN should be mail.demo.mydomain.net in /etc/hosts.

And why have you put all the output in a attachment ? Just post it all under a code section as it makes it easier for us to reply and especially quote sections.
__________________
Reply With Quote
  #10 (permalink)  
Old 03-20-2009, 05:05 AM
Member
 
Posts: 13
Default

All fixed but still the same problem.

Ok. I will post outputs under quotes. :-)
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.