Sqlplus problem, can't connect

Ok, so I managed to finally install Oracle 11g R1 on Ubuntu 8.04 Linux_64.
I can successfully connect over the URL https://IP:1158/em
I unlocked the HR example account with it's tables and gave it a new password. When I type sqlplus from command line, it starts and then I uter HR for user and it's password and I get that error...
As far as I am aware Oracle is running, what could be wrong ?
I am running a dual-cpu AMD64 2.2 each with 4GB ram.
raymond@kodiak:~$ sqlplus
SQLPlus: Release 11.1.0.6.0 - Production on Sat Aug 30 10:45:57 2008*
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
Enter user-name: HR
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
Edited by: rompstar_206 on Aug 30, 2008 10:49 AM

Here is my /etc/init.d start up script
I get an error when I try to manually start the db ./oracledb start produces the following:
raymond@kodiak:/etc/init.d$ sudo ./oracledb start
Starting Oracle:
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 30-AUG-2008 11:54:22
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /home/raymond/app/raymond/product/11.1.0/db_2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.6.0 - Production
System parameter file is /home/raymond/app/raymond/product/11.1.0/db_2/network/admin/listener.ora
Log messages written to /home/raymond/app/raymond/product/11.1.0/db_2/log/diag/tnslsnr/kodiak/listener/alert/log.xml
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted
Listener failed to start. See the error message(s) above...
bash: /home/raymond/app/raymond/product/11.1.0/db_2/bin/dbstart: Permission denied
bash: /home/raymond/app/raymond/product/11.1.0/db_2/bin/emctl: Permission denied
OK
raymond@kodiak:/etc/init.d$
/etc/init.d/oracledb file contents:
#!/bin/bash
# /etc/init.d/oracledb
# Run-level Startup script for the Oracle Instance, Listener, and Web Interface
export ORACLE_HOME=/home/raymond/app/raymond/product/11.1.0/db_2
export PATH=$PATH:$ORACLE_HOME/bin
ORA_OWNR="oracle"
# if the executables do not exist -- display error
if [ ! -f $ORACLE_HOME/bin/dbstart -o ! -d $ORACLE_HOME ]
then
echo "Oracle startup: cannot start"
exit 1
fi
# depending on parameter -- startup, shutdown, restart
# of the instance and listener or usage display
case "$1" in
start)
# Oracle listener and instance startup
echo -n "Starting Oracle: "
su $ORA_OWNR -c "$ORACLE_HOME/bin/lsnrctl start"
su $ORA_OWNR -c $ORACLE_HOME/bin/dbstart
touch /var/lock/oracle
su $ORA_OWNR -c "$ORACLE_HOME/bin/emctl start dbconsole"
echo "OK"
stop)
# Oracle listener and instance shutdown
echo -n "Shutdown Oracle: "
su $ORA_OWNR -c "$ORACLE_HOME/bin/lsnrctl stop"
su $ORA_OWNR -c $ORACLE_HOME/bin/dbshut
rm -f /var/lock/oracle
su $ORA_OWNR -c "$ORACLE_HOME/bin/emctl stop dbconsole"
echo "OK"
reload|restart)
$0 stop
$0 start
*)

Similar Messages

  • HT1695 My iPad (4th gen) Wi-Fi Serial Number: DM*******184; Problem: can not connect Wi-Fi, just keep connecting...

    Dear All,
    My iPad (4th gen) Wi-Fi Serial Number: DM*******184; Problem: can not connect Wi-Fi, just keep connecting...
    Appreciate your advice.
    Thanks and regards,
    Linh Hua
    (Vietnam)
    <Edited By Host>

    Is this happening with one particular network or with all?  Make sure iOS is updated on the device.
    Try this:
    Reboot ipad by pressing and holding both the home and sleep/wake buttons at the same time until the apple logo appears on the screen, then let go. Then try to connect to network.
    Go to settings, Toggle airplane mode on/off. Make sure bluetooth is off. Turn on wif (airplane mode off). Try to connect.
    Reset Network Settings
    Go to settings/general/reset/reset network settings. Then try to connect to network.
    If its your home router, then reboot router by unplugging for 5-10min. (do this while you're resetting network settings).
    If problem persists, then check for firmware updates on your router.(you check router manufacturer support website for downloads and instructions).

  • New problem - can only connect w/o security

    have a wireless router and had no problem getting my macbook to connect. added a desktop and can only connect if i disable the password feature. my question is twofold:
    1. why will it not connect when I have to supply a password (the password is correct)
    2. if I cannot resolve issue 1, then can I diable SSID broadcast but still not require a password?

    Try to include a dollar sign before your password

  • ODT v11 Beta Installation Problem - Can't connect to Database

    Hi, I'm having difficulties setting up the ODT 11.1.0.5.10 beta. I'm fairly new to Oracle so I apologise if I've missed something obvious!
    First of all I tried installing ODT 10.2.0.2.21 and that worked fine (after I copies tnsnames into the appropriate folder).
    However, after installing v11 I can't connect to any of our databases anymore, either through VS2005 of PL/SQL developer, which we normally use. When I try to set up a data connection (in VS Server Explorer) using ODP.Net, I get 'ORA-12154: TNS: Could not resolve the connect identifier specified'.
    If I try to make a connection using the .Net Framework data Provider for Oracle, I get 'ORA-12541: TNS: no listener'.
    Testing the connection using Oracle Net Manager, however, succeeds without a problem.
    i put the tnsnames file in there, so that's not the problem. I'm not sure if the installation worked properly, as there are a lot less files & folders in the new Home added for the beta than in the one added for v10.2
    Any thoughts?
    Thanks,
    Grant

    Yeah, you could be onto something with the path, thanks - it seems like the installer for the v11 Beta misses \bin off the end of the new Oracle home path, which causes problems. Since fixing that, I can now connect with PL/SQL developer.
    however, I am still facing one problem which my colleague also seems to have. We have an 8.1 client installed, and when we try to set up a connection with VS2005, it uses the tnsnames from the 8.1 client.
    There is also a strange issue whereby if you go into the advanced settings, the database name is only set to the first couple of characters of the actual name, which is probably why it isn't working. However, if I set the correct name in the advanced settings, when you come out of that dialogue into the standard connection dialogue, the database has reverted back to the first one in the list, putting me in a most annoying vicious circle..
    Even this problem has now taken a back seat as I am now unable to load the connection screen at all' getting a 'Package Load failure' message (it seems to think the package is using a GUID which isn't on the system). This remains even if i reinstall the v11 Beta. I'm not sure how I got into this situation, but it seems that there is some DLL registered in VS2005 which is now incorrect and doesn't get reset on uninstall/installation.
    If anyone has any thoughts on my myriad problems please share them with me!
    Thanks,
    Grant

  • 9iAS Standard install problem (can't connect)

    I've attempted the Standard install several times, with different settings to try to get it to work. At the end of the install - when the install gui progress bar reads 100% - a sql*plus session is attempted via a DOS window, presumably to run some configuration scripts. This session has never made a valid connection, so the scripts never run. I can connect to my db via sql*plus, so I'm not sure where the problem is. Any pointers on this? Can I run these scripts outside of the installer? If so, what scripts?

    I am currently having the same problem with the 8i Install on a clean Solaris 8 Box. The problem is the tnsnames file is not being updated properly and cannot connect to the DB. Error ORA-03114. They have a "default" name for the DB. You can create the DB by running the createdb command with a .sql file of the DB files to be created(redo logs, db size etc.). Then run the netassist to create/update the tnsnames file with the connection you need.
    Gary is correct about the tnsnames file, but the installer still may not work.. It did not work for me.
    Good Luck.

  • Airport problems - can't connect to home wireless network

    I am stumped. i made the upgrade to quicktime ( it's not 7.4.5?) and suddenly airport didn't work. i input the wep password, and it returns, There was an error. When I try through Network Assist it says that the password is incorrect. Which of course, is not true. This same upgrade seems to have also created keychain issues.
    I can connect without problem when hardwired through ethernet, however, I need the wireless to work.
    Thanks, Thomas
    ps. I'm using the same Linksys BEFW 11S4 that I have for years...

    First of all, I want to say that i"m surprised in 24 hours or so, no one had anything to say on this subject. To help anyone else who has this problem, I will give the answer for I have solved the problem ( desperation has a way of forcing one to figure it out by the old trial and error method).
    What occurred was that some how, the keychain document for my computer ( the home document, not login nor system) was inadvertently taken out. It was in another folder, but, I didn't realize what it was since it did not have .keychain in the name. Just my computer name. I got a hunch and put it back into place. And, suddenly Safari asked for the keychain password ( which had not been working either) and i put in the computers password and it was accepted. Airport was still not connect, but, when I manually input the wep password, it accepted it and turned on. What puzzles me is why the fact that there was no keychain home document, interfered with the manual inputting of the correct WEP password in airport. That I don't understand. Nonetheless, I am thrilled to be done with this all. And to have learned yet another mac secret. ( what ever that is). So, thanks to myself and I hope that someone is helped by what I have written here.

  • Ipod Touch-WIFI Problems-Can't Connect More than One at Same time

    I'm not an Ipod Touch user yet, but three family members are. Unfortunately, only one will connect to the Internet on our home wifi at a time. Each one works just fine on its own and will make the connection, but if one is already turned on it blocks the others. I have a laptop and it connects fine regardless of the Ipod Touch issues. I'm using a Linksys router if that matters. Looked everywhere but can't find someone experiencing similar issues. Thanks for any ideas/thoughts/help!

    Take a look at your router's settings for DHCP. Normally there is range associated for the allocation of IP addresses for wireless devices. For example, you would set DHCP to on, IP address range from 192.168.1.10 to 192.168.1.128. The normal defaults on the router should have given you an adequate range of address but you may have inadvertently changed something.

  • Printing problem, can't connect to Brother MFC-7420 and HP DJ130

    I recently performed the 10.5.4 upgrade. I believe the problem I am having started then. When I try to print something to my Brother MFC-7420 I get a Printing Page 1, 24% completed message and it never finishes. I am also having issues with my Designjet 130. Both are connected with a USB cord and I have tried the usual powering off, connecting/disconnecting and removing/adding to printer control panel. My Epson printer connects and prints normal. Any suggestions?

    Similar problem being experienced here. My Brother MFC 7420 was working fine one day and is lost to my system the next. Any attempt to print just stalls with a message like "Printing 25%" or some such figure.
    I've tried uninstalling the driver, updating the latest driver from Brother, updating the Brother driver from Apple, switched USB cables, and finally talked to a helpful Brother phone support technician who got me to try to re-install from the Leopard DVD. When I open the Optional Installs and open Printer Drivers, the Brother drivers are greyed out. He said it was an Apple problem, and thats where I'm at right now.
    The G4 is one year out of its 3 year Protection Plan so I presume I'll get no help from Apple.Given the number of posts dealing with this problem, it does seem to be related to the 10.5.4 upgrade but I've not heard anything constructive from Apple on this issue. Anyone got any ideas?

  • [Problem] Can't Connect Lenovo A806 (Golden Warrior) to Eclipse

    Hello to everyone! Happy to be here! I encounter a problem with my  Lenovo A806 (Golden Warrior).  I  try to develop applications in this phone but i can notconnect my device in order for Eclipse to recognize it. I know I have to install a special driver in order to do it (and enable USB Debugging, which i did) but i couldnt find the right one.Isearch the web for other solutions but I only found solutions for other Lenovo series that seems I cant apply in this Lenovo series.  Can Anyone help me please?  Thank you in Advance!

    Hi
    ''I know I have to install a special driver in order to do it (and enable USB Debugging, which i did) but i couldnt find the right one.''
    ...You're using Windows, I suppose
    You need the same drivers(phone drivers and MTK ADB VCOM drivers) as for the PC Flash Tool.
    http://www.chinaphonearena.com/forum/Forum-MTK-General-Tools
    *When installing VCOM drivers on Windows 8 you need to disable driver Signature(drivers are generally unsigned).
    Hope this helps.

  • Update problem, can't connect to server

    I have an iMac27 w/Lion os, I keep on getting a window saying that there is a Software Update available for Firefox, I click on update, another window appears saying ¨Downloading Firefox¨ then under the download graphic it says ¨connecting to the update server¨ and nothing else happens even if I let it go overnight.

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    * Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • 9.2 problem can't connect to my 06 scion tc

    I have a 3rd gen ipod nano, and I updated to 9.2 and now when I try to connect to my 06 scion tc, it says connection error. My wife has not updated her ipod yet and it works just fine. Help.

    You can't choose; Jabber is moving to protocols that can all be tunneled over SIP or HTTP so no more IMAP. Double-check the setup guide to ensure your config matches all the steps for REST-based connectivity:
    http://www.cisco.com/en/US/docs/voice_ip_comm/jabber/Windows/9_2/JABW_BK_J6915A59_00_jabber-windows-server-setup_chapter_01.html#JABW_TK_S41DA666_00
    As for the URI substitution, try a .jpg file type. I can't find mention of .png within the doc. Also, the client must be in EDI or UDS mode for this to work. If you're using the old BDI integration you have to get this as a binary object from LDAP.
      EDI
    http://www.cisco.com/en/US/docs/voice_ip_comm/jabber/Windows/9_2/JABW_BK_C9731738_00_jabber-windows-install-config_chapter_0101.html#JABW_RF_C64A52C3_00
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Bluetooth problem, can't connect!

    cant connect my iPhone 5 to my Seat Mii, it has a integrated Navigon navi. It Can find my iphone, but when i write the password on the navi, it doesnt want me to write in on the iphone, and Them it shows connection fail. Everything works fine on my girlfriends iphone 4. Can anybody help me?

    Yes, I always disable the BT on the iPad when I'm not using it.

  • [Problem] Can't Connect Lenovo A806 with bluetooth

    My A806 will not Connect through Bluetooth. When I try to push the Bluetooth button, it will not turn dark blue. Is there anybody With the same expirience?

    Hi
    ''I know I have to install a special driver in order to do it (and enable USB Debugging, which i did) but i couldnt find the right one.''
    ...You're using Windows, I suppose
    You need the same drivers(phone drivers and MTK ADB VCOM drivers) as for the PC Flash Tool.
    http://www.chinaphonearena.com/forum/Forum-MTK-Gen​eral-Tools
    *When installing VCOM drivers on Windows 8 you need to disable driver Signature(drivers are generally unsigned).
    Hope this helps.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as ''ACCEPT AS SOLUTION"! 
    Unsolicited PM's will not be answered! ....Please post your question/s in the appropriate forum board.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Can't connect to my database problem with listener or tnsname help urgent

    Hi here are the problems i get
    sqlplus scott/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 13:51:24 2006
    Copyright (c) 1982, 2005, 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
    Here is my config :
    ID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = CHUCKY)
    (ORACLE_HOME = /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1)
    (SID_NAME = CHUCKY)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    # tnsnames.ora Network Configuration File: /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1//network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    CHUCKY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CHUCKY)
    (INSTANCE_NAME = CHUCKY)
    (GLOBAL_NAME = CHUCKY)
    (HS = OK)
    I can't figure out what's wrong I have created database with dbca script giving
    sid=chucky
    globaldb name = chucky.rss-global.com
    I don't know what to do
    lsnrctl services listener
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-MAR-2006 13:54:41
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.1)(PORT=1521)))
    Services Summary...
    Service "CHUCKY" has 1 instance(s).
    Instance "CHUCKY", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    Oracle is started and the listener too.What can i do?

    Ok I have changed environment rules
    oracle@debian:~$ env|grep ORACLE
    ORACLE_SID=CHUCKY
    ORACLE_BASE=/home/oracle
    ORACLE_HOME=/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/
    But now even if i connect
    oracle@debian:~$ sqlplus SCOTT/tiger@CHUCKY
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 15:30:37 2006
    Copyright (c) 1982, 2005, 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
    or
    oracle@debian:~$ sqlplus SYS/tiger@CHUCKY as SYSDBA
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 15:31:15 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    I am not sure but I think scott user is maybe locked by default.
    The problem to verify that is that I can't connect no more to oem, I only could the first time after creating CHUCKY database with emca .
    Connection refused, my computer doesn't make a listen on theses addresses, it only made a listen on it the first time I had created database.
    I don't know to reactivate it .
    http://localhost:5500/em
    http://localhost:1158/em
    iSQL*Plus HTTP port number =5560
    Enterprise Manager Console HTTP Port (test) = 1158
    Enterprise Manager Agent Port (test) = 3938
    Enterprise Manager Console HTTP Port (chucky) = 5500
    Enterprise Manager Agent Port (chucky) = 1830
    So I don't know exactly what the problem is oem is no more accessible so I can't change permission or reactivate scott user and it is said permissions denied when doing sqlplus as sysdba.

  • I can't connect Oracle 7.3.2.1.0 by sqlplus anymore!

    Hi!
    I have an Oracle 7.3.2 for Irix installed before.
    When I install Oracle 8.0.5 for Linux without Pro*C,
    I can connect Oracle 7.3.2 by "sqlplus scott/tiger@remote".
    But if I include Pro*C installed, I can't connect Oracle
    7.3.2 by the same command anymore.
    What should I do to solve this problem?
    I can compile Pro*C program but get the same response :
    ORA-01017: invalid username/password; logon denied
    password is right for sure, server just doesn't accept.
    null

    My problem is a little different from your. I have both
    Oracle 7.3.2 and 8.0.4 on our Sun workstation. I can connect
    to Oracle 8.0.4 using both sqlplus and embeded SQL. However,
    I could not connect to Oracle 7.3.2 by sqlplus or embeded SQL.
    Error Message: ORA-12545: Connect failed because target host
    or object does not exist
    It's is a bug or it's not support to connect to old Oracle
    Version??? If anyone have a solution please let me know.
    Larry Gump (guest) wrote:
    : Hi!
    : I have an Oracle 7.3.2 for Irix installed before.
    : When I install Oracle 8.0.5 for Linux without Pro*C,
    : I can connect Oracle 7.3.2 by "sqlplus scott/tiger@remote".
    : But if I include Pro*C installed, I can't connect Oracle
    : 7.3.2 by the same command anymore.
    : What should I do to solve this problem?
    : I can compile Pro*C program but get the same response :
    : ORA-01017: invalid username/password; logon denied
    : password is right for sure, server just doesn't accept.
    null

Maybe you are looking for

  • Refernce Nav igational Attribute is not getting the data in Infoprovider

    Hi, I am facing the issue with Reference Characteristic which is  a navigational attribute for which data  is not getting populated in the cube.Please find the below scenario. We have three characteristics 0RECV_WBS_E , 0WBS_ELEMT, ZPSBUSA .Char 0REC

  • Unable to see the defined idoc in imported object list in IR?

    Hi, I am trying to import idocs in IR . In the list that comes in IR i am not able to see the idocs which I want to import. Other z idocs are present. Thanks regards , fariha.

  • Why don't I have the 'Fine Line' iWeb template?

    I've seen it being used in most of the iWeb tutorials, and I would really like to use it for my site... But I don't have it. It would be great if someone could help, I've asked in a few other forums and no one could give me an answer. Thanks a lot(:

  • Was iad not working for months?

    For some reason,  for about 1-2 months   Iad  never worked on all my applications. As of this morning,  it started working.. Was there an issue on the Apple Side..  Cause I am really confused as of why it started working after 1-2 months. Thanks

  • Best free photoshop-like program?

    Hi, I need to produce slides for a slideshow that will fill the 1024x768 screen resolution of a set of older G4 Macs (eMac, iMac flat-panel). What is the best freeware application to do this? I need to be able to save the slides as .jpeg's. I've trie