Kernel Upgrade On Debian
May 23, 2007to upgrade the kernel on a Debian 3.1 server from a 2.4 kernel to the latest 2.6 kernel.
View 2 Repliesto upgrade the kernel on a Debian 3.1 server from a 2.4 kernel to the latest 2.6 kernel.
View 2 RepliesLast 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.
My current kernel version is "2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686 athlon i386 GNU/Linux". I want it to be upgraded since it is old. I have been told by our server management company that the latest kernel distributed from yum is kernel.i686 0:2.6.9-78.0.22.E. Can anyone tell me if this version is safe and secure enough? It is a CentOS release 4.7 (Final) server with cPanel installed.
View 2 Replies View RelatedI am using centos 4.6 on 2.6.9-67smp kernel
I need to update the kernel to 2.6.25.3
is that possible ?
I have VPS in Linux server.XXXXX 2.6.9-023stab044.4-enterprise
ITs Very OLD!
For More Security! can i Upgrade Kernel of my vps to latest Version ?
or Higher Version?
Security Is Very Important For Me!
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
We upgraded our kernel 2.6 based servers in the network, one of them didnt came back online after rebooting the system, it seems that the network module cant be loaded.
[root@server.hostname.com:~]/etc/init.d/network start
Configuring.. : [ OK ]
Activating ... loopback: [ OK ]
Activating... eth0: device tg3 eth0 does not seem to be present, delaying initialization [FAILED]
I tried booting with older kernels but the error stills
I have a server running Fedora 4 and WHM/cPanel. I would like to upgrade the linux kernel to the latest version, so mosey in via SSH and type "yum -y upgrade". It downloads a few things and tells me everything is hunky dory.
Now, the version it says it is currently running is: 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:14 EDT 2006
Is that the really the newest version available? Maybe I'm confused as to how this works, but if I go to kernel.org it tells me the most recent stable version of the kernel is 2.6.24.3. Is this because I am running FC4?
I just ordered a server which has that setup:
AMD Athlon 64 X2 6000+ Dual Core
8MB RAM
2x750GB RAID 1 HD
Now I wanna run it with DirectAdmin, but obviously DirectAdmin doesn´t support the Debian 64 which is installed but only 32 bit Debian.
Now I wonder wether I could setup a Debian 32 as well on that system and if yes, wether it would give me a deficit in Performance?
Or would you rather go with CentOS 64 which Directadmin supports?
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?
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.
I have a server running cPanel.
At the moment, I am been hosted on an unmanaged server (dedicated).
My server provider is offering $25/hour for managed support.
My Kernal and Centos have not been updated for a while and I am looking to upgrade both of them. I am wondering how long would these 2 jobs normally take?
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
I want to backup a entire folder thats in / not in any other folders.
I've tried this command but I get the error described below..
tar cvpzf opensim.tgz
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
The folder is called opensim. I was logged into SSH with root access and tried the command directly, not going into other folders because well I dont want to, I wanna backup that 1st opensim folder that I can see on the FTP also.
I'm having some trouble finding a VPS host that offers Debian and Plesk. I've searched the forum but nothing's really panned out. I'm currently with Geekstorage but the server has been slow (same problem reported by others).
Anyone have recommendations for Debian + Plesk VPS host?
i can't get java installed correctly on my debian server.
i downloaded the .bin file from java sun's website and run it says "done."
but when i type :
Code:
whereis java
the terminal shows
Code:
host:/# whereis java
java:
i just installed debian but when i try to start it, it just give me "error 2 " when i try to boot it
What is error 2 google gave me nothing
Install Required software
NX server needs ssh and some libraries to run. These packages are normally not installed during the basic installation process.Use the following comamnd to install
#aptitude libstdc++2.10-glibc2.2 ssh
Install Free NX Server in Debian Etch
First you need to download the .deb packages using the follwoing commands
i did the three steps..
Now you need to install .deb packages in the following order this is very important
#dpkg -i nxclient_2.1.0-17_i386.deb
#dpkg -i nxnode_2.1.0-22_i386.deb
#dpkg -i nxserver_2.1.0-22_i386.deb
If you get any errors use the following comamnd to fix
#apt-get -f install
Now you need to make sure ssh and nx servers are running if not start with the following commands
#/etc/init.d/ssh start
#/etc/init.d/nxserver start
--------------------
but the problem is i cannot connect to the nx .
i installed the program on windows but what is the username and password should i use? i tried to use the root but it said that the user root cannot be used.
i have the vps with debian 3.1
i digit on ssh /etc/init.d/mysql start and i see this error
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
/etc/mysql/debian-start: line 13: logger: command not found
I have just installed my vps with webmin on debian 5 and I need a guide to how to configure my system to use suphp, Ive googled it but not come back with any clear guide.
I better add Ive plunged in at the deepend and after the secuity breach at Vaserv, I can not take the easy option and install lxadmin any longer.
Which OS is better in security and easy to use for vps beginner:
CentOS™, Debian™, Ubuntu™, Fedora™, or Gentoo™.?
I'm leaning towards centos but am concerned that development priority in that distro will switch over from Xen to KVM as RHEL does. Which distro would you choose for dom0 and why?
View 3 Replies View RelatedFrom some weeks I try to have a secure install for my Debian. THis server will be a shared hosting host so need special security but I don't know how to do this.
My requirement are :
- Apache
- PHP (mod, not cgi)
Actually, users can navigate into my server by using phpshell script. And someone put lots of file into /tmp directory so I tri to secure all of that but don't find good tuto for that; do you know where can i have some?
And what about php using cron so execute with php-cli how to secure it?
where I can find a guide or how-to to hardening Debian Lenny web server (a xen vps one)?
View 0 Replies View Relatedinstalling Debian. I choose Standard package without anything, No DNS Server, No Web Server, No Mail Server.
But ssh is not working, how do I install sshd and get it work?
I've just ordered a dedicated server with Ubuntu server, but they've come back to me to say that they've had trouble installing Ubuntu server on these particular servers.
As an alternative, they're offering to install Debian. My concern is that I come from a windows background and have spent the last month reading and playing with Ubuntu Server in vmware. I'll be running a small handful of sites on the server and will rely on the apt-get and package installer in webmin to get things set up and for administration. I'll dabble in the shell a little, but only when needed.
Should I go with a different host that can offer Ubuntu, or will I be okay with Debian?
my os is debian
how can disable iptables on it?
part12:/# service iptables restart
-bash: service: command not found
I am on a vps server and want to install a GUI based control panel. ISPconfig being the most talked about however i am unable to find a tutorial which helps you with step by step installation on debian 4;
View 1 Replies View Relatedproblem on one server with debian, the last month it have a 100% f uptime, but since yesterday automaticly it reboot every 1 hour exactly!
this is a game server , dont have service like httpd , mysql dns , nothing! , I uninstall cron jobs thinking that will solve the problem, but no .....
I install firewall, run rkhunter and chkrootkit, check whell gruop and nothing
logs:
Jan 17 05:20:00 debian -- MARK --
Jan 17 05:40:00 debian -- MARK --
Jan 17 06:00:18 debian syslogd 1.4.1#18: restart.
Jan 17 06:00:18 debian kernel: klogd 1.4.1#18, log source = /proc/kmsg started.
Jan 17 06:00:18 debian kernel: Bootdata ok (command line is root=/dev/sda1 ro )
I change root password and ssh port but nothing... I think that could be a issue on debian or some exploit cause it, this was happend Suddenly one day to another it is very Strange....
somebody know about this?
SERVER:
debian:~# uname -a
Linux debian 2.6.18-5-amd64
CORE 2 QUAD - 2GB ram - debian 64 bits
which is best for running a server? debian or centos?
i have seen many companies prefer using centos for running servers quite often. Any specific reason for that or am i missing something here.
Linux user trying to install a few packages on a new dedicated Debian server.
Following some tutorials, I installed Apache1.3 & PHP4 using apt-get install and had them up and running no problem.
I then decided to change the versions, so removed them using apt-get remove and deleted the relevant folders from /etc (this was before I knew of the apt-get --purge option).
I then tried to install Apache2 and PHP5, and although it appears to have worked, folders are not created for them in /etc so it doesn't work.
Is there a way of doing a fresh clean install so that the folders are created? I've tried apt-get clean without success.
Alternatively, a way to rollback Debian to it's previous state before I got my grubby little hands on it!