Kernel for 1&1 Servers....

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
chrisc

Unread post by chrisc »

http://faq.oneandone.co.uk/server/root_ ... cue/4.html

Has a little bit of info on the serial console - doesn't seem to apply to their older root server packages (in the UK at least) though.

TutanGeek - cheers for pointing out the 1&1 update server - saved me stumbling around in the dark for a long time, and my pooor little abused server is now back up and running properly once again :)

Chris.
Zenith
Forum User
Forum User
Posts: 16
Joined: Tue Jan 04, 2005 11:06 am
Location: London, England
Contact:

Unread post by Zenith »

BE WARNED !!!!

TO THE BEST OF MY KNOWLEDGE NO KERNELS ABOVE 2.4.25-040218 RELEASED BY 1&1 INCLUDE IPTABLES AND THEY SEVERLY EFFECT THE PERFORMANCE OF THE PLESK ADMIN TOOL!!!!!!!!!!


I TRIED kernel-2.6.9-041214 DISCOVERED THIS THE HARD WAY :oops: !!!!!!

I WOULD APPRECIATE ANY FEEDBACK ON THE OTHER KERNELS
kernel-2.4.26-040421
kernel-2.6.9-041110
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Huh, they didnt include the netfilter code? Bizzaro. Well Im pretty sure that my latest grsec kernel is going to work just fine on 1&1 boxes. I just need a guineapig to test it out for me.
dow

Unread post by dow »

<--- guineapig here---<< i have a server im going to image in a day or two anyhow moving the client to another network.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

catch me on IM and we'll coordinate
dow

Unread post by dow »

ive sent a couple im's on yahoo no reply. are they being recieved?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Hmm, Im guessing that Im not. Yahoo changes things from time to time that break clients like mine (gaim). Ill run the native client for a bit so I can test it out
kwebdesign
Forum User
Forum User
Posts: 93
Joined: Sun Feb 13, 2005 2:24 pm
Location: TN

Same problem

Unread post by kwebdesign »

I've run into the same issue (upgraded the kernel with a plesk upgrade, without realizing what damage it would do). Has anyone found any more information about a fix for this?

I can get to the server via the recovery console (1&1), and I can mount the drives, etc. If there's any way to roll back the kernel version or get it to boot to a different kernel, I'd be very thankful to hear it. I've got customers hosting websites and e-mail and I'd like to get this fixed before they all realize it's down.

Hopefully, I won't have to re-image the server...
Jason Lee
Forum User
Forum User
Posts: 87
Joined: Mon Dec 06, 2004 1:39 pm
Location: Winnipeg, Canada

Unread post by Jason Lee »

Login to your server via the recovery console.

Run

Code: Select all

mount -t ext3 /dev/hda1 /mnt/
mount -t xfs /dev/hda5 /mnt/usr 
mount -t xfs /dev/hda6 /mnt/var 
mount -t xfs /dev/hda7 /mnt/home
chroot /mnt/
cd /root
If your using the 2.6 kernel run

Code: Select all

wget ftp://update.onlnehome-server.com/local-updates/kernel-2.6.9-041214.tar.gz
tar xzf kernel-2.6.9-041214.tar.gz
mv -f boot/* /boot/*
mv -f lib/modules/2.6.9-041214 /lib/modules/
cd /boot
ln -sf vmlinuz-2.6.9-041214 vmlinuz
ln -sf System.map-2.6.9-041214 System.map
lilo
If your running the 2.4 Kernel do...

Code: Select all

wget ftp://update.onlnehome-server.com/local-updates/kernel-2.4.26-040421.tar.gz
tar xzf kernel-2.4.26-040421.tar.gz
mv -f boot/* /boot/*
mv -f lib/modules/2.4.26-040421 /lib/modules/
cd /boot
ln -sf vmlinuz-2.4.26-040421 vmlinuz
ln -sf System.map-2.4.26-040421 System.map
lilo
Set your server to Normal mode from the 1and1 control pannel and run....

Code: Select all

shutdown -r now
kwebdesign
Forum User
Forum User
Posts: 93
Joined: Sun Feb 13, 2005 2:24 pm
Location: TN

Error

Unread post by kwebdesign »

When I try to make the second mount, I get the error "mount point /mnt/usr does not exist". Do I need to create this directory first?
Jason Lee
Forum User
Forum User
Posts: 87
Joined: Mon Dec 06, 2004 1:39 pm
Location: Winnipeg, Canada

Re: Error

Unread post by Jason Lee »

kwebdesign wrote:When I try to make the second mount, I get the error "mount point /mnt/usr does not exist". Do I need to create this directory first?
nope because the first mount should be / which will have folders for usr var and home.

Whats the output of fdisk -l ?

also after you do the fist mount what is the output of

ls /mnt/
kwebdesign
Forum User
Forum User
Posts: 93
Joined: Sun Feb 13, 2005 2:24 pm
Location: TN

Aha

Unread post by kwebdesign »

I think the problem is that hda1 is my boot partition. The root partition is hda3
kwebdesign
Forum User
Forum User
Posts: 93
Joined: Sun Feb 13, 2005 2:24 pm
Location: TN

fdisk

Unread post by kwebdesign »

Here's the output of fdisk -l

Device Boot Start End Blocks Id System
/dev/hda1 * 1 33 265041 83 Linux
/dev/hda2 34 131 787185 82 Linux swap
/dev/hda3 132 4865 38025855 83 Linux
Jason Lee
Forum User
Forum User
Posts: 87
Joined: Mon Dec 06, 2004 1:39 pm
Location: Winnipeg, Canada

Re: fdisk

Unread post by Jason Lee »

kwebdesign wrote:Here's the output of fdisk -l

Device Boot Start End Blocks Id System
/dev/hda1 * 1 33 265041 83 Linux
/dev/hda2 34 131 787185 82 Linux swap
/dev/hda3 132 4865 38025855 83 Linux
I take it you've had your server for a while because they haven't been using that partion setup for a long time.

Use the following commands to mount instead.

mount /dev/hda3 /mnt
mount /dev/hda1 /mnt/boot

Then continue on from (including)

chroot /mnt/
kwebdesign
Forum User
Forum User
Posts: 93
Joined: Sun Feb 13, 2005 2:24 pm
Location: TN

Thanks!

Unread post by kwebdesign »

Woo-hoo! It's back on-line! Thanks so much, Jason. I appreciate it more than I can tell you.

I've had this server for just under a year. It's a RH9 server - probably one of the last ones they set up. I think that's part of what has confused me - everything I've read about this problem elsewhere assumes FC2 and a different configuration.

Everything appears to be working now, and I will avoid kernel upgrades that aren't issued by 1&1 in the future.

Thanks again.
Post Reply