Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th June 2012, 04:20
jpucik jpucik is offline
Junior Member
 
Join Date: Apr 2012
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default Centos 6.2 kernel

hello I decided revert kernel in centos 6.2
uname -r
2.6.35.4
grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-71.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=251a0082-888f-4fc0-971$
initrd /initramfs-2.6.32-71.el6.x86_64.img

rpm -qa | grep kernel
kernel-2.6.32-220.17.1.el6.x86_64
dracut-kernel-004-256.el6_2.1.noarch
kernel-devel-2.6.32-220.13.1.el6.x86_64
kernel-2.6.32-71.29.1.el6.x86_64
kernel-firmware-2.6.32-220.17.1.el6.noarch
kernel-2.6.32-220.7.1.el6.x86_64
kernel-devel-2.6.32-220.7.1.el6.x86_64
kernel-headers-2.6.32-220.17.1.el6.x86_64
kernel-2.6.32-220.2.1.el6.x86_64
libreport-plugin-kerneloops-2.0.5-20.el6.x86_64
kernel-2.6.32-220.13.1.el6.x86_64
kernel-devel-2.6.32-220.17.1.el6.x86_64
abrt-addon-kerneloops-2.0.4-14.el6.centos.x86_64

ls -la /boot

dr-xr-xr-x 5 root root 4096 May 22 22:03 .
drwxr-xr-x 25 root root 4096 Jun 11 00:12 ..
-rw-r--r-- 1 root root 100948 Apr 18 00:17 config-2.6.32-220.13.1.el6.x86_64
-rw-r--r-- 1 root root 100948 May 16 00:22 config-2.6.32-220.17.1.el6.x86_64
-rw-r--r-- 1 root root 100947 Dec 23 09:14 config-2.6.32-220.2.1.el6.x86_64
-rw-r--r-- 1 root root 100947 Mar 7 01:40 config-2.6.32-220.7.1.el6.x86_64
-rw-r--r-- 1 root root 97911 Jun 27 2011 config-2.6.32-71.29.1.el6.x86_64
drwxr-xr-x 3 root root 4096 Oct 21 2011 efi
drwxr-xr-x 2 root root 4096 May 22 22:04 grub
-rw-r--r-- 1 root root 15471565 Apr 21 15:47 initramfs-2.6.32-220.13.1.el6.x86_64.img
-rw-r--r-- 1 root root 15476665 May 22 22:04 initramfs-2.6.32-220.17.1.el6.x86_64.img
-rw-r--r-- 1 root root 15418866 Dec 28 15:16 initramfs-2.6.32-220.2.1.el6.x86_64.img
-rw-r--r-- 1 root root 15423040 Mar 22 20:19 initramfs-2.6.32-220.7.1.el6.x86_64.img
-rw-r--r-- 1 root root 13440574 Oct 21 2011 initramfs-2.6.32-71.29.1.el6.x86_64.img
drwx------ 2 root root 4096 Oct 21 2011 lost+found
-rw-r--r-- 1 root root 171224 Apr 18 00:20 symvers-2.6.32-220.13.1.el6.x86_64.gz
-rw-r--r-- 1 root root 171224 May 16 00:25 symvers-2.6.32-220.17.1.el6.x86_64.gz
-rw-r--r-- 1 root root 171175 Dec 23 09:17 symvers-2.6.32-220.2.1.el6.x86_64.gz
-rw-r--r-- 1 root root 171216 Mar 7 01:41 symvers-2.6.32-220.7.1.el6.x86_64.gz
-rw-r--r-- 1 root root 160602 Jun 27 2011 symvers-2.6.32-71.29.1.el6.x86_64.gz
-rw-r--r-- 1 root root 2314413 Apr 18 00:17 System.map-2.6.32-220.13.1.el6.x86_64
-rw-r--r-- 1 root root 2314660 May 16 00:22 System.map-2.6.32-220.17.1.el6.x86_64
-rw-r--r-- 1 root root 2313220 Dec 23 09:14 System.map-2.6.32-220.2.1.el6.x86_64
-rw-r--r-- 1 root root 2313972 Mar 7 01:40 System.map-2.6.32-220.7.1.el6.x86_64
-rw-r--r-- 1 root root 2228188 Jun 27 2011 System.map-2.6.32-71.29.1.el6.x86_64
-rwxr-xr-x 1 root root 3940720 Apr 18 00:17 vmlinuz-2.6.32-220.13.1.el6.x86_64
-rw-r--r-- 1 root root 171 Apr 18 00:17 .vmlinuz-2.6.32-220.13.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3942032 May 16 00:22 vmlinuz-2.6.32-220.17.1.el6.x86_64
-rw-r--r-- 1 root root 171 May 16 00:22 .vmlinuz-2.6.32-220.17.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3940752 Dec 23 09:14 vmlinuz-2.6.32-220.2.1.el6.x86_64
-rw-r--r-- 1 root root 170 Dec 23 09:14 .vmlinuz-2.6.32-220.2.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3941040 Mar 7 01:40 vmlinuz-2.6.32-220.7.1.el6.x86_64
-rw-r--r-- 1 root root 170 Mar 7 01:40 .vmlinuz-2.6.32-220.7.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3795744 Jun 27 2011 vmlinuz-2.6.32-71.29.1.el6.x86_64
-rw-r--r-- 1 root root 170 Jun 27 2011 .vmlinuz-2.6.32-71.29.1.el6.x86_64.hmac

could someone tell me where is problem and why cant see kernell 2.6.35.4

sorry i have been googling but could not find anything and have no idea what about :-)

Last edited by jpucik; 11th June 2012 at 04:22.
Reply With Quote
Sponsored Links
  #2  
Old 11th June 2012, 12:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Did you reboot?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th June 2012, 12:35
jpucik jpucik is offline
Junior Member
 
Join Date: Apr 2012
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default

:-) of course I did
Reply With Quote
  #4  
Old 13th June 2012, 15:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

And
Code:
uname -r
is still showing 2.6.35.4, although there's no such kernel in /boot?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 13th June 2012, 15:14
jpucik jpucik is offline
Junior Member
 
Join Date: Apr 2012
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default

:-) it is I have no idea I did change grub.conf but still same kernell :-)
Reply With Quote
  #6  
Old 14th June 2012, 17:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Is it possible that the kernel's filename is "wrong", i.e., it uses 2.6.32 as part of the filename but in fact is a 2.6.35 kernel?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 15th June 2012, 02:52
jpucik jpucik is offline
Junior Member
 
Join Date: Apr 2012
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default

thanks falko a lot may be but have no idea how could I repair that :-( I have no taste to compilation new one

anyway I have got just one problem now I cant compile xtables :-( becaus kernel headers are different than kernel

but everything on our server is working pretty well
Reply With Quote
  #8  
Old 15th June 2012, 14:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by jpucik View Post
thanks falko a lot may be but have no idea how could I repair that :-
If my guess is true, you could simply rename vmlinuz-2.6.32-71.el6.x86_64 to vmlinuz-2.6.35-71.el6.x86_64 and initramfs-2.6.32-71.el6.x86_64.img initramfs-2.6.35-71.el6.x86_64.img.

Afterwards you must change these two lines in your grub.conf as well:

Code:
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=251a0082-888f-4fc0-971$
initrd /initramfs-2.6.32-71.el6.x86_64.img
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 15th June 2012, 14:15
jpucik jpucik is offline
Junior Member
 
Join Date: Apr 2012
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default

I did before that one

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-220.17.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-220.17.1.el6.x86_64 ro root=UUID=251a0082-888f-4fc0-971c-49a68dacd8be rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-220.17.1el6.x86_64.img

but still have


2.6.35.4
Reply With Quote
  #10  
Old 15th June 2012, 14:46
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts
 
Default

Did you install the CentOS yourself or is it a provided image by the server hoster?

I know that some hosters provide customized kernel images that are installed with their images and sometimes use lilo instead of grub (only god knows why ).

Have you tried reinstalling grub to the MBR and (if you have software raid) to the raid?
__________________
Marius Cramer

pixcept KG
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu + Raid ERROR guimnk Kernel Questions 3 13th May 2011 06:35
Server stops responding after a while-Help! mkslim General 8 4th May 2011 19:02
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 17:22
Ispconfig IE7 Xen aurelius Installation/Configuration 8 19th October 2008 11:46
Google Apps dayjahone General 19 29th March 2008 18:25


All times are GMT +2. The time now is 18:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.