Ever wonder --- here is where I can keep my mind free from stuff like this:
Q: Did the migration of a site between servers fail with:
Error: Failed to work out externally visible IP address
A: Try this:
System Settings -> Virtualmin Config -> Network Settings "Network interface for virtual addresses" Detect automatically - and re-check sites.
Found here: https://virtualmin.com/node/36996
Q: Where does the installer script keep the tarball?
A: In /var/webmin/cache/http://__blah
Q: Having install issues related to Apparmour and Bind?
A: See here: http://penguinpackets.com/~kelly/kblog/blog/01279634268
Q: How do you set it up - quick notes.
A: See here: http://penguinpackets.com/~kelly/kblog/blog/01273603000
Q: Where are the installer scripts located?
A: Here they are : /usr/share/webmin/virtual-server/scripts
Q: Why are the apache logs not rotating?
A: Currently a bug.
Thanks Z! : http://www.jzahdev.com/virtualmin-gpl-logfile-rotation-error/
virtualmin disable-feature --all-domains --logrotate virtualmin enable-feature --all-domains --logrotate
Follow up with:
For each of the sites in virtualmin: (the virtualmin tool probably does this, but...) (it will eat the error - and that is not what you want!) logrotate -vf /etc/logrotate.d/(site name).com.conf You will get an error like: Ignoring /etc/logrotate.d/sitename.com.conf because of bad file mode. Handling 0 logs Fix with: chmod 0644 sitename.com.conf Fire up your logrotate again, and enjoy the regained disk space.
Assuming you already ran out of space ;-)
Looks like this is an issue with Virtualmin Version 6.05.gpl
If you are having Apache fail to restart on logrotate (weekly)
You might want to investigate the old restart vs reload (graceful)
way of doing things.