Results 1 to 10 of 16

Thread: Install error : FC3

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    10

    Question Install error : FC3

    First off great piece of coding guys....it looks great.

    I work for a small Biotech Company in West Virginia, and we wouls love to use zimbra as our mail server. Trouble is I can not get it to setup correctly. I am the only one in the bunch that has any linux expirence, and mine is at the novice stage. I installed FC3 and yum update so everything is current.

    I then did a ps -ef | grep slapd to make sure that no proccess were running.
    i also did a ps -ef | grep zimbra and nothing was running so.....

    I did ./install.sh and away we went.....

    Toward the end here is what I got :

    Creating db...done
    Setting the hostname to mail.vandaliaresearch.com...done
    Setting the LDAP host to mail.vandaliaresearch.com...done
    Initializing ldap...done
    Creating server mail.vandaliaresearch.com...done
    Creating domain mail.vandaliaresearch.com...done
    Creating admin account admin@mail.vandaliaresearch.com...done
    Adding mail.vandaliaresearch.com to zimbraMailHostPool in default COS...done
    Initializing mta config...done
    Configuring SNMP...done
    Setting services on mail.vandaliaresearch.com...done
    Setting up SSL...done
    Starting servers...Calling GetServiceInfoRequest (mail.vandaliaresearch.com)

    RESPONSE: (Zimbra::Mon::serviceInfo)
    host
    ip 64.254.50.4
    name mail.vandaliaresearch.com
    done
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.vandaliaresearch.com:389)

    Installation complete!


    So.....I have tried 3 times now, and each time I get a similar error message. So....

    Any ideas would great.

    Thanks in advance for your time.

    Ian

  2. #2
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    10

    Default

    Quote Originally Posted by Ian
    I then did a ps -ef | grep slapd to make sure that no proccess were running.
    i also did a ps -ef | grep zimbra and nothing was running so.....

    I did ./install.sh and away we went.....

    Toward the end here is what I got :

    RESPONSE: (Zimbra::Mon::serviceInfo)
    host
    ip 64.254.50.4
    name mail.vandaliaresearch.com
    done
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.vandaliaresearch.com:389)

    Installation complete!
    Ya know, I've occasionally run into something similar. I got that error, and had the services not start up as well. I actually can't put my finger on what I did to fix it (I mean, I don't really think I did a whole lot aside from reinstalling). Also, I wouldn't worry too much about that service.FAILURE error.... it occurred in my most recent installation, which works fine.

    To solve your problem, I'd start here --

    With Zimbra installed, verify like you had above that no Zimbra related processes are running (first, do /etc/init.d/zimbra stop, then poke around with 'ps').

    After you're sure they're all stopped, then run: "/etc/init.d/zimbra start" (which will take some time, be patient :-)

    At this point, run "su - zimbra", followed by "zmcontrol status"... you should see a bunch of services that it mentions... antivirus, antispam, ldap, mailbox... and they should show "running" next to them.

    If so, that's excellent, and you're in good shape.

    If not, that's an issue I ran into. The only thing I really did is to reinstall, by running ./install.sh (and doing the install, not the upgrade... let it replace everything). When doing that, I also was sure to first delete all the files in /tmp (the installer puts temporary config and log files there).

    As you answer the questions of the installer, one of them is "Start servers after installation". This may be purely coincidence, but I've run into less problems when I say "no", and then start them manually afterwards (with /etc/init.d/zimbra start). I know, it's odd, but I'm just reporting what I've seen :-)

    If that still doesn't work, post the results of the "zmcontrol status" command after you've started Zimbra, and attach your install.log file (located in /tmp).

    Good luck,
    -Eric

  3. #3
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default install log

    There's an install log in /tmp/install.log.$$, with $$ as the pid of the install process - there may be some errors in there.

    It looks like slapd isn't starting, which means that's it's probably not initializing.

    After the failed install, you can try running /opt/zimbra/libexec/zmldapinit passwd
    with passwd being the root ldap password you want to use. Check the output of that for errors, too.
    Last edited by marcmac; 10-21-2005 at 08:28 AM. Reason: passwd didn't show up

  4. #4
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    10

    Default I'll try that..

    Ok I stopped zimbra and then started it again, and still no services showing up.

    i will do an un-install and clear the tmp and the post again. This time I will not say yes to starting the servers after install....

    Thanks for the help. I will keep you posted.

    ian

  5. #5
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    10

    Question Humm....

    Ok did the reinstall....

    I did not select to start the servers after install...
    then I :

    [root@vandalia_zimbra zcs]# /etc/init.d/zimbra start
    Calling startup (mail.vandaliaresearch.com)

    perl /opt/zimbra/bin/zmmon &

    RESPONSE: (Zimbra::Mon::serviceInfo)
    host
    ip 64.254.50.4
    name mail.vandaliaresearch.com

    Then i did the following :
    [root@vandalia_zimbra zcs]# su - zimbra
    [zimbra@vandalia_zimbra ~]$ zmcontrol status
    Calling GetServiceInfoRequest (mail.vandaliaresearch.com)

    RESPONSE: (Zimbra::Mon::serviceInfo)
    host
    ip 64.254.50.4
    name mail.vandaliaresearch.com

    So.... still no services starting......
    I have attached the install.log file as well..
    please help ?

    Ian
    Attached Files Attached Files
    Last edited by Ian; 10-21-2005 at 08:54 AM.

  6. #6
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    10

    Default

    I also tried marcmac's suggestions and here is what that yeilded...
    [root@vandalia_zimbra zcs]# /opt/zimbra/libexec/zmldapinit (my password)
    slapd already running: pid 4648
    ldap_bind: Invalid credentials (49)
    ldap_bind: Invalid credentials (49)
    [root@vandalia_zimbra zcs]# kill 4648
    [root@vandalia_zimbra zcs]# /etc/init.d/zimbra stop
    Calling ShutDownRequest (mail.vandaliaresearch.com)

    [root@vandalia_zimbra zcs]# /etc/init.d/zimbra start
    Calling startup (mail.vandaliaresearch.com)

    perl /opt/zimbra/bin/zmmon &

    RESPONSE: (Zimbra::Mon::serviceInfo)
    host
    ip 64.254.50.4
    name mail.vandaliaresearch.com

  7. #7
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default localhost vs. hostname

    I'm seeing errors connecting to mysql, as well as ldap, in the install log.

    It looks like ldap is running, tho - but we're not setting the password correctly.

    So - do a ps and make sure slapd is running, then try these two:

    telnet localhost 389
    telnet mail.vandaliaresearch.com 389

    I suspect that one or both will fail. If they both fail, then try
    telnet localhost 7389.

    If that succeeds, then, as root:
    /opt/zimbra/bin/zmiptables -u
    /opt/zimbra/bin/zmiptables -i

    If only the second telnet fails, then make sure that the dns resolution for mail.vandaliaresearch.com is returning the correct IP for the box...

    Also - what's in your /etc/hosts file? Is it:

    127.0.0.1 localhost.localdomain localhost
    some.other.ip.address mail.vandaliaresearch.com mail

  8. #8
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    10

    Default Bigger Picture...

    I am not sure if this helps but...

    Ok our main site is hosted offsite, and they currently run our mail. We wanted to set up an exchange server here in house, but were scared of the cost. So we started look at other options. We found zimbra and decided to try to give it a shot.

    On a local machine we installed FC3 and then zimbra, i think that part of the problem was that mail.vandaliaresearch.com actually did exsist at our current service provider...

    I am not that good at networking stuff. so......not sure where to go now.

    If we just wanted to try zimbra mail here in house what would be the best way to go about that....

    Thanks for the help thus far,

    ian

Similar Threads

  1. fresh install (both OS and Zimbra) but zimbra-spell fails
    By xtremetoonz in forum Installation
    Replies: 14
    Last Post: 09-09-2007, 01:34 AM
  2. INSTALLATION PROBLEM ON Centos 4.3 x_86-64Bit.
    By jawad@cogilent.com in forum Installation
    Replies: 11
    Last Post: 07-09-2007, 09:09 AM
  3. Replies: 16
    Last Post: 11-29-2006, 10:36 AM
  4. Fail to install on Debian
    By hsrai in forum Installation
    Replies: 2
    Last Post: 03-25-2006, 04:14 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
  •