Mysql.server Is Not Running Pada Zimbra
Mysql.server Is Not Running Pada Zimbra menandakan database mysql memiliki kendala untuk menjalankan servicenya. Ini biasanya kemungkinan database korup atau memang ada beberapa faktor yang mengakibatkan itu.
Kendala itu pernah dialami, ketika salah satu akun pada zimbra terinfeksi spammer dan mengirim ribuan email terus menerus hingga server zimbra menjadi down/mati dan server gagal booting.
Muncul error seperti berikut
1. Error close status akun yang terinfect spam.
ERROR: zclient.IO_ERROR (invoke Read timed out, server: localhost) (cause: java.net.SocketTimeoutException Read timed out)
2. Dari log mailbox, mysql_error, zimbra.log muncul berikut
mailbox.log
Sep 24 13:28:12 zmmailboxdmgr[23015]: assuming no other instance is running Sep 24 13:28:12 zmmailboxdmgr[23015]: file /opt/zimbra/log/zmmailboxd.pid does not exist Sep 24 13:28:12 zmmailboxdmgr[23015]: assuming no other instance is running Sep 24 13:28:12 zmmailboxdmgr[23015]: no manager process is running Sep 24 13:28:12 zmconfigd[20883]: Tracking service zimlet Sep 24 13:28:12 zmconfigd[20883]: Watchdog: skipping service antivirus. Service not yet available for restarts.
mysql_error.log
2018-09-24 14:10:26 140245204694848 [Note] Plugin 'FEEDBACK' is disabled. 2018-09-24 14:10:26 140244731373312 [Note] InnoDB: Dumping buffer pool(s) not yet started 2018-09-24 14:10:26 140245204694848 [Note] Server socket created on IP: '127.0.0.1'. 2018-09-24 14:10:26 140245204694848 [ERROR] Can't start server : Bind on unix socket: Input/output error 2018-09-24 14:10:26 140245204694848 [ERROR] Do you already have another mysqld server running on socket: /opt/zimbra/data/tmp/mysql/mysql.sock ? 2018-09-24 14:10:26 140245204694848 [ERROR] Aborting
zimbra.log
Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/68D7D919F2E: Input/output error Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/958CC919EFA: Input/output error Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/DC4B0919EED: Input/output error Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/F02BB919ED8: Input/output error Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/8F228919ED4: Input/output error Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/52859919EF7: Input/output error Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/03725919F1E: Input/output error Sep 24 15:12:49 postfix/showq[11790]: warning: incoming/82E9A919ED2: Input/output error
Solusi
1. Cek satu2 semua partisi ubuntu dengan perintah (cth: /dev/sda5)
tune2fs -l /dev/sda5 |grep -iE "last|state"
2. Muncul errornya seperti berikut
root@mail:/var/log# tune2fs -l /dev/sda5 |grep -iE "last|state" Last mounted on: /opt Filesystem state: clean with errors Last mount time: Mon Sep 24 10:37:26 2018 Last write time: Wed Sep 26 08:03:03 2018 Last checked: Thu Jun 21 21:48:51 2018 Last error time: Wed Sep 26 08:03:03 2018 Last error function: ext4_wait_block_bitmap Last error line #: 445 Last error inode #: 18612225 Last error block #: 74448928
3. Checking disk /dev/sda5 yang error dengan perintah berikut
Umount partisi /opt
umount /opt
Checking disk dengan perintah berikut
fsck /dev/sda5
Pilih yes ketika muncul keterangan fix(y)?
4. Start Zimbra
Selesai
Berikut layanan yang ada di saadwebid terkait zimbra
Layanan Jasa Maintenance Zimbra
Layanan Jasa Migrasi Zimbra Mail Server
VPS/Cloud Zimbra
SSL Zimbra Mail Server
SMTP Relay