eva2000
01-03-2001, 04:23 PM
i changed the domain associated with one of the virtual sites and now there's a rotate log error i get
errors occured while rotating /var/log/xferlog
Failed to open /home/sites/www.originaldomain.com/logs/ftp.log: No such file or directory
what do i edit to fix it so it recognises the domain i changed the virtual site to use ?
thanks
Félix C.Courtemanche
01-03-2001, 05:12 PM
Did you modify it by hand?
eva2000
01-03-2001, 05:15 PM
no, i did it via the raq3 control panel
i went into edit the virtual site and in site settings changed the originaldomain.com to newdomain.com and saved the settings
Félix C.Courtemanche
01-03-2001, 05:25 PM
if you just made the change, give the server a day or 2... you most likely still have some old stuff in the logs that couldn't go anywhere, thus the error message.
eva2000
01-03-2001, 05:28 PM
thanks.. looks like the number 1 thing with regards to server admin is patience :)
Chicken
01-03-2001, 05:46 PM
Unless you have a specific reason to change the domain name for a virtual site, I'd imagine it would be better to add the new dopmainas a fresh, new virtual site, and then delete the old one off the server. Same goes with IP addresses. Sometimes it doesn't seem to like it when you just change the IP address for an active site.
eva2000
01-03-2001, 06:02 PM
yeah i would do that if the site didn't have 200MB of site files under it.. if i deleted that site then i would delete all 200mb of files :(
eva2000
01-09-2001, 09:24 PM
still getting this error :(
Chicken
01-09-2001, 11:56 PM
Are these the two sites that you are getting errors for in the other thread? (The original site and the changed one)???
If you have files in one place you can telnet in and move them (mv). I still wouldn't change IP addresses nor names of sites through the comtrol panel. It may not have changed everything, thus you are getting errors.
eva2000
01-13-2001, 05:33 AM
no this error is on a totally different domain from the 2 others in the other post.. still no solution :(
Félix C.Courtemanche
01-13-2001, 05:41 AM
if you wish to 'fix' it as requested, you will have to remove the actual link in /home/sites and repoint it to the right location.
For example, if /home/sites/www.yourdomain.com points to /home/sites/site3 but it needs to point to site25, simply do this:
su
[root pass]
rm http://www.yourdomain.com
ln -s site25 http://www.yourdomain.com
If the problem is different... let us know :)