Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-2006, 04:39 PM
Member
 
Posts: 10
Default Source Install Initialization

I'm trying to build and install the zcs-3.0.0_M2_740-src.tgz release on FC4. I built the ThirdParty apps from source as well into the appropriate dir under /opt/zimbra and re-packed them and installed them into the ThirdParty/appname directories. I then ran ant in ZimbraServer and then make in ZimbraBuild with no complaints. Things 'look' good under /opt/zimbra after the install is complete. BTW, I'm using the install guide at:
http://www.zimbra.com/blog/archives/2005/08/index.html
Things go well until I run:
/opt/zimbra/libexec/zmmyinit

I get this output:
Error: assertion '-x /opt/zimbra/mysql/scripts/mysql_install_db' failed

The path in the script is wrong for the install I just did.
So I adjust the path in the script, and then get the following output:
[pykyo@pykyo libexec]$ ./zmmyinit
* Creating required directories
* Generating mysql config /opt/zimbra/conf/my.cnf
/opt/zimbra/bin/zmmycnf: line 47: /opt/zimbra/bin/get_plat_tag.sh: No such file or directory
* 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
/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

So, is the guide I'm using outdated/wrong?
Did I just screw up the install somewhere?
Is there comprehensive source install documentation I haven't found yet?
Reply With Quote
  #2 (permalink)  
Old 01-31-2006, 04:41 PM
Zimbra Employee
 
Posts: 2,103
Default install from source

Don't build the M2 source, it's way way way out of date.

Check out the cvs CRAY branch (info somewhere in the forums on the location) and you'll get a much better system.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.