installed, but won't run FC3
-
- Posts: 20
- Joined: Fri Sep 12, 2014 10:01 pm
installed, but won't run FC3
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
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
installed, but won't run FC3
Just search for "getDirectContext". There are a few people who also had this problem.
installed, but won't run FC3
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.
If not run that. If you still have problems after that run 'yum install bind-libs'
That's what fixed that problem for me.
-
- Posts: 20
- Joined: Fri Sep 12, 2014 10:01 pm
installed, but won't run FC3
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
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
installed, but won't run FC3
Did you reinstall after making those changes?
WHat does
host localhost
return?
WHat does
host localhost
return?
-
- Posts: 20
- Joined: Fri Sep 12, 2014 10:01 pm
installed, but won't run FC3
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
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
installed, but won't run FC3
Sorry about the duplicate questions.
After the failed install
su - zimbra
ldap start
Did it start? Any errors?
/opt/zimbra/libexec/zmldapinit - any errors?
After the failed install
su - zimbra
ldap start
Did it start? Any errors?
/opt/zimbra/libexec/zmldapinit - any errors?
-
- Posts: 20
- Joined: Fri Sep 12, 2014 10:01 pm
installed, but won't run FC3
[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?
[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?
installed, but won't run FC3
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
edit /opt/zimbra/conf/slapd.conf, comment out the line with loglevel 0
ldap start
send me the bottom of /var/log/zimbra.log
-
- Posts: 20
- Joined: Fri Sep 12, 2014 10:01 pm
installed, but won't run FC3
[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.
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.