Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: OS 4.5.6 upgrade to 5.0.2 mta password error

  1. #11
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    When I was playing around with this, I eventually gave the zimbra user root privilages with a line in the suders file as:
    zimbra ALL=(ALL) ALL

    This is not a good idea
    Nothing went wrong as a result, and it did get passed the erronuous password issues, but there's always a risk running as root and I dont recommend you do it at all!

    That said, it did help me to get past the problem, and if you are in a VM with good backups, you may be comfortable trying this.
    Warning, this is a horrific security hazard, never do this on a production server, or on a server in a production network that you care about the data contained within

  2. #12
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    newmember, could you post a bit more of that install log that shows the error, even just a few lines before and after? I can't for the life of me see where that output would come from, certainly doesn't look like it could be from mta postinstall. Clearly something has gone horribly wrong. If you're upgrading from sarge to etch, what is your exact upgrade path, both zimbra and OS wise?

  3. #13
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Default

    dijichi2,

    I will be glad to do the upgrade again and provide the install log files.

    I have done

    4.5.6 to 5.0.2
    and
    4.5.6 to 4.5.11 to 5.0.2
    and
    4.5.6 to 4.5.10 to 5.0.2

    Could I ask if there is a preferred path for upgrades?

    Thanks
    Chris
    Last edited by newmember; 02-11-2008 at 09:20 AM.

  4. #14
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Default

    So I am now on 4.5.11
    I ran an update to get to 5.0
    I tried upgrading direct to 5.1 and 5.2 with the same results.
    I am on CentOS 5.0 i386
    You will see near the bottom pf the install process some passwords are missing.
    LDAPPOSTPW=
    LDAPREPPW=
    LDAPAMAVISPW=
    See below:::



    Shutting down zimbra mail

    Backing up the ldap database...done.

    Removing existing packages

    zimbra-ldap...done
    zimbra-logger...done
    zimbra-mta...done
    zimbra-snmp...don
    zimbra-store...done
    zimbra-spell...done
    zimbra-apache...done
    zimbra-core...done

    Removing deployed webapp directories
    Installing packages

    zimbra-core......zimbra-core-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done
    zimbra-ldap......zimbra-ldap-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done
    zimbra-logger......zimbra-logger-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done
    zimbra-mta......zimbra-mta-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done
    zimbra-snmp......zimbra-snmp-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done
    zimbra-store......zimbra-store-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done
    zimbra-apache......zimbra-apache-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done
    zimbra-spell......zimbra-spell-5.0.0_GA_1869.RHEL5-20071218205219.i386.rpm...done

    Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
    HOSTNAME=mail.domain.com
    LDAPHOST=mail.domain.com
    LDAPPORT=389
    SNMPTRAPHOST=mail.domain.com
    SMTPSOURCE=admin@domain.com
    SMTPDEST=admin@domain.com
    SNMPNOTIFY=yes
    SMTPNOTIFY=yes
    LDAPROOTPW=***************** ( I changed this)
    LDAPZIMBRAPW=****************( I changed this)
    LDAPPOSTPW=
    LDAPREPPW=
    LDAPAMAVISPW=
    Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...
    Operations logged to /tmp/zmsetup.03222008-234524.log
    Starting ldap...done.
    Setting defaults...done.
    Upgrading from 4.5.6_GA_1044 to 5.0.0_GA_1869
    Stopping zimbra services
    Verifying /opt/zimbra/conf/my.cnf
    Starting mysql
    Starting logger mysql
    UPGRADE FAILED - exiting
    [root@mail zcs-5.0.0_GA_1869.RHEL5.20071218205219]#


    So now I go try to start it manually:


    [root@mail zcs-5.0.0_GA_1869.RHEL5.20071218205219]# su zimbra
    [zimbra@mail zcs-5.0.0_GA_1869.RHEL5.20071218205219]$ zmcontrol start
    Host mail.superframe.com
    Starting ldap...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Password:


    There it is again, its asking for a "Password" for starting mta.

  5. #15
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    there's no point trying to start zimbra if the upgrade process has failed. the reason you're getting asked for a password is that the various upgrade scripts haven't run yet, so your system is in an inconsistent state.

    you need to post the bit of the zmsetup.log that shows what is failing, we have nothing to go on at the moment.

    also, people have had better success going from 4.5.6 to 4.5.11, then to 5.0.2. certainly when I upgraded from 4.5.6 I went to 4.5.11 first, I believe this is the recommended path.

Similar Threads

  1. Daily mail report always reports "No messages found"
    By McPringle in forum Installation
    Replies: 42
    Last Post: 06-13-2011, 09:57 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  3. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 04:58 AM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-15-2005, 12:00 AM

Posting Permissions

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