Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: more fedora install problems

  1. #1
    Join Date
    Sep 2005
    Posts
    7
    Rep Power
    10

    Default more fedora install problems

    My install (Fedora 4, stock) hangs without starting services... seems to end with starting services, and, looking at Zimbra.log, stops at starting the LDAP module. Is it true that I have to DISABLE my firewall during install?

    I had an earlier botched install, but read that mySQL should be stopped during install. I've done that, and am hung up here instead.

  2. #2
    Join Date
    Sep 2005
    Posts
    7
    Rep Power
    10

    Default

    Just looked at my firewall logs... trying again with iptables disabled.

  3. #3
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Yes the fire wall needs to be disabled(ipchains). We do use iptables to map ports so we will need that running.

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

    Default Need port forwarding

    Quote Originally Posted by jlynch3
    Just looked at my firewall logs... trying again with iptables disabled.
    More precisely - shut down your firewall, and run /opt/zimbra/bin/zmiptables -i as root

  5. #5
    Join Date
    Sep 2005
    Posts
    7
    Rep Power
    10

    Default

    Quote Originally Posted by marcmac
    More precisely - shut down your firewall, and run /opt/zimbra/bin/zmiptables -i as root
    Abort Zimbra startup, issue that command, then start up again?

    I also have mysql errors in the install log

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

    Default You may have to reinstall

    Quote Originally Posted by jlynch3
    Abort Zimbra startup, issue that command, then start up again?

    I also have mysql errors in the install log

    If the install went badly, the db initialization probably failed. Try the install again, after disabling the firewall, and it should work.

  7. #7
    Join Date
    Sep 2005
    Posts
    7
    Rep Power
    10

    Default

    Is there a sql script to configure the database outside of the installer? That seems to be my last roadblock. Can I use phpMyAdmin?

  8. #8
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by jlynch3
    Is there a sql script to configure the database outside of the installer? That seems to be my last roadblock. Can I use phpMyAdmin?
    Can you post you /tmp/install.log.?

  9. #9
    Join Date
    Sep 2005
    Posts
    7
    Rep Power
    10

    Default

    Here you go...

    Code:
    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
    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
    COMMAND: zmlocalconfig -e zimbra_server_hostname=synclink.homedns.org
    COMMAND: zmlocalconfig -e ldap_host=synclink.homedns.org
    COMMAND: zmlocalconfig -e ldap_port=389
    COMMAND: zmldapinit
    Started slapd: pid 29050
    
    [snip]
    
    COMMAND: zmprov cs synclink.homedns.org
    5c34274d-23dc-11da-84d4-f978a66d34fd
    COMMAND: zmprov cd synclink.homedns.org
    5e7eda9a-23dc-11da-bd3b-f5f8cf93658b
    COMMAND: zmprov mcf zimbraDefaultDomainName synclink.homedns.org
    COMMAND: zmprov ca admin@synclink.homedns.org maya1sf1 zimbraIsAdminAccount TRUE
    62fa02fe-23dc-11da-b6c1-07d97c9f9c48
    COMMAND: zmprov aaa admin@synclink.homedns.org postmaster@synclink.homedns.org
    COMMAND: zmprov ms synclink.homedns.org zimbraSmtpHostname synclink.homedns.org
    COMMAND: id=`zmprov gs synclink.homedns.org | 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
    COMMAND: zmmtainit synclink.homedns.org
    COMMAND: zmlocalconfig -e av_notify_user=jlynch3#gmail.com
    COMMAND: zmlocalconfig -e av_notify_domain=
    COMMAND: zmlocalconfig -e snmp_notify=0
    COMMAND: zmlocalconfig -e smtp_notify=0
    COMMAND: zmlocalconfig -e snmp_trap_host=synclink.homedns.org
    COMMAND: zmlocalconfig -e smtp_source=none
    COMMAND: zmlocalconfig -e smtp_destination=none
    COMMAND: zmsnmpinit
    creating /opt/zimbra/conf/swatchrc
    COMMAND: zmprov ms synclink.homedns.org zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp
    COMMAND: zmprov ms synclink.homedns.org zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmp
    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=synclink.homedns.org
    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=synclink.homedns.org
    Getting CA Private Key
    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=synclink.homedns.org
    Getting Private key
    COMMAND: zmcertinstall mailbox
    ** Importing server cert
    
    keytool error: java.lang.Exception: Failed to establish chain from reply
    COMMAND: zmtlsctl http
    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 (synclink.homedns.org)
    
    perl /opt/zimbra/zimbramon/zmmon &
    
    RESPONSE: (Zimbra::Mon::serviceInfo)
    	antispam
    		status              Running
    	antivirus
    		status              Running
    	ldap
    		status              Running
    	mailbox
    		status              Stopped
    	mta
    		status              Running
    	snmp
    		status              Running
    	host
    		ip                  69.17.45.128
    		name                synclink.homedns.org
    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.27475
    COMMAND: zmprov gs synclink.homedns.org > .zmprov.synclink.homedns.org.save.27475
    COMMAND: zmprov gacf synclink.homedns.org > .zmprov.gacf.save.27475
    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
    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

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

    Default manual sql startup

    run (as zimbra user) mysql.server start, and post any errors you get - for some reason, the sql daemon is never starting.

Similar Threads

  1. Ubuntu 6.06 Install Problems
    By swu in forum Installation
    Replies: 8
    Last Post: 06-29-2007, 10:18 AM
  2. Zimbra can't install on Fedora core 6 and FC 4
    By Grejao in forum Installation
    Replies: 3
    Last Post: 04-27-2007, 08:19 AM
  3. broken install on fedora core 4??
    By rmvg in forum Installation
    Replies: 5
    Last Post: 03-05-2006, 07:40 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Replies: 4
    Last Post: 01-18-2006, 11:58 AM

Posting Permissions

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