yum error on CentOS 4.1 under AMD 64
I this error message everytime I run System / Server Update via WHM :Using newyum support
rpmdb: realloc: Cannot allocate memory: 591716
error: db4 error(12) from dbcursor->c_get: Cannot allocate memory
Repository base already added, not adding again
Repository extras already added, not adding again
Setting up Install Process
Setting up Repos
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Traceback (most recent call last):
File "/usr/bin/yum", line 7, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 68, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 406, in doCommands
return self.installPkgs()
File "/usr/share/yum-cli/cli.py", line 828, in installPkgs
exactmatch, matched, unmatched = parsePackages(avail, arglist)
File "packages.py", line 68, in parsePackages
File "packages.py", line 56, in buildPkgRefDict
MemoryError
memory alloc (259644 bytes) returned NULL.
I even get this error when trying to update CPANEL. Seems that it's not a hardware issue but considerably yum configuration issue. I got this error since the time server was online for the first time.
I also have ask the DC to check my RAM and they said my RAM is fine. How can I solve this?