View Single Post
  #7 (permalink)  
Old 09-09-2005, 07:33 AM
GertThiel GertThiel is offline
Active Member
 
Posts: 42
Default MySQL does not start

I installed ZCS on a new FC4. Only the stuff listening on port 7777 runs. MySQL and other ZCS does not:

Code:
[root@zimbra etc]# netstat -l -n --programs
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 127.0.0.1:7777              0.0.0.0:*                   LISTEN      3480/perl           
tcp        0      0 0.0.0.0:32769               0.0.0.0:*                   LISTEN      1616/rpc.statd      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1597/portmap        
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1986/cupsd          
tcp        0      0 127.0.0.1:5335              0.0.0.0:*                   LISTEN      1968/mDNSResponder  
tcp        0      0 :::22                       :::*                        LISTEN      2034/sshd           
udp        0      0 0.0.0.0:32768               0.0.0.0:*                               1616/rpc.statd      
udp        0      0 0.0.0.0:944                 0.0.0.0:*                               1616/rpc.statd      
udp        0      0 0.0.0.0:5353                0.0.0.0:*                               1968/mDNSResponder  
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               1597/portmap        
udp        0      0 0.0.0.0:631                 0.0.0.0:*                               1986/cupsd          
udp        0      0 192.168.2.71:123            0.0.0.0:*                               2048/ntpd           
udp        0      0 127.0.0.1:123               0.0.0.0:*                               2048/ntpd           
udp        0      0 0.0.0.0:123                 0.0.0.0:*                               2048/ntpd           
udp        0      0 :::123                      :::*                                    2048/ntpd
/etc/init.d/zimbra restart takes an eternity to finish and yields

Code:
Calling ShutDownRequest (zimbra.gtds.lan)

Calling startup (zimbra.gtds.lan)

perl /opt/zimbra/zimbramon/zmmon &

RESPONSE: (Zimbra::Mon::serviceInfo)
        host
                ip                  192.168.2.71
                name                zimbra.gtds.lan
[root@zimbra ~]# 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
with the DBI error mesaage repeating until I kill the process.

As far as I can tell MySQL never get started. There is nothing MySQL related inside /etc/init.d/. I remember thar MySQL was started by nstall.sh and under /opt/zimbra/db/data/ is a zimbra directory.

Can you help? TIA.

Regards,

Gert
Reply With Quote