View Single Post
  #10 (permalink)  
Old 01-12-2006, 01:03 PM
DanielP DanielP is offline
Intermediate Member
 
Posts: 20
Default More mysql

No, firewall is turned off(until successful installation)

mail:/tmp # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
mail:/tmp # su - zimbra
zimbra@mail:~> /opt/zimbra/libexec/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 2013 (HY000): Lost connection to MySQL server during query
* 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 passwd for mysql root user in zimbra localconfig
* Setting random passwd for mysql zimbra user in zimbra localconfig
* 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

It still cant connect. Other stuff as telnet localhost 25 works as expected.

/Daniel
Reply With Quote