I created now an empty file var/log/maillog and we will see. rw-rw-r- 1 root clamupdate 0 Feb 17 16:10 freshclam.logĭrwx- 2 root root 4096 Feb 17 16:18 httpdĭrwxr-xr-x 2 iredapd iredapd 4096 Feb 17 16:18 iredapd rw-r-r- 1 root root 168 Feb 17 16:27 firewalld ![]() rw- 1 vmail vmail 11303 Feb 20 10:01 dovecot-sieve.log rw- 1 vmail vmail 0 Feb 17 16:13 dovecot-lmtp.log rw-r-r- 1 root root 0 Feb 17 16:18 dmesg.old rw-r-r- 1 root root 0 Feb 17 16:27 dmesg Tasks: 57 total, 1 running, 56 sleeping, 0 stopped, 0 zombie ![]() There is nothing else running besides iredmail. The Machine has just 1Gig RAM and one 1 gig swap. Setup ('/etc/awstats/' file, web server or permissions) may be wrong.Ĭheck config file, permissions and AWStats documentation (in 'docs' directory). Searching new records from beginning of log file.Įrror: Command for pipe 'perl /usr/share/awstats/tools/ standard < /var/log/maillog |' failed Phase 1 : First bypass old records, searching new record. usr/bin/perl /usr/share/awstats/by AWStats version 7.3 (build 20140126)įrom data in log file "perl /usr/share/awstats/tools/ standard < /var/log/maillog |". So there is awstat installed, but something wrong with the installation: Can you give me an Install Apache, PHP, phpMyAdmin, FCGI, SuExec, Pear, and mcrypt 8.1 PHP Opcode cache (optional) 8.2 PHP-FPM 10.1 Install HHVM (HipHop Virtual Machine), optional 9. There is no file or directory with the name maillog. Ubuntu 16.04 (Xenial Xerus) On this page 8. Sh: /var/log/maillog: No such file or directoryĪnd the message is correct. usr/bin/perl /usr/share/awstats/wwwroot/cgi-bin/ -config=smtp -update >/dev/null On my second server, I get at every hour and a minute a email with the following subject Password from this file work for example the mysqlpassword works very well. Yes, I am using the password from “iRedMail.tips” and yes, the other Hello, I installed iredmail on two differnet vservers and everything works perfectly besides awstats. Manage mail accounts with iRedAdmin-Pro? No Docker should now be installed, the daemon started, and the process enabled to start on boot. Finally, install Docker: sudo apt-get install -y docker-ce. Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL Notice that docker-ce is not installed, but the candidate for installation is from the Docker repository for Ubuntu 16.04 ( xenial ). This means it is no longer supported without Ubuntu Advantage. Linux/BSD distribution name and version: CentOS Linux 7 Overview This tutorial covers the installation of Ubuntu 16.04 LTS which released in 2016 and is now end-of-life. iRedMail version (check /etc/iredmail-release): 0.9.4 Related log if you're reporting an issue: Manage mail accounts with iRedAdmin-Pro? Store mail accounts in which backend (LDAP/MySQL/PGSQL): Linux/BSD distribution name and version: You must edit it for using this version of AWStats.- iRedMail version (check /etc/iredmail-release): ![]() Sudo service apache2 reload Troubleshooting awstats "Error: SiteDomain parameter not defined in your config/domain file. I changed it to 10 years (one file per month, max of 120 log files): Note: the default log config for Apache in /etc/logrotate.d/apache2 is to keep only 15 days of log (one log file per day, max of 14 log files): Sudo /usr/lib/cgi-bin/ -config= -update -LogFile="/usr/share/awstats/tools/ /var/log/apache2/access.log* |" If you get the message Never updated (See 'Build/Update' on awstats_setup.html page) whereas the awstats files are there in /var/lib/awtstats, it's probably a permission problem on this folder.ĭo the “Reset AWStats” procedure above then execute: Sudo cp /usr/share/doc/awstats/examples/nf /etc/apache2/conf-available/nf Configure Apache to view the statistics # create a new vhost for AWStats Reverse DNS lookup for ::1 not available without ipv6 plugin enabled.įound 153 new qualified records. Phase 2 : Now process new records (Flush history on disk after 20000 hosts). Searching new records from beginning of log file. Sudo /usr/lib/cgi-bin/ -config= -updateĬreate/Update database for config "/etc/awstats/" by AWStats version 7.4 (build 20150714)įrom data in log file "/var/log/apache2/access.log". LoadPlugin="graphgooglechartapi" Run # don't forget to replace
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |