[Vserver] One more problem: vserver ethernet alias
I posted this before but not sure it actually went to the list, being my first post. I am having troubles with a vserver (named www) in that when I add a 6th IP alias to it, it will not create the interface when the entire system is rebooted. And until I remove that 6th definition and reboot again, the Apache2 server inside of vserver www will not start up, because the network did not initialize correctly. I have not had any troubles with adding these definitions until this time. If I manually do an ifconfig and add the interface by hand in the root server, then restart the www vserver and it's Apache2 server, then it's happy. I'm at a loss as to why on reboot, this 6th definition has a problem. I have it defined in /etc/vserver/www/interfaces/6 and have the files dev, ip, and name. The IP I'm using is unique and not conflicting with any of the other device aliases and the name I'm using for that interface is 8 characters long (and shorter than some of the other ones). If anyone has any ideas, it would be much appreciated. Thanks again for the help -- Kathy ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] One more problem: vserver ethernet alias
Kathy Kost wrote: I posted this before but not sure it actually went to the list, being my first post. I am having troubles with a vserver (named www) in that when I add a 6th IP alias to it, it will not create the interface when the entire system is rebooted. And until I remove that 6th definition and reboot again, the Apache2 server inside of vserver www will not start up, because the network did not initialize correctly. I have not had any troubles with adding these definitions until this time. What do the other 5 look like? Same except for IP? If I manually do an ifconfig and add the interface by hand in the root server, then restart the www vserver and it's Apache2 server, then it's happy. I'm at a loss as to why on reboot, this 6th definition has a problem. Is there anything in the www guest's /var/log/httpd/error ( or access ) log that seems odd. I have it defined in /etc/vserver/www/interfaces/6 and have the files dev, ip, and name. The IP I'm using is unique and not conflicting with any of the other device aliases and the name I'm using for that interface is 8 characters long (and shorter than some of the other ones). How about in /etc/sysconfig/network-scripts . Is there by any chance a stray ifcfg-eth? or ifcfg-eth?:? with that IP in it. If anyone has any ideas, it would be much appreciated. Since I'm not up to needing to add multiple IP per guest I'm shooting in the dark here. Why multiple IPs per Apache guest? One 'webmaster' for several domains? Seems six ( unified ) guests wouldn't use all that much more disk space nor add much overhead verses one Apache instance running multiple VirtualHosts. YMMV Thanks again for the help -- Kathy Rod -- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] One more problem: vserver ethernet alias
On Wed, Jul 12, 2006 at 02:57:29PM -0700, Kathy Kost wrote: I posted this before but not sure it actually went to the list, being my first post. I am having troubles with a vserver (named www) in that when I add a 6th IP alias to it, it will not create the interface when the entire system is rebooted. And until I remove that 6th definition and reboot again, the Apache2 server inside of vserver www will not start up, because the network did not initialize correctly. I have not had any troubles with adding these definitions until this time. If I manually do an ifconfig and add the interface by hand in the root server, then restart the www vserver and it's Apache2 server, then it's happy. I'm at a loss as to why on reboot, this 6th definition has a problem. this basically means that the IP is not added by the tools automatically, but it _is_ assigned to the guest properly (otherwise apache would not be able to bind to that, i.e. it would not work with that IP, assuming it does :) now, as stupid as it may sound, the most likely case is a typo, where you basically add the 'wrong' IP, which accidentially looks like the right one at the first (and often second, and third glance) of course, as you are using 'aliases' there could as well be a collision with another alias (keep in mind that you only see a small part of the 13char aliases, and double check with ip from iproute2) I have it defined in /etc/vserver/www/interfaces/6 and have the files dev, ip, and name. The IP I'm using is unique and not conflicting with any of the other device aliases and the name I'm using for that interface is 8 characters long (and shorter than some of the other ones). also adding a prefix (or netmask) for each of your IPs would not hurt (on the contrary, it would clarify things for the network stack :) providing the 'ip addr ls' output right after a system restart together with the network config files of that guest (/etc/vserver/www/interfaces/*) and a --debug startup (or restart) should be sufficient to explain what issues you are facing ... best, Herbert If anyone has any ideas, it would be much appreciated. Thanks again for the help -- Kathy ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver