Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Big Fubar on 5 FOSS GA Upgrade

  1. #1
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default Big Fubar on 5 FOSS GA Upgrade

    Right, I tried upgrading from RC2 too GA this morning and it fell in a heap due to Scalar::Util not being compile with XS support. FYI this appears to be a problem in both RHEL4 and Centos RPMS so compiling from source with -xs is the fix.

    Now down to my problem. I took a backup before upgrade but for some reason it appears to be trashed

    Even though I have a broken installation I have backed up /opt to protect my message store. I have a feeling that the backed up config is broken, so is there any way to regenerate this ?

    Whereabouts are all the backup configs held so I can check the timestamps on them ?
    Last edited by uxbod; 12-22-2007 at 06:05 PM.

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    yowsers.

    Can you provide a ls -l of your backup?

    The things you'll need in your backup are:
    /opt/zimbra/store
    /opt/zimbra/db
    /opt/zimbra/redolog
    /opt/zimbra/openldap-data
    /opt/zimbra/index

    Here's an example of what ls -l should look like
    Code:
    [root@bat-machine zimbra]# ls -l
    total 172
    lrwxrwxrwx   1 root   root     29 Nov 25 11:38 amavisd -> /opt/zimbra/amavisd-new-2.5.2
    drwxr-xr-x   8 zimbra zimbra 4096 Dec 12 19:06 amavisd-new-2.5.2
    drwxr-xr-x   6 zimbra zimbra 4096 Nov 25 11:39 aspell-0.60.5
    drwxr-xr-x   4 zimbra zimbra 4096 Nov 25 12:05 backup
    drwxr-xr-x   2 root   root   4096 Nov 25 11:38 bin
    lrwxrwxrwx   1 root   root     25 Nov 25 11:38 clamav -> /opt/zimbra/clamav-0.91.2
    drwxr-xr-x   9 root   root   4096 Nov 25 11:38 clamav-0.91.2
    drwxr-xr-x   7 zimbra zimbra 4096 Dec 18 18:46 conf
    drwxr-xr-x   2 zimbra zimbra 4096 Nov 25 11:38 contrib
    drwxr-xr-x   6 zimbra zimbra 4096 Nov 25 11:44 convertd
    lrwxrwxrwx   1 root   root     23 Nov 25 11:38 curl -> /opt/zimbra/curl-7.17.0
    drwxr-xr-x   6 zimbra zimbra 4096 Nov 25 11:38 curl-7.17.0
    lrwxrwxrwx   1 root   root     31 Nov 25 11:38 cyrus-sasl -> /opt/zimbra/cyrus-sasl-2.1.22.3
    drwxr-xr-x   8 root   zimbra 4096 Nov 25 11:38 cyrus-sasl-2.1.22.3
    drwxr-xr-x   3 zimbra zimbra 4096 Dec 12 19:05 db
    dr--r--r--   2 zimbra zimbra 4096 Nov 25 11:38 doc
    lrwxrwxrwx   1 root   root     23 Nov 25 11:38 dspam -> /opt/zimbra/dspam-3.8.0
    drwxr-xr-x   7 root   root   4096 Nov 25 11:38 dspam-3.8.0
    lrwxrwxrwx   1 root   root     25 Nov 25 11:38 heimdal -> /opt/zimbra/heimdal-1.0.1
    drwxr-xr-x   6 zimbra zimbra 4096 Nov 25 11:38 heimdal-1.0.1
    lrwxrwxrwx   1 root   root     23 Nov 25 11:39 httpd -> /opt/zimbra/httpd-2.2.4
    drwxr-xr-x  15 root   root   4096 Nov 25 11:39 httpd-2.2.4
    drwxr-xr-x   5 zimbra zimbra 4096 Dec 13 16:30 index
    drwxr-xr-x   5 zimbra zimbra 4096 Dec  3 12:31 j2me
    lrwxrwxrwx   1 root   root     23 Nov 25 11:38 java -> /opt/zimbra/jdk1.6.0_02
    drwxr-xr-x   7 root   root   4096 Nov 25 11:38 jdk1.6.0_02
    lrwxrwxrwx   1 root   root     23 Nov 25 11:39 jetty -> /opt/zimbra/jetty-6.1.5
    drwxr-xr-x  11 root   root   4096 Nov 25 11:38 jetty-6.1.5
    lrwxrwxrwx   1 root   root     28 Nov 25 11:39 keyview -> /opt/zimbra/keyview-10.2.0.2
    drwxr-xr-x   5 zimbra zimbra 4096 Nov 25 11:38 keyview-10.2.0.2
    drwxr-xr-x   6 root   root   4096 Nov 25 11:38 lib
    drwxr-xr-x   4 root   root   4096 Nov 25 11:38 libexec
    drwxr-xr-x   2 zimbra zimbra 4096 Dec 21 07:54 log
    drwxr-xr-x   3 zimbra zimbra 4096 Nov 25 11:38 logger
    lrwxrwxrwx   1 root   root     23 Nov 25 11:39 mailboxd -> /opt/zimbra/jetty-6.1.5
    lrwxrwxrwx   1 root   root     59 Nov 25 11:39 mysql -> /opt/zimbra/mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
    drwxr-xr-x   9 root   root   4096 Nov 25 11:38 mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
    lrwxrwxrwx   1 root   root     30 Nov 25 11:38 openldap -> /opt/zimbra/openldap-2.3.39.5z
    drwxr-xr-x  10 root   root   4096 Nov 25 11:38 openldap-2.3.39.5z
    lrwxrwxrwx   1 root   root     36 Nov 25 11:38 openldap-clibs -> /opt/zimbra/openldap-clibs-2.3.39.5z
    drwxr-xr-x   3 root   root   4096 Nov 25 11:38 openldap-clibs-2.3.39.5z
    drwxr-xr-x   4 zimbra zimbra 4096 Dec 19 12:12 openldap-data
    lrwxrwxrwx   1 root   root     26 Nov 25 11:38 openssl -> /opt/zimbra/openssl-0.9.8e
    drwxr-xr-x   6 zimbra zimbra 4096 Nov 25 11:38 openssl-0.9.8e
    lrwxrwxrwx   1 root   root     27 Nov 25 11:38 postfix -> /opt/zimbra/postfix-2.4.3.3
    drwxr-xr-x   7 root   root   4096 Nov 25 11:38 postfix-2.4.3.3
    drwxr-xr-x   3 zimbra zimbra 4096 Dec 21 07:55 redolog
    lrwxrwxrwx   1 root   root     30 Nov 25 11:38 sleepycat -> /opt/zimbra/sleepycat-4.2.52.6
    drwxr-xr-x   6 root   root   4096 Nov 25 11:38 sleepycat-4.2.52.6
    drwxr-xr-x   4 zimbra zimbra 4096 Nov 25 11:41 ssl
    drwxr-xr-x   6 zimbra zimbra 4096 Dec 13 16:30 store
    lrwxrwxrwx   1 root   root     25 Nov 25 11:38 tcmalloc -> /opt/zimbra/tcmalloc-0.93
    drwxr-xr-x   7 zimbra zimbra 4096 Nov 25 11:38 tcmalloc-0.93
    drwxr-xr-x   3 root   root   4096 Nov 30 16:02 var
    drwxr-xr-x   3 zimbra zimbra 4096 Nov 25 11:38 wiki
    drwxr-xr-x   6 root   root   4096 Nov 25 11:38 zimbramon
    drwxr-xr-x   2 zimbra zimbra 4096 Nov 25 11:38 zimlets
    drwxr-xr-x   2 zimbra zimbra 4096 Nov 25 11:38 zimlets-admin-extra
    drwxr-xr-x   2 zimbra zimbra 4096 Dec 18 18:11 zimlets-extra
    drwxr-xr-x   2 zimbra zimbra 4096 Nov 25 11:38 zimlets-network
    drwxr-xr-x  29 zimbra zimbra 4096 Dec 21 00:00 zmstat

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Hi,

    Here ya go! All the messages are still there which is at least one good thing :-

    Code:
    [root@office zimbra]# ls -l
    total 252
    lrwxrwxrwx   1 zimbra zimbra    29 Dec 21 14:38 amavisd -> /opt/zimbra/amavisd-new-2.5.2
    drwxr-xr-x   5 zimbra zimbra  4096 Oct  6 15:29 amavisd-new-2.4.3
    drwxrwxr-x   8 zimbra zimbra  4096 Dec 21 06:56 amavisd-new-2.5.2
    drwxr-xr-x   5 root   root    4096 Aug 11 16:30 apache-tomcat-5.5.15
    drwxr-xr-x   6 zimbra zimbra  4096 Dec 21 06:57 aspell-0.60.5
    drwxr-xr-x   2 zimbra zimbra  4096 Jul 16 16:54 backup
    drwxr-xr-x   2 root   root    4096 Dec 21 06:55 bin
    lrwxrwxrwx   1 zimbra zimbra    25 Dec 21 14:37 clamav -> /opt/zimbra/clamav-0.91.2
    drwxr-xr-x   3 root   root    4096 Aug 31 22:06 clamav-0.90.2
    drwxr-xr-x   3 root   root    4096 Oct  6 15:19 clamav-0.90.3
    drwxr-xr-x   3 root   root    4096 Nov 23 20:00 clamav-0.91.1
    drwxr-xr-x   9 root   root    4096 Dec 21 06:56 clamav-0.91.2
    drwxrwxr-x   7 zimbra zimbra  4096 Dec 21 14:42 conf
    -rw-r--r--   1 zimbra zimbra  1084 Jul 16 16:57 config.11728
    -rw-------   1 zimbra zimbra  1738 Nov 23 20:09 config.27001
    -rw-r--r--   1 zimbra zimbra  1418 Aug 31 22:17 config.31941
    -rw-------   1 zimbra zimbra  2152 Oct  6 15:30 config.5218
    -rw-r--r--   1 zimbra zimbra  1332 Aug 11 16:41 config.5996
    drwxr-xr-x   2 zimbra zimbra  4096 Dec 21 06:55 contrib
    drwxr-xr-x   2 zimbra zimbra  4096 Jul 16 16:55 convertd
    lrwxrwxrwx   1 zimbra zimbra    23 Dec 21 14:53 curl -> /opt/zimbra/curl-7.17.0
    drwxr-xr-x   6 zimbra zimbra  4096 Dec 21 06:55 curl-7.17.0
    lrwxrwxrwx   1 zimbra zimbra    32 Dec 21 14:40 cyrus-sasl -> /opt/zimbra/cyrus-sasl-2.1.22.3z
    drwxr-xr-x   4 root   zimbra  4096 Aug 31 22:06 cyrus-sasl-2.1.21.ZIMBRA
    drwxr-xr-x   4 root   zimbra  4096 Dec 21 05:52 cyrus-sasl-2.1.22.3
    drwxr-xr-x   8 root   zimbra  4096 Dec 21 06:55 cyrus-sasl-2.1.22.3z
    drwxrwxr-x   3 zimbra zimbra  4096 Dec 21 06:56 db
    drwxr-xr-x   2 zimbra zimbra  4096 Dec 21 06:55 doc
    lrwxrwxrwx   1 zimbra zimbra    23 Dec 21 14:37 dspam -> /opt/zimbra/dspam-3.8.0
    drwxr-xr-x   7 root   root    4096 Dec 21 06:56 dspam-3.8.0
    lrwxrwxrwx   1 zimbra zimbra    25 Dec 21 14:39 heimdal -> /opt/zimbra/heimdal-1.0.1
    drwxr-xr-x   6 zimbra zimbra  4096 Dec 21 06:55 heimdal-1.0.1
    lrwxrwxrwx   1 zimbra zimbra    23 Dec 21 14:39 httpd -> /opt/zimbra/httpd-2.2.4
    drwxr-xr-x  15 root   root    4096 Dec 21 06:57 httpd-2.2.4
    drwxr-xr-x   3 zimbra zimbra  4096 Jul 16 17:05 index
    lrwxrwxrwx   1 zimbra zimbra    23 Dec 21 14:39 java -> /opt/zimbra/jdk1.6.0_02
    drwxr-xr-x   3 zimbra zimbra  4096 Aug 11 16:30 jdk1.5.0_08
    drwxr-xr-x   3 zimbra zimbra  4096 Aug 31 22:07 jdk1.6.0_01
    drwxr-xr-x   7 root   root    4096 Dec 21 06:55 jdk1.6.0_02
    lrwxrwxrwx   1 zimbra zimbra    23 Dec 21 14:39 jetty -> /opt/zimbra/jetty-6.1.5
    drwxr-xr-x   6 root   root    4096 Aug 31 22:06 jetty-6.1.4
    drwxr-xr-x  11 root   root    4096 Dec 21 06:56 jetty-6.1.5
    drwxrwxr-x   5 root   root    4096 Dec 19 02:49 lib
    drwxr-xr-x   4 root   root    4096 Dec 21 06:55 libexec
    drwxr-xr-x   2 zimbra zimbra 16384 Dec 21 14:40 log
    drwxrwxr-x   4 zimbra zimbra  4096 Dec 21 06:56 logger
    lrwxrwxrwx   1 zimbra zimbra    23 Dec 21 14:37 mailboxd -> /opt/zimbra/jetty-6.1.5
    lrwxrwxrwx   1 zimbra zimbra    59 Dec 21 14:51 mysql -> /opt/zimbra/mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
    drwxr-xr-x   9 root   root    4096 Dec 21 06:56 mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
    drwxr-xr-x  10 root   root    4096 Dec 21 06:56 net-snmp-5.4.1
    lrwxrwxrwx   1 zimbra zimbra    30 Dec 21 14:53 openldap -> /opt/zimbra/openldap-2.3.39.6z
    drwxr-xr-x  10 root   root    4096 Dec 21 06:56 openldap-2.3.39.6z
    lrwxrwxrwx   1 zimbra zimbra    36 Dec 21 14:38 openldap-clibs -> /opt/zimbra/openldap-clibs-2.3.39.6z
    drwxr-xr-x   3 root   root    4096 Dec 21 06:55 openldap-clibs-2.3.39.6z
    drwxr-xr-x   4 zimbra zimbra  4096 Dec 21 06:58 openldap-data
    drwxr-xr-x   2 root   root    4096 Jul 16 16:54 openldap-replica
    lrwxrwxrwx   1 zimbra zimbra    26 Dec 21 14:39 openssl -> /opt/zimbra/openssl-0.9.8e
    drwxr-xr-x   6 zimbra zimbra  4096 Dec 21 06:55 openssl-0.9.8e
    drwxr-xr-x   3 root   root    4096 Aug 31 22:06 perdition-1.17
    drwxr-xr-x   3 root   root    4096 Oct  6 15:19 perdition-1.17.1
    lrwxrwxrwx   1 root   root      28 Dec 21 14:51 postfix -> /opt/zimbra/postfix-2.4.3.3z
    drwxr-xr-x   4 root   root    4096 Aug 31 22:06 postfix-2.2.9
    drwxr-xr-x   4 root   root    4096 Dec 21 05:52 postfix-2.4.3.3
    drwxr-xr-x   7 root   root    4096 Dec 21 06:56 postfix-2.4.3.3z
    drwxr-xr-x   3 zimbra zimbra  4096 Dec 21 05:51 redolog
    lrwxrwxrwx   1 zimbra zimbra    30 Dec 21 14:37 sleepycat -> /opt/zimbra/sleepycat-4.2.52.6
    drwxr-xr-x   6 root   root    4096 Dec 21 06:55 sleepycat-4.2.52.6
    lrwxrwxrwx   1 zimbra zimbra    26 Dec 21 14:39 snmp -> /opt/zimbra/net-snmp-5.4.1
    drwx------   4 zimbra zimbra  4096 Oct  6 15:29 ssl
    drwxr-xr-x   4 zimbra zimbra  4096 Jul 16 17:05 store
    lrwxrwxrwx   1 zimbra zimbra    25 Dec 21 14:38 tcmalloc -> /opt/zimbra/tcmalloc-0.93
    drwxr-xr-x   7 zimbra zimbra  4096 Dec 21 06:56 tcmalloc-0.93
    lrwxrwxrwx   1 zimbra zimbra    32 Dec 21 14:51 tomcat -> /opt/zimbra/apache-tomcat-5.5.15
    drwxrwxr-x   3 zimbra zimbra  4096 Dec 21 06:56 wiki
    drwxrwxr-x   6 root   root    4096 Dec 21 06:56 zimbramon
    drwxrwxr-x   2 zimbra zimbra  4096 Dec 21 06:56 zimlets
    drwxrwxr-x   2 zimbra zimbra  4096 Dec 21 06:56 zimlets-admin-extra
    drwxrwxr-x   2 zimbra zimbra  4096 Dec 21 06:56 zimlets-extra
    drwxr-xr-x 136 zimbra zimbra  4096 Dec 21 00:00 zmstat
    Looks pretty good so far

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

    Default

    The files in /opt/zimbra/.saveconfig look okay aswell. The config.save file has all my settings in it eg. ldap_host but the localconfig.xml file in /opt/zimbra/conf looks pretty bare

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <localconfig>
      <key name="zimbra_java_home">
        <value>/opt/zimbra/java</value>
      </key>
    </localconfig>

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    As look hand it I reinstalled my server a couple of weeks ago to move away from Gentoo. And I copied the whole of /opt/zimbra to my laptop! So I have copied back across the localconfig.xml, checked the paths, and it was the RC2 version. I am now back where I can run the upgrade again. I have removed the alock as SLAPD fell over.

    I *think* I have now fixed the Scalar issue by running :-

    Code:
    perl -MCPAN -e shell
    force install Scalar::Util
    so that XS support is compiled in. Here goes again !

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

    Default

    Still failed so doing a force install on IO:Socket::SSL as Zimbra has a dependency in Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970

  7. #7
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Argggh still failing with :-

    Updating from 5.0.0_RC3
    5 is only avaliable with the XS version at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30
    BEGIN failed--compilation aborted at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30, <OUTPUT> line 3.
    Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970, <OUTPUT> line 3.

    and that bit of code is :-

    Code:
    # non-XS Versions of Scalar::Util will fail
    BEGIN{
        eval { use Scalar::Util 'dualvar'; dualvar(0,'') };
        die "You need the XS Version of Scalar::Util for dualvar() support"
            if $@;
    }
    How can I overcome this problem; any ideas ? I am sure others on RHEL4 will get the same problem when upgrading Perl. This is a real PIA

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

    Default

    anybody else seen this yet ?

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

    Default

    According to Bug 22466 - 20071204022445 build multinode install failure this should be fixed Very odd

  10. #10
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Still no joy so trying downgrade of Perl

Similar Threads

  1. Replies: 2
    Last Post: 10-04-2007, 03:20 PM
  2. Replies: 4
    Last Post: 07-18-2007, 03:51 PM
  3. failed upgrade, failed restore, big trouble
    By feralcoder in forum Installation
    Replies: 2
    Last Post: 03-19-2007, 05:38 PM
  4. M1 -> M2 Upgrade Scripts
    By KevinH in forum Announcements
    Replies: 57
    Last Post: 12-15-2005, 09:10 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
  •