kitek |
03-22-2011 11:48 AM |
Quote:
Originally Posted by szboardstretcher
(Post 4299277)
I believe, if you check, that your entire system is up to date, and in fact running 4.9. But, the /etc/redhat-release file is old and not updated.
You can do a:
Code:
rpm -qa|grep release
to see what is installed
and probably:
Code:
yum install centos-release-4-9.el4.centos
To update it
|
Code:
login as: root
root@ns2.domain.com's password:
Last login: Tue Mar 22 12:35:55 2011 from 127.0.0.1
[root@ns2 ~]# rpm -qa | grep release
error: rpmdbNextIterator: skipping h# 2 region trailer: BAD, tag 7674112 type 19887475 offset -1915710569 count 1647276153
error: rpmdbNextIterator: skipping h# 4 region trailer: BAD, tag 1635004004 type 1698570289 offset -775433778 count 758199552
error: rpmdbNextIterator: skipping h# 6 region trailer: BAD, tag 541943155 type 1629517413 offset -1920166255 count 1847601262
error: rpmdbNextIterator: skipping h# 10 region trailer: BAD, tag 1117 type 8 offset -9024 count 3
error: rpmdbNextIterator: skipping h# 12 region trailer: BAD, tag 757093744 type 1684108389 offset -543584879 count 1830833747
error: rpmdbNextIterator: skipping h# 16 region trailer: BAD, tag 1885696620 type 1717662005 offset -779120484 count 19791872
error: rpmdbNextIterator: skipping h# 18 region trailer: BAD, tag 1697539170 type 6841708 offset -1885759852 count 1694526575
error: rpmdbNextIterator: skipping h# 20 region trailer: BAD, tag 0 type 0 offset -65536 count 0
error: rpmdbNextIterator: skipping h# 22 region trailer: BAD, tag 0 type 0 offset -65536 count 0
error: rpmdbNextIterator: skipping h# 26 region trailer: BAD, tag 1949197167 type 1832788013 offset -540028467 count 774974769
error: rpmdbNextIterator: skipping h# 28 region trailer: BAD, tag 1629514099 type 543780384 offset -1629515881 count 1885675636
error: rpmdbNextIterator: skipping h# 30 region trailer: BAD, tag 1702043753 type 1713402469 offset -1633966185 count 1852142692
error: rpmdbNextIterator: skipping h# 34 region trailer: BAD, tag 0 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 40 region trailer: BAD, tag 1919233892 type 1868771172 offset -1836212585 count 1680683310
error: rpmdbNextIterator: skipping h# 42 region trailer: BAD, tag 539912502 type 943074930 offset -1886194221 count 543253604
error: rpmdbNextIterator: skipping h# 44 region trailer: BAD, tag 1930046752 type 1953653102 offset -1936482676 count 1768910368
error: rpmdbNextIterator: skipping h# 46 region trailer: BAD, tag 1346456927 type 1431520594 offset -1599426123 count 1313822542
error: rpmdbNextIterator: skipping h# 48 region trailer: BAD, tag 1668246846 type 5534319 offset -1852055621 count 1769367918
error: rpmdbNextIterator: skipping h# 50 region trailer: BAD, tag 9 type 10 offset -11 count 12
error: rpmdbNextIterator: skipping h# 54 region trailer: BAD, tag 999 type 2 offset -1064 count 6
error: rpmdbNextIterator: skipping h# 56 region trailer: BAD, tag 1953064553 type 1819567474 offset -1601661294 count 1685026606
error: rpmdbNextIterator: skipping h# 58 region trailer: BAD, tag 543385697 type 1852269924 offset -543255660 count 544499813
error: rpmdbNextIterator: skipping h# 60 region trailer: BAD, tag 1862934560 type 796226418 offset -796092513 count 1919233892
error: rpmdbNextIterator: skipping h# 62 region trailer: BAD, tag 1970500143 type 1936220530 offset -1697603952 count 1886153059
error: rpmdbNextIterator: skipping h# 66 region trailer: BAD, tag 1932354415 type 1852205415 offset -544501536 count 1668640883
error: rpmdbNextIterator: skipping h# 68 region trailer: BAD, tag 1915494498 type 2053730354 offset -543711603 count 544499813
error: rpmdbNextIterator: skipping h# 70 region trailer: BAD, tag 1847612535 type 1701143657 offset -1694510368 count 1633969253
error: rpmdbNextIterator: skipping h# 72 region trailer: BAD, tag 841887790 type 842214707 offset -5136748 count 1768824900
error: rpmdbNextIterator: skipping h# 78 region trailer: BAD, tag -1622334804 type -1587785800 offset 876813750 count -1302290309
error: rpmdbNextIterator: skipping h# 80 region trailer: BAD, tag 1196181826 type 1130312238 offset -824770668 count 1768055598
error: rpmdbNextIterator: skipping h# 82 region trailer: BAD, tag 543780384 type 796090985 offset -1848600942 count 1937006956
error: rpmdbNextIterator: skipping h# 84 region trailer: BAD, tag 858927461 type 1701066545 offset -962738022 count 842293816
error: rpmdbNextIterator: skipping h# 86 region trailer: BAD, tag 874522659 type 909391411 offset -824770605 count 544568165
error: rpmdbNextIterator: skipping h# 88 region trailer: BAD, tag 0 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 90 region trailer: BAD, tag 1818848871 type 2957429 offset -1885626740 count 1696622194
error: rpmdbNextIterator: skipping h# 92 region trailer: BAD, tag 65536 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 94 region trailer: BAD, tag 0 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 96 region trailer: BAD, tag 1664312064 type 943153505 offset -926246448 count 828585264
error: rpmdbNextIterator: skipping h# 98 region trailer: BAD, tag 38666241 type 38862849 offset -39059457 count 39256065
error: rpmdbNextIterator: skipping h# 100 region trailer: BAD, tag 912668214 type 895629110 offset -859399217 count 962736951
error: rpmdbNextIterator: skipping h# 102 region trailer: BAD, tag 1095779666 type 4997983 offset -1413827653 count 1346916174
error: rpmdbNextIterator: skipping h# 106 region trailer: BAD, tag 1342177352 type 1375731791 offset -1375731894 count 1375731906
error: rpmdbNextIterator: skipping h# 108 region trailer: BAD, tag 2289 type 17 offset -1053 count 4
error: rpmdbNextIterator: skipping h# 110 region trailer: BAD, tag 1885696620 type 676097891 offset -1634493754 count 978149739
error: rpmdbNextIterator: skipping h# 118 region trailer: BAD, tag 796092513 type 1919233792 offset -796226418 count 796092513
error: rpmdbNextIterator: skipping h# 120 region trailer: BAD, tag 1953460857 type 4669952 offset -1195519301 count 1769104640
error: rpmdbNextIterator: skipping h# 124 region trailer: BAD, tag 1869819503 type 1919368704 offset -1147500133 count 1819242605
error: rpmdbNextIterator: skipping h# 126 region trailer: BAD, tag 1915708009 type 1848573999 offset -1970500143 count 1936220530
error: rpmdbNextIterator: skipping h# 130 region trailer: BAD, tag 0 type 1375731713 offset -1375731714 count 1375731715
error: rpmdbNextIterator: skipping h# 138 region trailer: BAD, tag 825439537 type 1647404594 offset -959472441 count 1681219888
error: rpmdbNextIterator: skipping h# 140 region trailer: BAD, tag 1463825483 type 1203778473 offset -524301111 count -1103080855
error: rpmdbNextIterator: skipping h# 154 region trailer: BAD, tag 1667589425 type 1701065269 offset -959657827 count 1647443968
error: rpmdbNextIterator: skipping h# 156 region trailer: BAD, tag 1634952480 type 1718775661 offset -541158501 count 1802724729
error: rpmdbNextIterator: skipping h# 162 region trailer: BAD, tag 1818321765 type 689989231 offset -1914724725 count 1953443370
error: rpmdbNextIterator: skipping h# 166 region trailer: BAD, tag 1701650501 type 1853254002 offset -1869507941 count 1853108034
error: rpmdbNextIterator: skipping h# 172 region trailer: BAD, tag -1684738638 type -1948647158 offset -106 count 16777226
error: rpmdbNextIterator: skipping h# 174 region trailer: BAD, tag 117440554 type 2 offset -134217770 count 8
error: rpmdbNextIterator: skipping h# 176 region trailer: BAD, tag 0 type 0 offset -8 count 0
error: rpmdbNextIterator: skipping h# 178 region trailer: BAD, tag 771 type 771 offset -771 count 771
error: rpmdbNextIterator: skipping h# 180 region trailer: BAD, tag -1303304900 type 2087304597 offset 1322708911 count 22020096
error: rpmdbNextIterator: skipping h# 182 region trailer: BAD, tag 2816 type 56338 offset -353 count 1918849860
error: rpmdbNextIterator: skipping h# 184 region trailer: BAD, tag 926102569 type 771763488 offset -1836021349 count 544437365
error: rpmdbNextIterator: skipping h# 186 region trailer: BAD, tag 1919706478 type 678655090 offset -689989998 count 1937007969
error: rpmdbNextIterator: skipping h# 188 region trailer: BAD, tag 1701735282 type 1634037370 offset -1701978172 count 1650815599
error: rpmdbNextIterator: skipping h# 190 region trailer: BAD, tag 1124098933 type 1886596460 offset -1768059648 count 825110830
error: rpmdbNextIterator: skipping h# 192 region trailer: BAD, tag 1195392372 type -1539293837 offset -1388330259 count 356531436
error: rpmdbNextIterator: skipping h# 194 region trailer: BAD, tag 1013866860 type 1768833138 offset -1701079137 count 1949197167
error: rpmdbNextIterator: skipping h# 198 region trailer: BAD, tag 3808 type 1 offset -1127 count 4
error: rpmdbNextIterator: skipping h# 206 region trailer: BAD, tag 6412 type 1 offset -1124102244 count 1802725376
error: rpmdbNextIterator: skipping h# 208 region trailer: BAD, tag 0 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 210 region trailer: BAD, tag 1986338924 type 1869048163 offset -544436077 count 1702324321
error: rpmdbNextIterator: skipping h# 212 region trailer: BAD, tag 1986338924 type 1869029478 offset -1768711539 count 2957416
error: rpmdbNextIterator: skipping h# 214 region trailer: BAD, tag 1165597205 type 746088465 offset -647610594 count -1074969106
error: rpmdbNextIterator: skipping h# 216 region trailer: BAD, tag 858927401 type 2957422 offset -1869768048 count 1818321765
error: rpmdbNextIterator: skipping h# 218 region trailer: BAD, tag 11 type 193 offset -11 count 221
error: rpmdbNextIterator: skipping h# 220 region trailer: BAD, tag -1322892774 type -1323482598 offset 1323220454 count -1322892774
error: rpmdbNextIterator: skipping h# 222 region trailer: BAD, tag 778533376 type 1633903471 offset -1970172928 count 1885430627
error: rpmdbNextIterator: skipping h# 226 region trailer: BAD, tag -1831274794 type -2137358899 offset -63 count 7
error: rpmdbNextIterator: skipping h# 230 region trailer: BAD, tag 544175208 type 1701978177 offset -1112088677 count 1853254002
error: rpmdbNextIterator: skipping h# 234 region trailer: BAD, tag 1664495669 type 1650800949 offset -3486002 count 1697985586
error: rpmdbNextIterator: skipping h# 238 region trailer: BAD, tag 24117248 type 4456448 offset -110798 count -335950169
error: rpmdbNextIterator: skipping h# 240 region trailer: BAD, tag 0 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 242 region trailer: BAD, tag 1886088809 type 1920164712 offset -1081238884 count 1751217198
error: rpmdbNextIterator: skipping h# 244 region trailer: BAD, tag 828454969 type 1684432185 offset -909652069 count 1700947043
error: rpmdbNextIterator: skipping h# 246 region trailer: BAD, tag 1668246846 type 4551273 offset -1797280882 count 1868656160
error: rpmdbNextIterator: skipping h# 252 region trailer: BAD, tag 540828277 type 1736075628 offset -1818312818 count 1701079137
error: rpmdbNextIterator: skipping h# 254 region trailer: BAD, tag 4 type 8600 offset -23 count 1117
error: rpmdbNextIterator: skipping h# 257 region trailer: BAD, tag 1 type 781020161 offset 939524096 count 201326592
error: rpmdbNextIterator: skipping h# 259 region trailer: BAD, tag 0 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 265 region trailer: BAD, tag 1931501856 type 1986097769 offset -1633840229 count 544104813
error: rpmdbNextIterator: skipping h# 267 region trailer: BAD, tag 0 type 0 offset 0 count 0
error: rpmdbNextIterator: skipping h# 269 region trailer: BAD, tag 7104866 type 1734566751 offset -1932424047 count 774973511
error: rpmdbNextIterator: skipping h# 271 region trailer: BAD, tag 1931497328 type 1701729107 offset -1277190753 count 1936024608
error: rpmdbNextIterator: skipping h# 273 region trailer: BAD, tag 1869575168 type 1919905652 offset -7499631 count 1946186351
error: rpmdbNextIterator: skipping h# 277 region trailer: BAD, tag 541548902 type 1953459744 offset -1013408102 count 1953459776
error: rpmdbNextIterator: skipping h# 279 region trailer: BAD, tag 1128808782 type 1195725568 offset -1213159252 count 1328368993
error: rpmdbNextIterator: skipping h# 281 region trailer: BAD, tag 1000 type 6 offset -2 count 1
error: db4 error(-30988) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
[root@ns2 ~]#
Then the second command I get:
Code:
[root@ns2 ~]# yum install centos-release-4-9.el4.centos
error: db4 error(-30988) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 170, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "__init__.py", line 82, in doConfigSetup
File "config.py", line 273, in __init__
File "config.py", line 391, in _getsysver
StopIteration
Now the other server I get something different. It appears to be updated but:
Code:
[root@data ~]# rpm -qa | grep release
centos-release-4-9.1
[root@data ~]#
Then the Second Command:
Code:
[root@data ~]# yum install centos-release-4-9.el4.centos
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: centos-release-4-9.el4.centos
Nothing to do
[root@data ~]#
Now that one in webmin still shows it as 4.0 but not sure why.
|