Add a new Linux user to log on to sqlplus

Source: Internet
Author: User

After installing Oracle, you want to use other Linux users to log on to sqlplus,
$ Usermod-g oinstall zhou
$ Cp/home/oracle/. bash_profile/home/zhou/. bash_profile

Failed to find!
The following problems occur:
SQL * Plus: Release 9.2.0.1.0-Production on Friday July 27 02:19:10 2007
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
ERROR:
A ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
Linux Error: 13: Permission denied

The above prompt shows that the operation is denied by the OS and shared memory segment cannot be accessed,

$ Cd $ ORACLE_HOME/bin/
$ Chmod + s oracle
This is not necessarily the best authorization method. You can grant the s permission to the group or other according to your environment.
So that other OS users can access the shared memory of oracle, and then let other OS users run sqlplus to log on to the database, this error will not be reported.


Non-oracle users cannot start ilasserver.
The reason is that other users have insufficient permissions to access files in the ilasserver directory;
Chmod-R 777 ilasserver is enough;

Related Article

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.