Cannot connect to database without giving  @databasename in the sqlplus com

Hi i need to give sqlplus username/password@databasename to connect to the database
I have given the correct ORACLE_SID
if i give only sqlplus username/password then i recieve this error
ERROR:
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
IBM AIX RISC System/6000 Error: 13: Permission denied

Which means the shared memory segment representing the SGA has incorrect permissions.
You can verify those by running
ipcs -m
Likely you have a faulty install and didn't run root.sh and/or rootpre.sh.
You need to verify the correct permissions in the installation documentation.
The oracle executable and the tnslistener executable need to have the suid bit set.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Cannot connect to database via TNS

    Hello!
    I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
    1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
    2. I cannot start Database Home Page.
    How to avoid this problem? Any ideas?
    DETAILS:
    PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
    TNSNAMES.ORA file:
    ************* BEGIN TNSNAMES *****************************************
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ************* END OF TNSNAMES *****************************************
    Listener status:
    ************* BEGIN STATUS *****************************************
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    Start Date 22-MAR-2006 17:27:15
    Uptime 0 days 1 hr. 8 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\admin\listener.ora
    Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ************* END OF STATUS *****************************************
    NETSTAT -an results:
    ************* BEGIN NETSTAT *****************************************
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
    TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
    TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
    TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
    <truncated>
    ************* END OF NETSTAT *****************************************
    I found following error in SQLNET.LOG:
    *************** START LOG *********************************************
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 22-MAR-2006 17:28:59
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12570
    TNS-12570: TNS:packet reader failure
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    *************** END OF LOG *******************************************

    I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
    But cannot connect from another machines to my XE.

  • Cannot connect to database host...

    Hello,
    First, I want to say i'm not so good in english that's why i'm apologies for this.
    I try to use Sun VDI, my computer doesn't work in 64 bits that's why i use this product in 32 bits so I'm in a product envionnement.
    I've installed A mysql 5 server in a 2003 server with php, phpmyadmin to see database, and when i install sun vdi in my solaris 10 i have this error message:
    Cannot connect to database host...ip:3306 as user root, but when i've install mysql i've just root for user and i use this he work, and i use this login to connect in my database.
    What can Have to do now? My port is really 3306 when i install mysql and the two machine is in the same network, ping work.
    Thanks for yours futur answers
    Regards,

    Select (1/2/0) : 1
    Specify an administrator password: (in my case) xxxxxxxx _(password of my sql)_ <------ This is wrong. This can be any desired admin password.
    specify a cluster signature: 7727kkkk
    again
    you can only connect to a remote MYSQL database in a 32-bit system.
    Continue? (y/n): y
    Enter the dns name of mysql server: _192.168.168.165_ <------- This is wrong. This is an IP address and not a DNS name (not sure if that is really a problem here).
    Enter the port of mysql server : 3306
    enter mysql priviliged administrator: root_ <------- This is wrong. Here you have to enter the admin user name of your database.
    enter mysql priviliged administrator password: xxxxxxxx_ <------- Here you enter the corresponding password for this user (so password of your MySQL account)
    Do you want to use a Socket secure layer (ssl) connection for '192.168.168.165'? (yn): n
    Cannot connect to database host 192.168.168.x:3306 as user 'root'
    Please make you shure connexion daitels you have provided are correct
    Where i have wrong please?

  • Cannot connect to database via JApplet

    Hi,
    I created a Java application which allows me to send information to my mysql database using the jdbc connector via a JFrame. However when i modified the file to be a JApplet the info will not sent and i cannot connect to the database? Any particular reason for this?
    I need it to be a JApplet so i can add it to a browser window.
    Code: ( java )
    private void save ()
    Connection conn = null;
    try
    Statement stmt;
    String userName = "root";
    String password = "PASSWORD";
    String url = "jdbc:mysql://localhost:3306/DATABASE";
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();
    conn = DriverManager.getConnection (url, userName, password);
    System.out.println ("Database connection established");
    //Get a statement object
    stmt = conn.createStatement();
    stmt.executeUpdate( "INSERT INTO TABLE(Info i know to put in) VALUES('Values i know to put in')");
    catch (Exception e)
    System.err.println ("Cannot connect to database server");
    finally
    {if (conn != null)
              {try
                   {conn.close ();       
    System.out.println ("Database connection terminated");
    catch (Exception e) { /* ignore close errors*/  }
    As i said above it works fine as a JFrame but not as a JApplet. Any help would be great.
    Thanks G

    Your error reporting is not good. You print a meanningless message or ignore the error.
    Print the stacktrace in the catch blocks.
    Change the code, rerun it and then check the Java Console for output.
    I'm guessing you'll see a security error. Unsigned applets can't access the client file system. If so, sign the applet.

  • Cannot connect to database master at SQL server at SERVERNAME

    I have installed SQL 2008 R2 in a fresh win 2008 R2. I’m running the sharepoint configuration Wizard using the database server name with the correct domain
    credentials but I get the following error message. “Cannot connect to database master at SQL server at
    SERVERNAME. The database might not exist, or the current user does not have permission to connect”
    I‘m able to login to the new SQL server using the “SQL server management studio” with no problems. I used the sa account and a domain account.
    The sharepoint server is also a new installation. And both servers have the firewall disabled.
    Thanks in advance for your help.
    Simon

    Hi,
    What is your SharePoint server’s version?
    Please make sure you use the farm admin account to launch SharePoint configuration wizard. If not, please log in with this account, then check the effect.
    In addition, check if you create a named instance, such as, servername\sharepoint, however, you only specify the servername in the configuration wizard. If this is
    the case, change to servername\sharepoint, then check the effect.
    Thanks,
    Rock Wang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Regards, Rock Wang Microsoft Online Community Support

  • DBSPI-0001.3: DB-SPI cannot connect to database db_name, may be down

    Hi All,
    Please have a look to the alert. how can I find out, the timeout value used to generate this message?
    "DBSPI-0001.3: DB-SPI cannot connect to database db_name, may be down; Oracle error [ORA-01013:_user_requested_cancel_of_current_operation]."
    I am not able to find out the actual reasion for the same.
    Thanks
    Vimlendu

    This error, in an unknown product connected to an unknown version of the Oracle database needs to be addressed by whatever company or product forum relates to the product itself. "DBSPI-0001.3: DB-SPI is not the Oracle database.

  • Cannot connect oracle database follwing path.

    Hi experts,
                       cannot connect oracle database in the following path.
    i take sap daily backup on testing server ,but it is fail.
    F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11.
    but the following path not found in the testing server \sapcheck\cegvmynv.chk
    what can i do?
    Text removed by moderator
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000001074, user ID SUPERUSER)
    Execute logical command BRCONNECT On host mpq
    Parameters: -u / -jid CHECK20110923162500 -c -f check
    BR0801I BRCONNECT 7.00 (43)
    BR0477I Oracle pfile D:\oracle\MPQ\102\database\initMPQ.ora created from spfile D:\oracle\MPQ\102\database\spfileMPQ.ora
    BR0805I Start of BRCONNECT processing: cegvmynv.chk 2011-09-23 16.25.51
    BR0252E Function fopen() failed for 'F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11
    BR0253E errno 2: No such file or directory
    BR0121E Processing of log file F:\oracle\MPQ\sapcheck\cegvmynv.chk failed
    BR0806I End of BRCONNECT processing: cegvmynv.chk2011-09-23 16.25.54
    BR0280I BRCONNECT time stamp: 2011-09-23 16.25.54
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Regards,
    A.Sithanandan
    Edited by: Matt on Sep 26, 2011 9:07 AM

    Hi Justin,
    I can connect the database where I use Oracle ODBC Driver. But Microsoft driver didn't work.
    However, I can connect to the database where I use Microsoft driver in W2K (server side)...
    Catherine
    Can you connect with the Oracle driver? I'm not sure whether the Microsoft driver is supported against a 9i database (I have no information either way).
    Justin

  • Cannot connect to database after apex 2.2 install

    I have installed HTML DB from Companion CD Release 2 (10.2.0.1.0) and then i upgrade to apex 2.2. Apex is working, but when i try to connect my database form command line, i get:
    sqlplus SYS/pass as sysdbaSQL*Plus: Release 10.1.0.3.0 - Production on N Sie 13 20:23:41 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    sqplus works when i set ORACLE_SID, but my oracle applications don't.
    How repair that? My system is WinXP SP2.

    You need to check your listener and its settings.
    There are many ways to do this, so I recommend that you start by reading http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14196/network.htm#sthref173
    Apex can work without this, because it is entirely inside the database, and (I think) sqlplus can bypass the listener, particularly when connecting as sysdba.
    Without setting ORACLE_SID, you could have connected with
    sqlplus sys/pass@service as sysdba

  • AHHHHHHH! Install cannot connect to database error!

    I am so frustrated with application server install...
    I'm trying to install SOA 10.1.3, advanced option, 1st option
    When it asks me for database account, host name, service name I enter all this info in then i click next...
    This is when I get the Install cannot connect to database error even though db i'm trying to connect to is on same machine!
    Anyone have any ideas other than laying off medication as to what the problem is?

    Check the requirement chapter in the Installation Guide, but it should be similar to:
    127.0.0.1               localhost.localdomain localhost
    192.168.1.88            yourserver.domain.com yourserverHowever, I don't think you should change any of this after a installation...

  • HT1911 What is error 1202? I cannot connect to itunes store. i have downloaded the latest version of itunes and still not able to connect to itunes store.

    What is error 1202? I cannot connect to itunes store. i have downloaded the latest version of itunes and still not able to connect to itunes store.

    For those who are getting annoyed, I have found a solution which requires you to create a new apple ID without using credit card information:
    1. Go the app store
    2. Hit cancel when it asks you to sign in (If it doesn't, continue to step 3)
    3. Find a free app and try to download it
    4.  you to sign in option will appear, it will ask you if you want to use existing ID or create a new apple id. SELECT CREATE NEW APPLE ID
    5. Follow the steps and when it gets to the stage it asks you for your card info, Choose 'None'
    6. Full in all you name and address etc... And click next.
    7. Verify your email and Enjoy downloading FREE apps
    8. Say thank you as I do appreciate your love :)

  • TS1398 Hello, my iPod touch is not working right. It says its connected but if I select App Store, safari and other apps that require wifi pops out a note saying either"error loading" or "cannot connect to iTunes Store" and would exit the app automaticall

    Hello, my iPod touch is not working right. It says its connected but if I select App Store, safari and other apps that require wifi pops out a note saying either"error loading" or "cannot connect to iTunes Store" and would exit the app automatically. Please help.
    Thank You.

    See:
    Can't connect to the iTunes Store

  • Hello! i am using ipad n i am not able to connect to itunes store.Whenever i open itunes it syas "cannot connect to itunes store".i tried resetting the network settings n also tried changing the dat and time settings as mentioned but it still doesnt work!

    hello! i am using ipad n i am not able to connect to itunes store.Whenever i open itunes it syas "cannot connect to itunes store".i tried resetting the network settings n also tried changing the dat and time settings as mentioned but it still doesnt work!please help!

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Hi, My problem is I cannot connect my apple tv to my account, the user name and password are definitely correct, I upgraded the software, reset the device, but no chance. What should I do?

    Hi, My problem is I cannot connect my apple tv to my account, the user name and password are definitely correct, I upgraded the software, reset the device, but no chance. What should I do?

    Try this:
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings  (or for network connection issues 'reset network settings').
    (no media or data will be deleted from the device, this will only take a minute).

  • I-Tunes cannot connect to I-Pad but i forget the I-Pad password. What should i do?

    I-Tunes cannot connect to I-Pad but i forget the I-Pad password. What should i do?

    If you've forgotten the passcode then you may need to put the iPad into recovery mode before your computer's iTunes will recognise it : http://support.apple.com/kb/ht1808 - you should then be able to reset the iPad and restore/resync your content to it.
    If you do it via a computer that it' not normally synced to then (from here) :
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.

  • Etting support through this site is terrible. Having said that I have been trying to access the store in order to order PS CC and I have  been unable to connect. I have  an internet connection that works with everyone else. The URL comes up in the browse

    Getting support through this site is terrible. Having said that I have been trying to access the store in order to order PS CC and I have  been unable to connect. I have  an internet connection that works with everyone else. The URL comes up in the browse window and the address simply hangs. This has been going on for the past three hours.

    Please read, and reply back here with information https://forums.adobe.com/thread/1499014
    -and try some steps such as changing browsers and turning off your firewall for downloads
    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip/
    http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html
    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html
    Mac Spinning Wheel https://forums.adobe.com/message/5470608
    -Similar in Windows https://forums.adobe.com/message/5853430

Maybe you are looking for

  • Error messages

    i have just been given a new pc running windows XP and have just downloaded the newest version of itunes and as i try to sync my purchases from my ipod into itunes and error message comes up about three quarters of the way through saying... iTunes ha

  • Error while deploying model

    Dear friends, I am facing following error while deploying model. can anyone help me how to resolve this error? Error in compiling Flex application: java.lang.InternalError: An error occurred because there is no graphics environment available.  Please

  • When offline wikipedia will be available? I am waiting for it

    When offline wikipedia will be available? I am waiting for it. Its kind of cool to have the whole wikipedia offline on iPhone. Any body know the status? http://collison.ie/wikipedia-iphone/

  • Sending mails

    Hi To all,   i am implementing a application in Web dynpro using java, my application has two errors , which are : 1. when i am sending mails to the gmail or yahoo,instead of my local intranet excahnge server it is not sending the mails and giving er

  • VPD 9i

    Hi all! I have a problem and I would like to get your oppinion. The customer wants implement VPD. The database is Oracle 9i (9.2.0.7) on RHEL4AS Server. Initially, this step was included in Database Migration to Oracle 10g, but, the application runs