Recompile Kernel Failing On VMWare
Nov 6, 2006I 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?
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?
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 RelatedI'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
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?
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 RelatedI 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'
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.
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.
can anyone instruct me how to Re-compile php for lighthttpd, those people who had expierence with Lighthttpd?
View 2 Replies View RelatedI 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?
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
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 Relatedwe 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?
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.
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.
i tried recompile Apache to install
--curl
--curl ssl
--mcrypt
by running /scripts/easyapache
then i get the error below. Can anyone help me out? i really dont know what todo here.
Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper set up. You must correct this error before you can proceed.
Today i just noticed i cannot login to my Direct admin panel no more all the sudden, but was working fine 24 hrs back.
So i login to root, and hit yum update, but guess what i get :
-bash: /usr/bin/yum: Input/output error
And to my surprise i go to /home/user/ to look for sites, and the public_html folder is un-accesible and is all pinkish/orangish with question marks besides them :
?--------- ? ? ? ? ? public_html
^^
Even tmp folder says this :
[root@myproxyhost tmp]# ls
ls: reading directory .: Input/output error
i noticed this when i try to update da password or change it so i could login to DA :
[root@myproxyhost tmp]# passwd
passwd: error while loading shared libraries: /usr/lib64/libuser.so.1: cannot read file data: Input/output error
what happened is this end of HDD and data corruption ?
Its got centos 5 64 bit version :
[root@myproxyhost /]# uname -ia
Linux myproxyhost.proxyorama.info 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Is there a reason why yum is failing for me? Its a brand new server!
Quote:
[root@194 yum.repos.d]# yum update
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Setting up Update Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
All emails from my server to any email @ mac.com are failing.
View 3 Replies View Relatedfor the past 4 days i have being having problems with my Apache server. on day one i noticed it was going down irregularly over day 2/3 it got progressively worse by last night httpd would only work after i restarted it then 5minutes later it failed again. now it wont start at all every time i tried restarting from whm it just says 'httpd failed' ive also tried restarting from shell but no joy. ive tried rebuilding apache from whm that hasn't helped either. one error i was getting was 'invalid user name' of a user who i terminated yesturday.
View 7 Replies View RelatedJust got this server setup, getting some smart errors. Here's a copy of the trouble ticket I posted to the host, they said "If you read through the documentation for smartd you will find that from the results you pasted, your hard disk passed every test. We can give you another hard disk if you want but we will have to charge you 3 credits for the reinstall of the operating system." I could be wrong, maybe everything's fine, but the fact that there are unreadable sectors reported has me a little worried.
Quote:
What is the nature of the problem?
New server, hard drive failing smart tests
What is the error message?
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, found in smartd database.
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Monitoring 1 ATA and 0 SCSI devices
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Currently unreadable (pending) sectors
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ...
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Warning via mail to root: successful
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Offline uncorrectable sectors
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ...
Sep 12 17:51:44 sls-db8p19 smartd[3312]: Warning via mail to root: successful
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 066 062 006 Pre-fail Always - 78282665
3 Spin_Up_Time 0x0003 098 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 19
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 2
7 Seek_Error_Rate 0x000f 075 060 030 Pre-fail Always - 29797813
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 1175
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 27
194 Temperature_Celsius 0x0022 030 048 000 Old_age Always - 30
195 Hardware_ECC_Recovered 0x001a 066 062 000 Old_age Always - 78282665
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 2
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 2
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0
Was it working before?
No, brand new server
If it was working before, did you do anything before this error occurred?
N/A
Have you done anything after this error occurred?
Does anyone know any reasons why this process would be failing?
I installed ASSP X onto my cPanel VPS, assp2 seems to be failing every so often.
Before I used to get around 5-6 a day emails saying that httpd has failed and a restart has been attempted automatically.
After I increased the max clients in the httpd.conf the number reduced 1-2 emails a day.
I am not sure what the problem exactly is
Is it because my sites are using up high bandwidth?
For some reason BIND keeps failing on my cPanel server every couple of days. There are no error logs in the /var/logs/messages file concerning the crash but when I manually restart bind then it logs messages just fine and I can see them. Does BIND keep any other error logs?
Today it seemed to coincide with a big movement in system memory, here my munin graph:
[url]
I have ran the “fixeverything” script which attempts to correct any errors in the bind config file but it still crashes. I couldn’t see anything wrong with it ayway.
I am trying to install the kernel source.
I have downloaded kernel-2.6.20-1.2948.fc6.src.rpm
I am using fedora 6 64bit.
here are my current kernels:
kernel-headers-2.6.20-1.2948.fc6
kernel-devel-2.6.20-1.2944.fc6
yum-kernel-module-1.0.3-1.fc6
kernel-2.6.20-1.2944.fc6
kernel-devel-2.6.20-1.2948.fc6
kernel-2.6.20-1.2948.fc6
here is what I seen when I installed kernel-2.6.20-1.2948.fc6.src.rpm
rpm -ivh kernel-2.6.20-1.2948.fc6.src.rpm
1:kernel warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
########################################### [100%]
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
then when I ran:
rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
I seen this error:
+ Arch=x86_64
+ make ARCH=x86_64 nonint_oldconfig
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:310:24: error: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.93770 (%prep)
I need to have this installed to get a app installed etc...
suggestions or ideas?
thanks
/dev/sda1 is mounted to / on my dedicated server, however, it is 100% full and cPanel is having problems with it. Is there a way I can clean out some files?
Additionally, I cannot SSH into the server since sshd keeps failing. Anyone know what I can do?
I'm sure /dev/sda1 isn't usually mounted to / but who knows.
one of my servers has 2x250gb hard drives in hardware RAID 0 using a 3ware controller, but ive now got the following error message 3 times prior to 3 server crashes, my server supplier beleves it one of the drives failing (i have backups on a non raid drive so rthats fine) but i suspect the controller, whats everyone else think...
Code:
Mar 28 22:41:46 server kernel: sd 2:0:0:0: WARNING: Command (0x2a)
timed out, resetting card.
Mar 28 22:42:39 server kernel: 3w-xxxx: scsi2: Command failed: status
= 0xc7, flags = 0x1b, unit #0.
Mar 28 22:43:08 server kernel: 3w-xxxx: scsi2: Command failed: status
= 0xc7, flags = 0x1b, unit #0.
Mar 28 22:43:12 server kernel: 3w-xxxx: scsi2: AEN: WARNING: ATA port
timeout: Port #1.
I noticed all of my sites were down earlier.. so I tried restarting apache via WHM.. and that didn't work, said the following:
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status
root 8103 0.5 0.8 30892 29264 ? S 12:28 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
I tried rebooting.. same issue.
how to troubleshoot this? This is very bad!
I'm having a problem with my CentOS 5 box. for some reason the update will not work.
I run yum update, The update starts, then when it gets too downloading the packages I get the following error for every single RPM.
[url]: [Errno 4] IOError: <urlopen error (114, 'Operation already in progress')> Trying other mirror.
The RPM's can be downloaded just fine if I copy and past that URL in my browser. I don't understand why the server can't open that URL
Does anyone know of a fix for this? Or is anyone else at iWeb having the same problem.