installed, but won't run FC3

Ask questions about your setup or get help installing ZCS server (ZD section below).
exothermic
Posts: 20
Joined: Fri Sep 12, 2014 10:01 pm

installed, but won't run FC3

Post by exothermic »

I installed the server but durring config I get the following:
Adding zimbra.example.com to zimbraMailHostPool in default COS

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.example.com:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.example.com:389)

Done
....
*** Running as zimbra user: /opt/zimbra/bin/zmcontrol start

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.example.com:389)
Also when I try to start zimbra I get this:
[root@zimbra zcs]# /etc/init.d/zimbra start

Host zimbra.example.com

Starting ldap...Done.

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.example.com:389)
Let me know what I need to look at next.
Thanks
Miles
goetzi
Advanced member
Advanced member
Posts: 184
Joined: Fri Sep 12, 2014 9:59 pm

installed, but won't run FC3

Post by goetzi »

Just search for "getDirectContext". There are a few people who also had this problem.
agnOstos
Advanced member
Advanced member
Posts: 96
Joined: Fri Sep 12, 2014 9:57 pm

installed, but won't run FC3

Post by agnOstos »

Did you run 'yum update' ?
If not run that. If you still have problems after that run 'yum install bind-libs'
That's what fixed that problem for me.
exothermic
Posts: 20
Joined: Fri Sep 12, 2014 10:01 pm

installed, but won't run FC3

Post by exothermic »

I have now looked at the various posts regarding: "getDirectContext" and they talked about two things:
1.) hosts, which for me now shows:
[root@zimbra zcs]# host localhost

localhost has address 127.0.0.1
2.) bind-libs which now shows as:
[root@zimbra zcs]# rpm -qf /usr/lib/libbind.so.3

bind-libs-9.2.5-3

bind-libbind-devel-9.2.5-3
So why am I still getting the exact same errors?
Thanks
Miles
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

installed, but won't run FC3

Post by marcmac »

Did you reinstall after making those changes?
WHat does

host localhost

return?
exothermic
Posts: 20
Joined: Fri Sep 12, 2014 10:01 pm

installed, but won't run FC3

Post by exothermic »

hmm are you reading my posts? #1 is exactly what host localhost returns.
Also yes, I'm reinstalling after each change, from a complete uninstal (not upgrade) The pasted error is from the configuration applying that comes from the end of the install.
Miles
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

installed, but won't run FC3

Post by marcmac »

Sorry about the duplicate questions.
After the failed install

su - zimbra

ldap start
Did it start? Any errors?
/opt/zimbra/libexec/zmldapinit - any errors?
exothermic
Posts: 20
Joined: Fri Sep 12, 2014 10:01 pm

installed, but won't run FC3

Post by exothermic »

[root@zimbra zcs]# su zimbra

[zimbra@zimbra zcs]$ ldap start

db_recover: Finding last valid log LSN: file: 1 offset 28

Started slapd: pid


[zimbra@zimbra zcs]$ /opt/zimbra/libexec/zmldapinit

db_recover: Finding last valid log LSN: file: 1 offset 28
Started slapd: pid

ldap_bind: Can't contact LDAP server (-1)

ldap_bind: Can't contact LDAP server (-1)

ls: /opt/zimbra/lib/conf/*ldif: No such file or directory
What does this mean?
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

installed, but won't run FC3

Post by marcmac »

Ldap is refusing to start.
edit /opt/zimbra/conf/slapd.conf, comment out the line with loglevel 0
ldap start
send me the bottom of /var/log/zimbra.log
exothermic
Posts: 20
Joined: Fri Sep 12, 2014 10:01 pm

installed, but won't run FC3

Post by exothermic »

[root@zimbra zcs]# tail /var/log/zimbra.log

Nov 23 17:17:52 zimbra slapd[21162]: bdb_db_init: Initializing BDB database

Nov 23 17:17:52 zimbra slapd[21169]: bdb(): unable to initialize mutex: Function not implemented

Nov 23 17:17:52 zimbra slapd[21169]: bdb(): /opt/zimbra/openldap-data/__db.001: unable to initialize environment lock: Function not implemented

Nov 23 17:17:52 zimbra slapd[21169]: bdb_db_open: dbenv_open failed: Function not implemented (38)

Nov 23 17:17:52 zimbra slapd[21169]: backend_startup: bi_db_open failed! (38)

Nov 23 17:17:52 zimbra slapd[21169]: bdb(): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem

Nov 23 17:17:52 zimbra slapd[21169]: bdb(): txn_checkpoint interface requires an environment configured for the transaction subsystem

Nov 23 17:17:52 zimbra slapd[21169]: bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)

Nov 23 17:17:52 zimbra slapd[21169]: slapd stopped.

Nov 23 17:17:52 zimbra slapd[21169]: connections_destroy: nothing to destroy.
Post Reply