ORA-01034 for users other than the oracle

Hello.

I'm having a problem trying to connect via SQLPLUS with users that aren't, user oracle t. Instance of database is mounted, open and working fine, the listener is also running. I undersigned, m able to connect without any problem with the user oracle as follows:


[oracle@LX-TSC2 admin] $ sqlplus metro_ctl/metro_ctl

SQL * more: Release 10.2.0.4.0 - Production on sat Sep 26 08:30:44 2013

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to:

Oracle Database 10g Release 10.2.0.4.0 - Production

SQL >

But if I try with another user of linux, I get errors:


[metro_ctl@LX-TSC2 ~] $ sqlplus metro_ctl/metro_ctl

SQL * more: Release 10.2.0.4.0 - Production on sat Sep 26 08:31:58 2013

Copyright (c) 1982, 2007, 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

ORACLE_SID, ORACLE_HOME, path are already defined as user metro_ctl environment variable:

[metro_ctl@LX-TSC2 ~] $ echo $ORACLE_SID

TSC

[metro_ctl@LX-TSC2 ~] $ echo $ORACLE_HOME

/Oracle/product/10.2.0/Db_1

[metro_ctl@LX-TSC2 ~] $ echo $PATH

/home/metro_ctl/fuentes/java/classes:/home/metro_ctl/fuentes/java/lib/classes12.zip:/home/metro_ctl/fuentes/java/bcprov-jdk14-128.jar:/usr/java/j2sdk1.4.1_01:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/metro_ctl/bin:.:/ Oracle/product/10.2.0/Db_1:/Oracle/product/10.2.0/Db_1/bin:/Oracle/product/10.2.0/Db_1/lib:/Home/metro_ctl/pipe:/Home/metro_ctl/bin

I am able to connect seamlessly with the user metro_ctl if I pointed out that SID to the sqlplus:

[metro_ctl@LX-TSC2 ~] $ sqlplus metro_ctl/metro_ctl@TSC

SQL * more: Release 10.2.0.4.0 - Production on sat Sep 26 08:34:42 2013

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to:

Oracle Database 10g Release 10.2.0.4.0 - Production

SQL >

But I n, t want specified SID since he is already specified in the ORACLE_SID environment variable, I want to open a session by simply using "sqlplus metro_ctl/xxx".

In case of need, I paste the following text:

[oracle@LX-TSC2 admin] $ ps - ef | grep pmo

Oracle 24463 1 0 06:32?        00:00:00 ora_pmon_TSC

[oracle@LX-TSC2 admin] $ cat tnsnames.ora

tnsnames.ora # Network Configuration file: /oracle/product/10.2.0/db_1/network/admin/tnsnames.ora

# Generated by Oracle configuration tools.

TSC =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = LX-TSC2)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = TSC)

)

)

[oracle@LX-TSC2 admin] $ cat listener.ora

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SID_NAME = TSC)

(ORACLE_HOME = oracle/product/10.2.0/db_1)

(= Extproc PROGRAM)

)

)

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = LX-TSC2)(PORT = 1521))

(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

)

)

[metro_ctl@LX-TSC2 ~] $ tnsping TSC

AMT Ping utility for Linux: release 10.2.0.4.0 - Production on 26 October 2013 08:37:56

Copyright (c) 1997, 2007, Oracle.  All rights reserved.

Use settings files:

TNSNAMES adapter used to resolve the alias

Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = LX-TSC2)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = TSC)))

OK (0 msec)

Any help will be be appreciated.

Hello.

I finally solved my problem. I would like to thank to all the people who tried to help me with my problem. I am now able to use sqlplus without using the SID at the end:

metro_ctl@LX-TSC2$ sqlplus metro_ctl/metro_ctl

SQL * more: Release 10.2.0.4.0 - Production on sat Sep 26 13:41:51 2013

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to:

Oracle Database 10g Release 10.2.0.4.0 - Production

SQL > select * from cat where rownum<>

TABLE_NAME TABLE_TYPE

------------------------------ -----------

LIFE

I resolved to do the following steps:

1)Log on as root and change permission.
bash-3.00$ su Password:
# umask 022
# cd $ORACLE_HOME
# chmod 755 *
# cd $ORACLE_BASE/admin/$ORACLE_SID
# chmod 755 *
# cd $ORACLE_HOME/bin
# chmod 6751 oracle
# exit

Tags: Database

Similar Questions

  • Cannot access SQL more from other than the Oracle users

    Hello

    I installed Oracle 11 g R2 on Red Hat 6. My problem is that I can't access sqlplus from other than the oracle users.

    I put the PATH, the ORACLE_HOME and ORACLE_SID to the correct values.

    Session1

    Connect as: oracle

    [email protected] password:

    Last login: Sun Aug 24 01:24:46 192.168.202.1 2014

    [oracle@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Oracle/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [oracle@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [oracle@localhost ~] $ echo $ORACLE_SID

    ORCL

    [oracle@localhost ~] $ sqlplus

    SQL * more: Production release 11.2.0.1.0 Sun Aug 24 03:17:32 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name:

    Session2

    Connect as: nada

    [email protected] password:

    Last login: Sun Aug 24 02:31:49 192.168.202.1 2014

    [prithwish@localhost ~] $ export PATH=$PATH:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ export ORACLE_SID = orcl

    [prithwish@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ echo $ORACLE_SID

    ORCL

    [prithwish@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Prithwish/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ sqlplus

    -bash: sqlplus: command not found

    I guess that I could not access sqlplus as the Nada the user has no access to X11R6

    [prithwish@localhost ~] $ cd...

    [Host prithwish@localhost] $ ls - ltr

    Total 8

    drwx-. 30 oracle oinstall 4096 23 August 23:51 oracle

    drwx-. Nada Nada 4096 24 August to 02:33 27 Mathieu

    [Host prithwish@localhost] $

    My question is, although quite stupid, that double

    (1) I have to change the permissions of the directory oracle of 755 for any other user to access the sqlplus?

    (2) why is the user directory under the folder created with permissions of 700, even when the umask is set to 002? Change the permissions of the directory under/Home oracle will cause security problems?

    My apologies for being naïve. It's the first time I installed Oracle under UNIX

    Kind regards

    Prithwsh

    Actually, the default procedure is NOT to install oracle to X11R6, but in/opt/oracle. or maybe/usr/local/oracle.

    This is what you're going to be recommended in the installation documentation, and in doing so, don't forget to run rootpre.sh and root.sh, I never had security problems and could run Oracle from any account.

    Sybrand Bakker

    Senior Oracle DBA

  • What are some editing apps good free photo for Mac, other than the Photos of Apple?

    Hi everyone, I'm looking to see what free apps, you guys use for editing photos?  I have a photography class to come and play with options other than the use of pictures of the Apple app.  Nothing against the app, I just learn more.  Thank you.

    Strange question to the users of the forum pictures - of course, the answer is Photos for Mac

    Photos is optional and if you don't like it, then, Google is your friend

    LN

  • How can I remove one user other than the variable interface variable?

    Hello

    I'm currently treat a variable inside a Captivate 9 file corrupted. This variable is not used in the project. When I try to publish the project, I receive an error message indicating "Failure of compiling Swf". The variable name is "COUNT_INT_NEG". When I try to delete this unused variable, Captivate crashes every time. I can't even change the initial value without failure to Captivate.

    I'm looking for a method that is diverted to the removal of this variable.

    I found the answer to the problem of why some user variables caused my file to crash. It was not the name of the variable, it is the entrance to description. Soemhow, when the text for the variable description has been copied and pasted from a spreadhseet, some characters in the description were biased. Once I deleted the description, I was able to delete the variable.

    Problem solved.

    Thank you all!

  • How can I disable "new messages" notifications for folders "other than" the Inbox?

    I have set up several folders to intercept mail that isn't a priority by using 'filters '.

    Unfortunately, it seems the new sounds of notification of mail for all folders. He's wasting my time to stop what I'm doing in order to check mail in NON-priority records.

    Example: I was warned just for an e-mail to my "junk e-mail" folder

    If this can be done now, it must be. It should be an option to set prevent or notify for each individual file.

    Using the module FiltaQuilla, you get to choose the action didn't warn
    As you use the filter to move you can add this action

  • Web Sockets for applications other than the cat

    I run a small call center, where a small group of employees in a Web log authenticated ColdFusion.  The purpose of the website is to query an Access database every 30 seconds, and any consumer requesting information (who filed an advance of a web form which publishes customer information in the database) is then quickly contacted.  At this point, the process is carried out using an index page that refreshes (every 30 seconds by a meta refresh).  But I wonder if it is a scenario that would be better served using web sockets?

    I must say that web sockets is a new technology to myself.  And in my attempts to learn more through examples on the web, I find that the typical example consists of a web chat interface.  It is too intriguing for myself, but I'm more concerned with now a way to implement better efficiency to the index page.  I believe that 4 000 requests are made each day against the Access database.  It works, but there must be a better way?

    Using jquery, you can use the load() method which will load a page to an element.

    Simply have your page with an empty div that has the content you want to refresh. Create a function with a load method in to get the desired data. When you first visit the page, the call is made for the first time, fill in the data. A setInterval is the installation program that calls the function again every x seconds to update the div.

    Then you might have a simple page as follows:

    
    
        
    
    
        

    Solution much easier and faster, and then try to get something like websockets to work for it. WebSockets something to 'talk' to require that something in the back-end will need to send messages to the front. This example above may be just quick on the already existing content.

  • Windows xp for a Dell c400 install on all the computers other than the particular model?

    Windows xp for a Dell c400 install on all the computers other than the particular model?  For example, a Dell inspiron 2200 or 1100 or bridge or Compac.

    Hi sammytate,

    If you have a Windows XP installation disc, you can install it on all computers, regardless of the brand & model computers.

    However, the product key that comes with the only usable installation disc on a particular computer.

    Hope the helps of information.

  • can I install programs on one physical drive other than the drive that contains the operating system Vista

    My hard drive crashed and I didn't do a reinstall full Vista no problem here other than do not pay attention, I installed the operating system on one 80 GB disk other than the new 320 gig which was. After the new facility and all new updates, I have 25 GB of free space. I would like to know if I can install new programs on my drive d: and no filling of drive c: for the ability

    Hello

    Thanks for posting this question in the Microsoft Community Forums.

    I see you want to know if you can install programs on a drive with no operating system.

    I wish to inform you that this is possible with only specific programs, which give the user an option to choose where the program is installed.

    When a program is installed, it runs in program files, which lies in the operating system drive and can not be moved elsewhere.

    Another reference:

    Microsoft does not support changing the location of the program files

    http://support.Microsoft.com/kb/933700

    I hope that you found this information useful.

    Please get back to us if you have any other questions about windows.

  • Script to email if users ' other than ' connection

    Hey people,

    I'm looking for a script "alarm" which will send if users other than those in a file 'authorised_users.txt' of the newspaper on the VC 3 and/or the esx host 3. Authorized users can be created via VC permissions, but would advise us if role similar, although not authorized connection attempt.

    Any thoughts?

    Thanks in advance,

    Shane.

    Easy peasy

    Remove the domain from the local administrator of the VC server admins. Don't forget to add the VC admins for the grp of the local administrator.

    Then you know that they are not there. no = no need to worry.

    / Allan

    http://doitsmarter.blogspot.com/

  • How to better convert 01:56 and not lose quality other than the 4 K to 2 k

    If I take a 4 K produce and convert/low res to 2 k by 2 k, importing in a time line am I lose quality other than the 2 k low res? Is it bad for the film? Does make a difference if the position would give me a 2 k vs file to me? It's a feature and I need lower res that it creates a DCP. so I'm concerned about quality. And is it all still do not lose quality on import and export. It seems that I lose 15GB.

    YYou are reducing the resolution, but you're not really lower the quality. There should be no difference between you do it or someone else do it. The file will be much lower in 2K 4 K. It is to be expected.

  • I just bought a 6 d. is it possible to use the grid in other than the auto mode?

    I just buy a 6 d.  Is it possible to use the grid in other than the auto mode?  Also, is there a way to use the self-timer in other than the auto mode?

    Thank you very much. I look forward to your comments.

    I have to assume that your camera came with a manual you need to rely on. In my manual for my 7 d Mark 2 the index near the end of the manual lists the applicapable pages for whatever this is relating to the use or other people. Grid is under G, Self Timer is under S and called "self-timer."

    If you use a computer based pdf to see the info it will probably be several pages listed, but you can click on a page number to get to it rather than scroll to it.

  • When I right click Start button select Explorer, I can decide what folder is open other than the start menu?

    When I right click Start button select Explorer, I can decide what folder is open other than the start menu and dozens of file extensions?

    Can we just my computer with the list of drives?

    thanx

    Hello

    I suggest you to follow these steps and check if that helps:

    a. right click on the Windows Explorer icon

    b. in the menu that appears, click Properties.

    c. in the target box, add the command line switch ' / root ' to the "% SystemRoot%\Explorer.exe" command, using the startup location that you want.

    d. for example, if you want Explorer of Windows to start at the root of drive C, edit the command as follows:
    % SystemRoot%\explorer.exe/root, C:\

    It will be useful.

  • How can I set the format of Windows Media Center at 16:10 in other than the full screen?

    How can I set the format of Windows Media Center in Vista at 16:10 in other than the full screen? I use a screen as secondary display 1680x1050px.

    Hello, YPOC

    It is not possible to change the proportions for Media Center in windowed mode.

    The aspect ratio has been changed in Windows 7 and uses a format screen mode to windowed.

  • Will there be repercussions to Program Files on one partition other than the operating system of the installation?

    Will there be repercussions to Program Files on one partition other than the operating system of the installation?  Most if not all the software packages allow to customize the installation.  I had an experience with OFFICE 2013 and this allowed me to install on a separate partition.  After installation, I checked the menu START was 2013 OFFICE & I was able to launch PwrPt without complications.

    My motivation for doing this is that I have several versions of LabView which occupies the huge disk space.  So if I can separate the backup image of my OS program files is greatly reduced in size.  This allows me to record several images of my OS by dates without needlessly chewing my external hard drive.

    Anyone know this & if yes are there complications or questions?

    Appreciate any feedback

    I think I've found a more informative explanation via:

    http://www.SevenForums.com/general-discussion/221347-install-personal-programs-partition-separate-OS-partition.html

  • Route VPN site to site on one path other than the default gateway

    I want to route VPN site-to-site on one path other than the default gateway

    ASA 5510

    OS 8.0 8.3 soon

    1 (surf) adsl line interface default gateway

    line 1 interface SDSL (10 VPN site-to-site)

    1 LAN interface

    What's possible?

    Thank you

    Sorry for my English

    Here is the assumption that I will do:

    -Your IP SHDL is 200.1.1.1, and the next hop is 200.1.1.2

    -Your LAN-to-LAN ends on this interface (interface card crypto SHDL)

    -VPN peer 1 - 150.1.1.1 and LAN is 192.168.1.0/24

    -VPN peer 2 - 175.1.1.1 and LAN is 192.168.5.0/24

    This is the routing based on the assumption above:

    Route SHDL 150.1.1.1 255.255.255.255 200.1.1.2

    Route SHDL 175.1.1.1 255.255.255.255 200.1.1.2

    Route SHDL 192.168.1.0 255.255.255.0 200.1.1.2

    Route SHDL 192.168.5.0 255.255.255.0 200.1.1.2

    Hope that helps.

Maybe you are looking for