more fedora install problems

Ask questions about your setup or get help installing ZCS server (ZD section below).
jlynch3
Posts: 7
Joined: Fri Sep 12, 2014 9:55 pm

more fedora install problems

Postby jlynch3 » Mon Sep 12, 2005 12:57 pm

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.


jlynch3
Posts: 7
Joined: Fri Sep 12, 2014 9:55 pm

more fedora install problems

Postby jlynch3 » Mon Sep 12, 2005 1:02 pm

Just looked at my firewall logs... trying again with iptables disabled.
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

more fedora install problems

Postby 14319KevinH » Mon Sep 12, 2005 1:12 pm

Yes the fire wall needs to be disabled(ipchains). We do use iptables to map ports so we will need that running.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

more fedora install problems

Postby marcmac » Mon Sep 12, 2005 4:26 pm

[quote user="jlynch3"]Just looked at my firewall logs... trying again with iptables disabled.[/QUOTE]
More precisely - shut down your firewall, and run /opt/zimbra/bin/zmiptables -i as root
jlynch3
Posts: 7
Joined: Fri Sep 12, 2014 9:55 pm

more fedora install problems

Postby jlynch3 » Mon Sep 12, 2005 4:44 pm

[quote user="marcmac"]More precisely - shut down your firewall, and run /opt/zimbra/bin/zmiptables -i as root[/QUOTE]
Abort Zimbra startup, issue that command, then start up again?
I also have mysql errors in the install log
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

more fedora install problems

Postby marcmac » Mon Sep 12, 2005 4:53 pm

[quote user="jlynch3"]Abort Zimbra startup, issue that command, then start up again?
I also have mysql errors in the install log[/QUOTE]


If the install went badly, the db initialization probably failed. Try the install again, after disabling the firewall, and it should work.
jlynch3
Posts: 7
Joined: Fri Sep 12, 2014 9:55 pm

more fedora install problems

Postby jlynch3 » Mon Sep 12, 2005 6:04 pm

Is there a sql script to configure the database outside of the installer? That seems to be my last roadblock. Can I use phpMyAdmin?
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

more fedora install problems

Postby 14319KevinH » Mon Sep 12, 2005 6:10 pm

[quote user="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?[/QUOTE]
Can you post you /tmp/install.log.?
jlynch3
Posts: 7
Joined: Fri Sep 12, 2014 9:55 pm

more fedora install problems

Postby jlynch3 » Mon Sep 12, 2005 6:18 pm

Here you go...
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

marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

more fedora install problems

Postby marcmac » Mon Sep 12, 2005 7:54 pm

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

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests