Cannot connect to Zimbra after installation

Ask questions about your setup or get help installing ZCS server (ZD section below).
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Cannot connect to Zimbra after installation

Postby marcmac » Fri Sep 09, 2005 1:18 pm

[quote user="GertThiel"]I've read post #4 and checked /etc/hosts before a posted my reply.
My /etc/hosts:
# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

192.168.2.71 zimbra.gtds.lan zimbra

- Gert[/QUOTE]
Gert, it appears from this and previous posts that there's some kind of disconnect in the naming of your box, as far as ZCS is concerned. I see that ZCS thinks the local hostname is zimbra.gtds.lan, which is in your /etc/hosts, so resolution shouldn't be a problem. The way that the monitor daemon starts, but doesn't start any services, makes me think that the host wasn't configured in ldap correctly.
Can you take a look at the output of 'zmlocalconfig zimbra_server_hostname' and verify that it matches "zimbra.gtds.lan"?
If it does, can you start ldap manually (su - zimbra; ldap start) and verify that the hosts are configured correctly? The command is:
zmprov gas # Get All Servers
if zimbra.gtds.lan is listed, do
zmprov gs zimbra.gtds.lan
and look for the zimbraServiceEnabled and zimbraServiceInstalled attributes (and zimbraServiceHostname, too). At the least, you should see the ldap service, but the full suite is: ldap, mailbox, mta, antivirus, antispam, snmp.
If ldap doesn't start, there are major problems with the install - if you have the install log around, (/tmp/install.log.), that may shed some light on the situation.


MeneM
Posts: 41
Joined: Fri Sep 12, 2014 9:54 pm

Cannot connect to Zimbra after installation

Postby MeneM » Fri Sep 09, 2005 2:10 pm

So far I see the same things as with above posters.
[root@localhost tmp]# cat install.log.3718

Preparing packages for installation...

zimbra-core-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-ldap-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-mta-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-snmp-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-store-2005.0.0_39.FC3-1_ARMSTRONG

COMMAND: zmmyinit

* Creating required directories

* Generating mysql config /opt/zimbra/conf/my.cnf

* Creating database in /opt/zimbra/db/data

* Starting mysql server

* Loading schema /opt/zimbra/db/db.sql

* Loading version from /opt/zimbra/db/versions-init.sql

* Setting random password for mysql root user in zimbra local config

* Setting random password for mysql zimbra user in zimbra local config

* Changing mysql root user password

* Changing mysql zimbra user password

* Changed zimbra mysql user password

COMMAND: zmlocalconfig -e zimbra_server_hostname=gws.mine.nu

COMMAND: zmlocalconfig -e ldap_host=gws.mine.nu

COMMAND: zmlocalconfig -e ldap_port=389

COMMAND: zmldapinit

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

Started slapd: pid

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

COMMAND: zmprov cs gws.mine.nu

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov cd gws.mine.nu

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov mcf zimbraDefaultDomainName gws.mine.nu

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov ca admin@gws.mine.nu keepitsimple zimbraIsAdminAccount TRUE

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: id=`zmprov gs gws.mine.nu | grep zimbraId | awk '{print $2}'`; for i in `zmprov gc default | grep zimbraMailHostPool | sed 's/zimbraMailHostPool: //'`; do host="$host zimbraMailHostPool $i"; done; zmprov mc default $host zimbraMailHostPool $id

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

zmprov [cmd] [args ...]
CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]

DeleteAccount(da) {name@domain|id}

GetAccount(ga) {name@domain|id}

GetAllAccounts(gaa) [-v] [{domain}]

GetAllAdminAccounts(gaaa) [-v]

ModifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]

SetPassword(sp) {name@domain|id} {password}

AddAccountAlias(aaa) {name@domain|id} {alias@domain}

RemoveAccountAlias(raa) {name@domain|id} {alias@domain}

SetAccountCos(sac) {name@domain|id} {cos-name|cos-id}

SearchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [applyCos [0|1*] [domain {domain}]

SearchGal(sg) {domain} {name}

RenameAccount(ra) {name@domain|id} {newName@domain}
CreateDomain(cd) {domain} [attr1 value1 [attr2 value2...]]

DeleteDomain(dd) {domain|id}

GetDomain(gd) {domain|id}

GetAllDomains(gad) [-v]

ModifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]]
CreateCos(cc) {name} [attr1 value1 [attr2 value2...]]

DeleteCos(dc) {name|id}

GetCos(gc) {name|id}

GetAllCos(gac) [-v]

ModifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]

RenameCos(rc) {name|id} {newName}
CreateServer(cs) {name} [attr1 value1 [attr2 value2...]]

DeleteServer(ds) {name|id}

GetServer(gs) {name|id}

GetAllServers(gas) [-v]

ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]
GetAllConfig(gacf)

GetConfig(gcf) {name}

ModifyConfig(mcf) attr1 value1 [attr2 value2...]
CreateDistributionList(cdl) {list@domain}

GetAllDistributionLists(gadl) [-v]

GetDistributionList(gdl) {list@domain|id}

DeleteDistributionList(ddl) {list@domain|id}

AddDistributionListMember(adlm) {list@domain|id} {member@domain}

RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}
exit (quit)

help (?)
COMMAND: zmmtainit gws.mine.nu

COMMAND: zmlocalconfig -e av_notify_user=notify@gws.mine.nu

COMMAND: zmlocalconfig -e av_notify_domain=gws.mine.nu

COMMAND: zmlocalconfig -e snmp_notify=0

COMMAND: zmlocalconfig -e smtp_notify=1

COMMAND: zmlocalconfig -e snmp_trap_host=localhost.localdomain

COMMAND: zmlocalconfig -e smtp_source=notify@gws.mine.nu

COMMAND: zmlocalconfig -e smtp_destination=notify@gws.mine.nu

COMMAND: zmsnmpinit

creating /opt/zimbra/conf/swatchrc

COMMAND: zmprov ms gws.mine.nu zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov ms gws.mine.nu zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmpERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmlocalconfig -e zimbra_services="ldap mailbox mta antivirus antispam snmp"

COMMAND: zmcreatecert

** Creating CA private key
Generating a 1024 bit RSA private key

..........++++++

...++++++

writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'

-----

** Creating CA cert
Signature ok

subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=localhost.localdomain

Getting Private key

** Importing CA
Certificate was added to keystore

keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

** Creating keystore
** Creating server cert request
** Signing cert request
Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=localhost.localdomain

Getting CA Private Key

Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=localhost.localdomain

Getting Private key

COMMAND: zmcertinstall mailbox

** Importing server cert
keytool error: java.lang.Exception: Failed to establish chain from reply

COMMAND: zmtlsctl http

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmcertinstall mta /opt/zimbra/ssl/ssl/server/smtpd.crt /opt/zimbra/ssl/ssl/ca/ca.key

** Importing server cert
COMMAND: zmlocalconfig -e ssl_allow_untrusted_certs=true

COMMAND: zmcontrol startup

Calling startup (gws.mine.nu)
perl /opt/zimbra/zimbramon/zmmon &
RESPONSE: (Zimbra::Mon::serviceInfo)

host

ip 217.149.34.117

name gws.mine.nu

COMMAND: zmlocalconfig -s > .localconfig.save.3718

COMMAND: zmprov gs gws.mine.nu > .zmprov.gws.mine.nu.save.3718

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov gacf gws.mine.nu > .zmprov.gacf.save.3718

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)


What can I to help testing more?

16ke444.jpg.png


vmware-zimbra-logo.jpg


zimbra-logo.jpg


zimbra_logo.gif


zimbra_logo.png


Zimbra_logo_1.jpg


zimbra_logo_discovery.gif

marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Cannot connect to Zimbra after installation

Postby marcmac » Fri Sep 09, 2005 2:53 pm

rpm -qi openssl
If it's not installed, please install it.
[quote user="MeneM"]So far I see the same things as with above posters.
[root@localhost tmp]# cat install.log.3718

Preparing packages for installation...

zimbra-core-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-ldap-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-mta-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-snmp-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-store-2005.0.0_39.FC3-1_ARMSTRONG

COMMAND: zmmyinit

* Creating required directories

* Generating mysql config /opt/zimbra/conf/my.cnf

* Creating database in /opt/zimbra/db/data

* Starting mysql server

* Loading schema /opt/zimbra/db/db.sql

* Loading version from /opt/zimbra/db/versions-init.sql

* Setting random password for mysql root user in zimbra local config

* Setting random password for mysql zimbra user in zimbra local config

* Changing mysql root user password

* Changing mysql zimbra user password

* Changed zimbra mysql user password

COMMAND: zmlocalconfig -e zimbra_server_hostname=gws.mine.nu

COMMAND: zmlocalconfig -e ldap_host=gws.mine.nu

COMMAND: zmlocalconfig -e ldap_port=389

COMMAND: zmldapinit

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

Started slapd: pid

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

COMMAND: zmprov cs gws.mine.nu

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov cd gws.mine.nu

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov mcf zimbraDefaultDomainName gws.mine.nu

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov ca admin@gws.mine.nu keepitsimple zimbraIsAdminAccount TRUE

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: id=`zmprov gs gws.mine.nu | grep zimbraId | awk '{print $2}'`; for i in `zmprov gc default | grep zimbraMailHostPool | sed 's/zimbraMailHostPool: //'`; do host="$host zimbraMailHostPool $i"; done; zmprov mc default $host zimbraMailHostPool $id

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

zmprov [cmd] [args ...]
CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]

DeleteAccount(da) {name@domain|id}

GetAccount(ga) {name@domain|id}

GetAllAccounts(gaa) [-v] [{domain}]

GetAllAdminAccounts(gaaa) [-v]

ModifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]

SetPassword(sp) {name@domain|id} {password}

AddAccountAlias(aaa) {name@domain|id} {alias@domain}

RemoveAccountAlias(raa) {name@domain|id} {alias@domain}

SetAccountCos(sac) {name@domain|id} {cos-name|cos-id}

SearchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [applyCos [0|1*] [domain {domain}]

SearchGal(sg) {domain} {name}

RenameAccount(ra) {name@domain|id} {newName@domain}
CreateDomain(cd) {domain} [attr1 value1 [attr2 value2...]]

DeleteDomain(dd) {domain|id}

GetDomain(gd) {domain|id}

GetAllDomains(gad) [-v]

ModifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]]
CreateCos(cc) {name} [attr1 value1 [attr2 value2...]]

DeleteCos(dc) {name|id}

GetCos(gc) {name|id}

GetAllCos(gac) [-v]

ModifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]

RenameCos(rc) {name|id} {newName}
CreateServer(cs) {name} [attr1 value1 [attr2 value2...]]

DeleteServer(ds) {name|id}

GetServer(gs) {name|id}

GetAllServers(gas) [-v]

ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]
GetAllConfig(gacf)

GetConfig(gcf) {name}

ModifyConfig(mcf) attr1 value1 [attr2 value2...]
CreateDistributionList(cdl) {list@domain}

GetAllDistributionLists(gadl) [-v]

GetDistributionList(gdl) {list@domain|id}

DeleteDistributionList(ddl) {list@domain|id}

AddDistributionListMember(adlm) {list@domain|id} {member@domain}

RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}
exit (quit)

help (?)
COMMAND: zmmtainit gws.mine.nu

COMMAND: zmlocalconfig -e av_notify_user=notify@gws.mine.nu

COMMAND: zmlocalconfig -e av_notify_domain=gws.mine.nu

COMMAND: zmlocalconfig -e snmp_notify=0

COMMAND: zmlocalconfig -e smtp_notify=1

COMMAND: zmlocalconfig -e snmp_trap_host=localhost.localdomain

COMMAND: zmlocalconfig -e smtp_source=notify@gws.mine.nu

COMMAND: zmlocalconfig -e smtp_destination=notify@gws.mine.nu

COMMAND: zmsnmpinit

creating /opt/zimbra/conf/swatchrc

COMMAND: zmprov ms gws.mine.nu zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov ms gws.mine.nu zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmpERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmlocalconfig -e zimbra_services="ldap mailbox mta antivirus antispam snmp"

COMMAND: zmcreatecert

** Creating CA private key
Generating a 1024 bit RSA private key

..........++++++

...++++++

writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'

-----

** Creating CA cert
Signature ok

subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=localhost.localdomain

Getting Private key

** Importing CA
Certificate was added to keystore

keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

** Creating keystore
** Creating server cert request
** Signing cert request
Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=localhost.localdomain

Getting CA Private Key

Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=localhost.localdomain

Getting Private key

COMMAND: zmcertinstall mailbox

** Importing server cert
keytool error: java.lang.Exception: Failed to establish chain from reply

COMMAND: zmtlsctl http

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmcertinstall mta /opt/zimbra/ssl/ssl/server/smtpd.crt /opt/zimbra/ssl/ssl/ca/ca.key

** Importing server cert
COMMAND: zmlocalconfig -e ssl_allow_untrusted_certs=true

COMMAND: zmcontrol startup

Calling startup (gws.mine.nu)
perl /opt/zimbra/zimbramon/zmmon &
RESPONSE: (Zimbra::Mon::serviceInfo)

host

ip 217.149.34.117

name gws.mine.nu

COMMAND: zmlocalconfig -s > .localconfig.save.3718

COMMAND: zmprov gs gws.mine.nu > .zmprov.gws.mine.nu.save.3718

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)

COMMAND: zmprov gacf gws.mine.nu > .zmprov.gacf.save.3718

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException gws.mine.nu:389)


What can I to help testing more?[/QUOTE]
GertThiel
Posts: 35
Joined: Fri Sep 12, 2014 9:54 pm

Cannot connect to Zimbra after installation

Postby GertThiel » Sat Sep 10, 2005 6:26 am

[quote user="marcmac"]If ldap doesn't start, there are major problems with the install - if you have the install log around, (/tmp/install.log.), that may shed some light on the situation.[/QUOTE]
I looked into the install.log first:
Preparing packages for installation...

zimbra-core-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-ldap-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-mta-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-snmp-2005.0.0_39.FC3-1_ARMSTRONG

Preparing packages for installation...

zimbra-store-2005.0.0_39.FC3-1_ARMSTRONG

COMMAND: zmmyinit

* Creating required directories

* Generating mysql config /opt/zimbra/conf/my.cnf

* Creating database in /opt/zimbra/db/data

* Starting mysql server

* Loading schema /opt/zimbra/db/db.sql

* Loading version from /opt/zimbra/db/versions-init.sql

* Setting random password for mysql root user in zimbra local config

* Setting random password for mysql zimbra user in zimbra local config

* Changing mysql root user password

* Changing mysql zimbra user password

* Changed zimbra mysql user password

COMMAND: zmlocalconfig -e zimbra_server_hostname=zimbra.gtds.lan

COMMAND: zmlocalconfig -e ldap_host=zimbra.gtds.lan

COMMAND: zmlocalconfig -e ldap_port=389

COMMAND: zmldapinit

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

Started slapd: pid

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

COMMAND: zmprov cs zimbra.gtds.lan

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

COMMAND: zmprov cd gtds.lan

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

COMMAND: zmprov mcf zimbraDefaultDomainName gtds.lan

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

COMMAND: zmprov ca admin@gtds.lan siemens zimbraIsAdminAccount TRUE

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

COMMAND: id=`zmprov gs zimbra.gtds.lan | grep zimbraId | awk '{print $2}'`; for i in `zmprov gc default | grep zimbraMailHostPool | sed 's/zimbraMailHostPool: //'`; do host="$host zimbraMailHostPool $i"; done; zmprov mc default $host zimbraMailHostPool $id

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

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

zmprov [cmd] [args ...]
CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]

DeleteAccount(da) {name@domain|id}

GetAccount(ga) {name@domain|id}

GetAllAccounts(gaa) [-v] [{domain}]

GetAllAdminAccounts(gaaa) [-v]

ModifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]

SetPassword(sp) {name@domain|id} {password}

AddAccountAlias(aaa) {name@domain|id} {alias@domain}

RemoveAccountAlias(raa) {name@domain|id} {alias@domain}

SetAccountCos(sac) {name@domain|id} {cos-name|cos-id}

SearchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [applyCos [0|1*] [domain {domain}]

SearchGal(sg) {domain} {name}

RenameAccount(ra) {name@domain|id} {newName@domain}
CreateDomain(cd) {domain} [attr1 value1 [attr2 value2...]]

DeleteDomain(dd) {domain|id}

GetDomain(gd) {domain|id}

GetAllDomains(gad) [-v]

ModifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]]
CreateCos(cc) {name} [attr1 value1 [attr2 value2...]]

DeleteCos(dc) {name|id}

GetCos(gc) {name|id}

GetAllCos(gac) [-v]

ModifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]

RenameCos(rc) {name|id} {newName}
CreateServer(cs) {name} [attr1 value1 [attr2 value2...]]

DeleteServer(ds) {name|id}

GetServer(gs) {name|id}

GetAllServers(gas) [-v]

ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]
GetAllConfig(gacf)

GetConfig(gcf) {name}

ModifyConfig(mcf) attr1 value1 [attr2 value2...]
CreateDistributionList(cdl) {list@domain}

GetAllDistributionLists(gadl) [-v]

GetDistributionList(gdl) {list@domain|id}

DeleteDistributionList(ddl) {list@domain|id}

AddDistributionListMember(adlm) {list@domain|id} {member@domain}

RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}
exit (quit)

help (?)
COMMAND: zmmtainit zimbra.gtds.lan

COMMAND: zmlocalconfig -e av_notify_user=notify@zimbra.gtds.lan

COMMAND: zmlocalconfig -e av_notify_domain=zimbra.gtds.lan

COMMAND: zmlocalconfig -e snmp_notify=0

COMMAND: zmlocalconfig -e smtp_notify=0

COMMAND: zmlocalconfig -e snmp_trap_host=zimbra.gtds.lan

COMMAND: zmlocalconfig -e smtp_source=none

COMMAND: zmlocalconfig -e smtp_destination=none

COMMAND: zmsnmpinit

creating /opt/zimbra/conf/swatchrc

COMMAND: zmprov ms zimbra.gtds.lan zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp

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

COMMAND: zmprov ms zimbra.gtds.lan zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmp

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

COMMAND: zmlocalconfig -e zimbra_services="ldap mailbox mta antivirus antispam snmp"

COMMAND: zmcreatecert

** Creating CA private key
Generating a 1024 bit RSA private key

..................++++++

.....................++++++

writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'

-----

** Creating CA cert
Signature ok

subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=zimbra.gtds.lan

Getting Private key

** Importing CA
Zertifikat wurde zu Keystore hinzugefügt.

Keytool-Fehler: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

** Creating keystore
** Creating server cert request
** Signing cert request
Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=zimbra.gtds.lan

Getting CA Private Key

Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=zimbra.gtds.lan

Getting Private key

COMMAND: zmcertinstall mailbox

** Importing server cert
Keytool-Fehler: java.lang.Exception: Kette konnte nicht aus Antwort entnommen werden.

COMMAND: zmtlsctl mixed

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

COMMAND: zmcertinstall mta /opt/zimbra/ssl/ssl/server/smtpd.crt /opt/zimbra/ssl/ssl/ca/ca.key

** Importing server cert
COMMAND: zmlocalconfig -e ssl_allow_untrusted_certs=true

COMMAND: zmcontrol startup

Calling startup (zimbra.gtds.lan)
perl /opt/zimbra/zimbramon/zmmon &
RESPONSE: (Zimbra::Mon::serviceInfo)

host

ip 192.168.2.71

name zimbra.gtds.lan

COMMAND: zmlocalconfig -s > .localconfig.save.2920

COMMAND: zmprov gs zimbra.gtds.lan > .zmprov.zimbra.gtds.lan.save.2920

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

COMMAND: zmprov gacf zimbra.gtds.lan > .zmprov.gacf.save.2920

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

Looks like a missing libssl.so.4. I have openssl 0.9.7f from PC4 installed which offer libssl.so.5 only. Will try a symbolic link.
- Gert
GertThiel
Posts: 35
Joined: Fri Sep 12, 2014 9:54 pm

Cannot connect to Zimbra after installation

Postby GertThiel » Sat Sep 10, 2005 6:50 am

[quote user="GertThiel"]Looks like a missing libssl.so.4. I have openssl 0.9.7f from PC4 installed which offer libssl.so.5 only. Will try a symbolic link.[/QUOTE]
From Fedora Core 4, of course. And libcrypto.so.4 is missing as well. Another sym link ;)
- Gert
GertThiel
Posts: 35
Joined: Fri Sep 12, 2014 9:54 pm

Cannot connect to Zimbra after installation

Postby GertThiel » Sat Sep 10, 2005 7:07 am

I got ZCS up and running. Sym linking libcrypto.so libssl.so did it:
cd /lib

ln -s libcrypto.so.0.9.7f libcrypto.so.4

ln -s libssl.so.0.9.7f libssl.so.4

Thanks.
- Gert
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Cannot connect to Zimbra after installation

Postby marcmac » Sat Sep 10, 2005 11:59 am

[quote user="GertThiel"]I got ZCS up and running. Sym linking libcrypto.so libssl.so did it:
cd /lib

ln -s libcrypto.so.0.9.7f libcrypto.so.4

ln -s libssl.so.0.9.7f libssl.so.4

Thanks.
- Gert[/QUOTE]
Thanks, Gert! We only tested the install on the RH distros, which is how I missed the ssl problems you're having - I'll throw this on my stack of portability problems to fix.
MeneM
Posts: 41
Joined: Fri Sep 12, 2014 9:54 pm

Cannot connect to Zimbra after installation

Postby MeneM » Mon Sep 12, 2005 3:37 am

Hello all,
I've doen the above things, for instance: the symlinking of files, checking my host file. But i'm still having troubles:
Install log:


Started slapd: pid

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

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

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

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

COMMAND: id=`zmprov gs zimbra1.zbr.com | grep zimbraId | awk '{print $2}'`; for i in `zmprov gc default | grep zimbraMailHostPool | sed 's/zimbraMailHostPool: //'`; do host="$host zimbraMailHostPool $i"; done; zmprov mc default $host zimbraMailHostPool $id

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

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

zmprov [cmd] [args ...]
CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]

DeleteAccount(da) {name@domain|id}

GetAccount(ga) {name@domain|id}

GetAllAccounts(gaa) [-v] [{domain}]

GetAllAdminAccounts(gaaa) [-v]

ModifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]

SetPassword(sp) {name@domain|id} {password}

AddAccountAlias(aaa) {name@domain|id} {alias@domain}

RemoveAccountAlias(raa) {name@domain|id} {alias@domain}

SetAccountCos(sac) {name@domain|id} {cos-name|cos-id}

SearchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [applyCos [0|1*] [domain {domain}]

SearchGal(sg) {domain} {name}

RenameAccount(ra) {name@domain|id} {newName@domain}
CreateDomain(cd) {domain} [attr1 value1 [attr2 value2...]]

DeleteDomain(dd) {domain|id}

GetDomain(gd) {domain|id}

GetAllDomains(gad) [-v]

ModifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]]
CreateCos(cc) {name} [attr1 value1 [attr2 value2...]]

DeleteCos(dc) {name|id}

GetCos(gc) {name|id}

GetAllCos(gac) [-v]

ModifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]

RenameCos(rc) {name|id} {newName}
CreateServer(cs) {name} [attr1 value1 [attr2 value2...]]

DeleteServer(ds) {name|id}

GetServer(gs) {name|id}

GetAllServers(gas) [-v]

ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]
GetAllConfig(gacf)

GetConfig(gcf) {name}

ModifyConfig(mcf) attr1 value1 [attr2 value2...]
CreateDistributionList(cdl) {list@domain}

GetAllDistributionLists(gadl) [-v]

GetDistributionList(gdl) {list@domain|id}

DeleteDistributionList(ddl) {list@domain|id}

AddDistributionListMember(adlm) {list@domain|id} {member@domain}

RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}
exit (quit)

help (?)
COMMAND: zmmtainit zimbra1.zbr.com

COMMAND: zmlocalconfig -e av_notify_user=

COMMAND: zmlocalconfig -e av_notify_domain=

COMMAND: zmlocalconfig -e snmp_notify=no

COMMAND: zmlocalconfig -e smtp_notify=yes

COMMAND: zmlocalconfig -e snmp_trap_host=localhost.localdomain

COMMAND: zmlocalconfig -e smtp_source=notify@gws.mine.nu

COMMAND: zmlocalconfig -e smtp_destination=notify@gws.mine.nu

COMMAND: zmsnmpinit

creating /opt/zimbra/conf/swatchrc

COMMAND: zmprov ms zimbra1.zbr.com zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp

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

COMMAND: zmlocalconfig -e zimbra_services="ldap mailbox mta antivirus antispam snmp"

COMMAND: zmcreatecert

** Creating CA private key
Generating a 1024 bit RSA private key

..++++++

.......++++++

writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'

-----

** Creating CA cert
Signature ok

subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=localhost.localdomain

Getting Private key

** Importing CA
Certificate was added to keystore

keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

** Creating keystore
** Creating server cert request
** Signing cert request
Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=localhost.localdomain

Getting CA Private Key

Signature ok

subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=localhost.localdomain

Getting Private key

COMMAND: zmcertinstall mailbox

** Importing server cert
keytool error: java.lang.Exception: Failed to establish chain from reply

COMMAND: zmtlsctl http

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

COMMAND: zmcertinstall mta /opt/zimbra/ssl/ssl/server/smtpd.crt /opt/zimbra/ssl/ssl/ca/ca.key

** Importing server cert
COMMAND: zmlocalconfig -e ssl_allow_untrusted_certs=true

COMMAND: zmcontrol startup

Calling startup (zimbra1.zbr.com)
perl /opt/zimbra/zimbramon/zmmon &
RESPONSE: (Zimbra::Mon::serviceInfo)

host

ip 192.168.8.235

name zimbra1.zbr.com

DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152

COMMAND: zmlocalconfig -s > .localconfig.save.31051

COMMAND: zmprov gs zimbra1.zbr.com > .zmprov.zimbra1.zbr.com.save.31051

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

COMMAND: zmprov gacf zimbra1.zbr.com > .zmprov.gacf.save.31051

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

DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152

DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152

DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152

DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152

DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152

DBI connect('database=zimbra;mysql_read_default_file=/opt/zimbra/conf/my.cnf;mysql_socket=/opt/zimbra/db/mysql.sock','zimbra',...) failed: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152

[root@localhost tmp]#

Any help would be apreciated thanks,

Mark
(I'm sorry I could not paste the whole install log, this forum only allows for 10000 characters.)
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Cannot connect to Zimbra after installation

Postby marcmac » Mon Sep 12, 2005 9:20 am

[quote user="MeneM"]Hello all,
I've doen the above things, for instance: the symlinking of files, checking my host file. But i'm still having troubles:
Install log:


Started slapd: pid

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

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

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

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


Any help would be apreciated thanks,

Mark
(I'm sorry I could not paste the whole install log, this forum only allows for 10000 characters.)[/QUOTE]
ldap is not starting up, for some reason. To find out why, try this:
su - zimbra

bash -x bin/ldap start
If no errors appear there, try the command that it runs to start ldap (all one line):
/opt/zimbra/openldap/libexec/slapd -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf
If that gives you a "slapd.conf not found" error, then the ldap initialization script failed - try running that by hand:
/opt/zimbra/libexec/zmldapinit
and look for errors there.
MeneM
Posts: 41
Joined: Fri Sep 12, 2014 9:54 pm

Cannot connect to Zimbra after installation

Postby MeneM » Tue Sep 13, 2005 2:53 am

No error's there I believe:
[root@localhost mark]# su - zimbra

[zimbra@localhost ~]$ bash -x bin/ldap start

+ alias 'rm=rm -i'

+ alias 'cp=cp -i'

+ alias 'mv=mv -i'

+ alias 'h=history 40'

+ alias j=jobs

+ '[' -f /etc/bashrc ']'

+ . /etc/bashrc

++ '[' 501 -gt 99 ']'

+++ id -gn

+++ id -un

++ '[' zimbra = zimbra ']'

++ umask 002

++ '[' '' ']'

++ shopt -q login_shell

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/colorls.sh ']'

++ . /etc/profile.d/colorls.sh

+++ alias 'll=ls -l'

+++ alias 'l.=ls -d .*'

+++ COLORS=/etc/DIR_COLORS

+++ '[' -e /etc/DIR_COLORS.xterm ']'

+++ COLORS=/etc/DIR_COLORS.xterm

+++ '[' -e /opt/zimbra/.dircolors ']'

+++ '[' -e /opt/zimbra/.dircolors.xterm ']'

+++ '[' -e /opt/zimbra/.dir_colors ']'

+++ '[' -e /opt/zimbra/.dir_colors.xterm ']'

+++ '[' -e /etc/DIR_COLORS.xterm ']'

++++ dircolors --sh /etc/DIR_COLORS.xterm

+++ eval 'LS_COLORS='''no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:''';' export LS_COLORS

++++ LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:'

++++ export LS_COLORS

+++ '[' -z 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:' ']'

+++ egrep -qi '^COLOR.*none' /etc/DIR_COLORS.xterm

+++ alias 'll=ls -l --color=tty'

+++ alias 'l.=ls -d .* --color=tty'

+++ alias 'ls=ls --color=tty'

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/glib2.sh ']'

++ . /etc/profile.d/glib2.sh

+++ export G_BROKEN_FILENAMES=1

+++ G_BROKEN_FILENAMES=1

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/gnome-ssh-askpass.sh ']'

++ . /etc/profile.d/gnome-ssh-askpass.sh

+++ SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

+++ export SSH_ASKPASS

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/krb5.sh ']'

++ . /etc/profile.d/krb5.sh

+++ echo /opt/zimbra/bin:/opt/zimbra/zimbramon:/opt/zimbra/postfix-2.2.3/sbin:/opt/zimbra/openldap/bin:/opt/zimbra/java/bin:/opt/zimbra/snmp/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin

+++ grep -q /usr/kerberos/bin

+++ echo /opt/zimbra/bin:/opt/zimbra/zimbramon:/opt/zimbra/postfix-2.2.3/sbin:/opt/zimbra/openldap/bin:/opt/zimbra/java/bin:/opt/zimbra/snmp/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin

+++ grep -q /usr/kerberos/sbin

++++ id -u

+++ '[' 501 = 0 ']'

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/lang.sh ']'

++ . /etc/profile.d/lang.sh

+++ sourced=0

+++ for langfile in /etc/sysconfig/i18n '$HOME/.i18n'

+++ '[' -f /etc/sysconfig/i18n ']'

+++ . /etc/sysconfig/i18n

++++ LANG=en_US.UTF-8

++++ SYSFONT=latarcyrheb-sun16

++++ SUPPORTED=en_US.UTF-8:en_US:en

+++ sourced=1

+++ for langfile in /etc/sysconfig/i18n '$HOME/.i18n'

+++ '[' -f /opt/zimbra/.i18n ']'

+++ '[' -n '' ']'

+++ '[' 1 = 1 ']'

+++ '[' -n en_US.UTF-8 ']'

+++ export LANG

+++ '[' -n '' ']'

+++ unset LC_ADDRESS

+++ '[' -n '' ']'

+++ unset LC_CTYPE

+++ '[' -n '' ']'

+++ unset LC_COLLATE

+++ '[' -n '' ']'

+++ unset LC_IDENTIFICATION

+++ '[' -n '' ']'

+++ unset LC_MEASUREMENT

+++ '[' -n '' ']'

+++ unset LC_MESSAGES

+++ '[' -n '' ']'

+++ unset LC_MONETARY

+++ '[' -n '' ']'

+++ unset LC_NAME

+++ '[' -n '' ']'

+++ unset LC_NUMERIC

+++ '[' -n '' ']'

+++ unset LC_PAPER

+++ '[' -n '' ']'

+++ unset LC_TELEPHONE

+++ '[' -n '' ']'

+++ unset LC_TIME

+++ '[' -n '' ']'

+++ unset LC_ALL

+++ '[' -n '' ']'

+++ unset LANGUAGE

+++ '[' -n '' ']'

+++ unset LINGUAS

+++ '[' -n '' ']'

+++ unset _XKB_CHARSET

+++ '[' -n '' ']'

+++ '[' -n '' ']'

+++ '[' -n en_US.UTF-8 ']'

+++ case $LANG in

++++ /sbin/consoletype

+++ '[' xterm = linux -a pty = vt ']'

+++ unset SYSFONTACM SYSFONT

+++ unset sourced

+++ unset langfile

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/less.sh ']'

++ . /etc/profile.d/less.sh

+++ '[' -x /usr/bin/lesspipe.sh ']'

+++ export 'LESSOPEN=|/usr/bin/lesspipe.sh %s'

+++ LESSOPEN='|/usr/bin/lesspipe.sh %s'

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/mc.sh ']'

++ . /etc/profile.d/mc.sh

+++ alias 'mc=. /usr/share/mc/bin/mc-wrapper.sh'

++ for i in '/etc/profile.d/*.sh'

++ '[' -r /etc/profile.d/which-2.sh ']'

++ . /etc/profile.d/which-2.sh

+++ alias 'which=alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'

++ unset i

+ ZIMBRA_HOME=/opt/zimbra

+ export ZIMBRA_HOME

+ JAVA_HOME=/opt/zimbra/java

+ export JAVA_HOME

+ PATH=/opt/zimbra/bin:/opt/zimbra/zimbramon:/opt/zimbra/postfix-2.2.3/sbin:/opt/zimbra/openldap/bin:/opt/zimbra/java/bin:/opt/zimbra/snmp/bin:/opt/zimbra/bin:/opt/zimbra/zimbramon:/opt/zimbra/postfix-2.2.3/sbin:/opt/zimbra/openldap/bin:/opt/zimbra/java/bin:/opt/zimbra/snmp/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin

+ export PATH

+ LD_LIBRARY_PATH=/opt/zimbra/lib:/opt/zimbra/lib:

+ export LD_LIBRARY_PATH

+ SNMPCONFPATH=/opt/zimbra/conf

+ export SNMPCONFPATH

+ PERLLIB=/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi/

+ export PERLLIB

+ PID=

+ PIDFILE=/opt/zimbra/openldap/var/run/slapd.pid

+ mkdir -p /opt/zimbra/openldap/var/run/

+ case "$1" in

+ start

+ checkrunning

+ getpid

+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'

+ '[' x = x ']'

+ RUNNING=0

+ '[' 0 = 0 ']'

+ '[' -x /opt/zimbra/sleepycat/bin/db_recover ']'

+ /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap/var/openldap-data -v

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

+ /opt/zimbra/openldap/libexec/slapd -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf

+ sleep 2

+ getpid

+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'

+ echo 'Started slapd: pid '

Started slapd: pid

[zimbra@localhost ~]$ /opt/zimbra/openldap/libexec/slapd -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf

[zimbra@localhost ~]$

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests