tail -f /var/lib/mysql/hostname.err
Kategori: Genel
cpanel mysql err log clean
Navigate to the MySQL directory on cPanel
cd /var/lib/mysql/
Run ls -l to find your file
ls -l
Clear the contents of the MySQL Error Log and Log File
cat /dev/null > /var/lib/mysql/mysql.server.com.err
cat /dev/null > /var/lib/mysql/mysql.server.com.log
Check the files are empty
ls -l mysql.server.com.err
ls -l mysql.server.com.log
Blocking Memcached Exploit
bilinmeyen yüksek bir trafik varsa ve suncuuda Memcached görüyorsanız aşağıdaki bilgiler size yardımcı olacaktır.
https://wiki.zimbra.com/wiki/Enabling_Zimbra_Proxy_and_memcached
https://wiki.zimbra.com/wiki/Blocking_Memcached_Attack
zimbra mail adresine kota koymak
#su zimbra
$ zmprov ga test@test.com | grep zimbraMailQuota
zimbraMailQuota: 104857600
$ zmprov ma test@test.com zimbraMailQuota 1048576000
kontrol
$ zmprov ga test@test.com | grep zimbraMailQuota
zimbraMailQuota: 1048576000
zimbra email kutusunun içini silmek
zimbrada dolan email kutusunun içini silmek için aşağıdaki kodu çalıştırabilirsiniz.
zmmailbox -z -m info@domain.com emptyFolder /Inbox
quota on ZImbra changes mail account
#su zimbra
$ zmprov ga test@test.com | grep zimbraMailQuota
zimbraMailQuota: 104857600
$ zmprov ma test@test.com zimbraMailQuota 1048576000
kontrol
$ zmprov ga test@test.com | grep zimbraMailQuota
zimbraMailQuota: 1048576000
zimbra warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused
Resolution
Confirm that all permissions are correct on the new server: 1. As root, run the zmfixperms command to repair any potential permissions problems with files under /opt/zimbra:
/opt/zimbra/libexec/zmfixperms
2. If you need to check /opt/zimbra/store and /opt/zimbra/index as well, you will need to use the -extended option. This will take much longer to run – potentially several hours in large environments – so run it only if necessary. Run this command as root:
/opt/zimbra/libexec/zmfixperms -extended
zimbra disk uyarısı
zmlocalconfig -e zmdisklog_warn_threshold=90 zmlocalconfig -e zmdisklog_critical_threshold=98
Restart Bluetooth restart
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
Cpanel diskte yer açmak için error_log ları silebilirsiniz.
Cpanel'de yer açmak gerekirse önce error_log ları silmenizde fayda var. Aşağıdaki komut home ile klasörü içindeki tüm logları silebilirsiniz. find /home -name 'error_log' -exec rm {} \;