Not able to stop database using srvctl

When i stop database using srvctl from node1.. "srvctl stop database -d mosa" it does not stop. I tried "srvctl stop database -d mosa -o immediate" but to no luck. Could anybody help me on this issue.
OS = HP-UX
Database = Oracle 9i
Instance1 = mosa1
Instance2 = mosa2
node1 = hp1
node2 = hp2
DB Size = 50GB
I have opened another session to check srvctl status
$srvctl status database -d mosa
Instance mosa1 is not running on node hp_data1
Instance mosa2 is running on node hp_data2
NOTE:- BEfore i stop database, i had stopped listener.
Regards,
Vikhar

Thank you , issue is solved.
After i give below given command, i checked the status by
$srvctl status database -d dbname
$Instance mosa1 is not running in node1
$Instance mosa1 is running in node2
It means PROBLEM with instance2
I have got following error message in alert_log file
attempting to shut down the database and the database hangs at $srvctl stop database -d dbname. The alert log contains the following message:
SHUTDOWN: Waiting for active calls to complete
There are no other error messages in the alert log.
+Solution Description:
=====================
Caveat: This note is intended for Unix platforms primarily, but we should
address this issue on Windows platforms as well. On Windows, stopping the
service is a valid workaround for these errors.
Locate and kill any client connections to the database at the Unix level, as
follows:
1. Locate any client connections to the database using ps, and grep for any
processes belonging to this .
Example: ps -ef | grep V733
2. Look for processes that include a 'Local=No' designation.
Example: osupport 6235 1 0 Nov 24 0:01 oracleV733 (LOCAL=NO)
3. Kill the Unix process(es) with the 'Local=No' designation.
Example: Kill -9 6235
Explanation:
============
The database is waiting for pmon to clean up processes, but pmon is unable to
clean them. The client connections to the server are causing the shutdown
immediate or normal to hang. Killing them allows pmon to clean up and release
the associated Oracle processes and resources+
What resources are we talking about?
1) Any non committed transactions must be rolled back
2) Any temporary space (sort segments / lobs / session temporary tables) must be freed
3) The session itself and any associated memory consumed by the session.
4) Internal locks / enqueues must be cleaned up
Often Oracle (SMON or PMON depending on whether Shared Server is used) will wait for the OS to terminate the process(es) associated with the session. I the OS never returns, or fails to terminate them, then the instance shutdown will hang with this message (Shutdown Waiting for Active Calls to Complete) Other means exist to achieve a quick shutdown.
Thank you so much for your efforts.
Edited by: VIKHARAHMED on Feb 27, 2011 10:19 PM
Edited by: VIKHARAHMED on Feb 27, 2011 10:25 PM

Similar Messages

  • Can not start the cluster database using srvctl

    Created a RAC database with CRS.
    When i start the cluster database with srvctl, it appears that the database is started (i made sure using srvctl status), but when i try to login to the database using sqlplus, i get a message 'connected to idle instance'. if i try to start the database from sqlplus, i get message 'requested INSTANCE_NUMBER is busy!.
    any thoughts why i can not connect to the database using sqlplus after i start the database using srvctl?
    I stop the database using srvctl and started using traditional sqlplus, it will start with out any problem.
    what am i missing?

    check ur oracle_sid,also try to connect as sqlplus sys/****@prod as sysdba
    may be this is due to improper setting of init.ora file.
    and post ur sqlplus output here.
    Thanks
    Kuljeet Pal Singh

  • Not able to stop ASM on 11g R2

    We are trying to bounce 11g R2 database and ASM with RAC, I was able to shutdown database using srvctl with out any issue,
    [oracle@dev1 ~]$ srvctl status database -d dev
    Instance dev1 is running on node dev1
    Instance dev2 is running on node dev2
    [oracle@dev1 ~]$ srvctl stop database -d dev
    however when i am trying to stop ASM i could not able to stop using srvctl
    [grid@dev1 ~]$ srvctl stop asm -n dev1 -i +ASM1
    -i option has been deprecated and will be ignored.
    PRCR-1014 : Failed to stop resource ora.asm
    PRCR-1065 : Failed to stop resource ora.asm
    CRS-2529: Unable to act on 'ora.asm' because that would require stopping or relocating 'ora.DEVDATA.dg', but the force option was not specified
    any comments.
    Thanks

    Also please provide the output of the following:
    srvctl status asmIn your 1st post you typed:
    [oracle@dev1 ~]$ srvctl status database -d dev
    Instance dev1 is running on node dev1
    Instance dev2 is running on node dev2
    [oracle@dev1 ~]$ srvctl stop database -d dev
    however when i am trying to stop ASM i could not able to stop using srvctl
    [grid@dev1 ~]$ srvctl stop asm -n dev1 -i +ASM1
    -i option has been deprecated and will be ignored.
    PRCR-1014 : Failed to stop resource ora.asm
    PRCR-1065 : Failed to stop resource ora.asm
    CRS-2529: Unable to act on 'ora.asm' because that would require stopping or relocating 'ora.DEVDATA.dg', but the force option was not specifiednotice this command "srvctl stop asm -n *dev1* -i +ASM1"
    you used dev1 after the "-n" option but it looks like dev1 is your instance name and not your node name.
    can you please try:
    srvctl stop asm -n <hostname>Thanks
    Edited by: user11150436 on Oct 25, 2010 12:09 PM
    Sorry I see dev1 is your nodename as well

  • Not able to run validation using validation.xml & validator-rules.xml

    Hello Friends,
    I am not able to run validation using validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    </form-beans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    </global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    </action>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    </plug-in>
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}" resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    </form>
    </formset>
    </form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    } else {
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come from a real data
    source such as a database. */
    private static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.

    Hello Friends,
    I am not able to run validation using
    validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error
    messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    ans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    tion>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in
    className="org.apache.struts.validator.ValidatorPlugI
    ">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    >
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}"
    resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    /form>
    </formset>
    form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping
    mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new
    EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria
    was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    else {
    results =
    service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access
    by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come
    from a real data
    source such as a database. */
    ivate static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if
    (employees.getName().toUpperCase().indexOf(name.toU
    pperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.
    Hi,
    Your error message are not displaying because u does not made Message-Resoucrce property file (Resource Bundle) when you make it .
    give it entry in
    struts-config.xml
    <message-resources parameter="ApplicationResources" />
    and
    define key and corresponding error message to key in this ApplicationResources i.e
    #Error Resources
    label.search.ssNum=Plz Enter correct ssNum

  • Not able to Stop Instance

    Hi,
         Not able to stop our Solution Manager system.
    Os- AIX 6.1 & database-Oracle 11
    Getting this error when trying to stop the instance:
    pm2adm> stopsap unxs0275
    Checking PM2 Database
    Database is running
    stopping the SAP instance DVEBMGS10
    Shutdown-Log is written to /support/home/pm2adm/stopsap_DVEBMGS10.log
    /usr/sap/PM2/DVEBMGS10/exe/sapcontrol -prot NI_HTTP -nr 10 -function Stop
    stop of Instance failed
    Error log:
    pm2adm> pg stopsap_DVEBMGS10.log
    Trace of system startup/check of SAP System PM2 on Fri 26 Aug 10:55:50 2011
    Called command: /usr/sap/PM2/SYS/exe/run/stopsap stop
    10:55:54
    stopping the SAP instance DVEBMGS10
    10:55:55
    Shutdown-Log is written to /support/home/pm2adm/stopsap_DVEBMGS10.log
    10:55:57
    /usr/sap/PM2/DVEBMGS10/exe/sapcontrol -prot NI_HTTP -nr 10 -function Stop
    26.08.2011 10:55:57
    Stop
    FAIL: HTTP error, HTTP/1.1 401 Unauthorized
    10:55:59
    stop of Instance failed
    Can you please suggest?

    The sapstartsrv is not allowing you to perform the Stop option for instance 10.
    The sapstartsrv should create a streamfile in the /tmp/.sapstream5<instance number>13. Check
    if this file has the right permition, something like that:
    srwx---       1 <sap>adm sapsys       .sapstream51013
    To solve the issue you could try:
    1. Try restart the sapstartsrv for the instance 10 and check if this will solve the problem.
    2. check if the s-bit permission in the program sapuxuserch (note 927637)
    3. In the last way you could disable the protect method for sapstartsrv with the instace profile parameter
    "service/protectedwebmethods = NONE" and restart the sapstartsrv. This certainly  will solve the problem, but I do not recommend it for security aspect.
    Before unprotect the web methods you should try to update the sapstartsrv.
    Edited by: Clebio Dossa on Aug 27, 2011 12:52 AM

  • Not able to stop batch session

    Hii,
    I have placed one session on error only mode.
    it has been running for last 5 hrs.I am not able to stop the session.
    Even after loging out of the system it still shows active session.when i tried to kill the session but it is not allowing me to kill the session.instead one more session is getting created.i am able to kill that session also.
    its very urgent pls help.
    Regards,
    Viren.

    see if this part of sap-help helps you!
    Deleting Sessions
    Use
    Normally, batch input sessions are deleted from the session list automatically when they are completed. However, sessions remain in the list if any of the following is true:
    They were generated with the KEEP option.
    They contain errors or were aborted with the /bend OK code. (Such a session is deleted when you finish processing it, unless it was generated with the KEEP option.)
    When you no longer need sessions that have been held in the list, you can explicitly delete them.
    Do not delete any sessions that contain unprocessed transactions. You must first correct and process such transactions or enter the data in the transactions into the R/3 System in some other way.
    Prerequisites
    Start the batch input management tool: Select System ® Service ® Batch input ® Sessions. Alternate: Enter transaction SM35. Both paths take you to the session overview of the batch input system.
    Procedure
    To delete a session from the session queue, mark the sessions to be deleted and choose Delete from the tool bar. The system asks you to confirm the deletion. It also asks you if the session log should be deleted together with the session.
    Message was edited by: Bapujee Naidu

  • Not able to select data using DB link.

    Hi ,
    I have created the database link in oracle 8.1.7.0.0 to oracle 8.1.7.4.0
    But I am not able to select data using DB link.
    The error is = ORA 12154 : TNS: could not resolve service name.
    I have created the DB link with the same command in oracle 9.2.0.4.0 to oracle 8.1.7.4.0. I can select data using this link.
    Please suggest me the solution.
    Thanks,
    Shailesh

    If the service name is different on the 8i machine than on the 9i machine, you'll need to modify the service name when creating the link from 8i. Can you see the DB link in ALL_DB_LINKS in the 8i database?

  • Not able to connect database while creating RPD

    hi,
    while creating New RPD i am not able to connect database its Throwing error like"The Connection has failed". even though i had given Data source name as TNS entry.
    Thanks,
    Lokesh

    Hi,
    If you use OBIEE 11g, the tnsname.ora is located in this folder : {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory (only the former is needed as that is the ORACLE_HOME).
    Do you use OBIEE 11g and have you update the tnsname.ora in this folder ?
    Hope it helps,
    Benoit

  • Not Able to send messages using NOKIA TEXT MESSAGE...

    Hi,
    I am not able to send messages using text message editor. I am having N70. I also have the latest PC suite and latest phone software. Whenever I try to send message, a message appears "Unable to send". It does not even give me the reason. I have connected my phone using data cable and I can transfer music, syncronize and do other stuffs.
    Can someone suggest what needs to be done to send messages using PC??
    Thanks in advance.
    Raghu.

    Hello,
    i am having the same Problem.
    I cannot send any sms via my phone (N70) nor via the latest Pc Suite. It also just says "Unable to send" with no reason.
    I am on:
    V5.0705.3.0.1
    30-01-07
    PM-84
    Model: N70-1
    Code: 0530495
    Any help is much appreciated. :-)
    Kind regards,
    Thorsten
    Message Edited by deeplook on 01-Jul-2008 08:59 PM

  • Workflow - Not able to stop at the breakpoint, how to debug?

    Hi,
    I am working on solving a workflow problem, but i am not able to stop at the breakpoint put on the function module called through the program.
    I am sure that the function module is called through the workflow. please tell me why is it not stopping.
    Pls help.
    Regards,
    Chamandeep

    maybe because it is a background method, its then executed by wf-batch.
    the easiest way to test/debug a method is doing it with tx swo1, fill in the Business object and test the method with the corresponding input parameters
    /Peter

  • Not able to stop Data supplier bridge

    Hi,
    After upgrading to SP 15 of XI3.0, we are not able to stop Data
    Supplier Bridge in http://Host:50000/sld --> Administration --> Data
    Supplier Bridge.
    We have upgraded all components to SP15 and there is no problem with
    that. Please help me with this.
    Regards

    Hi Kiran,
    Have a look at the following thread.
    Data Supplier Bridge won't start in URL
    Rgds,
    Sam Raju

  • I am not able to create database manually.unexpected error incountered why?

    I am not able to create database manually.unexpected error incountered why?
    Same step is worked in another system
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 97589952 bytes
    Fixed Size 453312 bytes
    Variable Size 46137344 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 667648 bytes
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE DATABASE icici
    2 LOGFILE GROUP 1 ('F:\oracle\oradata\icici\logfile\redo01.log') SIZE 10M,
    3 GROUP 2 ('F:\oracle\oradata\icici\logfile\redo02.log') SIZE 10M,
    4 GROUP 3 ('F:\oracle\oradata\icici\logfile\redo03.log') SIZE 10M
    5 MAXLOGFILES 5
    6 MAXLOGMEMBERS 5
    7 MAXLOGHISTORY 1
    8 MAXDATAFILES 10
    9 MAXINSTANCES 1
    10 CHARACTER SET US7ASCII
    11 NATIONAL CHARACTER SET AL16UTF16
    12 DATAFILE 'F:\oracle\oradata\icici\datafile\system01.dbf' SIZE 100M REUSE
    EXTENT MANAGEMENT LOCAL
    13 DEFAULT TEMPORARY TABLESPACE tempts1 TEMPFILE 'F:\oracle\oradata\icici\d
    atafile\temp01.dbf' SIZE 100M REUSE
    14 UNDO TABLESPACE undotbs DATAFILE 'F:\oracle\oradata\icici\datafile\undot
    bs01.dbf'SIZE 100M REUSE
    15* AUTOEXTEND ON NEXT 5120K MAXSIZE 300M
    SQL> /
    CREATE DATABASE icici
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>

    Check the alert log. Paste the end of the file over here.
    Yoann.

  • HT1349 I own an Ipad 1. Recently, my imessage does not work as i am not able to log in using my Apple ID and password which before this I had been using to log in. How do i resolve this? Tq

    Own an Ipad1. Recently, my imessage does not work and i am not able to log in using my existing name and passwrd. However, this existing username and password can be used to login into my itunes etc.
    How do I resolve this? Tq

    If the problem persists, you'll probably have to make another apple id, it wont take off any games or music or apps or anything you've bought it will all stay there, i have two apple id's and i don't have a problem with anything.

  • Not able to sign in using my apple id

    not able to sign in using my apple id

    for me same problem. could any one give solution for this problem

  • Not able to connect database from another os user using externally?

    Hi,
    I want to connect database from another os user. i am able to connect database from oracle externally. but not able to connect different OS user.
    As ORACLE User:
    [oracle@test1 admin]$ sqlplus /
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:41:57 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    Non ORACLE user:
    [sample@test1 ~]$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/
    [sample@test1 ~]$ export ORACLE_SID=rman
    [sample@test1 ~]$ export PATH=$ORACLE_HOME/bin:$PATH
    [sample@test1 ~]$ sqlplus /
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:37:42 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    Thanks

    You didn't install Oracle correctly, especially you didn't run the root.sh and rootpre.sh scripts.
    If you would have read the error message at all, and researched it, you would have known this.
    Regrettably however you decided to ignore Forums Etiquette and to abuse this forum with Yet Another Doc Question.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for