Solutions pour problèmes avec zimbra

./install.sh #installs the zimbra
./install.sh -u #uninstalls zimbra
./install.sh -s #reinstalls the configuration files but does not touch the data

http://www.zimbrablog.com/blog/archives/category/powertips-admins


logger ne marche pas
zmlogswatchctl start


mysql server ne démarre pas
mysql.server stop
mysql.server stop

des renseignement dans
tail -125 /var/log/zimbra.log


des problemes de permissions
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zfixperms
/opt/zimbra/libexec/zmfixperms -verbose -extended


logger is not running
logger is not essential for Zimbra to operate,

so resolve mysql error first

This might happen bcoz of ur zimbra mysql password is not set
$su - zimbra
$mysql mysql

if you don’t have any data in there, it might be easier to just run the
$su - zimbra
$cd /opt/zimbra/libexec
$./zmmyinit

Script.

WARNING : Running that script wil WIPE/ERASE all data !

$mysql -u zimbra -p
Enter password :

change to libexec dir and run the following
$ mysql.server start

chk now

then try
$zmcontrol stop
$ps auxx | grep zimbra
(kill any left over processes by zimbra)
$zmcontrol start

if not resolved then pls post

tail -100 /var/log/zimbra.log

For logger error try the following


backup et restore zimbra

If and only if the Operating System is going to be same on both old and new server :

* Stop your existing ZCS using "zmcontrol stop".
* Check if no zimbra process is running if so kill that process.
* Do a cold and offline backup of /opt/zimbra directory using rsync command :

# rsync -avHK /opt/zimbra /opt/zimbra.bak

* Copy the zimbra.bak file to the new server. (Please see Talk:Moving_ZCS_to_New_Server)
* On new server, install the same version of ZCS and Keep the "hostname" and "zmhostname" same as old server.
* Stop ZCS on new server using "zmcontrol stop".
* Remove the complete zimbra directory :

# rm -rf /opt/zimbra

* Restore from cold backup using rsync command :

# rsync -avHK /opt/zimbra.bak /opt/zimbra


Code :

su - zimbra
/opt/zimbra/mysql/bin/myisamchk /opt/zimbra/logger/db/data/zimbra_logger./amavis

if that returns errors about the index then you can try
Code :

su - zimbra
/opt/zimbra/mysql/bin/myisamchk -r -q /opt/zimbra/logger/db/data/zimbra_logger amavis

Envie de recevoir nos dernières nouvelles? Inscrivez-vous à notre newsletter