CentOS 5 - Problem Installing OpenVZ Kernel

Jun 22, 2008

Just to make things clear, i am not new at setting up VPS nodes, i have set up all of my servers with the HyperVM/OpenVZ setup and they work perfectly, but im having a problem with a new server.

Just received my new server, installed HyperVM-Slave, rebooted but the OpenVZ kernel was not installed for some reason, so i manually installed the OpenVZ Kernel using the RPM as yum seemed to install the wrong kernel.

I then installed the kernel using RPM and got this error at the end of installation:

grubby: unable to open /dev/hda: No such file or directory
grubby: unable to open /boot/boot.b: No such file or directory
grubby fatal error: unable to find a suitable template

I have never encountered this error with any of my other servers before...

Also after installation everything seems to be correct. /etc/grub.conf has the new OpenVZ kernel displayed, and default is set to 0, so upon startup it should be booting the correct kernel, but the thing is, when i reboot the machine the default kernel is loaded even though the grub.conf is configured to load the OpenVZ Kernel.

Im thinking that this may be due to the error i got when installing the kernel.

View 1 Replies


Openvz Kernel On Centos 64bit

May 21, 2009

I was Use Centos 64bit and when i install the openvz kernel and the openvzquota:


yum -y install ovzkernel

yum -y install vzctrl vzquota vzpkg

I reebot my server and never boot up

I was planning to use a 8gb ram that's why i select 64bit.

View 14 Replies View Related

[openvz ]How To Make For Kernel Of Openvz To Recognize 4GB Of Ram?

Dec 10, 2008

[openvz ]How to make for kernel of openvz to recognize 4GB of ram?

How to make for kernel of openvz to recognize 4GB of ram?

# uname -a
Linux xxxxxxxxxxx 2.6.18-92.1.13.el5.028stab059.3 #1 SMP Wed Oct 15 17:48:55 MSD 2008 i686 i686 i386 GNU/Linux

View 4 Replies View Related

Openvz Kernel Vs Dedicated Kernal

Aug 19, 2008

I have a company offering me the follow:

Core 2 Quad Q6600 Processor
250 GB Hard Drive
500 GB Bandwidth
5 Usable IPs
Free Cpanel

The issue here is that they're not real dedicated servers, they're Openvz Dedicated Kernel with Quad Core CPU. The question I have is does anyone have any experience with openvz servers and how does the performance add up compare to dedicated servers? The hosting company says they do it this way because they get cpanel licenses cheap so can give it away for free. Any thoughts?

View 10 Replies View Related

Centos + Kernel 2.6.9-34.0.2- How To Upgrade Kernel

Apr 29, 2007

Last year I ordered a new server with Centos 4.3 and it had the kernel kernel 2.6.9-34.0.2ELsmp installed. It runned fine and I didn't update any packages since then.

Today I started getting a problem where both mysqld and kswapd0 uses very high amounts of CPU, spiking up to 100% and my memory usage is at 99% all the time. The problem seems exactly the same as the one mentioned in this thread.

In that thread the exact same kernel is said to be insecure and to cause this problem. I also came across a centOS bug that reports this problem with high cpu, mem usage and mysql & kswapd0 consuming all resources.

In the linked thread the person solved the problem by upgrading to kernel 2.6.9-42 using rpms but others recommended a newer kernel or a custom compiled kernel for CentOS.

Apparently when they used yum it said 34.0.2 was the latest kernel.

What should I do to upgrade the kernel, which version should i upgrade to, and where do I get it from? I won't be able to compile a custom kernel and I've only installed basic rpm packages before.

View 5 Replies View Related

OpenVZ APF Installation CentOS

Jul 7, 2008

I installed APF on my CentOS OpenVZ VPS but when I start it the ssh terminal is spammed with this error:

iptables: Unknown error 4294967295

Does anyone know how to fix this?

View 6 Replies View Related

Centos RAID Configuration For OpenVZ

Sep 24, 2007

Would this be a good setup for a VPS Serving system with 2x 500gb hard disks (up to) 8gb memory.... (Looking to use OpenVZ to create about 14-15 512mb VZ VPS's)?

Host machine to do nothing other than host the VPS's. Host O/S to be Centos 5 x64, guest O/S's to be the usual OpenVZ supported linuxes.

Make 2 software raid partitions 120mb, each
+- Make RAID 1, mounted at /boot

Make 2 s/w raid partitions Remainder of drive
+- Make 1 LVM Physical Drive, using RAID 1
+- Make Logical Partition, 20gb, mounted '/'
+- Make LP, Swap 16gb
+- Make LP. ext3 remainder, mounted as '/vz'

Is it important what order I should make the Logical Partitions? Should I create a /tmp partition? If so, how much?

View 1 Replies View Related

Quota Problem In OpenVZ/HyperVM/CentOS

Jun 9, 2008

Anyone of the top of their head know how to fix the CPanel "Unlimited" Quota problem in CentOS/OpenVZ/HyperVM?

This post is not related to Infinitie, I personally have a few VPS servers I run and they are on CentOS 4.6 and the latest HyperVM, secondary quotas is enabled but I still keep having that problem where I cannot get quotas.

View 8 Replies View Related

Install 32 Bit Pae Kernel On Centos

Apr 3, 2009

i have a 32bit centos running with 8 gigs, but only 7 is registering when i contacted support they told me

Your server does in fact have 8GB of physical memory however the reason it is not being recognized is due to the fact that you are using a 32 bit operating system. By default, the 8GB would be recognized if it were a 64 bit OS however on a 32 bit operating system, you must install and boot into the PAE kernel (physical address extension) for the 8GB to be recognized and utilized. The PAE kernel can be installed through yum when connected to your server as root over SSH. Once you have installed the kernel, you will need to reboot the server for these changes to take effect

i tried

yum pae install

yum pae kernel install

both didnt work can anyone give me a quick step by step guide on how to go about this.

View 12 Replies View Related

Kernel-PAE And CentOS 5 32bit

Dec 23, 2008

I have a dedicated box with following specs
Core2Quad 2.4ghz
2x500gb hdd
8gb ram

I installed 32bit centos5 in it ( because I use lxadmin ;lxadmin wont support 64bit)
Installed kernel-PAE successfully and rebooted the server. but the server still boots into the old kernel. I need the kernel-PAE to be booted, then only I can utilize full RAM. help me . below there is ssh logs
[root@t241 ~]# cat /proc/meminfo
MemTotal: 3357036 kB
MemFree: 3204984 kB
Buffers: 8148 kB
Cached: 109516 kB
SwapCached: 0 kB
Active: 33504 kB
Inactive: 103664 kB
HighTotal: 2477180 kB
HighFree: 2343972 kB
LowTotal: 879856 kB
LowFree: 861012 kB
SwapTotal: 6409892 kB
SwapFree: 6409892 kB
Dirty: 16 kB
Writeback: 0 kB
AnonPages: 19524 kB
Mapped: 7608 kB
Slab: 7732 kB
SReclaimable: 3964 kB
SUnreclaim: 3768 kB
PageTables: 400 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 8088408 kB
Committed_AS: 45232 kB
VmallocTotal: 114680 kB
VmallocUsed: 3992 kB
VmallocChunk: 110560 kB
[root@t241 ~]# uname -rm i686
[root@t241 ~]# cat /etc/grub.conf
default 1
timeout 7
color cyan/blue white/blue
title=CentOS (2.6.18-92.1.22.el5PAE)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5PAE root=/dev/sda2 pci=nommconf
initrd /boot/initrd-2.6.18-92.1.22.el5PAE.img
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 pci=nommconf
[root@t241 ~]# rpm -qa | grep kernel
[root@t241 ~]#

View 11 Replies View Related

How To Build Kernel For Centos

Apr 3, 2007

how can i recompile kernel for centos with following options


View 2 Replies View Related

Kernel Update Needed For Centos 5

Nov 1, 2009

I am using cpanel My server runs with centos 5 With version 2.6.18-164.2.1.el5.plus

Does i need to keep updating kernal updates always for the server?

If so how i can update automatically?

View 8 Replies View Related

Upgrading Centos Kernel On Cpanel

Apr 5, 2009

Is there a correct way to do it?

View 2 Replies View Related

CentOs Kernel Upgrades....With Cpanel

Mar 29, 2009

I was wondering how I would go about ensuring my kernel is up to date on my vps. I am running centos and I have cpanel, so I am not sure if there is anything special that has to be done or avoided when running cpanel.

View 4 Replies View Related

How To Read CPU Temperature On CentOS 4.6 And 2.6.9 Kernel

Jul 30, 2008

how to read CPU Temperature on CentOS 4.6. and kernel 2.6.9 (CentOS kernel from yum)

View 4 Replies View Related

Recompile Centos Kernel 1000hz

Jun 1, 2007

I've setup a CS game server running centos 4 but I'm looking to recompile it with 1000hz.

Does anyone have any links to newbie friendly guides on how to do this without any problems?

View 7 Replies View Related

Centos 5 Kernel Irqbalance

Jun 9, 2007

When I try to compile kernel I get the following error.

kernel: irqbalance[1750]: segfault at 000001b202b70b20 rip 000001b2028f9cdb rsp 000077a8404178f0 error 6
kernel: grsec: signal 11 sent to /usr/sbin/irqbalance[irqbalance:1750] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:1749] uid/euid:0/0 gid/egid:0/0

I must have tryed to compile the kernel 20 different ways with or with out grsec and I still get the same irqbalance error.

My server is a
AMD Athlon 64 X2 4800+
2GB of DDR2 800 ram
x2 160GB hard drives soft ware raid 1
nvidia chipset mother board

View 4 Replies View Related

CentOS 5, CPanel 11, Kernel Buggy

Nov 18, 2007

(The box, 2 years now, never had issues before all you will read...)

I do have a box at the IP xxx.xxx.xxx.xxx, which on 15th Nov. was: AMD 4200+
with 300 GB hdd for OS, and CentOS 4.5 on it...

Because the system was facing few load problems of wrong installed applications, we decided to do a fresh OS reload to the latest OS version and

on 16th Nov, the box was up and running with CentOS 5, and cPanel 11.

the kernel is: 2.6.18-8.1.15.el5

After few hrs the box was done and IO restored all backups in it anbd all worked fine, I realized that I couldnt access cPanel, page was blank for

Also, most pages (except simple html) where showing internal error 500.

I did a reboot. probelm was fixed.

After few hrs, problem came up again...

I left ssh logged in to see whats wrong.

I found out that every few hrs, that issue was happening:

Message from syslogd@server at Sun Nov 16 11:47:21 2007 ...
server kernel: journal commit I/O error

Then, we had techs to check HDD for errors. they did fsck, and said disk has to be replaced (at this point, without wanting to offend anyone, I have to state that 90% of techs in datacenters, or at least at mine --won't name them, 99% you guess which DC it is...-- are just low paid students that don't know SIMPLE things...) so we told them to replace the HDD and do OS reload in new drive...

So, on 17th Nov. we had online a new HDD, 400 GB with CentOS 5 loaded in it, and cPanel 11...

After few hrs and all working and backups recovered, the issue came up again!

This time, with exactly same error, techs told us it may be RAM, so they replaced the RAM and we waited...

In 2,5 hrs, bang, it happens again, same error.

They say, it might be the sata cable...

we replace it...


we ask them to loook at it seriously, and after lot pressure, to avoid case that mo/bo or controller is wrong, they do upgrade us in a BRAND NEW colocated box, which was this time: Intel Core 2 DUO, 6300, with brand new 500 GB HDD and new RAM.

We recover in the new box the backups.

Box is online today at 18th Nov...

and the issue comes up again!

Message from syslogd@server at Sun Nov 18 11:47:21 2007 ...
server kernel: journal commit I/O error

I ask them what the **** is going on now and why after having all hardware replaced with new, and all OS reinstalled clean on new drives and new devices, 3 times, why we have again the same error...

And their response: power cable was loose, we replaced power cable...

Guys, sorry, this is really DUMP... loose cable cannot give that error...

and the error... continues!

Also, at this point, I have to let you know, that when this error comes up, (Message from syslogd@server at Sun Nov 18 11:47:21 2007 ...

server kernel: journal commit I/O error) the filesystem becomes READ-ONLY and
nothing gets affected, if we do a cold reboot by reset button, it comes up
again and all work PERFECT, until the issue comes back again.....

I am desperate with that, let me know what I have to do!

View 3 Replies View Related

CentOS 5.3 Default Kernel RealTek Support

May 15, 2009

I'm not sure if anyone else has come across this but I'm sure you are all aware that CentOS 5.3 default kernel comes with realtek support.

But the default realtek drivers have a bug in them when it slows down upload and downloads drastically and shows ping times above 2000+ ms in the same datacenter.

A fix for this is simply upgrading the kernel to the latest version available (2.6.29) with realtek driver support.

View 3 Replies View Related

HOW TO: CentOS Issue .. Kernel Update - SAS Drive

Apr 17, 2008

I installed CentOS 5 with SAS drive. But i forgot install kernel-PAE for more 4GB RAM. (i'm using 8GB RAM).

But now when i trying to install kernel-PAE or update kernel. I have issue with hda and fd0 ...

"WARNING: No module megasr found for kernel"

When i 'cat /var/log/messages' i got:

kernel: end_request: i/o error, dev fd0,sector 0
kernel: hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hda: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }

I tried to 'google' they to find the solution, but now i still not find out ...
I'll try to reload OS. After reload OS, if i dont have floppy disk, how can i update kernel with no error?

View 2 Replies View Related

No Module Uhci-hcd Found For Kernel On CENTOS 5

Feb 18, 2008

I trying to compile new kernel on centos 5 and every time after "mkinitrd /boot/initrd-" I have error:

No module uhci-hcd found for kernel, aborting.

View 3 Replies View Related

Installing CentOS

Jul 9, 2008

I'm testing out the old version of CentOS which is CentOS 2.1 on Virtual PC and I'm running into some problems. After installation of CentOS, it asks me to reboot the system so then I reboot it. Then it prompts me for the login and password.

I type in "root" and my password. Then I'm stuck inside this command prompt that says:

[root@localhost root]#

Now, how exactly do I get into CentOS graphical user interface, or is this it?

View 14 Replies View Related

Installing VNC On CentOS 4.5

Aug 12, 2007

Ive gotten all of it to work.. but instead of using SSH (caus I really dont understand it) Am I able to install VNC? And just connect + use the desktop like that?

my question is pretty much can I install VNC on CentOS 4.5 using SSH?

View 0 Replies View Related

Whats The Latest Stable Kernel For Centos OS 5 Server

Oct 15, 2007

Can someone tell me which one is the latest stable kernel version available for centos 5 that should be running on the server?

Is #1 SMP Thu Jul 12 20:38:34 CST 2007 i686 athlon i386 GNU/Linux.


View 3 Replies View Related

Installing ImageMagick On CentOS

Aug 20, 2007

I'm trying to install imagemagick on centos using yum... I did the yum update, then tried 'yum install ImageMagick', but that didn't work - "Nothing to do". I also tried the i386 RPM, which also did not work, I'm missing a bunch of dependencies, has anyone installed this on CentOS know of a specific rpm or another way to install? Ideally, without installing through source.

View 8 Replies View Related

Installing Open VPN On CentOS

Nov 11, 2008

I followed a combination of this tutorial:[URL]and this tutorial [URL] (I had to use a combination since following each individually brought up errors along the way).

Anyhow, installing OpenVPN was a breeze but I think I am getting hung up on the configuration part. Basically after generating all of the certificate files and stuff, when i try to "service openvpn start" i just get the message "FAILED".

Where do I look to see what the reason for the failed start could be?

View 1 Replies View Related

Installing CentOS 5.2 On New Server

Jul 4, 2008

I decided to go with Cent OS after reading about it in the forums here, but I've had nothing but problems trying to install it. I first tried to do a net install but the installation took nearly an entire day because it would keep popping up messages about corrupt files when downloading the package files. Eventually it just gave up or rebooted because I came in in the morning to find it at a message saying "No OS installed". I then burned all 7 installation disks and tried that way, still got a few of the corrupt file messages (but far fewer than the previous time) and made it through the installation only to still have it say "no os installed" again after the reboot. I thought maybe it had something to do with the fact that I was not installing a boot loader (there is no other OS installed anyways) but when I tried to reinstall a third time, this time with the boot loader, it now says that the CD drive (USB) is already mounted on tty2 and I can't even start the installation? WTH!

The server is a Dell PowerEdge R300 with two Intel Core 2 Duo 64-bit processors. I'm using the x86_64 ISOs from the Centos.org mirrors.

View 1 Replies View Related

Installing Xen On CentOS With SATA

Feb 16, 2008

I've got a 'virgin' machine from Nocster running CentOS 5, including a SATA drive (shows up as "SCSI").

It looks like it'll be a straight-forward install [url], but I wondered if anyone has had this exact combination before and if there are any problems I should expect? Given that it's a dedicated machine I don't have physical access to, I'm slightly paranoid about screwing up.

View 2 Replies View Related

Installing CentOS Manually

Jul 8, 2008

how to install CentOS by not using the installer. This guide should be great when installing over networks, don't have a graphical console available (for installing over serial), when you're not content with the installer's job, installing CentOS from another distro, or plainly want to learn more about how CentOS works.

* Have a host OS that has the "rpm" package manager available. Some distributions have it in their repositories (even if the package manager for the distro itself is not rpm), and knoppix (a linux live/rescue CD) has it aboard too. You can use the first CentOS ISO CD too (use linux rescue at boot), and it has all the necessairy packages aboard
* Access to the CentOS base repository. It's on the first CentOS ISO CD
* Use your BRAIN. This guide is ment to be interpreted, not copy/pasted

# First, setup your disks to your liking. You can use whatever you want here,
# RAID, LVM, etc... Remember your disk configuration because you'll need it
# to configure grub, menu.lst and fstab. Using RAID, LVM, or others will require
# more configuration than this guide covers. To keep it simple I'm using a
# single disk. An example:

$ fdisk /dev/sda
$ mount /dev/sda3 /target
$ mkdir /target/boot
$ mount /dev/sda1 /target/boot

# Depending on the host OS you're using, you may need to initialize the rpm db
# on the host OS
$ rpm --initdb

# Use the following command to install the packages. I'll be addressing this
# command as $rpm.

$ rpm --root /target -i

# Use your shell's tab completion to complete the package filenames. I
# deliberatly left out the versions so these instructions apply to a wide range
# of versions

# Let's install some basics
$rpm setup basesystem filesystem

# Install bash first, this is needed for post-install scripts
$rpm bash glibc glibc-common termcap libgcc tzdata mktemp libtermcap

# Install some dependencies (this is mainly to keep the next command smaller)
$rpm grep pcre libstdc++ info ncurses zlib gawk sed ethtool

# Install the bulk of the system
$rpm coreutils libselinux libacl libattr pam audit-libs cracklib-dicts
cracklib libsepol mcstrans libcap chkconfig python db4 openssl readline
bzip2-libs gdbm findutils krb5-libs initscripts util-linux popt udev MAKEDEV
centos-release shadow-utils keyutils-libs iproute sysfsutils SysVinit
net-tools module-init-tools e2fsprogs e2fsprogs-libs glib2 mingetty
device-mapper sysklogd psmisc centos-release-notes procps libsysfs iputils

# Install package manager
$rpm rpm beecrypt elfutils-libelf rpm-libs sqlite

# Install YUM
$rpm yum python-elementtree rpm-python yum-metadata-parser python-sqlite
expat libxml2 python-urlgrabber m2crypto python-iniparse

# You may also want to install your favorite editor
$rpm nano

# This provides /root with some defaults, like color highlighting on `ls`
$rpm rootfiles

# Right now you have system which you can chroot to, so we can start setting up
# the basics

# Mount directories for chroot operation
$ mount --bind /dev /target/dev
$ mount -t proc none /target/proc
$ mount -t sysfs none /target/sysfs
$ chroot /target

# This constructs /etc/shadow
$ pwconv

# Configure fstab
$ nano -w /etc/fstab

# Installing the kernel. Do this back outside the chroot in the host OS system
$ exit
$rpm kernel mkinitrd cpio device-mapper-multipath dmraid gzip kpartx lvm2 nash
tar less device-mapper-event

# Install the bootloader, grub.
$rpm grub diffutils redhat-logos

# Let's chroot again to configure our bootloader
$ chroot /target

# We start by configuring the bootloader. Open /boot/grub/menu.lst, and put the
# following there

timeout 5
default 0

# (0) CentOS
title CentOS
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5 root=/dev/sda3 ro
initrd /initrd-2.6.18-92.el5.img

# If this command gives an error, you can safely ignore this because it's not
# of importance. What is important is that grub-install copied the right files
# to /boot/grub that we need for booting.
$ /sbin/grub-install /dev/sda

# Manually install grub if the previous step failed. - means type it in the grub
# shell
$ grub
$- root (hd0,0)
$- setup (hd0)

# Optional packages
# You may want to install passwd so you can set passwords ;-)
$rpm passwd libuser openldap cyrus-sasl-lib

# These are used to set the keyboard language (loadkeys)
$rpm kbd usermode

# ** Right now you should have a bootable system! Here are some tips to help you
# through your 1st boot ***

# Most of the system configuration happens in /etc/sysconfig. See


for full documentation.

Some quick post-install tips:
* Configure your keyboard in
using the KEYTABLE variable

* Configure networking
Take a look at /etc/sysconfig/network-scripts. See ifcfg-lo for an example.

# This recreates the RPM database. If the host OS you used has a different
# version of db, rpm will complain with
# rpmdb: unable to lock mutex: Invalid argument
$ rpmdb --rebuilddb

View 2 Replies View Related

Installing CentOS 4.4 From A Floppy

Apr 27, 2007

Apparently on of my colo customers sent the server without the OS or CD drive, and wants us to install CentOS 4.4 64 bit.

Any way to get "download" version of it, put it on a floppy, put it in the server and let the server download the rest from the internet (after we enter the IP info, so it can connect)?

View 14 Replies View Related

Installing HyperVM On CentOS- W/ YUM

Nov 4, 2007

I'm trying to install HyperVM like the following:

[root@server ~]# sh ./hypervm-install-master.sh --virtualization-type=openvz
Here is the output it's returning to me (From log file)

Installing packages which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10...
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package lxphp.i386 0:5.2.1-90 set to be updated
---> Package lxzend.i386 0:3.3-lxa set to be updated
---> Package lxlighttpd.i386 0:1.4.13-1 set to be updated
--> Running transaction check
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: lxphp
--> Processing Dependency: libmysqlclient.so.14 for package: lxphp
--> Finished Dependency Resolution
Up2date Gave Error... Trying Again...

This continues to loop

View 4 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved