Code:
+------------------------+--------+----------+----------------------------------+
| Table | Op | Msg_type | Msg_text |
+------------------------+--------+----------+----------------------------------+
| zimbra_logger.raw_logs | repair | error | Incorrect file format 'raw_logs' |
+------------------------+--------+----------+----------------------------------+
1 row in set, 1 warning (0.00 sec)
seems like there is something wrong, repair table raw_logs; didnt change anything.
this is what I found in /opt/zimbra/logger/db/data/vineyard-01.err
Code:
root@vineyard-01:~# less /opt/zimbra/log
log/ logger/
root@vineyard-01:~# less /opt/zimbra/logger/db/data/vineyard-01.err
080130 09:34:11 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
080130 9:34:11 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
080130 9:34:11 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
080130 9:34:11 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
080130 9:34:12 InnoDB: Started; log sequence number 0 0
080130 9:34:12 [Note] /opt/zimbra/logger/mysql/libexec/mysqld: ready for connec
tions.
Version: '5.0.45-log' socket: '/opt/zimbra/logger/db/mysql.sock' port: 7307 S
ource distribution
A mysqld process already exists at Wed Jan 30 09:35:31 CET 2008
080201 21:25:16 mysqld started
080201 21:25:16 InnoDB: Database was not shut down normally!
/opt/zimbra/logger/db/data/vineyard-01.err
the file
Code:
/opt/zimbra/logger/db/mysql.pid
exists. The processes
Code:
9445 ? S 0:00 /usr/bin/perl /opt/zimbra/libexec/zmlogger
3822 ? S 0:00 /bin/sh /opt/zimbra/logger/mysql/bin/mysqld_safe --de
3936 ? Sl 2:55 /opt/zimbra/logger/mysql/libexec/mysqld --defaults-fi
are running.
This is the output of ps aux | grep logswatch
Code:
admin@vineyard-01:/opt/zimbra/logger/db$ ps aux | grep logswatch
zimbra 9066 0.0 0.2 5564 3904 ? S 06:25 0:00 /usr/bin/perl /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --script-dir=/tmp -t /var/log/zimbra.log
admin 16985 0.0 0.0 2912 792 pts/0 R+ 09:32 0:00 grep logswatch
output of logmysqladmin status
Code:
zimbra@vineyard-01:~/logger/db$ logmysqladmin status
Uptime: 584988 Threads: 2 Questions: 241651 Slow queries: 5894 Opens: 21 Flush tables: 1 Open tables: 15 Queries per second avg: 0.413
grep logswatch
Code:
zimbra@vineyard-01:~/logger/db$ ps aux | grep logswatch
zimbra 9066 0.0 0.2 5564 3904 ? S 06:25 0:00 /usr/bin/perl /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --script-dir=/tmp -t /var/log/zimbra.log
zimbra 18268 0.0 0.0 2920 824 pts/0 S+ 09:38 0:00 grep logswatch