openvds-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openvds-support] setting up a new virtual server


From: River Hume
Subject: Re: [Openvds-support] setting up a new virtual server
Date: Fri, 11 Jan 2002 15:11:39 -0800

I'm BEGINNING to answer my own question... but it is raising more questions... I believe part of my problem is having switched from a 1.4.9 source installation to 1.4.10 rpm... I never successfully ran vsd-uninstall, and am reluctant to try again (see below), and when I ran vsd-install after the new rpm installation, it commented out, and replaced the inetd.conf lines with the exact same lines as there were previously (example follows)

vsd stream tcp nowait root /usr/local/sbin/virtuald tcpd /usr/local/sbin/vsd

note that these point to /usr/local which is part of the source installation, but NOT the rpm install... okay, so I commented all of them out, along with the new 2 lines in /etc/services, and tried to rerun vsd-install... well, It of course sees that it's still already installed, so use install -u to upgrade, okay I did that, and it completes semi-successfully, giving me the error:

Upgrading to RPM, from RPM.

Upgrading from a 1.4.8+ install.

Configuring virtual server: eatseek.com

Checking Virtual Server eatseek.com for Bind configuration files:

Configuring syslog so that all local6 output is logged to /var/log/vsd.log

Can't exec "chkconfig": No such file or directory at ./vsd-install line 659.

Configuring sshd to listen on the hosts ip only.
********************************************8

line 659 btw referrs to the subroutine 'disable_services':

655     # Turn all services off
656     sub disable_services {
657
658       my $change = shift;
659       my $chkconfig = `chkconfig --list`;

and there is NO updating of either etc/inetd.conf, OR etc/services performed by the install script. All I can think to do is actually RUN vsd-uninstall (which btw the install notes explicitly claim is unnecessary) and rerun vsd-install, but am a little too new at linux to know how to set up my sshd to run independently of inetd, so that I don't get killed mid process like I did before (again, see below).

Thank you all SO much for reading this long as plea for help, I hope the information is sufficient and not excessive ;) and thanx in advance for any suggestions!

-River



There's no new entries in vsd.conf... I tried rerunning vsbatch, but to no avail... Now what?

Thanx in advance!
-River

At 07:45 PM 1/1/02, you wrote:
Hi River,

> I used vs_create withour error, and run vsd-vsbatch and vsboot --start, and
> have added my new server's ip to /etc/hosts, but when i try to bevs I get
> the error:
> -- cannot find virtual server `new_vs'

Check /etc/vsd/vsd.conf and verify that there is a new_vs entry.
vsboot --start tries to initialize an interface with the IP from the
vsd.conf file, check if the ip matches the one you're testing.

> On another note, vsd-uninstall.pl needs to be better implemented (at least
> as of v1.4.9). I had previously installed 1.4.9, and tried to run
> vsd-uninstall.pl before installing 1.4.10, but the first thing the script
> did was to shut down inetd services! The last thing it piped through to me
> before being cut off was something to the effect of "Do you wand to undo
> changes to vsd.conf? [y]" ... at any rate, it seems to me this thing needs
> to effect changes to conf files, and THEN do a kill -HUP, not kill all
> services, then go about prompting... I had to call the colo center on the
> other side of the country to have him reb00t my box :(

Thats another reason why I prefer running individual xinetd processes
inside each virtual (root owned files).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]