dvgrhl wrote:
I followed kali25's instructions, and things upgraded smoothly. However, I did have an apache problem after the upgrade where all my virtual hosts resolved to /var/www/. Also, apache was giving a "[warn] NameVirtualHost *:80 has no VirtualHosts" warning.
After looking around on the Ubuntu forums, to fix this I had to replace <VirtualHost *:80> with <VirtualHost 12.34.56.789:80> (where "12.34.56.789" is the IP address of my Linode) in all of my sites in the /etc/apache2/sites-enabled/ directory. I don't think this is a true "fix" but it does get things back to working status and apache doesn't give any more warnings.
I haven't been able to find anything more about this issue so far, but I am hoping there is a true fix at some point, or every time I add a new site and do "a2ensite" I will have to edit the new sites file to replace the * with the IP address. Did any one else run into this?
This is just a warning and wouldn't prevent the server from working.
When I experienced this, all it meant was the existing Apache configuration had NameVirtualHost *:80 in it twice, which is pointless.
grep -r NameVirtualHost /etc/apache2/
If this returns more than one global (*) result, just delete all but one.