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

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 10-17-2005, 10:58 AM
Intermediate Member
 
Posts: 19
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, 11:13 AM
Zimbra Employee
 
Posts: 2,103
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, 11:48 AM
Intermediate Member
 
Posts: 19
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 12:02 PM..
Reply With Quote
  #4 (permalink)  
Old 10-17-2005, 12:05 PM
Zimbra Employee
 
Posts: 2,103
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, 12:06 PM
Zimbra Employee
 
Posts: 2,103
Default syslogd?

Is syslogd running? Has this host been rebooted recently?
Reply With Quote
  #6 (permalink)  
Old 10-18-2005, 12:40 PM
Intermediate Member
 
Posts: 19
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, 12:44 PM
Zimbra Employee
 
Posts: 2,103
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, 01:00 PM
Intermediate Member
 
Posts: 19
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, 02:54 PM
Intermediate Member
 
Posts: 19
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 02:57 PM..
Reply With Quote
  #10 (permalink)  
Old 10-20-2005, 02:26 PM
Intermediate Member
 
Posts: 19
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 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.