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

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 02-18-2010, 05:58 PM
Active Member
 
Posts: 39
Unhappy [SOLVED] weird error in zimbra

Hi gurus of zimbra,

Im having a weird error on my zimbra. Previously it was running well, send and receiving emails is almost in real time and fast. But after i have rebooted the server, the zmcontrol status is giving me this error :

Host mail.nha2u.com.my
antispam Stopped
zmmtaconfigctl is not running
zmamavisdctl is not running
antivirus Stopped
zmmtaconfigctl is not running
zmamavisdctl is not running
zmclamdctl is not running
ldap Stopped
logger Stopped
logmysql.server is not running
zmlogswatchctl is not running
mailbox Stopped
zmmtaconfigctl is not running
mysql.server is not running
tomcat is not running
mta Stopped
zmmtaconfigctl is not running
postfix is not running
zmsaslauthdctl is not running
snmp Stopped
swatch is not running
spell Stopped
zmapachectl is not running
stats Stopped

and when i do zmcontrol start/stop, this is what i get :

[zimbra@mail ~]$ zmcontrol start
no connection to syslog available
- /dev/log is not a socket at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 41


Can anyone help me about this please ?

Thank you.
Reply With Quote
  #2 (permalink)  
Old 02-18-2010, 11:20 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by getridoff View Post
[zimbra@mail ~]$ zmcontrol start
no connection to syslog available
- /dev/log is not a socket at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 41


Can anyone help me about this please ?
That would appear to be a problem with syslog, have you tried restarting it then restarting Zimbra?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-18-2010, 11:38 PM
Active Member
 
Posts: 39
Unhappy

Hai Phoenix,

Thanks for the quick reply! by the way i have restarted the syslog as you guide but it appears to be something weird again. The result as below :

[root@mail ~]# /etc/init.d/syslog stop ; /etc/init.d/syslog start
Shutting down kernel logger: [FAILED]
Shutting down system logger: [FAILED]
Starting system logger: syslogd: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
[FAILED]
Starting kernel logger: klogd: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
[FAILED]


Im totally confused here by this errors. Could you please kindly help me out, as this is the 1st time im encountering this ?

Thank you.
Reply With Quote
  #4 (permalink)  
Old 02-18-2010, 11:42 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Have you done an operating system update recently? You seem to be missing some glibc libraries, what does the output of the following show:

Code:
yum provides libc.so.6
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 02-18-2010, 11:48 PM
Active Member
 
Posts: 39
Unhappy

Hi Phoenix,

Wow that was 'super fast'...ok i have followed your guide and below is the output :

[root@mail ~]# yum provides libc.so.6
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos.maulvi.net
* base: centos.maulvi.net
* extras: centos.maulvi.net
* updates: centos.maulvi.net
glibc-2.5-42.i686 : The GNU libc libraries.
Repo : base
Matched from:
Other : libc.so.6



glibc-2.5-42.i386 : The GNU libc libraries.
Repo : base
Matched from:
Other : libc.so.6



glibc-2.5-42.el5_4.3.i686 : The GNU libc libraries.
Repo : updates
Matched from:
Other : libc.so.6



glibc-2.5-42.el5_4.3.i386 : The GNU libc libraries.
Repo : updates
Matched from:
Other : libc.so.6



glibc-2.5-42.el5_4.2.i686 : The GNU libc libraries.
Repo : updates
Matched from:
Other : libc.so.6



glibc-2.5-42.el5_4.2.i386 : The GNU libc libraries.
Repo : updates
Matched from:
Other : libc.so.6



glibc-2.5-42.el5_4.3.i686 : The GNU libc libraries.
Repo : installed
Matched from:
Other : Provides-match: libc.so.6


For your info, i have update the OS with all the packages till last week. This errors only appears yesterday, after a reboot.
Reply With Quote
  #6 (permalink)  
Old 02-18-2010, 11:53 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Stop syslog (or kill it) again and run the following command then restart syslog:

Code:
syslogd -p /dev/log
Does that do anything?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 02-18-2010, 11:59 PM
Active Member
 
Posts: 39
Default

Hi Phoenix,

I have followed your guide and this is what i get :

[root@mail ~]# /etc/init.d/syslog stop
Shutting down kernel logger: [FAILED]
Shutting down system logger: [FAILED]
[root@mail ~]# syslogd -p /dev/log
syslogd: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

is there any steps that i missed out ?

Thank you Phoenix.
Reply With Quote
  #8 (permalink)  
Old 02-19-2010, 12:08 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

What does your syslog.conf file contain (are you up-tp CentOS 5.4?), this is the contents of my file:

Code:
cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                                                 /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none                /var/log/messages

# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure

# Log all the mail messages in one place.
mail.*                                                  -/var/log/maillog


# Log cron stuff
cron.*                                                  /var/log/cron

# Everybody gets emergency messages
*.emerg                                                 *

# Save news errors of level crit and higher in a special file.
uucp,news.crit                                          /var/log/spooler

# Save boot messages also to boot.log
local7.*                                                /var/log/boot.log
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 02-19-2010, 12:13 AM
Active Member
 
Posts: 39
Default

Hi Phoenix,

here is my post :

[root@mail ~]# cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;news.none;authpriv.none;cron.none /var/log/messages

# The authpriv file has restricted access.
authpriv.* /var/log/secure

# Log all the mail messages in one place.
mail.* -/var/log/maillog


# Log cron stuff
cron.* /var/log/cron

# Everybody gets emergency messages
*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler

# Save boot messages also to boot.log
local7.* /var/log/boot.log

#
# INN
#
news.=crit /var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice /var/log/news/news.notice
local0.* -/var/log/zimbra.log
auth.* -/var/log/zimbra.log
mail.* -/var/log/zimbra.log
[root@mail ~]#
Reply With Quote
  #10 (permalink)  
Old 02-19-2010, 12:53 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Sorry, I gave you the wrong syslog.conf file earlier (it was from a test machine) and it should look like this:

Code:
cat /etc/syslog.conf                 
# Log all kernel messages to the console.             
# Logging much else clutters up the screen.           
#kern.*                                                 /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!         
*.info;local0.none;local1.none;auth.none;mail.none;authpriv.none;cron.none         /var/log/messages

# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure

# Log all the mail messages in one place.
mail.*                                                  -/var/log/maillog


# Log cron stuff
cron.*                                                  /var/log/cron

# Everybody gets emergency messages
*.emerg                                                 *

# Save news errors of level crit and higher in a special file.
uucp,news.crit                                          /var/log/spooler

# Save boot messages also to boot.log
local7.*                                                /var/log/boot.log
local0.*                -/var/log/zimbra.log
local1.*                -/var/log/zimbra-stats.log
auth.*                  -/var/log/zimbra.log
mail.*                -/var/log/zimbra.log
Make sure that syslog is not running and kill it if necessary then add the information that's missing from your file and try a restart of syslog. Do you have a backup file of syslog.conf? What does this show:

Code:
ls -l /etc/syslog*
__________________
Regards


Bill
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.