Results 1 to 10 of 10

Thread: Get emails out of zimbra or get it working again?

  1. #1
    kingfeanor is offline New Member
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    6

    Default Get emails out of zimbra or get it working again?

    I had zimbra 5.08 on a ubuntu 6.06 box (hosting only my email) and had a hdd crash on that box. Fortunately zimbra was on a separate drive (and I had backups of the zimbra folder) so I didn't lose it, but I did lose all my dns, dhcp, etc. settings from that box. Looking at the migration/recovery information I find that the only way to get zimbra back up and running is to have exactly the same network settings (dns, ip, etc). I have tried to get things up on a rebuilt box, but the closest I can come gets parts of zimbra working but the internal mysql won't launch. How can I get my emails out of here? Is there a way I can do a fresh install with new settings and migrate only the emails? Is there a way to get the emails out of the db tables directly? I have about 4gb of email in there and I don't want to lose it.

    I had really liked zimbra, but this recovery effort is souring me quickly. It was much simpler to migrate/restore .mailbox directories.

    Any help would be appreciated.

    Ben

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,486
    Rep Power
    56

    Default

    You're not giving much information that's of any use here. Have you installed the exact same version of Zimbra on the new box? Is it on the same release of Ubuntu? What information do you see in the log files?

    Quote Originally Posted by kingfeanor View Post
    I had really liked zimbra, but this recovery effort is souring me quickly. It was much simpler to migrate/restore .mailbox directories.
    It's always good practice to take a backup but a recovery plan should also involve trial runs of restoring a crashed system to make sure you're familiar with the process.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    kingfeanor is offline New Member
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    6

    Default

    Sorry. I don't know what is useful and what isn't. The install guide which led me to install zimbra said backup and restore was easy and required only backing up the zimbra folder. I didn't research it any further than that, which certainly was a mistake on my part.

    The version of ubuntu is the same in both cases (6.06 LTS).

    The version of zimbra is the same in both cases (5.08_GA_2462).

    I have done my best to put back what I can remember the dns names and ip were but that may not be perfect.

    I issued:
    zimbra@ubuntu:~$ zmcontrol start
    Host ubuntu.bhk.mine.nu
    Starting ldap...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...FAILED
    amavisd already running: pid 20687
    ClamAV update process started at Sun Nov 9 12:28:56 2008
    WARNING: Your ClamAV installation is OUTDATED!
    WARNING: Local version: 0.93.1 Recommended version: 0.94.1
    DON'T PANIC! Read Clam AntiVirus
    Downloading main-47.cdiff [100%]
    clamd failed to startdiff [ 13%]
    Downloading main-48.cdiff [ 90%]

    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Done.
    Starting stats...Done.
    zimbra@ubuntu:~$

    Log shows:
    Nov 9 12:26:35 ubuntu zimbramon[19247]: 19247:info: Starting services initiated by zmcontrol
    Nov 9 12:26:37 ubuntu slapd[19310]: @(#) $OpenLDAP: slapd 2.3.42 (May 29 2008 11:47:09) $ ^Iroot@build13.re.zimbra.com:/home/bui
    ld/p4/main/ThirdParty/openldap/openldap-2.3.42.6z/servers/slapd
    Nov 9 12:26:38 ubuntu slapd[19312]: slapd starting
    Nov 9 12:26:45 ubuntu zimbramon[19247]: 19247:info: Rewriting configs antispam amavis antivirus amavis webxml mailbox amavis
    antispam antivirus mta sasl
    Nov 9 12:27:02 ubuntu zimbramon[19247]: 19247:info: Starting logger via zmcontrol
    Nov 9 12:27:02 ubuntu zimbramon[19247]: 19247:info: Starting mailbox via zmcontrol
    Nov 9 12:27:03 ubuntu zimbramon[19751]: 19751:info: zmmtaconfig: zmmtaconfig started on ubuntu.bhk.mine.nu with loglevel=3 pid=1
    9751
    Nov 9 12:27:54 ubuntu zmmailboxdmgr[20548]: status requested
    Nov 9 12:27:54 ubuntu zmmailboxdmgr[20548]: file /opt/zimbra/log/zmmailboxd_manager.pid does not exist
    Nov 9 12:27:54 ubuntu zmmailboxdmgr[20548]: assuming no other instance is running
    Nov 9 12:27:54 ubuntu zmmailboxdmgr[20548]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Nov 9 12:27:54 ubuntu zmmailboxdmgr[20548]: assuming no other instance is running
    Nov 9 12:27:54 ubuntu zmmailboxdmgr[20548]: no manager process is running
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20555]: start requested
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20555]: checking if another instance of manager is already running
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20555]: file /opt/zimbra/log/zmmailboxd_manager.pid does not exist
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20555]: assuming no other instance is running
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20555]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20555]: assuming no other instance is running
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20556]: wrote manager pid 20556 to /opt/zimbra/log/zmmailboxd_manager.pid
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20557]: wrote java pid 20557 to /opt/zimbra/log/zmmailboxd_java.pid
    Nov 9 12:27:55 ubuntu zmmailboxdmgr[20556]: manager started mailboxd/JVM with pid 20557
    Nov 9 12:27:55 ubuntu zimbramon[19247]: 19247:info: Starting antispam via zmcontrol
    Nov 9 12:27:56 ubuntu zimbramon[20565]: 20565:info: zmmtaconfig: zmmtaconfig already running at 19751
    Nov 9 12:28:01 ubuntu CRON[20620]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:28:07 ubuntu amavis[20607]: starting. /opt/zimbra/amavisd/sbin/amavisd at ubuntu.bhk.mine.nu amavisd-new-2.5.4 (200803
    12), Unicode aware, LANG="C"
    Nov 9 12:28:07 ubuntu amavis[20607]: user=1001, EUID: 1001 (1001); group=, EGID: 1001 1002 1001 5 4 (1001 1002 1001 5 4)
    Nov 9 12:28:07 ubuntu amavis[20607]: Perl version 5.008007
    Nov 9 12:28:18 ubuntu amavis[20607]: SpamControl: init_pre_chroot done
    Nov 9 12:28:18 ubuntu amavis[20687]: Net::Server: Process Backgrounded
    Nov 9 12:28:18 ubuntu amavis[20687]: Net::Server: 2008/11/09-12:28:18 Amavis (type Net::Server::PreForkSimple) starting! pid(206
    87)
    Nov 9 12:28:19 ubuntu amavis[20687]: Net::Server: Binding to UNIX socket file /opt/zimbra/data/amavisd/amavisd.sock using SOCK_S
    TREAM
    Nov 9 12:28:19 ubuntu amavis[20687]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
    Nov 9 12:28:20 ubuntu amavis[20687]: Net::Server: Group Not Defined. Defaulting to EGID '1001 1002 1001 5 4'
    Nov 9 12:28:20 ubuntu amavis[20687]: Net::Server: User Not Defined. Defaulting to EUID '1001'
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Amavis::Conf 2.094
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Archive::Zip 1.23
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Compress::Zlib 1.42
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Convert::TNEF 0.17
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Convert::UUlib 1.09
    Nov 9 12:28:21 ubuntu amavis[20687]: Module DBD::mysql 4.007
    Nov 9 12:28:21 ubuntu amavis[20687]: Module DBI 1.604
    Nov 9 12:28:21 ubuntu amavis[20687]: Module DB_File 1.817
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Digest::MD5 2.33
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Digest::SHA1 2.11
    Nov 9 12:28:21 ubuntu amavis[20687]: Module MIME::Entity 5.426
    Nov 9 12:28:21 ubuntu amavis[20687]: Module MIME::Parser 5.426
    Nov 9 12:28:21 ubuntu amavis[20687]: Module MIME::Tools 5.426
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Mail::Header 2.03
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Mail::Internet 2.03
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Mail::SpamAssassin 3.002004
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Net:NS 0.63
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Net::LDAP 0.36
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Net::Server 0.97
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Time::HiRes 1.9715
    Nov 9 12:28:21 ubuntu amavis[20687]: Module URI 1.36
    Nov 9 12:28:21 ubuntu amavis[20687]: Module Unix::Syslog 1.0
    Nov 9 12:28:21 ubuntu amavis[20687]: Amavis:B code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: Amavis::Cache code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: SQL base code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: SQL::Log code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: SQL::Quarantine NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: Lookup::SQL code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: Lookup::LDAP code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: AM.PDP-in proto code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: SMTP-in proto code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: Courier proto code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: SMTP-out proto code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: Pipe-out proto code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: BSMTP-out proto code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: Local-out proto code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: OS_Fingerprint code NOT loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: ANTI-VIRUS code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: ANTI-SPAM code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: ANTI-SPAM-SA code loaded
    Nov 9 12:28:21 ubuntu amavis[20687]: Unpackers code loaded
    Nov 9 12:28:22 ubuntu amavis[20687]: Found $file at /usr/bin/file
    Nov 9 12:28:22 ubuntu amavis[20687]: No $dspam, not using it
    Nov 9 12:28:22 ubuntu amavis[20687]: No $altermime, not using it
    Nov 9 12:28:22 ubuntu amavis[20687]: Internal decoder for .mail
    Nov 9 12:28:22 ubuntu amavis[20687]: Internal decoder for .asc
    Nov 9 12:28:22 ubuntu amavis[20687]: Internal decoder for .uue
    Nov 9 12:28:22 ubuntu amavis[20687]: Internal decoder for .hqx
    Nov 9 12:28:22 ubuntu amavis[20687]: Internal decoder for .ync
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .F tried: unfreeze, freeze -d, melt, fcat
    Nov 9 12:28:22 ubuntu amavis[20687]: Found decoder for .Z at /bin/uncompress
    Nov 9 12:28:22 ubuntu amavis[20687]: Found decoder for .gz at /bin/gzip -d
    Nov 9 12:28:22 ubuntu amavis[20687]: Found decoder for .bz2 at /usr/bin/bzip2 -d
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .lzo tried: lzop -d
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .rpm tried: rpm2cpio.pl, rpm2cpio
    Nov 9 12:28:22 ubuntu amavis[20687]: Found decoder for .cpio at /bin/cpio
    Nov 9 12:28:22 ubuntu amavis[20687]: Found decoder for .tar at /bin/cpio
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .deb tried: ar
    Nov 9 12:28:22 ubuntu amavis[20687]: Internal decoder for .zip
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .7z tried: 7zr, 7za, 7z
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .rar tried: rar, unrar
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .arj tried: arj, unarj
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .arc tried: nomarch, arc
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .zoo tried: zoo, unzoo
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .lha tried: lha
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .cab tried: cabextract
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .tnef tried: tnef
    Nov 9 12:28:22 ubuntu amavis[20687]: Internal decoder for .tnef
    Nov 9 12:28:22 ubuntu amavis[20687]: No decoder for .exe tried: rar, unrar; lha; arj, unarj
    Nov 9 12:28:22 ubuntu amavis[20687]: Using primary internal av scanner code for ClamAV-clamd
    Nov 9 12:28:22 ubuntu amavis[20687]: SpamControl: initializing Mail::SpamAssassin
    Nov 9 12:28:26 ubuntu zimbramon[19247]: 19247:info: Starting antivirus via zmcontrol
    Nov 9 12:28:44 ubuntu zimbramon[20697]: 20697:info: zmmtaconfig: zmmtaconfig already running at 19751
    Nov 9 12:28:56 ubuntu clamd[20803]: clamd daemon 0.93.1 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Nov 9 12:28:57 ubuntu clamd[20803]: Log file size limited to 20971520 bytes.
    Nov 9 12:28:57 ubuntu clamd[20803]: Reading databases from /opt/zimbra/data/clamav/db
    Nov 9 12:28:57 ubuntu clamd[20803]: Not loading PUA signatures.
    Nov 9 12:29:10 ubuntu zimbramon[20621]: 20621:info: zmstatuslog timeout after 60 seconds
    Nov 9 12:29:30 ubuntu CRON[20620]: (pam_unix) session closed for user zimbra
    Nov 9 12:30:07 ubuntu CRON[20841]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:30:09 ubuntu CRON[20838]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:30:09 ubuntu CRON[20840]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:30:10 ubuntu CRON[20839]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:30:11 ubuntu CRON[20837]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:30:17 ubuntu CRON[20839]: (pam_unix) session closed for user zimbra
    Nov 9 12:30:18 ubuntu zimbramon[19247]: 19247:info: Starting snmp via zmcontrol
    Nov 9 12:30:25 ubuntu zimbramon[19247]: 19247:info: Starting spell via zmcontrol
    Nov 9 12:30:36 ubuntu postfix/postqueue[20879]: fatal: Queue report unavailable - mail system is down
    Nov 9 12:30:38 ubuntu zimbramon[20847]: 20847:info: 2008-11-09 12:30:22, QUEUE: 0 0
    Nov 9 12:31:14 ubuntu zimbramon[20846]: 20846:info: 2008-11-09 12:30:22, DISK: ubuntu.bhk.mine.nu: dev: /dev/sda1, mp: /, tot: 2
    3836, avail: 15874
    Nov 9 12:31:15 ubuntu CRON[20840]: (pam_unix) session closed for user zimbra
    Nov 9 12:31:17 ubuntu zimbramon[19247]: 19247:info: Starting mta via zmcontrol
    Nov 9 12:31:25 ubuntu CRON[20838]: (pam_unix) session closed for user zimbra
    Nov 9 12:31:26 ubuntu zimbramon[20845]: 20845:info: zmstatuslog timeout after 60 seconds
    Nov 9 12:31:41 ubuntu zimbramon[21009]: 21009:info: zmmtaconfig: zmmtaconfig already running at 19751
    Nov 9 12:32:04 ubuntu CRON[21110]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:32:07 ubuntu CRON[20841]: (pam_unix) session closed for user zimbra
    Nov 9 12:32:14 ubuntu clamd[20803]: Unable to open file or directory
    Nov 9 12:32:36 ubuntu zmmailboxdmgr[21526]: status requested
    Nov 9 12:32:37 ubuntu zmmailboxdmgr[21526]: status OK
    Nov 9 12:32:37 ubuntu amavis[20687]: SpamControl: init_pre_fork done
    Nov 9 12:32:48 ubuntu zmmailboxdmgr[21699]: status requested
    Nov 9 12:32:48 ubuntu zmmailboxdmgr[21699]: status OK
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: antispam: Running
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: antivirus: Stopped
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: amavisd: running pid: 20687

    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: ldap: Running
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: logger: Stopped
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: mailbox: Stopped
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: mta: Stopped
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: snmp: Stopped
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: spell: Running
    Nov 9 12:32:49 ubuntu zimbramon[21112]: 21112:info: 2008-11-09 12:32:09, STATUS: ubuntu.bhk.mine.nu: stats: Stopped
    Nov 9 12:32:49 ubuntu CRON[21110]: (pam_unix) session closed for user zimbra
    Nov 9 12:32:52 ubuntu zmmailboxdmgr[21861]: status requested
    Nov 9 12:32:52 ubuntu zmmailboxdmgr[21861]: status OK
    Nov 9 12:32:53 ubuntu zimbramon[19751]: 19751:info: zmmtaconfig: Watchdog adding antivirus to restart list
    Nov 9 12:32:53 ubuntu zimbramon[19751]: 19751:info: ANTIVIRUS restart initiated from zmmtaconfig
    Nov 9 12:32:57 ubuntu postfix/postfix-script[22024]: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/main.cf
    Nov 9 12:32:57 ubuntu postfix/postfix-script[22037]: starting the Postfix mail system
    Nov 9 12:32:58 ubuntu postfix/master[22038]: daemon started -- version 2.4.7, configuration /opt/zimbra/postfix-2.4.7.5z/conf
    Nov 9 12:32:58 ubuntu postfix/qmgr[22042]: 8A800976D3: from=<zimbra@ubuntu.bhk.mine.nu>, size=1084, nrcpt=1 (queue active)
    Nov 9 12:33:00 ubuntu saslauthd[22077]: detach_tty : master pid is: 22077
    Nov 9 12:33:00 ubuntu saslauthd[22077]: ipc_init : listening on socket: /opt/zimbra/cyrus-sasl-2.1.22.3z/state/mux
    Nov 9 12:33:01 ubuntu postfix/qmgr[22042]: F094E976D4: from=<zimbra@ubuntu.bhk.mine.nu>, size=1082, nrcpt=1 (queue active)
    Nov 9 12:33:01 ubuntu postfix/qmgr[22042]: 77CEC976D5: from=<zimbra@ubuntu.bhk.mine.nu>, size=1092, nrcpt=1 (queue active)
    Nov 9 12:33:01 ubuntu postfix/qmgr[22042]: C0879976D6: from=<zimbra@ubuntu.bhk.mine.nu>, size=1092, nrcpt=1 (queue active)
    Nov 9 12:33:01 ubuntu zimbramon[19247]: 19247:info: Starting stats via zmcontrol
    Nov 9 12:33:24 ubuntu clamd[22532]: clamd daemon 0.93.1 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Nov 9 12:33:24 ubuntu clamd[22532]: Log file size limited to 20971520 bytes.
    Nov 9 12:33:24 ubuntu clamd[22532]: Reading databases from /opt/zimbra/data/clamav/db
    Nov 9 12:33:24 ubuntu clamd[22532]: Not loading PUA signatures.
    Nov 9 12:33:37 ubuntu clamd[22532]: Loaded 458579 signatures.
    Nov 9 12:33:38 ubuntu clamd[22532]: TCP: Bound to port 3310
    Nov 9 12:33:38 ubuntu clamd[22532]: TCP: Setting connection queue length to 15
    Nov 9 12:33:38 ubuntu clamd[22574]: Limits: Global size limit set to 104857600 bytes.
    Nov 9 12:33:38 ubuntu clamd[22574]: Limits: File size limit set to 104857600 bytes.
    Nov 9 12:33:38 ubuntu clamd[22574]: Limits: Recursion level limit set to 16.
    Nov 9 12:33:38 ubuntu clamd[22574]: Limits: Files limit set to 10000.
    Nov 9 12:33:38 ubuntu clamd[22574]: Archive support enabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: Archive: Blocking encrypted archives.
    Nov 9 12:33:38 ubuntu clamd[22574]: Algorithmic detection enabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: Portable Executable support enabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: ELF support enabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: Mail files support enabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: OLE2 support enabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: PDF support disabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: HTML support enabled.
    Nov 9 12:33:38 ubuntu clamd[22574]: Self checking every 1800 seconds.
    Nov 9 12:34:01 ubuntu CRON[22587]: (pam_unix) session opened for user zimbra by (uid=0)
    Nov 9 12:34:14 ubuntu zmmailboxdmgr[22727]: status requested

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,486
    Rep Power
    56

    Default

    So is the antivirus the only service that isn't starting? We can also check your DNS, run the following command on the zimbra server (please post the output):

    Code:
    host `hostname`  <-- use backticks not single quotes
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com mx
    dig yourdomain.com any
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    kingfeanor is offline New Member
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    6

    Default

    No, the antivirus isn't the only one. After the everything seems to start, I get this:
    Code:
    zimbra@ubuntu:~$ zmcontrol status
    Host ubuntu.bhk.mine.nu
            antispam                Running
            antivirus               Running
            ldap                    Running
            logger                  Stopped
                    logmysql.server is not running
                    zmlogswatchctl is not running
            mailbox                 Stopped
                    mysql.server is not running
            mta                     Running
            snmp                    Stopped
                    swatch is not running
            spell                   Running
            stats                   Stopped
    Code:
    zimbra@ubuntu:~$ host `hostname`
    ubuntu.bhk.mine.nu has address 10.0.0.10
    zimbra@ubuntu:~$ cat /etc/hosts
    127.0.0.1       localhost.localdomain
    127.0.1.1       ubuntu.bhk.mine.nu      ubuntu
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    Code:
    zimbra@ubuntu:~$ cat /etc/resolv.conf
    search bhk.mine.nu
    nameserver 10.0.0.1
    Code:
    zimbra@ubuntu:~$ dig bhk.mine.nu MX
    
    ; <<>> DiG 9.3.2 <<>> bhk.mine.nu MX
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18996
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;bhk.mine.nu.                   IN      MX
    
    ;; ANSWER SECTION:
    bhk.mine.nu.            86400   IN      MX      10 ubuntu.bhk.mine.nu.
    
    ;; AUTHORITY SECTION:
    bhk.mine.nu.            86400   IN      NS      bhk.mine.nu.
    
    ;; ADDITIONAL SECTION:
    ubuntu.bhk.mine.nu.     86400   IN      A       10.0.0.10
    bhk.mine.nu.            86400   IN      A       68.187.115.114
    
    ;; Query time: 3 msec
    ;; SERVER: 10.0.0.1#53(10.0.0.1)
    ;; WHEN: Mon Nov 10 07:57:11 2008
    ;; MSG SIZE  rcvd: 98

    Code:
    zimbra@ubuntu:~$ dig bhk.mine.nu any
    
    ; <<>> DiG 9.3.2 <<>> bhk.mine.nu any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51264
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;bhk.mine.nu.                   IN      ANY
    
    ;; ANSWER SECTION:
    bhk.mine.nu.            86400   IN      SOA     gentoo.bhk.mine.nu. ben.gentoo.bhk.mine.nu. 2008111001 14400 1800 604800 28800
    bhk.mine.nu.            86400   IN      MX      10 ubuntu.bhk.mine.nu.
    bhk.mine.nu.            86400   IN      NS      bhk.mine.nu.
    bhk.mine.nu.            86400   IN      A       68.187.115.114
    
    ;; ADDITIONAL SECTION:
    ubuntu.bhk.mine.nu.     86400   IN      A       10.0.0.10
    bhk.mine.nu.            86400   IN      A       68.187.115.114
    
    ;; Query time: 3 msec
    ;; SERVER: 10.0.0.1#53(10.0.0.1)
    ;; WHEN: Mon Nov 10 07:57:39 2008
    ;; MSG SIZE  rcvd: 161
    Last edited by phoenix; 11-16-2008 at 08:19 AM.

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Your /etc/hosts file is incorrect. It should look like
    Code:
    127.0.0.1         localhost.localdomain localhost
    10.0.0.10         ubuntu.bhk.mine.nu ubuntu

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,486
    Rep Power
    56

    Default

    In addition to the hosts file error you also have your internal MX record pointing to your external IP address, this is incorrect as it should point to your 10.x.x.x address. Shutdown Zimbra, make the changes to your DNS then restart Zimbra and post any error messages (if you get any).
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,486
    Rep Power
    56

    Default

    You would also appear to have no external MX record pointing to your IP address, you'll also need to fix that otherwise you'll never get any mail delivered. Check the report here: Quick Check - Pingability.com
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    kingfeanor is offline New Member
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    6

    Default

    I changed the hosts file. This email server sits behind a firewall and doesn't have incoming (from internet) smtp connections. All mail is retrieved via fetchmail and delivered locally with procmail. In this case, why does MX record matter? If it does, can you point out where the error is here? I am not seeing anything incorrect. Remember this dns is serving only internal clients.

    Code:
    ; Zone File for bhk.mine.nu
    ; Ben Kuehmichel
    $TTL 1D
    @               IN      SOA     gentoo.bhk.mine.nu. ben.gentoo.bhk.mine.nu. (
                                    2008111001      ; serial
                                    4H              ; refresh
                                    30M             ; retry
                                    1W              ; expire
                                    8H)             ; min TTL
    ;
                            MX      10      ubuntu.bhk.mine.nu.
                            NS      bhk.mine.nu.
    ;
    bhk.mine.nu.            A       68.187.115.114
    www                     CNAME   bhk.mine.nu.
    gentoo                  A       10.0.0.1
    linux                   A       10.0.0.2
    vmware                  A       10.0.0.6
    ubuntu                  A       10.0.0.10
    Last edited by phoenix; 11-16-2008 at 08:19 AM.

  10. #10
    Perlpigeon is offline Member
    Join Date
    Nov 2008
    Location
    Weesp, Netherlands
    Posts
    10
    Rep Power
    6

    Default

    I actually had these starting errors on a new box where I restored a backup, due to the sudoers "requesttty" error. You could check following article: http://wiki.zimbra.com/index.php?title=Sudoers

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  3. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM
  4. [SOLVED] Error Installing Zimbra on RHEL 5
    By harris7139 in forum Installation
    Replies: 10
    Last Post: 09-25-2007, 11:39 AM
  5. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 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
  •