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


ADVERTISEMENT

Kernel Recompile

Oct 1, 2007

I need to recompile my kernel to change the USER_HZ to 1000. However, I am not really sure how to do this and I really need help. I've found a lot of guides and they're really for the advanced linux user, im not really that advanced, I only know a little bit. A messenger like MSN or google talk would be a great way to communicate doing this, since ill have a load of questions.

View 1 Replies View Related

CPU Upgrade, Need To Recompile The Kernel

May 9, 2007

I'm going to add a second AMD opteron 270 dual core processor + 2 GB DDR ram to my server this week, but do i have to recompile the kernel after i've installed the second processor? Or change something in grub?

setup:
1 X AMD dual core opteron 270 ( + 1 X AMD dual core opteron 270 )
2 X 1 GB DDR ECC registered ( + 1 X 2 GB DDR ECC registered)
Tyan thunder 8kse motherboard
# uname -a
Linux srv01.xx*********** 2.6.16.17 #1 SMP Mon May 22 04:13:34 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

View 3 Replies View Related

Recompile Kernel Failing On VMWare

Nov 6, 2006

I have installed centos 4.4 and tried to recompile kernel, but it keeps failing during boot...

is there any special setting on kernel config to recompile kernel and boot it?

View 2 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

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
2.6.25.10 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
title=linux
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 pci=nommconf
[root@t241 ~]# rpm -qa | grep kernel
kernel-2.6.18-8.el5
kernel-PAE-2.6.18-92.1.22.el5
kernel-headers-2.6.18-8.el5
[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

option IPFIREWALL,IPDIVERT,IPFIREWALL_FORWARD?

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

Openvz Kernel On Centos 64bit

May 21, 2009

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

Quote:

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

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

Centos 5 Kernel 2.6.19.2-grsec Irqbalance

Jun 9, 2007

When I try to compile kernel 2.6.19.2-grsec 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
cPanel.

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
everything.

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...

AGAIN ERROR.

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 - 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 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 2.6.24.2 On CENTOS 5

Feb 18, 2008

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

No module uhci-hcd found for kernel 2.6.24.2, aborting.

View 3 Replies View Related

How To Recompile Recompile Apache/PHP?

May 6, 2008

how to recompile recompile Apache/PHP? I have a VPS w/cPanel and WHM. Should I have a pro do it or can a novice (low level web designer) handle it?

View 9 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
2.6.21.5-JS-grsec #1 SMP Thu Jul 12 20:38:34 CST 2007 i686 athlon i386 GNU/Linux.

Outdated?

View 3 Replies View Related

How To Recompile PDO For PHP

Apr 12, 2009

I visited the PHP installation manual site and tried running the configure file. But inside ssh its saying not found.

here is my configure file from phpinfo on the server.

./configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'

View 4 Replies View Related

Recompile Php

Jun 28, 2007

I want to add a new feature to my existing php, so, recompile php is expecting. I don't know how to recompile it.

What I did was

1) ./configure

2) make

3) make install

but everything keeps same as before, nothing changed.

I googled something about ./build clean, and ./build php, but it seems I don't have any command about ./build

I don't have control panel on my server, just php.

View 10 Replies View Related

Recompile PHP

Jan 25, 2007

I am pretty much being forced to recompile PHP as I want to include OCI Oracle Extensions to read from our business database hosted in Oracle 10g. I installed a binary version of PHP to begin with and Don't have much experience compiling anything from source, although I am somewhat familiar with the concept. I know that sometimes installing extensions can be as easy as using apt-get or yum but I haven't found any information telling me I can do this for the OCI extensions I need to install.

My question is, When installing from source, what do I have to do within apache to update and work with the newly installed PHP.

When installing and running ./configure -OPTIONS GO HERE, what options other than the ones to tell it to use the libraries for Oracle, do I need to use?

I know this is a pretty vague question, but any help is truly appreciated.

I'm using Apache 2 and PHP 5 on an ubuntu 6.10 server install.

View 2 Replies View Related

Recompile Php For Lighthttpd

Apr 7, 2007

can anyone instruct me how to Re-compile php for lighthttpd, those people who had expierence with Lighthttpd?

View 2 Replies View Related

Recompile Apache

Nov 26, 2007

I have set the Maxclients limit of my server to 3000, but it is actually Connecting 2048 connections maximum.

I mean even i have set Maxclients limit in httpd.conf to 3000, but it still does 2048 connections.

I want to know if there a way to increase the number to 3000 or more?

View 14 Replies View Related

Php -v Keep Showing 4.4.7 Even After I Recompile Apache As 5.0.4

Oct 19, 2007

php -v keep showing 4.4.7 even after i recompile apache as 5.0.4 via WHM > Apache Update. Any ideas how to fix this?

I am on the following server:

WHM 11.2.0 cPanel 11.11.0-S16999
CENTOS Enterprise 5 x86_64 - WHM X v3.1.0

./configure [@php-5.0.4]...(--enable-pic --with-libdir=lib64 --prefix=/usr --with-xml --with-mm --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mm --with-mysqli --with-mysql=/usr --with-snmp --enable-ucd-snmp-hack --with-openssl --enable-discard-path --with-pear --with-pspell --enable-safe-mode --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-xmlrpc --with-zip --with-zlib).... . . . . . . . . . . . . Done

configure: error: libXpm.(a|so) not found.

make [@php-5.0.4]...(-j 8 clean).... Done

make [@php-5.0.4]...(-j 8).... Done

make [@php-5.0.4]...(install).... Done

initfpsuexec: using apache 1.x support
PHP version file has been updated to 4.4.7
Adding cPanel default aliases ...disabled scgi-bin since suexec is installed
Done
Executing /scripts/postbuildapache (if exists)...Done
Configuring perl magic....Off
Configuring php-pear magic....Off
Configuring ruby magic....Off
Configuring php-pecl magic....Off
/etc/rc.d/init.d/httpd start: httpd started
initfpsuexec: using apache 1.x support

Attempting to restart httpd

Waiting for httpd to restart...

httpd started ok

View 2 Replies View Related

HARD_SERVER_LIMIT (Recompile Apache)

Nov 26, 2007

Does anyone know that on Linux Fedora (apache 1.1.39) after increasing HARD_SERVER_LIMIT, how can we recompile apache?

View 4 Replies View Related

[kernel: Kernel BUG At Mm/rmap.c:479] Any Idea What This Is?

Mar 29, 2007

we have one box in hivelocity.net that has been down so many times this month that we were forced to remove links to siteuptime where we were once so proud of having a 99.7% uptime for 3 years in theplanet.

syslog shows that just before crashing, these entries were made:

kernel: kernel BUG at mm/rmap.c:479
kernel: invalid operand:0000 [#1]

dmesg also shows this:

...
Brought up 2 CPUs
zapping low mappings.
checking if image is initramfs... it is
Freeing initrd memory: 482k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf9f20, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
...

i've googled these messages and they point to ram problems.

hivelocity.net claims to have done diagnostics on the box and that there were no problems reported.

they said this is a result of a sys configuration problem made by us.

any ideas?

View 8 Replies View Related

Kernel Headers For Virtuozzo Kernel

May 20, 2009

running centos/virtuozzo 2.6.18-028stab062.3

when i configure vmware it asks at one point for kernel header files. where would i find them to match the current kernel?

i asked at parallels forums but help there is very scarce. i checked openVZ repositories and they dont yet have headers for this version.

what are my options? i have one last windows machine left and want to run it in VMware.

View 0 Replies View Related







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