Install error : FC3

Ask questions about your setup or get help installing ZCS server (ZD section below).
365Ian
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install error : FC3

Postby 365Ian » Fri Oct 21, 2005 8:44 am

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


andreychek
Advanced member
Advanced member
Posts: 155
Joined: Fri Sep 12, 2014 9:58 pm

Install error : FC3

Postby andreychek » Fri Oct 21, 2005 9:24 am

[quote user="365Ian"]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![/QUOTE]

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
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Install error : FC3

Postby marcmac » Fri Oct 21, 2005 9:28 am

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.
365Ian
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install error : FC3

Postby 365Ian » Fri Oct 21, 2005 9:34 am

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
365Ian
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install error : FC3

Postby 365Ian » Fri Oct 21, 2005 9:51 am

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

install.log.3248.txt

365Ian
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install error : FC3

Postby 365Ian » Fri Oct 21, 2005 10:01 am

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
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Install error : FC3

Postby marcmac » Fri Oct 21, 2005 10:40 am

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
365Ian
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install error : FC3

Postby 365Ian » Fri Oct 21, 2005 11:08 am

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
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Install error : FC3

Postby marcmac » Fri Oct 21, 2005 11:12 am

Ok, try what I've suggested before. If it is a dns issue
(eg, host mail.vandaliaresearch.com doesn't resolve to the correct IP) you can still do this.
Find out what the DNS name of the install host is, and use that as the logical hostname during the installation.
365Ian
Posts: 9
Joined: Fri Sep 12, 2014 9:58 pm

Install error : FC3

Postby 365Ian » Fri Oct 21, 2005 11:27 am

the dns name of the host is vandalia_zimbra
so does that make the logical host name :
vandalia_zimbra.vandaliaresearch.com
or is it :

vandalia_zimbra.localdomain
not sure becuase zimbra install will not let me enter vandalia_zimbra as a logical host name...
thanks again..

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 4 guests