Common shm problems in ORA-00845Oacle11g

Source: Internet
Author: User
Error Reporting process srv-bioradb :~ Gt; sqlplusassysdbaSQL * Plus: Release11.2.0.3.0ProductiononThuJul2518: 27: 452013Co

Error Reporting process srv-bioradb :~ Gt; sqlplus/as sysdba SQL * Plus: Release 11.2.0.3.0 Production on Thu Jul 25 18:27:45 2013 Co

Error Reporting Process
Srv-bioradb: ~> Sqlplus/as sysdba

SQL * Plus: Release 11.2.0.3.0 Production on Thu Jul 25 18:27:45 2013

Copyright (c) 1982,201 1, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-00845: MEMORY_TARGET not supported on this system
SQL> show sga;
A ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

Google found that the shm settings were too small.

Reset shm
1) An error occurred while uninstalling shm.
Srv-bioradb: ~> Df-h
Df: '/root/. gvfs': Permission denied
Filesystem Size Used Avail Use % Mounted on
/Dev/mapper/system-lv_root 358G 8.5G 331G 3%/
Devtmpfs 127G 624 K 127G 1%/dev
Tmpfs 195G 932 K 195G 1%/dev/shm
/Dev/cciss/c0d0p1 1.6G 106 M 1.4G 8%/boot
/Dev/mapper/data-lv_data 2.3 T 1.8 T 364G 84%/oracle
/Dev/mapper/oraclevg-oraclelv01 2.9 T 201 M 2.7 T 1%/oracle1
Srv-bioradb: ~> More/etc/fstab
/Dev/system/lv_swap swap defaults 0 0
/Dev/system/lv_root/ext3 acl, user_xattr 1 1
// Dev/disk/by-id/cciss-3600508b1001c59983f902a5494c7d076-part1/boot
Ext3 acl, user_xattr 1 2
#/Dev/data/lv_data/oracle_bk ext3 acl, user_xattr 1 2
/Dev/data/lv_data/oracle ext3 defaults 0 0
Proc/proc defaults 0 0
Sysfs/sys sysfs noauto 0 0
Debugfs/sys/kernel/debug debugfs noauto 0 0
Usbfs/proc/bus/usb usbfs noauto 0 0
Devpts/dev/pts devpts mode = 0620, gid = 5 0 0


#/Dev/mapper/oraclevg-oraclelv01/oracle ext3 defaults 0 0
#/Dev/mapper/oraclevg-oraclelv02/oracle/oradata2 ext3 defaults 0 0
Srv-bioradb: ~>
Srv-bioradb: ~>
Srv-bioradb: ~> Umount/dev/shm
Umount:/dev/shm is not in the fstab (and you are not root)
Srv-bioradb: ~> Exit
Exit

Srv-bioradb :~ #
Srv-bioradb :~ # Umount/dev/shm
Umount:/dev/shm: device is busy.
(In some cases useful info about processes that use
The device is found by lsof (8) or fuser (1 ))

Srv-bioradb :~ #

2) check who is using shm and kill it.
Srv-bioradb :~ # Fuser-cu/dev/shm
/Dev/shm: 12555 m (root) 12614 m (root) 12622 m (root)
Srv-bioradb :~ # Ps-ef | grep 12555
Root 12555 1 0 Jul24? 00:00:05/usr/lib/gnome-settings-daemon
Root 43817 43683 0 00:00:00 pts/2 grep 12555
Srv-bioradb :~ # Ps-ef | grep 12614
Root 12614 12445 0 Jul24? 00:00:00 gnome-volume-control-applet
Root 43819 43683 0 00:00:00 pts/2 grep 12614
Srv-bioradb :~ # Ps-ef | grep 12622
Root 12622 1 0 Jul24? 00:00:00/usr/bin/pulseaudio -- start
Root 43821 43683 0 00:00:00 pts/2 grep 12622
Srv-bioradb :~ # Kill-9 12555
Srv-bioradb :~ # Kill-9 12614
Srv-bioradb :~ # Kill-9 12622
Here, the process you find must ps to see what processes are occupying the shm file system. If the application occupies the shm file system, exit the program. If it is a zombie process or an unimportant shell terminal, kill it directly.

3) uninstall shm again
Srv-bioradb :~ #
Srv-bioradb :~ # Umount/dev/shm
Srv-bioradb :~ #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.