Problems installing (cvs) on FC4 (x86_64)
Posted: Mon Dec 12, 2005 10:22 am
Hi.
Let me start by saying that I really appreciate the fact that Zimbra is FOSS. I also know that it is just the beginning, and that as such it suffers from many compatibility issues.
I am trying to build and install from the CVS version. I am using FC4, on a x86_64 machine. I have encountered some problems while building ThirdParty tools - but I resolved them (I can send the diffs if needed): they mostly invlove adding "-fPIC" to the Native compilation. Once I am done, I will post my experience.
Also, the CVS head is not very stable, and doesn't always compile. Can you please make sure that at least the CVS HEAD branch compiles? I was forced many times to mix-and-match files from vaious dates, just to make the server/client compile ;-)
I use the following guidelines:
* http://www.zimbra.com/blog/archives/2005/08/developing_with.html"
* ZimbraServer/docs/build_cvs_howto.txt
Currently, I have reached the stage where I need to run /opt/zimbra/libexec/zmldapinit. It fails, because of an authentication?? file.
++++++
TLS: could not load verify locations (file:`/opt/zimbra/conf/ca/ca.pem',dir:`').
++++++
What is this ca.pem file? The "conf/ca" directory is empty in my case - where should have it been initialized?
Thanks.
These are the last lines of running the init script in verbose mode (+slapd in verbose):
=================================================
===============================
Let me start by saying that I really appreciate the fact that Zimbra is FOSS. I also know that it is just the beginning, and that as such it suffers from many compatibility issues.
I am trying to build and install from the CVS version. I am using FC4, on a x86_64 machine. I have encountered some problems while building ThirdParty tools - but I resolved them (I can send the diffs if needed): they mostly invlove adding "-fPIC" to the Native compilation. Once I am done, I will post my experience.
Also, the CVS head is not very stable, and doesn't always compile. Can you please make sure that at least the CVS HEAD branch compiles? I was forced many times to mix-and-match files from vaious dates, just to make the server/client compile ;-)
I use the following guidelines:
* http://www.zimbra.com/blog/archives/2005/08/developing_with.html"
* ZimbraServer/docs/build_cvs_howto.txt
Currently, I have reached the stage where I need to run /opt/zimbra/libexec/zmldapinit. It fails, because of an authentication?? file.
++++++
TLS: could not load verify locations (file:`/opt/zimbra/conf/ca/ca.pem',dir:`').
++++++
What is this ca.pem file? The "conf/ca" directory is empty in my case - where should have it been initialized?
Thanks.
These are the last lines of running the init script in verbose mode (+slapd in verbose):
=================================================
daemon_init: ldap://:389/
/opt/zimbra/openldap/etc/openldap/schema/zimbra.schema: line 2832: bad config line (ignored)
bdb_db_init: Initializing BDB database
TLS: could not load verify locations (file:`/opt/zimbra/conf/ca/ca.pem',dir:`').
TLS: error:02001002:system library:fopen:No such file or directory bss_file.c:104
TLS: error:2006D080:BIO routines:BIO_new_file:no such file bss_file.c:107
TLS: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib by_file.c:279
main: TLS init def ctx failed: -1
slapd stopped.
connections_destroy: nothing to destroy.
Started slapd: pid
if [ $? -ne 0 ]; then
exit 1
fi
${zimbra_home}/openldap/bin/ldapmodify -a -c -H ldap://127.0.0.1:389 -w ${ldap_root_password} -D "${zimbra_ldap_userdn}" -x -f ${config_dir}/zimbra.ldif
ldap_bind: Can't contact LDAP server (-1)
if [ $? -ne 0 ]; then
exit 2
fi
===============================