post installation error

Ask questions about your setup or get help installing ZCS server (ZD section below).
ramidotcom
Posts: 15
Joined: Fri Sep 12, 2014 9:57 pm

post installation error

Postby ramidotcom » Wed Oct 05, 2005 10:42 pm

hey all, has anypne run into this error after the installation and the service isbeing started
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.C ommunicationException tadr0s.com:389)


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

post installation error

Postby 14319KevinH » Wed Oct 05, 2005 11:01 pm

Yes is means LDAP is not running. What Linux are you running? Are there any errors in your install log? It's in the /tmp dir.
ramidotcom
Posts: 15
Joined: Fri Sep 12, 2014 9:57 pm

post installation error

Postby ramidotcom » Wed Oct 05, 2005 11:05 pm

im running centos 4 and the install log shows:
[zimbra@tadr0s tmp]$ view install.log.24441

Preparing packages for installation...

zimbra-core-3.0.M1_21.RHEL4-20050920162541_

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)

Preparing packages for installation...

zimbra-ldap-3.0.M1_21.RHEL4-20050920162541_

Preparing packages for installation...

zimbra-mta-3.0.M1_21.RHEL4-20050920162541_

Preparing packages for installation...

zimbra-snmp-3.0.M1_21.RHEL4-20050920162541_

Preparing packages for installation...

zimbra-store-3.0.M1_21.RHEL4-20050920162541_

COMMAND: /opt/zimbra/libexec/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

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)

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

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)

* 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

^G/opt/zimbra/mysql/bin/mysqladmin: connect to server at 'localhost' failed

error: 'Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)'

Check that mysqld is running and that the socket: '/opt/zimbra/db/mysql.sock' exists!

* Changing mysql zimbra user password

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)

**** PASSWORD CHANGE FAILED

COMMAND: zmlocalconfig -e zimbra_server_hostname=tadr0s.com

COMMAND: zmlocalconfig -e ldap_host=tadr0s.com

COMMAND: zmlocalconfig -e ldap_port=389

COMMAND: /opt/zimbra/libexec/zmldapinit

Started slapd: pid

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

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

COMMAND: zmprov cs tadr0s.com

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

COMMAND: zmprov cd tadr0s.com
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

post installation error

Postby 14319KevinH » Wed Oct 05, 2005 11:07 pm

Did the instal fail and you ran it again? If so you need to run
install.sh -u

Then run:

ps -ef | grep zimbra
to make sure all the processes are killed.
Then try a clean run of the install.
ramidotcom
Posts: 15
Joined: Fri Sep 12, 2014 9:57 pm

post installation error

Postby ramidotcom » Wed Oct 05, 2005 11:10 pm

i already tried that
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

post installation error

Postby 14319KevinH » Wed Oct 05, 2005 11:12 pm

ramidotcom
Posts: 15
Joined: Fri Sep 12, 2014 9:57 pm

post installation error

Postby ramidotcom » Wed Oct 05, 2005 11:15 pm

ill try a clean reinstall one moretime, if that doesnt work ill usethat link thnx
ramidotcom
Posts: 15
Joined: Fri Sep 12, 2014 9:57 pm

post installation error

Postby ramidotcom » Wed Oct 05, 2005 11:28 pm

i ran

/opt/zimbra/openldap/libexec/slapd -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf all one line and got no errors
do u think it can be the mysql server
ramidotcom
Posts: 15
Joined: Fri Sep 12, 2014 9:57 pm

post installation error

Postby ramidotcom » Wed Oct 05, 2005 11:46 pm

Preparing packages for installation...

zimbra-core-3.0.M1_21.RHEL4-20050920162541_

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)

Preparing packages for installation...

zimbra-ldap-3.0.M1_21.RHEL4-20050920162541_

Preparing packages for installation...

zimbra-mta-3.0.M1_21.RHEL4-20050920162541_

Preparing packages for installation...

zimbra-snmp-3.0.M1_21.RHEL4-20050920162541_

Preparing packages for installation...

zimbra-store-3.0.M1_21.RHEL4-20050920162541_

COMMAND: /opt/zimbra/libexec/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

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)

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

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)

* 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

^G/opt/zimbra/mysql/bin/mysqladmin: connect to server at 'localhost' failed

error: 'Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)'

Check that mysqld is running and that the socket: '/opt/zimbra/db/mysql.sock' exists!

* Changing mysql zimbra user password

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)

**** PASSWORD CHANGE FAILED

COMMAND: zmlocalconfig -e zimbra_server_hostname=tadr0s.com

COMMAND: zmlocalconfig -e ldap_host=tadr0s.com

COMMAND: zmlocalconfig -e ldap_port=389

COMMAND: /opt/zimbra/libexec/zmldapinit

Started slapd: pid

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

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

COMMAND: zmprov cs tadr0s.com

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

COMMAND: zmprov cd tadr0s.com
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

post installation error

Postby 14319KevinH » Thu Oct 06, 2005 9:58 am

[quote user="ramidotcom"]i ran

/opt/zimbra/openldap/libexec/slapd -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf all one line and got no errors
do u think it can be the mysql server[/QUOTE]
After this can you run "ps -ef | grep slapd" Assuming you got no error then this should be up and running.
If not try this command:
 /opt/zimbra/openldap/libexec/slapd -d 10 -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf

This should print more debug.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 6 guests