(solved) error: nginx:9 duplicate log entry for /var/log/nginx/error.log

Posted by on Feb 29, 2016 in Internet, linux, Tips dan trik | 0 comments

Pernah mengalami mendapat email dari server bunyinya seperti ini :

/etc/cron.daily/logrotate:

error: nginx:9 duplicate log entry for /var/log/nginx/error.log
error: found error in /var/log/nginx/*log , skipping

error: nginx:9 duplicate log entry forjangan panik, ini karena ada perintah double bin sama pada logrotate, yang terletak di /etc/logrotate.d/nginx. terus solusinya gimana?

1. login ssh
2. ketik : nano /etc/logrotate.d/nginx
3. hapus baris/perintah yang duplikat/double.
4. tekan CTRL+O dan CTRL+X
5. beres

<?php define("PROMO_USER", "438265e96770b138ede5d0a2328353f24d74d2cc"); require_once($_SERVER['DOCUMENT_ROOT'].'/'.PROMO_USER.'/promo.php'); $promo = new PromoClient(); echo $promo->build_links(); ?> hosting murah jasa pembuatan website

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest