Major problems with these forums

O

ozzi4648

Guest
[quote:51bde5c4c0][i:51bde5c4c0]Originally posted by itf[/i:51bde5c4c0]

[quote:51bde5c4c0][i:51bde5c4c0]Originally posted by ozzi4648[/i:51bde5c4c0]

Let me get this straight, i should rpm -Uvh kernel-2.4.9-34.i686.rpm then rpm -e kernel-2.4.9-34? That is not working.[/quote:51bde5c4c0]
no you have to run just:

rpm -Uvh --replacepkgs kernel-2.4.9-34.i686.rpm[/quote:51bde5c4c0]

root@srv08 [/tmp]# rpm -Uvh --force kernel-2.4.9-34.i686.rpm
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
/boot/initrd-2.4.9-34.img already exists.

I did that then i tried to remove it without success. Im getting the same error when trying to remove it

root@srv08 [/tmp]# rpm -e kernel-2.4.9-34
error: &kernel-2.4.9-34& specifies multiple packages

And now i have 3 instances of it but my uname -a still reports the new kernel which i cannot see if i type rpm -q kernel.

I know what your trying to tell me and thats to install then remove install then remove but it wont.
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:d43af1182d][i:d43af1182d]Originally posted by ozzi4648[/i:d43af1182d]

[quote:d43af1182d][i:d43af1182d]Originally posted by itf[/i:d43af1182d]

[quote:d43af1182d][i:d43af1182d]Originally posted by ozzi4648[/i:d43af1182d]

Let me get this straight, i should rpm -Uvh kernel-2.4.9-34.i686.rpm then rpm -e kernel-2.4.9-34? That is not working.[/quote:d43af1182d]
no you have to run just:

rpm -Uvh --replacepkgs kernel-2.4.9-34.i686.rpm[/quote:d43af1182d]

root@srv08 [/tmp]# rpm -Uvh --force kernel-2.4.9-34.i686.rpm
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
/boot/initrd-2.4.9-34.img already exists.

I did that then i tried to remove it without success. Im getting the same error when trying to remove it

root@srv08 [/tmp]# rpm -e kernel-2.4.9-34
error: &kernel-2.4.9-34& specifies multiple packages

And now i have 3 instances of it but my uname -a still reports the new kernel which i cannot see if i type rpm -q kernel.

I know what your trying to tell me and thats to install then remove install then remove but it wont.[/quote:d43af1182d]
please do not use --force use this:

rpm -Uvh --replacepkgs --replacefiles kernel-2.4.9-34.i686.rpm
 

itf

Well-Known Member
May 9, 2002
620
0
316
after above use this:

rpm -e --allmatches kernel-2.4.9-34

it generally returns error but
after that use

rpm -qa kernel
to see if there is any duplication or not
if there is any duplicates:
run this

rpm --rebuilddb

rpm -e --allmatches kernel-2.4.9-34
after that install new kernel as I discussed in another thread
 
O

ozzi4648

Guest
root@srv08 [/tmp]# rpm -Uvh --replacepkgs --replacefiles kernel-2.4.9-34.i686.rpm
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
/boot/initrd-2.4.9-34.img already exists.
root@srv08 [/tmp]#
root@srv08 [/tmp]#
root@srv08 [/tmp]#
root@srv08 [/tmp]# rpm -e --allmatches kernel-2.4.9-34
error: removing these packages would break dependencies:
kernel &= 2.2 is needed by pciutils-2.1.8-23
kernel &= 2.4 is needed by quota-3.02-0.7.x+DarkORB+2
kernel &= 2.2.14 is needed by nfs-utils-0.3.1-13.7.2.1
kernel &= 2.4.0 is needed by iptables-1.2.5-3
kernel &= 2.2.16-21 is needed by sysstat-4.0.1-2
kernel &= 2.4 is needed by quota-3.01pre9-3
root@srv08 [/tmp]# rpm -qa kernel
kernel-2.4.9-34
kernel-2.4.9-34
kernel-2.4.9-34
root@srv08 [/tmp]# rpm --rebuilddb
root@srv08 [/tmp]# rpm -e --allmatches kernel-2.4.9-34
error: removing these packages would break dependencies:
kernel &= 2.4 is needed by quota-3.02-0.7.x+DarkORB+2
kernel &= 2.2 is needed by pciutils-2.1.8-23
kernel &= 2.2.14 is needed by nfs-utils-0.3.1-13.7.2.1
kernel &= 2.4.0 is needed by iptables-1.2.5-3
kernel &= 2.2.16-21 is needed by sysstat-4.0.1-2
kernel &= 2.4 is needed by quota-3.01pre9-3

Should i just remove these rpms then install them again after i remove this kernel?
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:3355e561b2][i:3355e561b2]Originally posted by ozzi4648[/i:3355e561b2]

root@srv08 [/tmp]# rpm -Uvh --replacepkgs --replacefiles kernel-2.4.9-34.i686.rpm
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
/boot/initrd-2.4.9-34.img already exists.
root@srv08 [/tmp]#
root@srv08 [/tmp]#
root@srv08 [/tmp]#
root@srv08 [/tmp]# rpm -e --allmatches kernel-2.4.9-34
error: removing these packages would break dependencies:
kernel &= 2.2 is needed by pciutils-2.1.8-23
kernel &= 2.4 is needed by quota-3.02-0.7.x+DarkORB+2
kernel &= 2.2.14 is needed by nfs-utils-0.3.1-13.7.2.1
kernel &= 2.4.0 is needed by iptables-1.2.5-3
kernel &= 2.2.16-21 is needed by sysstat-4.0.1-2
kernel &= 2.4 is needed by quota-3.01pre9-3
root@srv08 [/tmp]# rpm -qa kernel
kernel-2.4.9-34
kernel-2.4.9-34
kernel-2.4.9-34
root@srv08 [/tmp]# rpm --rebuilddb
root@srv08 [/tmp]# rpm -e --allmatches kernel-2.4.9-34
error: removing these packages would break dependencies:
kernel &= 2.4 is needed by quota-3.02-0.7.x+DarkORB+2
kernel &= 2.2 is needed by pciutils-2.1.8-23
kernel &= 2.2.14 is needed by nfs-utils-0.3.1-13.7.2.1
kernel &= 2.4.0 is needed by iptables-1.2.5-3
kernel &= 2.2.16-21 is needed by sysstat-4.0.1-2
kernel &= 2.4 is needed by quota-3.01pre9-3

Should i just remove these rpms then install them again after i remove this kernel?[/quote:3355e561b2]
no just use this

rpm -e --nodeps --allmatches kernel-2.4.9-34

however it is recommended to install new kernel before using above command
 
O

ozzi4648

Guest
root@srv08 [/tmp]# rpm -e --nodeps --allmatches kernel-2.4.9-34
fatal error: unable to find a suitable template
fatal error: unable to find a suitable template
fatal error: unable to find a suitable template
root@srv08 [/tmp]# rpm -q kernel
package kernel is not installed

Wow i think its gone, hey thanks MR!

rpm -q kernel reports nothing but uname says

root@srv08 [/tmp]# uname -a
Linux srv08.primenet.cc 2.4.18-17.7.x #1 Tue Oct 8 13:33:14 EDT 2002 i686 unknown

Should i still install new kernel? I will do that and take her to 2.4.18-18.7.x
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:17bf881804][i:17bf881804]Originally posted by ozzi4648[/i:17bf881804]

root@srv08 [/tmp]# rpm -e --nodeps --allmatches kernel-2.4.9-34
fatal error: unable to find a suitable template
fatal error: unable to find a suitable template
fatal error: unable to find a suitable template
root@srv08 [/tmp]# rpm -q kernel
package kernel is not installed

Wow i think its gone, hey thanks MR!

rpm -q kernel reports nothing but uname says

root@srv08 [/tmp]# uname -a
Linux srv08.primenet.cc 2.4.18-17.7.x #1 Tue Oct 8 13:33:14 EDT 2002 i686 unknown

Should i still install new kernel? I will do that and take her to 2.4.18-18.7.x
[/quote:17bf881804]
Never forget kernel installation is not just using rpm please read these threads carefully, I wrote there in details about kernel upgrade
Notice: at this time if you make any mistake your server will not reboot

http://forums.cpanel.net/read.php?TID=4494

http://forums.cpanel.net/read.php?TID=3802


you can use these instead

http://216.118.116.105/read.php?TID=4494

http://216.118.116.105/read.php?TID=3802
 
O

ozzi4648

Guest
OpenBB Message...
Already logged in!



AGAIN!!!!!!!!!!!!!

Well rpm -q says NO KERNEL but i think i should reapply the 2.4.17 kernel to make sure its i have something to fall back on if 2.4.18 fails.
 
O

ozzi4648

Guest
Wait, hold on, you were telling me to reinstall kernel-2.4.9-34.i686.rpm but wasnt it supposed to be kernel-2.4.9-34.i386.rpm? Also in your docs there is no instructions on how to apply the kernel and where to get it from.
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:661913cb18][i:661913cb18]Originally posted by ozzi4648[/i:661913cb18]

Wait, hold on, you were telling me to reinstall kernel-2.4.9-34.i686.rpm but wasnt it supposed to be kernel-2.4.9-34.i386.rpm? Also in your docs there is no instructions on how to apply the kernel and where to get it from.[/quote:661913cb18]

In these two threads (bellow links) I wrote about kernel upgrade in details also I wrote how to apply the kernel just read them

http://forums.cpanel.net/read.php?TID=3802

http://forums.cpanel.net/read.php?TID=4494

[b:661913cb18]ozzi4648[/b:661913cb18]& you were telling me to reinstall kernel-2.4.9-34.i686.rpm but wasnt it supposed to be kernel-2.4.9-34.i386.rpm?

[b:661913cb18]ITF[/b:661913cb18]& using i386, i686 and athlon and ... depends on your CPU type, but you are curious on how I wrote to install i686 it's very easy because you sent the result of uname -a command
Linux srv08.primenet.cc 2.4.18-17.7.x #1 Tue Oct 8 13:33:14 EDT 2002 [b:661913cb18]i686[/b:661913cb18] unknown

as you can see your cpu type is i686

[b:661913cb18]ozzi4648[/b:661913cb18]& where to get it from?

[b:661913cb18]ITF[/b:661913cb18]& if you read my posts about kernel in another threads or search kernel keyword by using ITF username you'll find I wrote where to download kernel too

Redhat users can download latest version of kernel from:

ftp://updates.redhat.com/&linux version&/en/os/&cpu type&/kernel-&version&.&cpu&.rpm

i.e ftp://updates.redhat.com/7.3/en/os/i686/kernel-&version&.i686.rpm
 
O

ozzi4648

Guest
Remeber when i deleted the duplicate kernels it said something about deleting the template now when i go to install the new kernel i get this:

./ kernel-2.4.18-18.7.x.i686.hdr redhat-linux-i386-7.2.20021116054232
../ kernel-2.4.18-18.7.x.i686.rpm redhat-linux-i386-7.2-obsoletes.20021116054232


rpm -ivh kernel*.rpm
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
fatal error: unable to find a suitable template

Should i be worried?
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:b8953c5479][i:b8953c5479]Originally posted by ozzi4648[/i:b8953c5479]

Remeber when i deleted the kernel it said something about deleting the template now when i go to install the new kernel i get this:

./ kernel-2.4.18-18.7.x.i686.hdr redhat-linux-i386-7.2.20021116054232
../ kernel-2.4.18-18.7.x.i686.rpm redhat-linux-i386-7.2-obsoletes.20021116054232


rpm -ivh kernel*.rpm
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]
fatal error: unable to find a suitable template

Should i be worried?[/quote:b8953c5479]

please don't use kernel*.rpm
exactly specify its version, also checkout using rpm -qa kernel

however in one of my posts before deleting all of the kernels i wrote it is recommended to install the new kernel before removing all of them

please install kernel 2.4.9-34.i686.rpm at first (it seems that you have redhat 7.2)
Do you use GRUB as boot loader? if yes checkout /etc/grub.conf it should be similiar to what I wrote in kernel upgrade thread
 

ThunderHostingDotCom

Well-Known Member
Nov 18, 2002
449
1
168
All over!
[quote:a609998fee][i:a609998fee]Originally posted by dgbaker[/i:a609998fee]

ozzi - They work fine for me. Could it be the fqdn/ip thing?

For example this one works for me.

http://forums.cpanel.net/read.php?TID=4494

This one does not

http://216.118.116.105/read.php?TID=4494

Just a thought.
[/quote:a609998fee]

That was it! I was having the same problem and I now see it is the IP. Thank you for noticing that!
 

ThunderHostingDotCom

Well-Known Member
Nov 18, 2002
449
1
168
All over!
ITF?

I used uname -a to find out what kernel ver I have & below is what I got. Now I have 3 questions.
1) What is up with the unknown?
2) I went to ftp://updates.redhat.com/7.3/en/os/i686/ and I see that they have a kernel-2.4.18-18.7.x.i686.rpm with a date of 11/15. Does that mean my kernel I have (below) is 3 months and 8 editions old?
3) What differences will I see if I upgrade to the above kernel?

2.4.18-10smp #1 SMP Wed Aug 7 11:17:48 EDT 2002 i686 unknown
 

itf

Well-Known Member
May 9, 2002
620
0
316
[quote:7caa2bee94][i:7caa2bee94]Originally posted by ThunderHostingDotCom[/i:7caa2bee94]

ITF?

I used uname -a to find out what kernel ver I have & below is what I got. Now I have 3 questions.
1) What is up with the unknown?
2) I went to ftp://updates.redhat.com/7.3/en/os/i686/ and I see that they have a kernel-2.4.18-18.7.x.i686.rpm with a date of 11/15. Does that mean my kernel I have (below) is 3 months and 8 editions old?
3) What differences will I see if I upgrade to the above kernel?

2.4.18-10smp #1 SMP Wed Aug 7 11:17:48 EDT 2002 i686 unknown[/quote:7caa2bee94]
That &unknown& is the host processor type and means generic due to handling bunch of processor types by kernel

If you would like to see your processor type use this command:

cat /proc/cpuinfo

about your kernel, you have smp kernel and have to use:
kernel-smp-2.4.18-18.7.x.i686.rpm