Hello all,
after reading about "zimbra", watching the demo and getting excited about it, I've downloaded the source in order to install it on my Debian server (running
Sarge).
I have to mention that on this server are allready Apache and Mysql installed and running.
I carefully followed your installation orders for dev-install (found on
http://www.zimbra.com/blog/archives/...ing_with.html), but alot of steps
went on producing an error or just failed as you can see in the report.
Again I have to mention some things.
First - before installing I stoped Apache and Mysql services completly,
second - in the step
" $ /opt/zimbra/bin/zmmyinit
$ /opt/zimbra/bin/zmldapinit
$ /opt/zimbra/bin/zmmtainit localhost
$ /opt/zimbra/bin/zmmtaconfig mta"
3 of those are located in the wrong path - I located them in "/opt/zimbra/libexec...", on one installation I tried to ln -s them but they had wrong permissions, I tried
to set the permissions right (enabling "x"), and I managed to get through that step, but still errors and failures kept reaccuring.
Please check the document referd to and fix it, and please read my report and answare me, as well as publish your answare.
I'ts a shame.... I realy wanted to use thar tool ("zimbra") for our domain clients, I was realy looking forward to see it working, I was thrilled about it - it looks great!
Thank you and good luck!
p.s.
steps not mentioned on my reort went well.
----THE REPORT----
# /opt/zimbra/postfix/sbin/postfix set-permissions
postfix: warning: My hostname *************** is not a fully qualified name - set myhostname or mydomain in /opt/zimbra/postfix-2.2.3/conf/main.cf
-----------------------------------
$ /opt/zimbra/bin/zmmyinit
-bash: /opt/zimbra/bin/zmmyinit: No such file or directory
-----------------------------------
$ /opt/zimbra/bin/mzldapinit
-bash: /opt/zimbra/bin/mzldapinit: No such file or directory
-----------------------------------
$ /opt/zimbra/bin/zmmtainit localhost
-bash: /opt/zimbra/bin/zmmtainit: No such file or directory
-----------------------------------
$ /opt/zimbra/bin/zmmtaconfig mta
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_sasl_auth_enable=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_auth_only=''
DO: /opt/zimbra/postfix/sbin/postconf -e disable_dns_lookups=''
DO: /opt/zimbra/postfix/sbin/postconf -e message_size_limit=''
DO: /opt/zimbra/postfix/sbin/postconf -e relayhost=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_recipient_restrictions='reject_non_fqdn_reci pient, permit_sasl_authenticated, permit_mynetworks,
reject_unauth_destination, permit'
-----------------------------------
$ /opt/zimbra/bin/zmldappasswd zimbra
Updating local config
Stopping ldap
slapd not running
Updating ldap configuration
sed: can't read /opt/zimbra/conf/slapd.conf: No such file or directory
Starting ldap
Updating zimbra.ldif
Running ldapmodify
Password change complete.
You may need to restart tomcat, if it is running.
-----------------------------------
$ /opt/zimbra/bin/zmmypasswd zimbra
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
**** PASSWORD CHANGE FAILED
-----------------------------------
$ /opt/zimbra/bin/zmmypasswd --root zimbra
/opt/zimbra/bin/mysqladmin -u root --password=zimbra password zimbra
/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!
**** PASSWORD CHANGE FAILED
-----------------------------------
-----------------------------------
-----------------------------------
$ /opt/zimbra/bin/postfix stop
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:[home user password entered beacouse the process of defining a password failed earlier]
Sorry, user ***** is not allowed to execute '/opt/zimbra/postfix/sbin/postalias /etc/aliases' as root on ******.
Sorry, user ***** is not allowed to execute '/opt/zimbra/postfix/sbin/postfix stop' as root on *****.
-----------------------------------
$ /opt/zimbra/bin/postfix start
Sorry, user ***** is not allowed to execute '/opt/zimbra/postfix/sbin/postalias /etc/aliases' as root on ******
Sorry, user ***** is not allowed to execute '/opt/zimbra/postfix/sbin/postfix start' as root on ******.
-----------------------------------
$ /opt/zimbra/bin/mysql.server stop
Error: assertion '-r /opt/zimbra/conf/my.cnf' failed
-----------------------------------
$ /opt/zimbra/bin/mysql.server start
Error: assertion '-r /opt/zimbra/conf/my.cnf' failed
-----------------------------------
***@****:~/zcs-src/ZimbraServer$ ant reset-the-world
Buildfile: build.xml
build-init:
compile:
[echo] Hostname: *****
generate-buildinfo:
[javac] Compiling 1 source file to /home/*****/zcs-src/ZimbraServer/build/
classes
jar:
[jar] Building jar: /home/*****/zcs-src/ZimbraServer/build/dist/lib/zimb
rastore.jar
stop-servers-windows:
stop-servers-unix:
[exec] slapd not running
[exec] Result: 1
[exec] Error: no pid in /opt/zimbra/log/tomcat.pid
[exec] Result: 1
stop-servers:
db-init:
BUILD FAILED
/home/*****/zcs-src/ZimbraServer/build.xml:461: com.mysql.jdbc.CommunicationsE
xception: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused
STACKTRACE:
java.net.SocketException: java.net.ConnectException: Connection refused
at com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.ja
va:156)
at com.mysql.jdbc.MysqlIO.
(MysqlIO.java:283)
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2541)
at com.mysql.jdbc.Connection.(Connection.java:1474)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java
:264)
at org.apache.tools.ant.taskdefs.JDBCTask.getConnecti on(JDBCTask.java:30
4)
at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLE xec.java:347)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:34 1)
at org.apache.tools.ant.Target.performTasks(Target.ja va:369)
at org.apache.tools.ant.Project.executeTarget(Project .java:1214)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher. java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher .java:55)
** END NESTED EXCEPTION **
Last packet sent to the server was 30 ms ago.
Total time: 7 seconds
-----------------------------------
*****@****:~/zcs-src/ZimbraWebClient$ ant deploy
Buildfile: build.xml
check4zimbraajax:
copy-files-to-build-area:
[copy] Copying 1 file to /home/*****/zcs-src/ZimbraWebClient/build/WebRoot/WEB-INF
[copy] Copying 1 file to /home/*****/zcs-src/ZimbraWebClient/build/WebRoot/js
[copy] Copying 17 files to /home/*****/zcs-src/ZimbraWebClient/build/WebRoot/public
[copy] Copying 1 file to /home/*****/zcs-src/ZimbraWebClient/build/WebRoot/zimlets
[copy] Copying 439 files to /home/*****/zcs-src/ZimbraWebClient/build/WebRoot
[copy] Copying 271 files to /home/*****/zcs-src/ZimbraWebClient/build/WebRoot/js/ajax
build-init:
compile:
jam-files:
generate-build-info:
[propertyfile] Updating property file: /home/*****/zcs-src/ZimbraWebClient/build/build.properties
imagesinit:
images:
war:
[war] Building war: /home/*****/zcs-src/ZimbraWebClient/build/dist/tomcat/webapps/zimbra.war
deploy:
BUILD FAILED
/home/******/zcs-src/ZimbraWebClient/build.xml:496: The type doesn't support the "update" attribute.
Total time: 10 seconds
-----------------------------------
No conection to the server could be established...
----END OF REPORT ---
ln files from licexec:
$ /opt/zimbra/bin/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)
$ /opt/zimbra/bin/zmmtaconfig mta
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_sasl_auth_enable=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_auth_only=''
DO: /opt/zimbra/postfix/sbin/postconf -e disable_dns_lookups=''
DO: /opt/zimbra/postfix/sbin/postconf -e message_size_limit=''
DO: /opt/zimbra/postfix/sbin/postconf -e relayhost=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_recipient_restrictions='reject_non_fqdn_reci pient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, permit'