B

bdraco

Guest
[quote:e322096ab2][i:e322096ab2]Originally posted by dgbaker[/i:e322096ab2]

I ran the install, rebooted, logged into port 2090 I see the following error;

/usr/sbin/vserver-stat: unable to switch in context security #1

Any Idea?[/quote:e322096ab2]

You aren't booted into the ctx kernel :)
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
I thought this is all that needed to be done to boot with the new kernel?

Modified grub.conf with
root (hd0,0)
#kernel /vmlinuz-2.4.18-3 ro root=/dev/sda6
kernel /boot/vmlinuz-2.4.20ctx-16 ro root=/dev/sda6
initrd /initrd-2.4.18-3.img
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
I'd love to that but server is currently foobar'd. Did not come back after reboot. Working on it now. I'll let you know the answer when I get the server back online. :)
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
Even with lilo.conf modified, uname -a still shows old kernel, system has been rebooted. No change, any thoughts? Here is what my lilo.conf looks like.

prompt
timeout=50
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20ctx-16
label=linux
initrd=/boot/initrd-2.4.18-3.img
read-only
root=/dev/sda6
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
That one I knew :)

Could you clarify a bit though the &unpartioned& part?

I've removed one partition and wrote it out.
Do I let vserver recreate it or do I do it through fdisk first?

Thanks
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
Thanks,

Do you if there are plans for this to be able to convert an existing cpanel server? Meaning, if you have a site with x amount of clients will it be able to convert them automatically or is it as the document stats, that is should be a clean server.
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
Unfortunately I don't know Linux well enough to give details, although I do know, like Windows, it has it's problems at times with MBR.

In Windows for example, all you have to do is to refresh the MBR, by running FDISK with the UNDOCUMENTED /MBR switch (repairs a boot sector by overwriting it with a fresh copy), on the old drive.

FDISK /MBR C:

The boot record (MBR) will be refreshed without reformatting the drive! A reboot is required.

Change the drive letter for which partition is to be checked. Usually (on Windows) it is only the C: or boot drive, that one needs to be concerned with.

Seems to be a bit more of a problem with Linux as, according to this page, all partition information is wiped which is not how it works with Windows.

http://www.linuxgazette.com/issue63/okopnik.html
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
Thanks Shaun, but that server is going to get overhauled, we found that we have extensive library problems on it as well. As I was saying in another post, this box is at the point where we cannot even get something simple as gcc to compile properly.

I will work on this again, when the server is rebuilt. Unfortunatly it was my only spare box, and I really don't want to screw with my boxes that have customers on them.

I will post again when I try again.

Thanks guys for the support as always it is appreciated.
 

AlaskanWolf

Well-Known Member
Aug 11, 2001
535
0
316
Fremont CA
Bugs:

1. &No group specified&
2. &vservers must be allocated at least 1 gig of space& ... i put in 1500

cant get past these, other then that, install went pretty good
 

mrprez

Well-Known Member
Jun 14, 2002
93
0
166
Is there some information about this feature somewhere? I am interested in learning more. IF I start with a clean box and implement this, can I add new vservers as I need them? Or do I have to set them up from the start?
 
Thread starter Similar threads Forum Replies Date
E Operating Systems 2
Similar threads
Cpanel vservers