I am performing a custom installation of Oracle9i on Red Hat Linux 8.0. I have opted to create the database after installation. When I tried to create the database after installation, I got the following error:
ORA-27123: unable to attach to shared memory segment.Please tell me how I can overcome this problem.
If you read the Oracle 9i documentation, specifically "Oracle9i Installation Guide Release 2 for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris", you will find that you need to make some kernel changes in order for you to be able to start Oracle on Linux. These kernel changes let Oracle software create memory that can be shared by multiple processes. This is a requirement for Oracle to run on Unix and Linux. The above mentioned documentation will tell the exact changes you need to make. If you need a copy of this document, you can find it on Technet.
For More Information
- Dozens more answers to tough Oracle questions from Brian Peasland are available.
- The Best Oracle Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.