Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Failed to change MailPort

  1. #1
    Join Date
    Mar 2009
    Posts
    13
    Rep Power
    6

    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

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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

  3. #3
    Join Date
    Mar 2009
    Posts
    13
    Rep Power
    6

    Default

    Release 5.0.14_GA_2850.UBUNTU8_64 UBUNTU8_64

    Yes, I tried many times to restart, but nothing.

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    After the restart you should see something in /opt/zimbra/log/mailbox.log or /var/log/zimbra.log ?

  5. #5
    Join Date
    Mar 2009
    Posts
    13
    Rep Power
    6

    Default

    Nothing in /opt/zimbra/log/mailbox.log
    zimbra.log attached
    Attached Files Attached Files

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    cat /etc/hosts
    cat /etc/resolv.con
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  7. #7
    Join Date
    Mar 2009
    Posts
    13
    Rep Power
    6

    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.

  8. #8
    Join Date
    Mar 2009
    Posts
    13
    Rep Power
    6

    Default

    All outputs in log
    Attached Files Attached Files

  9. #9
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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.

  10. #10
    Join Date
    Mar 2009
    Posts
    13
    Rep Power
    6

    Default

    All fixed but still the same problem.

    Ok. I will post outputs under quotes. :-)

Similar Threads

  1. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 05:42 PM
  2. Help!!! Moving ZCS does not work!
    By ASebestian in forum Migration
    Replies: 7
    Last Post: 02-12-2009, 06:06 PM
  3. Problem with Mail Server - Need help!
    By joeleo in forum Installation
    Replies: 2
    Last Post: 03-04-2008, 12:03 PM
  4. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  5. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •