Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
When i go to Home »Software »System Update and I am getting error, not updated kernel version.

HTML:
System update process has started.
---> Package kernel.x86_64 0:2.6.32-642.1.1.el6 will be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-573.12.1.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package       Arch          Version                      Repository       Size
================================================================================
Installing:
kernel        x86_64        2.6.32-642.1.1.el6           updates          32 M
Removing:
kernel        x86_64        2.6.32-573.12.1.el6          @updates        126 M

Transaction Summary
================================================================================
Install       1 Package(s)
Remove        1 Package(s)

Total download size: 32 M
Downloading Packages:
Running rpm_check_debug
rpmdb: mmap: Cannot allocate memory
error: db3 error(12) from dbenv->open: Cannot allocate memory
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 298, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 227, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 519, in doTransaction
    msgs = self._run_rpm_check_debug()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 5179, in _run_rpm_check_debug
    self.populateTs(test=1)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 241, in populateTs
    self.ts.addErase(txmbr.po.idx)
  File "/usr/lib64/python2.6/site-packages/rpm/transaction.py", line 71, in addErase
    hdrs = self.dbMatch(rpm.RPMDBI_PACKAGES, item)
_rpm.error: rpmdb open failed

-- error(16691) --
yum exited 256
-- /error(16691) --

System update process has finished.
 

twhiting9275

Well-Known Member
Sep 26, 2002
560
28
178
cPanel Access Level
Root Administrator
Twitter
Looks like you need more memory available to your server. Try restarting services, or even rebooting the server.
If that doesn't work, take a look at the output of free -m. That should tell you how much memory you have available and what needs to happen
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Yes, as mentioned, it looks like the system is out of memory. You may need to add more memory to the system, or if it's a VPS, you may need to consult with your VPS hosting provider to see if additional resources are required.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Do you notice any error messages in /usr/local/cpanel/logs/error_log when attempting to update the packages through Web Host Manager?

Thank you.