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

Postby exothermic » Wed Nov 23, 2005 2:27 am

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

Postby goetzi » Wed Nov 23, 2005 8:58 am

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

Postby agnOstos » Wed Nov 23, 2005 10:49 am

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

Postby exothermic » Wed Nov 23, 2005 6:32 pm

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

Postby marcmac » Wed Nov 23, 2005 6:51 pm

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

Postby exothermic » Wed Nov 23, 2005 7:16 pm

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

Postby marcmac » Wed Nov 23, 2005 7:19 pm

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

Postby exothermic » Wed Nov 23, 2005 7:21 pm

[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

Postby marcmac » Wed Nov 23, 2005 7:23 pm

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

Postby exothermic » Wed Nov 23, 2005 7:25 pm

[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.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 3 guests