Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: M2 -> M3 upgrade

  1. #21
    rjedge is offline Intermediate Member
    Join Date
    Nov 2005
    Posts
    18
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    is this a virtual server? Zimbra doesn't perform well in veritual environments.

    Yes. It is running in an ESX VM. It is 1 of 6 VM's (mixture of Linux and Windows) running on this ESX host. Most of our servers are now virtualized using ESX on an IBM Blade Center. We currently have 37 servers as VM's running 6 ESX hosts.

  2. #22
    avisser is offline Active Member
    Join Date
    Oct 2005
    Posts
    29
    Rep Power
    9

    Default upgraded M2 -> M3 with a few glitches

    I have successfully upgraded the os M2 to os M3 with a few problems, but it is up and running now.

    First I saw this error message (integer expression expected), which was concerning, but doesn't seem to have been a problem

    Installing packages

    zimbra-core..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ./util/modules/packages.sh: line 101: [: M2: integer expression expected
    ...zimbra-core-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done
    zimbra-ldap..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ./util/modules/packages.sh: line 101: [: M2: integer expression expected
    ...zimbra-ldap-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done
    zimbra-logger..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ...zimbra-logger-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done
    zimbra-mta..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ./util/modules/packages.sh: line 101: [: M2: integer expression expected
    ...zimbra-mta-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done
    zimbra-snmp..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ./util/modules/packages.sh: line 101: [: M2: integer expression expected
    ...zimbra-snmp-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done
    zimbra-store..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ./util/modules/packages.sh: line 101: [: M2: integer expression expected
    ...zimbra-store-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done
    zimbra-apache..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ...zimbra-apache-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done
    zimbra-spell..../util/modules/packages.sh: line 101: [: M3: integer expression expected
    ...zimbra-spell-3.0.0_M2_740.RHEL4-20051114171614.i386.rpm...done

    I didn't want to make any changes to the existing config so I typed 'a' and pressed enter. This however did not keep my existing config completely in tact.
    1. TLS authentication only was checked, but should not have been
    2. Antivirus was turned off
    3. Spam was turned off and the kill/tag percentages reset to the default (It did remember the subject prefix.)
    4. POP & IMAP clear text logins were disabled, but should not have been
    5. had to modify saslauthd.conf.in just as I had to in the M1 -> M2 upgrade


    zmtrainsa seems to be having issues, but I need to look deeper into that to verify if it is or isn't working.

  3. #23
    rhostager is offline Senior Member
    Join Date
    Nov 2005
    Posts
    61
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    Is the logger service running?

    Yes, ps -A shows:

    14670 ? 00:00:00 mysqld
    14671 ? 00:00:03 zmlogger
    14682 ? 00:00:00 mysqld

    - Rob

  4. #24
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default logger service

    What do you get from:
    zmcontrol status
    logmysqladmin status

  5. #25
    rhostager is offline Senior Member
    Join Date
    Nov 2005
    Posts
    61
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    What do you get from:
    zmcontrol status
    logmysqladmin status
    [zimbra@mail ~]$ zmcontrol status
    Host mail.hostager.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    [zimbra@mail ~]$ logmysqladmin status
    Uptime: 85468 Threads: 2 Questions: 138055 Slow queries: 77180 Opens: 21 Flush tables: 1 Open tables: 10 Queries per second avg: 1.615

    - Rob

  6. #26
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default status errors

    What do you get from
    zmprov gacf | grep -i loghost

    Should match the hostname of the server running the logger service.

    If the hostname resolves to a public IP on a FW box, can the webmail server access that box at port 7307? (Verify that zmlocalconfig logger_mysql_port matches the port in /opt/zimbra/conf/my.logger.cnf)

  7. #27
    rhostager is offline Senior Member
    Join Date
    Nov 2005
    Posts
    61
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    What do you get from
    zmprov gacf | grep -i loghost

    Should match the hostname of the server running the logger service.

    If the hostname resolves to a public IP on a FW box, can the webmail server access that box at port 7307? (Verify that zmlocalconfig logger_mysql_port matches the port in /opt/zimbra/conf/my.logger.cnf)
    [zimbra@mail ~]$ zmprov gacf | grep -i loghost
    zimbraLogHostname: mail.hostager.com

    zmlocalconfig shows:

    logger_mysql_port = 3307


    my.logger.cnf contains:

    [mysqld]

    basedir = /opt/zimbra/logger/mysql
    datadir = /opt/zimbra/logger/db/data
    socket = /opt/zimbra/logger/db/mysql.sock
    pid-file = /opt/zimbra/logger/db/mysql.pid
    bind-address = localhost
    port = 7307

    skip-external-locking

    log-slow-queries = /opt/zimbra/log/logger_myslow.log
    long-query-time = 1
    log-long-format
    log-queries-not-using-indexes
    log-bin

    thread_cache = 10
    max_connections = 10

    # We do a lot of writes, query cache turns out to be not useful.
    query_cache_type = 0

    [mysqld_safe]

    err-log = /opt/zimbra/log/logger_mysqld.log


    Looks like they do not match. I did the following:

    zmlocalconfig -e logger_mysql_port=7307

    to fix this and restarted the server. It works now!

    Thanks... You guys are great!

    - Rob

    FYI -- This was an M1 installation upgraded to M2 with the script and then later upgraded to M3. The Server status showed nothing from M1 on. The errors did not display until M3. With your fix the server staus now works properly with no errors.
    Last edited by rhostager; 01-12-2006 at 11:22 AM.

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 4.5.4 -> 4.5.5 (Networkd Edition) Upgrade problems
    By spector@zeitgeist.com in forum Administrators
    Replies: 3
    Last Post: 10-18-2007, 05:06 AM
  2. 4.0.3 -> 4.5.1 upgrade
    By Storm16 in forum Installation
    Replies: 1
    Last Post: 02-11-2007, 09:44 PM
  3. fc4 zcs-3.0.1 -> 3.1 upgrade worked great.. almost
    By keyhman in forum Installation
    Replies: 29
    Last Post: 09-29-2006, 11:06 AM
  4. M1 -> M2 Upgrade Scripts
    By KevinH in forum Announcements
    Replies: 57
    Last Post: 12-15-2005, 10:10 AM
  5. Upgrade M1 -> M2? .... Yes!!
    By jholder in forum Installation
    Replies: 27
    Last Post: 11-20-2005, 04:34 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
  •