Centos Yum Update
Oct 23, 2009Last night my server was updated to Centos 5.4 via yum update command.
Is it recommended to restart the server after this update or it is fine to let it run ?
.. there is also Cpanel on it,
Last night my server was updated to Centos 5.4 via yum update command.
Is it recommended to restart the server after this update or it is fine to let it run ?
.. there is also Cpanel on it,
im trying to update my php version to 5.2+ so i can run phpmyadmin on my server. Ive tried two different methods both produced same results. First method was to download libxml2-2.7.3 and then do ./configure, make,etc then i download php, ./configure, make install, etc. At first i had to yum install make, then a c complier cause make and ./configure didnt work before that. After everything seemed to work fine until the end when it said you may have found a bug on php would you like to submit it? So obviously the php version didnt update at all.
Next i tried adding a repo that already contained php-5.2.5 and then yum install php since centos only seems to support regular yum install up to php version 5.1.6. i did rpm and installed php and thought sweet ive updated php. Ran php -v and i am still running php version 5.1.6.
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.
I am using cpanel My server runs with centos 5 With version 2.6.18-164.2.1.el5.plus
Does i need to keep updating kernal updates always for the server?
If so how i can update automatically?
I ran yum update and OpenJDK 6 got installed automatically.
Does any one know why? before this it was not installed on my system.
update is supposed to automatically install new packages.
I installed CentOS 5 with SAS drive. But i forgot install kernel-PAE for more 4GB RAM. (i'm using 8GB RAM).
But now when i trying to install kernel-PAE or update kernel. I have issue with hda and fd0 ...
"WARNING: No module megasr found for kernel"
When i 'cat /var/log/messages' i got:
kernel: end_request: i/o error, dev fd0,sector 0
kernel: hda: packet command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hda: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
I tried to 'google' they to find the solution, but now i still not find out ...
I'll try to reload OS. After reload OS, if i dont have floppy disk, how can i update kernel with no error?
yum -y groupinstall kde
Loading "priorities" plugin
Setting up Group Process
Setting up repositories
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
what is this? what ever i try to install i get this weird error..
I'm not sure if this is todo with the imminent release of 5.2, but I'm getting the following messages when running "yum update":
Code:
# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package yum.noarch 0:3.2.8-9.el5.centos.2.1 set to be updated
--> Running transaction check
--> Processing Dependency: yum-metadata-parser >= 1.1.0 for package: yum
--> Processing Dependency: yum-fastestmirror for package: yum
--> Processing Dependency: python-iniparse for package: yum
--> Processing Dependency: yum = 3.0.5-1.el5.centos.5 for package: yum-updatesd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package yum-fastestmirror.noarch 0:1.0.4-3.el5.centos.2 set to be updated
--> Running transaction check
--> Processing Dependency: yum-metadata-parser >= 1.1.0 for package: yum
--> Processing Dependency: python-iniparse for package: yum
--> Processing Dependency: yum = 3.0.5-1.el5.centos.5 for package: yum-updatesd
--> Finished Dependency Resolution
Error: Missing Dependency: yum-metadata-parser >= 1.1.0 is needed by package yum
Error: Missing Dependency: python-iniparse is needed by package yum
Error: Missing Dependency: yum = 3.0.5-1.el5.centos.5 is needed by package yum-updatesd
Anyone else having problems or know how to resolve this? yum is only using the standard CentOS-Base repositories. Searching for yum-metadata-parse gives:
Code:
#yum search yum-metadata-parser
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
yum-metadata-parser.i386 1.0-8.fc6 base
Matched from:
yum-metadata-parser
yum-metadata-parser.i386 1.0-8.fc6 installed
Matched from:
yum-metadata-parser
What is the difference between CentOs 5.0 and Centos 4.5? (Both contains Plesk)
Would CentOS 5 contain more updates and fixes? CentOS 4.5 be more stable?
Does it worth to upgrade cent os to latest version on server where is installed whm/cpanel?Could i request upgrade from cpanel support ?
View 3 Replies View Relatedwhich one do i have to choose?? and why?
my server is P4 3.6GHz HTT with 2GB RAM
I've made a how to, based on my personal knowledge about upgrading a CentOS 3, RedHat 9, or 8?, Fedora Core, and maybe others, to the new CentOS 4.5 OS. (or CentOS 4.x)
[url]
Please post, comments, questions, etc. here.
I've myself upgraded many servers this way, (even, tonight, I upgraded another, so I finally decided to do this with all my notes)
I get the following error, when I run 'yum update':
Quote:
[root@moloko ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www2.atomicorp.com
* base: mirrors.usc.edu
* updates: mirrors.serveraxis.net
* addons: styx.biochem.wfubmc.edu
* extras: mirrors.gigenet.com
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package file.i386 0:4.17-15.el5_3.1 set to be updated
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 145, in main
(result, resultmsgs) = base.buildTransaction()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps
for po, dep in self._checkFileRequires():
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires
if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename):
File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides
for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides
return self._computeAggregateDictResult("getProvides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles
self._sql_pkgKey2po(rep, cur, pkgs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po
pkg = self._packageByKey(repo, ob['pkgKey'])
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey
po = self.pc(repo, cur.fetchone())
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__
self._read_db_obj(db_obj)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj
setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object
I have two packages in Centos 5.3 that refuse to update via YUM. Coreutils and Findutils.
coreutils.i386 0:5.97-19.el5
findutils.i386 1:4.2.27-5.el5
The error code returned is:
error: unpacking of archive failed on file /usr/bin/find: cpio: rename
error: unpacking of archive failed on file /bin/ls: cpio: rename
I checked that the files are not immutable via chattr and that I am logged in as root. The directory is also writeable.
I can't remove them or change their permissions.
Any idea on how to force an upgrade? I checked with the support at Cpanel but they had no idea how to fix it and were less than helpful.
root@server[~]# yum install fileutils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* extras: mirror.fdcservers.net
* updates: mirror.fdcservers.net
* base: pubmirrors.reflected.net
* addons: chi-10g-1-mirror.fastsoft.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package coreutils.i386 0:5.97-19.el5 set to be updated
--> Processing Dependency: findutils for package: coreutils
--> Running transaction check
---> Package findutils.i386 1:4.2.27-5.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved ...
I am researching how to upgrade my server, I have already tested #yum update and seen all the patches and upgrades that could be made for my server. My question is that by upgrading all these (mysql, php, etc) do i need to backup all my mysql databases or should the upgrade not affect my databases?
View 1 Replies View RelatedI just did yum update and got this error:
There are unfinished transactions remaining. You mightconsider running yum-complete-transaction first to finish them.
how can i update my host files on my 2nd server
running as ns2 when i change something on the ns1 server?
using BIND DNS, centos, webmin.
Did anyone have this problem when upgrade to PHP 5.2.8?
This is the error that i got when i upgrade from PHP 5.2.6 to 5.2.8.
"Failed loading C:PHP5ioncubeioncube_loader_win_5.2.dll PHP Warning: PHP Startup: Unable to load dynamic library './ext/php_mssql.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './ext/php_msql.dll' - The specified module could not be found. in Unknown on line 0 "
I don't have Ioncube install and when i upgrade from PHP 5.2.5 to 5.2.6. I didn't have the above problem. Is Ioncube a included .dll in for the Windows package? How do i fix the above error? Is there any problem with PHP 5.2.8? Is it stable?
My server is Win2003 Standard/IIS6.
i installed APF ( firewall ) in my dediated server 2 years ago. i want to update my APF to new version,
Current Version : APF version 0.9.6
how to update to last version?
I tried to update packages by yum and got this message:
Error: djbdns-localcache conflicts with bind
I installed QmailToaster from this url:
[url]
and I replaced bind with djbdns-localcache*.rpm.
Seems it causes the problem.
What should I do now?
I'm trying to update my vps box using centos distro.
but i got this error.
Code:
---> Package libgcc.i386 0:3.4.6-8 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4
--> Processing Dependency: libcap.so.1 for package: nscd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libcap to pack into transaction set.
libcap-1.10-20.i386.rpm 100% |=========================| 4.4 kB 00:00
---> Package libcap.i386 0:1.10-20 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4
--> Finished Dependency Resolution
Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4
running centos 4.4.
Current, 2.6.3 came with my centos 4.4 cpanel server, I tried updating it to latest 2.6.9. However, when I type "rsync" it's pointing to 2.6.3 How can I remove the old version or reinstall over it?
View 8 Replies View RelatedRecently one customer asked if he could upload his MySql database to subfolder in his root and have MySql pick it up from there instead from default location.
This sounds crazy, but request is legitimate, and I was wondering what could be done to enable this user update MySql db this way, or what would be the closest alternative?
can i upgrade my kernel?
yum cant find any new update but my kernel version is 2.6.18-128.1.1.el5.028stab062.3PAE
Whenever I try to run yum update on Cent OS I get this error:
---> Package udev.i386 0:095-14.20.el5_3 set to be updated
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 145, in main
(result, resultmsgs) = base.buildTransaction()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps
for po, dep in self._checkFileRequires():
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires
if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename):
File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides
for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides
return self._computeAggregateDictResult("getProvides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides
return self._search("provides", name, flags, version)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search
for pkg in self.searchFiles(name, strict=True):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles
self._sql_pkgKey2po(rep, cur, pkgs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po
pkg = self._packageByKey(repo, ob['pkgKey'])
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey
po = self.pc(repo, cur.fetchone())
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__
self._read_db_obj(db_obj)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj
setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object
[root@liquidwind jeeves]#
i enable Mbstrings and Soap in easyapache in Cpanel.
after 24 hours i restart my server and some things get eror.
tmp folder become read only.
easy apache give below eror :
Code:
Died at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 40.
and all site have eror for tmp and mysql.
i change tmp folder but some eror don't solved.
Code:
Can't create/write to file '/tmp/#sql_1f42_0.MYI' (Errcode: 30) SQL=SELECT m.*, sum(case when p.published=1 then 1 else 0 end) as cnt FROM jos_menu AS m LEFT JOIN jos_menu AS p ON p.parent = m.id WHERE m.menutype='mainmenu' AND m.published='1' AND m.access <= '0' GROUP BY m.id ORDER BY m.parent, m.ordering
Warning: Invalid argument supplied for foreach() in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 127
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 150
this is mount command :
Code:
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
and this is fstabs :
Code:
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0
I have following error in kernel update with yum:
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package kernel conflicts with ecryptfs-utils < 44.
Complete!
So kernel not updated yet.
RHEL4 Box
No Control Panel
Current Version of OpenSSL = OpenSSL 0.9.7a Feb 19 2003
which is the most current version available via 'up2date'.
Need to update to 0.9.8.
I have download the source for 0.9.8h and have:
#./config --prefix=/usr/local --openssldir=/usr/local/openssl
#make
#make test
#make install
All commands ran without errors.
When I run:
# openssl version
OpenSSL 0.9.7a Feb 19 2003
# whereis openssl
openssl: /usr/bin/openssl /usr/local/bin/openssl /usr/include/openssl /usr/local/openssl /usr/share/man/man1/openssl.1ssl.gz
# rpm -qa | grep openssl
openssl-devel-0.9.7a-43.17.el4_6.1
openssl-0.9.7a-43.17.el4_6.1
xmlsec1-openssl-1.2.6-3
openssl096b-0.9.6b-22.46
How can I get the version updated?