Results 1 to 2 of 2

Thread: Source Install Initialization

  1. #1
    Join Date
    Jan 2006
    Location
    Boise, ID
    Posts
    10
    Rep Power
    9

    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?

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    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.

Similar Threads

  1. Installs but won't start on Linux FC6
    By iain in forum General Questions
    Replies: 6
    Last Post: 03-29-2007, 11:19 AM
  2. Replies: 2
    Last Post: 10-02-2006, 09:44 AM
  3. I want to install source code of zimbra
    By wildhuman in forum Developers
    Replies: 20
    Last Post: 08-24-2006, 05:13 PM
  4. Source tarball?
    By bluetoad in forum Installation
    Replies: 6
    Last Post: 04-28-2006, 03:10 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •