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

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 09-12-2005, 10:57 AM
Junior Member
 
Posts: 7
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.
Reply With Quote
  #2 (permalink)  
Old 09-12-2005, 11:02 AM
Junior Member
 
Posts: 7
Default

Just looked at my firewall logs... trying again with iptables disabled.
Reply With Quote
  #3 (permalink)  
Old 09-12-2005, 11:12 AM
Zimbra Employee
 
Posts: 4,792
Default

Yes the fire wall needs to be disabled(ipchains). We do use iptables to map ports so we will need that running.
Reply With Quote
  #4 (permalink)  
Old 09-12-2005, 02:26 PM
Zimbra Employee
 
Posts: 2,103
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
Reply With Quote
  #5 (permalink)  
Old 09-12-2005, 02:44 PM
Junior Member
 
Posts: 7
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
Reply With Quote
  #6 (permalink)  
Old 09-12-2005, 02:53 PM
Zimbra Employee
 
Posts: 2,103
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.
Reply With Quote
  #7 (permalink)  
Old 09-12-2005, 04:04 PM
Junior Member
 
Posts: 7
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?
Reply With Quote
  #8 (permalink)  
Old 09-12-2005, 04:10 PM
Zimbra Employee
 
Posts: 4,792
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.?
Reply With Quote
  #9 (permalink)  
Old 09-12-2005, 04:18 PM
Junior Member
 
Posts: 7
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
Reply With Quote
  #10 (permalink)  
Old 09-12-2005, 05:54 PM
Zimbra Employee
 
Posts: 2,103
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.
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.