Virtualmin stuff:

home | blog | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts

- Careful Chrome users, this search box might be "Not secure"

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:

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:

Q: How do you set it up - quick notes.
A: See here:

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! :
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/ because of bad file mode.

Handling 0 logs

Fix with:
chmod 0644

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.