Submitted by cerebrum on Mon, 01/21/2013 - 17:16
When updating the domain name of a virtual server, the configuration of logrotate keeps the old path to apache logfiles.
How to reproduce:
- (admin) login at virtualmin
- choose a virtual server from the drop down
- open "Server Configuration"
- click "Change Domain Name"
- change domain name and leave everything else untouched
- click button "Rename Now"
- check file /etc/logrotate.conf
Path/filename of logfiles still reflect the old domain. These files do not exist any more. Expected: path/filenames should automatically be updated to new domain name.
Status:
Active
Comments
Submitted by andreychek on Mon, 01/21/2013 - 18:49 Comment #1
Hmm, I wasn't able to reproduce that issue.
When I performed those steps, it correctly updated the paths in the logrotate.conf file.
Where are your log files located now -- are they in /var/log/virtualmin?
Submitted by cerebrum on Wed, 05/29/2013 - 00:45 Comment #2
(sorry for the late response)
Our logfiles are located in the appropriate home directories (instead of /var/log/virtualmin). They sit "physically" under:
/home/ /www/log/
Submitted by andreychek on Wed, 05/29/2013 - 07:51 Comment #3
Thanks for the info!
We've released some new Virtualmin versions since your initial report, and included lots of bug fixes in those.
Are you still seeing this issue in the most recent Virtualmin version, 4.00?
Submitted by cerebrum on Sun, 06/02/2013 - 22:31 Comment #4
We will check this on one of our test servers and get back to you.