Post installation / Check Configuration error: (error: stat of /var/log/cron failed: No such file or directory)


I just installed virtualmin on a new centos 6.4 x64 vps. Followed through the post installation wizard and when it came to the check configuration stage (after the wizard), i get the following error.

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 3 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB. BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Your Postfix version does not support per-domain outgoing IP addresses.

Apache is installed.

The following PHP versions are available : 5.3.3 (/usr/bin/php-cgi)

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPd is installed.

Current logrotate configuration is not valid :

error: stat of /var/log/cron failed: No such file or directory
. This must be fixed, or log file rotation will not be done.
… your system is not ready for use by Virtualmin.

/var/log/ does not have a cron file/folder.

What should i do to fix this?

nvm, ignore/delete this…

i pretty much just had to turn it off and on again :smiley: