Anacron job 'cron.daily' after nginx install

greektranslator

Well-Known Member
Jun 5, 2011
95
4
58
Greece
cPanel Access Level
Root Administrator
I installed nginx and now I get a huge e-mail listing actions for every single domain, starting with:

/etc/cron.daily/logrotate:

Code:
/etc/cron.daily/logrotate:

[2021-04-11 03:15:06 +0300] info [ea-nginx-logrotate] [stats] [webalizer] User: mydomain - FQDN: mydomain.com (file: /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1)
[2021-04-11 03:15:06 +0300] info [ea-nginx-logrotate] exec: [/usr/local/cpanel/3rdparty/bin/webalizer_lang/english -N 10 -D /home/mydomain/tmp/webalizer/ssl/mydomain.com/dns_cache.db -R 250 -p -n mydomain.com -o /home/mydomain/tmp/webalizer/ssl/mydomain.com /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1]
[2021-04-11 03:15:06 +0300] info [ea-nginx-logrotate] Webalizer V2.23-08 (Linux 3.10.0-1160.21.1.el7.x86_64 x86_64) English
[2021-04-11 03:15:06 +0300] info [ea-nginx-logrotate] Using logfile /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1 (clf)
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] DNS Lookup (10): 187 addresses in 2 seconds, 93/sec
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Using DNS cache file /home/mydomain/tmp/webalizer/ssl/mydomain.com/dns_cache.db
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Creating output in /home/mydomain/tmp/webalizer/ssl/mydomain.com
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Hostname for reports is 'mydomain.com'
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Reading history file... webalizer.hist
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Reading previous run data.. webalizer.current
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Saving current run data... [04/11/2021 03:14:55]
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Generating report for April 2021
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Saving history information...
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Generating summary report
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] 1885 records in 1 seconds, 1885/sec
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] [stats] [webalizer] /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1 processed
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] [stats] [analog] User: mydomain - FQDN: mydomain.com (file: /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1)
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] exec: [/usr/local/cpanel/3rdparty/bin/analog +CIMAGEDIR /images/ +CDOMAINSFILE /usr/local/cpanel/3rdparty/share/analog/usdom.tab +CCHARTDIR ./ +CALLCHART ON +CLANGFILE /usr/local/cpanel/3rdparty/share/analog/us.lng +COUTFILE /home/mydomain/tmp/analog/ssl/mydomain.com/4.html +CLOCALCHARTDIR /home/mydomain/tmp/analog/ssl/mydomain.com/ +CCACHEOUTFILE /home/mydomain/tmp/analog/ssl/mydomain.com/cache.out +CCACHEFILE /home/mydomain/tmp/analog/ssl/mydomain.com/cache +CVHOST ON +COSREP ON +CBROWSER ON +CFULLBROWSER ON +CREDIRREF ON +CREFSITE ON +CFAILREF ON +CLogFormat COMBINED +CHOSTNAME mydomain.com +CHOSTURL http://mydomain.com/ /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1]
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] /usr/local/cpanel/3rdparty/bin/analog: analog version 6.0/Unix
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] /usr/local/cpanel/3rdparty/bin/analog: Warning R: Turning off empty Virtual
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate]   Host Report
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate]   (For help on all errors and warnings, see docs/errors.html)
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] /usr/local/cpanel/3rdparty/bin/analog: Warning R: In Domain Report, turning
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate]   off pie chart of only one wedge
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] [stats] [analog] /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1 processed
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] [stats] [awstats] User: mydomain - FQDN: mydomain.com (file: /var/log/nginx/domains.rotated/mydomain.com-ssl_log.1)
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] [buildawconf] mydomain.com -> /home/mydomain/tmp/awstats/ssl
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] [buildawconf] reverse lookup disabled (mydomain.com)
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] [buildawconf] browserupdate disabled (mydomain.com)
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] exec: [/usr/local/cpanel/3rdparty/bin/awstats.pl -config=mydomain.com -LogFile=/var/log/nginx/domains.rotated/mydomain.com-ssl_log.1 -update]
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] Create/Update database for config "/home/mydomain/tmp/awstats/ssl/awstats.mydomain.com.conf" by AWStats version 7.7 (build 20180105)
[2021-04-11 03:15:08 +0300] info [ea-nginx-logrotate] From data in log file "/var/log/nginx/domains.rotated/mydomain.com-ssl_log.1"...
 

greektranslator

Well-Known Member
Jun 5, 2011
95
4
58
Greece
cPanel Access Level
Root Administrator
Yes, they are working, but the nginx implementation appears quite basic with poor config options and multiple issues, I.e.