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-05-2009, 11:42 AM
Junior Member
 
Posts: 7
Default problem with logger

I would like to start logger but it won't start.

Here's what happened:

Code:
zimbra@server:/root$ zmcontrol status
Host server.homelinux.org
        ldap                    Running
        logger                  Stopped
                logmysql.server is not running
                zmlogswatchctl is not running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        stats                   Running
zimbra@server:/root$ zmlog
zmloggerctl     zmlogswatchctl
zimbra@server:/root$ zmlogswatchctl start
Starting logswatch...done.
zimbra@server:/root$ zmloggerctl start
Starting mysqld...done.
Starting logswatch...logswatch is already running.
zimbra@server:/root$ zmcontrol status
Host server.homelinux.org
        ldap                    Running
        logger                  Stopped
                logmysql.server is not running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        stats                   Running
zimbra@server:/root$ logmysql.server start
Starting mysqld...done.
zimbra@server:/root$ zmcontrol status
Host server.homelinux.org
        ldap                    Running
        logger                  Stopped
                logmysql.server is not running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        stats                   Running
zimbra@server:/root$
i followed this wiki

Code:
zimbra@server:/root$ logmysql.server start
Starting mysqld...done.
zimbra@server:/root$ cat /opt/zimbra/logger/db/mysql.pid
cat: /opt/zimbra/logger/db/mysql.pid: No such file or directory
But there is no solution on the wiki.
Reply With Quote
  #2 (permalink)  
Old 02-05-2009, 12:28 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Whick version and release of ZImbra is this? Please update your forum profile with the output of the following:

Code:
zmcontrol -v
Shutdown Zimbra and see if there are any zimbra processes still running with
Code:
ps aux | grep zimbra
If there are processes running then kill them all and you can restart zimbra, let me know if that fixes the problem? If that does you'll need to make another change to fix it permanently.

If that's not the problem what errors do you see in the log files
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-05-2009, 12:59 PM
Junior Member
 
Posts: 7
Default

thank you for your reply,

No running processes found.

just these:
Code:
zimbra   14525  0.0  0.3   7136  1924 pts/0    S    20:11   0:00 su zimbra
zimbra   14526  0.0  0.3   4640  2044 pts/0    S+   20:11   0:00 bash
root     18786  0.0  0.1   3004   756 pts/1    R+   21:44   0:00 grep zimbra
there were some errors:
Code:
/opt/zimbra/logger/mysql/libexec/mysqld: Can't change dir to '/opt/zimbra/logger/db/data/' (Errcode: 2)
090205 21:48:06 [ERROR] Aborting

090205 21:48:06 [Note] /opt/zimbra/logger/mysql/libexec/mysqld: Shutdown complete

STOPPING server from pid file /opt/zimbra/logger/db/mysql.pid
090205 21:48:06  mysqld ended
090205 21:48:06  mysqld ended
so i made the directory.
following the next error:

Code:
zimbra@server:/root$ tail /opt/zimbra/log/logger_mysql_error.log
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
STOPPING server from pid file /opt/zimbra/logger/db/mysql.pid
090205 21:52:57  mysqld ended
090205 21:52:57  mysqld ended
So I'm at this point now.
Reply With Quote
  #4 (permalink)  
Old 02-09-2009, 11:52 PM
Senior Member
 
Posts: 66
Default

Try running this as root:

Code:
/opt/zimbra/libexec/zmfixperms
Reply With Quote
  #5 (permalink)  
Old 02-13-2009, 03:56 AM
Junior Member
 
Posts: 7
Default

Code:
root@server:~# /opt/zimbra/libexec/zmfixperms
root@server:~# su zimbra
zimbra@server:/root$ logmysql.server
Usage: /opt/zimbra/bin/logmysql.server start|stop|restart|reload|status
zimbra@server:/root$ logmysql.server start
Starting mysqld...done.
zimbra@server:/root$ zmcontrol status
Host server.homelinux.org
        ldap                    Running
        logger                  Stopped
                logmysql.server is not running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        stats                   Running
zimbra@server:/root$

Not working.
Reply With Quote
  #6 (permalink)  
Old 02-13-2009, 04:00 AM
Moderator
 
Posts: 7,928
Default

Check /opt/zimbra/log/mysql_error.log
__________________
Reply With Quote
  #7 (permalink)  
Old 02-13-2009, 04:09 AM
Junior Member
 
Posts: 7
Default

Code:
Version: '5.0.67-log'  socket: '/opt/zimbra/db/mysql.sock'  port: 7306  Source distribution
090213 13:05:21 [Note] /opt/zimbra/mysql/libexec/mysqld: Normal shutdown

090213 13:05:21  InnoDB: Starting shutdown...
090213 13:05:24  InnoDB: Shutdown completed; log sequence number 0 10861166
090213 13:05:24 [Note] /opt/zimbra/mysql/libexec/mysqld: Shutdown complete

090213 13:05:24  mysqld ended

090213 13:06:02  mysqld started
090213 13:06:02 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090213 13:06:02 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090213 13:06:02  InnoDB: Started; log sequence number 0 10861166
090213 13:06:02 [Note] /opt/zimbra/mysql/libexec/mysqld: ready for connections.
Version: '5.0.67-log'  socket: '/opt/zimbra/db/mysql.sock'  port: 7306  Source distribution
this is the output.
Reply With Quote
  #8 (permalink)  
Old 02-13-2009, 09:36 AM
Senior Member
 
Posts: 66
Default

Can you tell us the size of these files?

/var/log/zimbra.log

/opt/zimbra/logger/db/data/zimbra_logger/*

From the looks of the log you posted MySQL appears to be starting properly.

I assume you haven't altered your logger my.cnf.
Reply With Quote
  #9 (permalink)  
Old 06-21-2009, 02:40 AM
New Member
 
Posts: 3
Default

Quote:
Originally Posted by fizi View Post
Can you tell us the size of these files?

/var/log/zimbra.log

/opt/zimbra/logger/db/data/zimbra_logger/*

From the looks of the log you posted MySQL appears to be starting properly.

I assume you haven't altered your logger my.cnf.
Does anyone have solution for this kind of problem? I am trying for a few days to resolve the same problem, but with no success. Exactly same errors, and same version of Zimbra.

Any idea is welcome
Reply With Quote
  #10 (permalink)  
Old 06-22-2009, 12:04 AM
New Member
 
Posts: 3
Default

why not reinstall the log service?
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.