Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 10-17-2005, 09:58 AM
Linsys Linsys is offline
Member
 
Join Date: Sep 2005
Location: Johannesburg, South Africa
Posts: 19
Linsys is on a distinguished road
Default Zimbra fails after working for 2 weeks

I have been using Zimbra for 2 works and worked flawlessly until I could not login for some reason.
After I su to zimbra on the console I get the following:
Code:
[zimbra@mail user]$ zmcontrol status
Calling GetServiceInfoRequest (mail.mydomain.net)

Soap call failed: 500 Can't connect to localhost:7777 (connect: Connection refused) at /opt/zimbra/zimbramon/zmcontrol line 230
Code:
[zimbra@mail user]$ zmcontrol start 
Calling start (mail.mydomain.net)

getservbyname failed for tcp at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 50
unix dgram connect: No such file or directory at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 50
stream /dev/conslog is not writable at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 50
console is not writable at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 50
no connection to syslog available at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 50
[zimbra@mail user]$ vi /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm
I am not sure how to solve the problem. I have all my personal mails in Zimbra
now and I do not want to lose them.
Reply With Quote
  #2 (permalink)  
Old 10-17-2005, 10:13 AM
marcmac marcmac is offline
Zimbra Employee
 
Join Date: Sep 2005
Posts: 2,068
marcmac is on a distinguished road
Default Network change?

Did you change the name or IP of the host, or has something about the network changed? It sounds like the server can't resolve the name it's installed under.
Reply With Quote
  #3 (permalink)  
Old 10-17-2005, 10:48 AM
Linsys Linsys is offline
Member
 
Join Date: Sep 2005
Location: Johannesburg, South Africa
Posts: 19
Linsys is on a distinguished road
Default

There was no change in the network, actually all this happened while I was out of the country, unless if there was a hacking of some sort. Uninstalling and re-installing iptables as shown below did not help.
Code:
[root@mail conf]# /opt/zimbra/bin/zmiptables -u
[root@mail conf]# /opt/zimbra/bin/zmiptables -i
[root@mail conf]# su zimbra
[zimbra@mail conf]$ zmcontrol startup

Last edited by Linsys : 10-17-2005 at 11:02 AM.
Reply With Quote
  #4 (permalink)  
Old 10-17-2005, 11:05 AM
marcmac marcmac is offline
Zimbra Employee
 
Join Date: Sep 2005
Posts: 2,068
marcmac is on a distinguished road
Default static ip?

Is this host on a static IP, or is it on a dhcp network (like a cable modem?)
Reply With Quote
  #5 (permalink)  
Old 10-17-2005, 11:06 AM
marcmac marcmac is offline
Zimbra Employee
 
Join Date: Sep 2005
Posts: 2,068
marcmac is on a distinguished road
Default syslogd?

Is syslogd running? Has this host been rebooted recently?
Reply With Quote
  #6 (permalink)  
Old 10-18-2005, 11:40 AM
Linsys Linsys is offline
Member
 
Join Date: Sep 2005
Location: Johannesburg, South Africa
Posts: 19
Linsys is on a distinguished road
Default

This server is on a fixed ip inside a firewall with port 21 and 7071 forwarded to 192.168.0.3 (the mail server's ip).

The machine was subjected to a couple of power failures. syslogd was not running and I have started it manually and zimbra now gives different error shown below. It appears the problem is not with Zimbra. A lot of other daemons failed to start with message similar to: error while loading shared libraries: unexpected reloc type ?x??.
Code:
[root@mail user]# su zimbra
[zimbra@mail user]$ zmcontrol start
Calling start (mail.mydomain.net)

date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
perl /opt/zimbra/zimbramon/zmmon &

rm: error while loading shared libraries: unexpected reloc type 0x14
RESPONSE: (Zimbra::Mon::serviceInfo)
        antispam
                status              Running
        antivirus
                status              Running
        ldap
                status              Running
        mailbox
                status              Stopped
        mta
                status              Running
        snmp
                status              Running
        host
                ip                  192.168.0.3
                name                mail.linsys.homeip.net
[zimbra@mail luke]$ ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
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' (111) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
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' (111) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
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' (111) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
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' (111) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
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' (111) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
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' (111) at /opt/zimbra/zimbramon/lib/Zimbra/Mon/StatusMon.pm line 152
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (111)
date: error while loading shared libraries: unexpected reloc type 0x0a
date: error while loading shared libraries: unexpected reloc type 0x0a
Reply With Quote
  #7 (permalink)  
Old 10-18-2005, 11:44 AM
marcmac marcmac is offline
Zimbra Employee
 
Join Date: Sep 2005
Posts: 2,068
marcmac is on a distinguished road
Default disk errors?

Any disk errors in /var/log/messages? You may have a bad/corrupted drive.
Reply With Quote
  #8 (permalink)  
Old 10-18-2005, 12:00 PM
Linsys Linsys is offline
Member
 
Join Date: Sep 2005
Location: Johannesburg, South Africa
Posts: 19
Linsys is on a distinguished road
Default

Quote:
Originally Posted by marcmac
Any disk errors in /var/log/messages? You may have a bad/corrupted drive.
I will check and fix if possible. Thanks
Reply With Quote
  #9 (permalink)  
Old 10-18-2005, 01:54 PM
Linsys Linsys is offline
Member
 
Join Date: Sep 2005
Location: Johannesburg, South Africa
Posts: 19
Linsys is on a distinguished road
Default

There are no bad disk errors messages in log files and I have fsck -f /dev/hda3 and there was no change. The problem seems to be extensive because most of the system daemons fail to start. The problem seems to be related to shared libraries not found.

Now I am thinking of re-installing, but before I do that, is there a way of saving my user data with zimbra not running? Will making a file system backup of /opt/zimbra/store/ folder and restoring after a fresh install of zimbra work? I have thousands of mails in zimbra and I would like to preserve them at all costs.

Last edited by Linsys : 10-18-2005 at 01:57 PM.
Reply With Quote
  #10 (permalink)  
Old 10-20-2005, 01:26 PM
Linsys Linsys is offline
Member
 
Join Date: Sep 2005
Location: Johannesburg, South Africa
Posts: 19
Linsys is on a distinguished road
Default Problem solved

The problem was my old Samsung DVD ROM. It is faulty. After disconnecting it everything went well. Thanks for all the help.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.zimbra.com/forums/administrators/429-zimbra-fails-after-working-2-weeks.html
Posted By For Type Date
Fetching mails from a remote server - Zimbra - Forums This thread Refback 10-25-2007 04:11 AM
Shared Contacts Error - Zimbra - Forums This thread Refback 10-01-2007 02:52 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade woes -made into new thread JustinHarlow Installation 18 06-08-2007 12:11 PM
Installation succesfful! But problem with zmcontrol start mansuper Installation 16 09-07-2006 06:39 AM
Logger jholder Installation 24 03-31-2006 10:50 AM
port 7071 not listening OS X install rm* Installation 7 03-21-2006 09:47 AM
Mail logs Rick Baker Installation 8 01-17-2006 03:33 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0