Issue of Sqlplus

Hi,
Before this, everything is fine for my Oracle express 11g inside my OL5.8.
Now I get this
oracle@localhost:~$ sqlplus /nolog
bash: sqlplus: command not found
using oracle user in my OL 5.8. why?

Thanks. See this
oracle@localhost:~$ env | sort
COLORTERM=gnome-terminal
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-1EhQ6dGR9B,guid=49edf9c60b91703ddb5827005164dd4b
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-L8DvEv/socket
GTK_IM_MODULE=scim-bridge
GTK_RC_FILES=/etc/gtk/gtkrc:/u01/app/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/u01/app/oracle
HOSTNAME=localhost.localdomain
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=
MAIL=/var/spool/mail/oracle
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
PS1=\[\033]0;\u@\h:\w\007\]\u@\h:\w\$
PWD=/u01/app/oracle
QT_IM_MODULE=scim
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/3295
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=3349
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-xVXCID3295/agent.3295
TERM=xterm
USERNAME=oracle
USER=oracle
_=/usr/bin/env
WINDOWID=27263058
XAUTHORITY=/tmp/.gdmW54NVW
XMODIFIERS=@im=SCIM

Similar Messages

  • Timing Issue - Running sqlplus for each script in a list of scripts

    I have a large number of folders with sql scripts that I need to run from windows with sqlplus. The problem is the scripts must be run in order. When I loop through the scripts and run sqlplus for each one, they sometimes fail because things in the prior script are not yet available.
    So I added a jdbc client that checks a table for when the data is available from the prior sqlplus script. It says yes the data is visible in the table so the script can launch the next SQLPlus process but it fails unless I put a 2 second sleep in.
    Because sqlplus doesn't have a "CD" command and there are limitations with SQL_PATH and relative imported child scripts, I'm afraid I'm stuck with running multiple sqlplus sessions.

    I should clarify that I'm looking for a way to run scripts in sequence with sqlplus. There is an issue where one sqlplus session commits and exits and the next starts but the commit is not yet available to the new sqlplus session. To me this is a bug with sqlplus but maybe someone can explain how this is a "feature".

  • Database connection issue using SQLPLUS

    I have a WIN7 Host named DELL-i5 and a WINXP VM named VMXP on VMWARE.
    Now, the host has a Oracle 11g database orders, SID - orders, username - SYSTEM, password - abc123. I have set the listener to be on port 1521 using NETCA.
    The VM has Oracle client 11g.
    The VM is connected as Bridged and host and VM can ping each other.
    Now, when I choose to connect to the database using this command from VM :
    sqlplus SYSTEM/abc123@//DELL-i5:1521/orders
    I get ORA-12170: TNSConenct timeout occurred
    I have tried the following on th Host's SQLPLUS and only this worked
    SYSTEM/abc123@orders
    What do I do ? Thanks
    Edited by: ztech123 on 28-Oct-2010 18:38

    ztech123 wrote:
    I get ORA-12170: TNSConenct timeout occurredFull details of the error from the oerr comand:
    <i>12170, 00000, "TNS:Connect timeout occurred"
    // *Cause:  The server shut down because connection establishment or
    // communication with a client failed to complete within the allotted time
    // interval. This may be a result of network or system delays; or this may
    // indicate that a malicious client is trying to cause a Denial of Service
    // attack on the server.
    // *Action: If the error occurred because of a slow network or system,
    // reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT,
    // SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values.
    // If a malicious client is suspected, use the address in sqlnet.log to
    // identify the source and restrict access. Note that logged addresses may
    // not be reliable as they can be forged (e.g. in TCP/IP).</i>
    What do I do ? ThanksYou have tested connectivity via ICMP - so there is a network route between the sender and receiver. However a timeout results when using 1521/tcp for access via SQL*Plus.
    First test connectivity for that port using telnet. On VMXP try the following.
    telnet dell-i5 1521
    Do you get a connection? If not, then it means that despite ICMP reporting connectivity, there is none on 1521/tcp. In that case the culprit could be a firewall.
    If you do get a connection, then try sqlplus next, but without a tnsnames.ora and sqlnet.ora file - e.g.
    sqlnet syste/abc123@"(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=dell-i5)(PORT=1521)) (CONNECT_DATA= (SID=orders) (SERVER=dedicated)))"
    The idea is to keep the number of configuration files and details to a minimum for testing purposes and to isolate the problem.
    Also check basic stuff like netmasks of both the guest and host operating systems, routing tables and so on.

  • Spooling issues in SQLPlus

    Hi all,
    I have a PL/SQL script which I run, which spits out information using the dbms_output.put_line function. I also use some substitution parameters like w2 number:=&wq;
    Now when I run my proc in SQLplus I get a prompt to enter values.
    for ex: Enter value for wq: 100000
    Now when I spool my contents to a file, I get the output from the dbms_output.put_line as well as the above prompt information.
    I am looking to spool only the information I print using dbms_output.put_line and not the other pieces of information like :
    Enter value for wq: 100000
    old 3: w2 number:=&wq;
    new 3: w2 number:=100000;
    How do I execute that? Are there are any SQLPlus options to disable message spooling.
    thx.

    Use the accept command of SQL*Plus to accept the values before you do a spool command so as to accept the values and avoid being prompted for values after you do spool command.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12005.htm#sthref1777
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch5.htm#CACHDBHG

  • Weird sqlplus issue.

    Hello,
    Recently I came across a weird issues using sqlplus, SELECT statement when typed in uppercase using MAX() function says "table or view does not exists"
    e.g.
    SELECT MAX(COLUMN_NAME) FROM TABLE_NAME;
    When the above query typed with one lowercase character anywhere in the query then it works.
    Basically, Oracle thinks it as a new query then executes it, but not when typed as above.
    I'm using Oracle 11g Client and Oracle 10.2.0.5.0 as RDBMS server.
    Any idea, what could be an issue?
    Thx
    Kam

    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 1 11:02:24 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL> select * from dual;
    D
    X
    SQL> select * from weird_table;
    select * from weird_table
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> desc weird_table;
    ERROR:
    ORA-04043: object weird_table does not exist
    SQL> desc dual;
    Name                                      Null?    Type
    DUMMY                                              VARCHAR2(1)
    SQL> Regards
    Raj

  • Strange error in sqlplus

    Greeting gurus
    it is some setup issue with sqlplus ?
    I can run this sql using TOAD but when this sql is issued using sqlplus in the unix shell it gives the error below
    We do . oraenv and gives the instance name but it still gives us this error
    any help will really appreciated.
    SQL> l
      1* select count(*) from ahha_std.all_tables_tbl
    SQL> /
    select count(*) from ahha_std.all_tables_tbl
    ERROR at line 1:
    ORA-01115: IO error reading block from file  (block # )
    ORA-01110: data file 2: '+DATA1/ahhadb/datafile/sysaux.425.810935331'
    ORA-15081: failed to submit an I/O operation to a disk

    Why post this to the SQL and PL/SQL language forum? I see TOAD mentioned, SQL*Plus mentioned, and an Oracle server error posted.
    Where is the SQL or PL/SQL language problem?

  • SQLPlus 8.1.6.0 and Win2k

    Has anyone had issues using sqlplus and win2k. Since I have been upgraded I have lost some features:
    1. The current working directory is lost. We used to be able to "set" the directory by doing a file->save as and sqlplus would remember that directory. This was used when running scripts.
    2. The cancel query dialog box appears to be gone in this version of sql*plus.
    Any ideas?
    Thanks,
    Tom
    null

    Hi
    Im also fasing the same problem. Could you please send me the solution if you imported successfully.
    my email id is [email protected]
    Thanks and regards
    Chandra

  • Tnsping returns ok but sqlplus can not connect

    Hello List,
    this strange behavior is happening on a Windows Server 2003 Standard Edition running an Oracle 9iR2 (9.2.0.5) version. The name of the instance (quality9) is also the name of the tns string. When it is issued a tnsping quality9, it returns ok:
    C:\Documents and Settings\Administrador.BTRS0041>tnsping quality9
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.5.0 - Production on 28-AGO-20
    06 14:23:43
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Arquivos de parÔmetros usados:
    Usado o adaptador TNSNAMES para resolver o apelido
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = btrs0041)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = QUALITY9)))
    OK (20 ms)
    Now, when it is issued an sqlplus user/pass@quality9, it returns an error:
    C:\Documents and Settings\Administrador.BTRS0041>sqlplus system/XXXXXXX@quality9
    SQL*Plus: Release 9.2.0.5.0 - Production on Seg Ago 28 14:34:48 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener nÒo p¶de resolver o SERVICE NAME fornecido no descritor
    de conexÒo
    Informe o nome do usußrio:
    For other client applications as dba studio, the same happens. The file sqlnet.ora was moved to sqlnet.ora.bk in order not to be used but it did not help. Also commenting its unique parameter, SQLNET.AUTHENTICATION_SERVICES = (NTS), did not help. Tried, as a third workaround, create a regedit value USE_SHARED_SOCKETS=TRUE but again the same.
    Can you help me? Thanks in advance. Mauricio.

    Tnsping does not tell you if the service name given in the tns entry in the tnsnames.ora file is correct or not. Make sure that the entry in tnsnames.ora file contains the correct value for service name.
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    Cause: The service name specified in the connect descriptor is incorrect, or the database service is not registered with the listener.
    Action: Perform these steps:
    Check to make sure the SERVICE_NAME specified in the connect descriptor is correct.
    Ensure that the database instance is running. If the instance not running, start it so that it can register with the listener. You can use the Listener Control utility SERVICES command to see what services are currently registered with the listener.

  • Library issues after applying PSU 10.2.0.5

    Hi everyone,
    I have applied PSU 10.2.0.5 in the oracle 10.2.0.4 home.
    Following is the output of opatch
    [oracle@activision bin]$ opatch lsinventory
    Invoking OPatch 10.2.0.4.9
    Oracle Interim Patch Installer version 10.2.0.4.9
    Copyright (c) 2009, Oracle Corporation. All rights reserved.
    Oracle Home : /u02
    Central Inventory : /etc/oraInventory
    from : /etc/oraInst.loc
    OPatch version : 10.2.0.4.9
    OUI version : 10.2.0.5.0
    OUI location : /u02/oui
    Log file location : /u02/cfgtoollogs/opatch/opatch2012-05-21_11-49-38AM.log
    Patch history file: /u02/cfgtoollogs/opatch/opatch_history.txt
    Lsinventory Output file location : /u02/cfgtoollogs/opatch/lsinv/lsinventory2012-05-21_11-49-38AM.txt
    Installed Top-level Products (3):
    Oracle Database 10g 10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
    Oracle Database 10g Release 2 Patch Set 4                           10.2.0.5.0a
    There are 3 products installed in this Oracle Home.
    There are no Inteim patches installed in this Oracle Home.
    whenever i issue sqlplus nothing is happing
    i tried
    [oracle@activision bin]$ sqlplus
    [oracle@activision bin]$ which sqlplus
    /u02/bin/sqlplus
    *[oracle@activision bin]$ ldd $(which sqlplus)*
    lddlibc4: cannot read header from `/u02/bin/sqlplus'
    Please give me the info to solve the problem

    Pl post OS details. Can you post the last 50 lines from the 10.2.0.5 patch log (to ensure that the patch applied successfully) ? Pl also post the output of command "env | sort" just before you issue the sqlplus command
    HTH
    Srini

  • Invoice distributions No data return in SQLPLUS

    Hi,
    Following is my issue in SQLPLUS.
    I have query for one of the Invoice from ap_invoices where invoice_id = 471722. System returns rows.
    From ap_invoice_lines where invoice_id = 471722, System return rows.
    But, ap_invoice_distributions where invoice_id = 471722. No ROWS RETURN.
    Whereas , if we query the Invoice in the AP Invoice workbench there are distributions.
    Can you please help in this regard.
    Regards/Prasanth

    ap_invoice_distributions is a view based on ap_invoice_distributions_all.
    Do a select from ap_invoice_distributions_all where invoice_id = 471722.
    Alternatively, you can setup your context by executing the following before running your queries.
    begin
    dbms_application_info.set_client_info('&org_id');
    end;
    The org_id in the above script is the org_id from the invoice tables. It is the operating unit id.
    Hope this helps,
    Sandeep Gandhi

  • ORA-12154: TNS:could not resolve the connect identifier specified (sqlplus)

    Hi All,
    I don't know if this has ever been posted, but since I've spent a week figuring it out (no joke, a week), I thought I would post it so that no one else has to waste this much time.
    "ORA-12154: TNS:could not resolve the connect identifier specified" from what I've seen on this site is a major problem for a lot of people, but I did not find a reference to my specfic problem.
    FYI--
    My Database is called "ordidm"
    userID: SYSMAN
    password: p@ssw0rd
    My specific issue was the following:
    I can....
    - Connect to the database via the client "admin assstant" GUI in Windows while supplying the userID and password using the "Database Authentication".
    - Connect via sqlplus as "/as sysdba"
    - "tnsping oraidm" passes works just fine.
    I CANNOT....
    - connect to oraidm at the dos prompt by using sqlplus, regardless of whether or not I supply all the user authentiocation information and db name on one line, or...if I just type "sqlplus" at the command prompt and then enter the userID and password when prompted. Every time I get the "ORA-12154: TNS:could not resolve the connect identifier specified" error message.
    Ready for this?? (some may have guessed this already) The problem is the "@" in my password. After looking closely at the trace logs, I noticed that one of the entries was...
    [09-MAR-2009 08:23:12:921] nnftrne: Original name: ssw0rd
    Remember that the format for connecting on one line at the dos prompt is
    C:/> sqlplus SYSMAN/p@ssw0rd oraidm
    or you can do the following...
    C:\Documents and Settings\Administrator.WIN2K3>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 9 09:08:50 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    (BTW-I just started using the "scott" ID because from what I understand, changing the SYSMAN userID password is kind of a pain. Figured just using "scott" ID would be easier to test)
    So of course what it's doing is counting everything after the first "@" as the database name...which of course it can't find in the tnsnames.ora file. Also, contrary to some other posts I found here and there, enclosing the userID and/or passowrd in quotes does not do any good. Apparently, even when using the 2nd method...in the background, the end result is it must pass the whole thing as one long string much like in the 1st method (as you will get the same truncated "Original Name" of "ssw0rd" in the log)
    So...the question is, why does Oracle even allow "@" in the password if it will become an issue with sqlplus??? Also, if you can't (or shouldn't) use it, why isn't it documented somewhere? At the least I would expect the installer to at least warn you ahead of time that an "@" is not suggested. I don't remember it being there. Maybe it's just me and I'm just missing this info somewhere
    I sincerely hope this saves someone else a week of their life. ;-)
    -Eric

    user8100001 wrote:
    Hi All,
    I don't know if this has ever been posted, but since I've spent a week figuring it out (no joke, a week), I thought I would post it so that no one else has to waste this much time.
    "ORA-12154: TNS:could not resolve the connect identifier specified" from what I've seen on this site is a major problem for a lot of people, but I did not find a reference to my specfic problem.
    FYI--
    My Database is called "ordidm"
    userID: SYSMAN
    password: p@ssw0rdThere are restrictions from oracle side how should password look:
    Passwords can be from 1 to 30 characters.
    The first character in an Oracle password must be a letter.
    Only letters, numbers, and the symbols “#”, “_” and “$” are acceptable in a password.
    And password must not be a reserved word (look into v$reserved_words).
    And as You can see sysman password containt "@" - this is not allowed.
    >
    My specific issue was the following:
    I can....
    - Connect to the database via the client "admin assstant" GUI in Windows while supplying the userID and password using the "Database Authentication".
    - Connect via sqlplus as "/as sysdba"
    - "tnsping oraidm" passes works just fine.
    I CANNOT....
    - connect to oraidm at the dos prompt by using sqlplus, regardless of whether or not I supply all the user authentiocation information and db name on one line, or...if I just type "sqlplus" at the command prompt and then enter the userID and password when prompted. Every time I get the "ORA-12154: TNS:could not resolve the connect identifier specified" error message.
    Ready for this?? (some may have guessed this already) The problem is the "@" in my password. After looking closely at the trace logs, I noticed that one of the entries was...
    [09-MAR-2009 08:23:12:921] nnftrne: Original name: ssw0rd
    Remember that the format for connecting on one line at the dos prompt is
    C:/> sqlplus SYSMAN/p@ssw0rd oraidAnd here You can see why this symbol is restricted as full syntax for sqlplus in this case will be:
    sqlplus username/password@oraidm
    but in Your case @symbol already is in password.
    Here can be used a small trick
    sqlplus sysman/"p@ssw0rd"@oraid
    >
    or you can do the following...
    C:\Documents and Settings\Administrator.WIN2K3>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 9 09:08:50 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    (BTW-I just started using the "scott" ID because from what I understand, changing the SYSMAN userID password is kind of a pain. Figured just using "scott" ID would be easier to test)
    So of course what it's doing is counting everything after the first "@" as the database name...which of course it can't find in the tnsnames.ora file. Also, contrary to some other posts I found here and there, enclosing the userID and/or passowrd in quotes does not do any good. Apparently, even when using the 2nd method...in the background, the end result is it must pass the whole thing as one long string much like in the 1st method (as you will get the same truncated "Original Name" of "ssw0rd" in the log)
    So...the question is, why does Oracle even allow "@" in the password if it will become an issue with sqlplus??? Also, if you can't (or shouldn't) use it, why isn't it documented somewhere? At the least I would expect the installer to at least warn you ahead of time that an "@" is not suggested. I don't remember it being there. Maybe it's just me and I'm just missing this info somewhereActually Oracle is not allowing this if You will just try to
    alter user scott identidified by p@ssword
    You will get error message (ORA-00922: missing or invalid option), but You can
    alter user scott identified by "p@ssword" - and that will work.
    These double quotes will allow to overide Oracle restrictions.

  • Unable to connect to local database ( without using tnsname )

    hi guys
    i have 2 database running on local machine.
    db1 SID - orcl (install 1st)
    db2 SID - unicode (install later)
    Today i shutdown unicode database and stop its respective services.
    on dos
    i done a sqlplus scott/tiger, i got an error
    ORA-12560: TNS:protocol adapter error
    therefore
    i done a
    set ORACLE_SID=orcl
    and i still get the same error.
    Therefore i done the another way round. I shutdown orcl database, stop its services and STARTED unicode database and its services.
    I have remove the ORACLE_SID enviroment variable.
    Now, i issue in command prompt
    sqlplus scott/tiger
    i am connected to the unicode database!
    Now i shutdown unicode database and startup ORCL database..
    and i issue a
    sqlplus scott/tiger@ORCL..
    I HAVE No problem connecting to it..
    May i know why do i have to provide the TNSname for ORCL database and i do not have to for the UNICODE database..
    Both are local on my database.
    what is wrong ?
    by the way, i am on XP.
    thanks!

    hi paul,
    sorry for the late reply.
    I was out of town this weekend.
    thank you so much for replying..
    Here is my test results.
    inside command prompt
    (started both services - OracleServiceOrcl and OracleServiceUnicode)
    set ORACLE_SID=orcl
    sqlplus / as sysdba;
    sys@orcl> exit
    set ORACLE_SID=unicode
    sqlplus / as sysdba;
    sys@unicode> exit
    Well, if i explicity set the ORACLE_SID, it works..
    So out of curiousity, i done this testing..
    1) connect to both database and shut them down
    2) stop their services
    3) start only ORCL service
    4) close and reopen command prompt to remove the ORACLE_SID enviroment var
    sqlplus / as sysdba;
    Error: ORA-12560: TNS: protocol adapter error
    ok..
    5)now i stop the ORCL service
    6) and i start the UNICODE service
    then i issue
    sqlplus / as sysdba;
    sys@unicode>
    I have got no local or two_Task variable set, i have got no oracle_sid, nor oracle_home environment variable set.
    Any idea paul ?
    Hope to hear your advice.
    Best Regards,
    Noob

  • ORA-03113 while connect from 8i client to 7 Server

    Hi,
    I have a Oracle 7.3.3 Server running on a SCO OpenSever 5.0.5 and a Oracle 8i Client 8.1.6.0.0 on a RedHat Linux 6.2.
    When I try to connect from the client to the server by issue command "sqlplus user@test", it responses me "Error while trying to retrieve text for error ORA-03113". But when I run "netasst" to test the connection, it says the connection was sucessful.
    Can anyone help? Here are my configuration files:
    Listener.ora on Server side:
    LISTENER=
    (ADDRESS LIST=
    (ADDRESS =
    (COMMUNITY=TCP.world)
    (PROTOCOL=TCP)
    (Host=10.128.64.52)
    (Port=1526)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST=
    (SID_DESC =
    (SID_NAME = test)
    (ORACLE_HOME = /usr/app/oracle/product/7.3.3
    (PRESPAWN_MAX=10)
    tnsnames.ora on client side:
    TEST.888.COM
    (DESCRIPTION =
    (ADDRESS_LISTS =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 10.128.64.52)
    (PORT = 1526)
    (CONNECT_DATA =
    (SID = test)
    )

    Hi,
    I don't have a 64 bit instance, but maybe another test will be usefull, try to get a connection with sqlplus on the server but via sqlnet like "user/passwd@tnsentry" I think if that also is not possible it is not the 64 bit issue but more that the listener itself coundn't etsablish a db connection, be aware tnsping is only testing if the listener is running and do not check if the listener is able to connect to the db.
    Hope this helps a little to find your real proble ;-), Olaf

  • What is the default user name and password for oracle databse 10g

    Hi: gurus, I just recently installed the oracle 10g personal edition and trying to log on to the enterprise manger, but can't figure it out the user name and password, can some one help me and tell me what is the default user name and password to logon to the oracle instance. BTW during the installation I choose two passowrds one for the schema and one for the global database orcl. I wonder will I be using one of these passwords. Still I don't have any clue for the "User Name".
    thanks

    system/manager and sys/change_on_install are still valid default passwords when database is manually created. If DBCA was used, passwords will be those defined at creation time inside DBCA.
    In case passwords have been forgotten, those can be reset:
    From an OS commnad prompt, set ORACLE_SID, ORACLE_HOME and PATH environment variables, just to make sure you are pointing to the right Oracle Home installation, and issue:
    OS> sqlplus / as sysdba
    SQL> alter user sys identified by yourNewSysPassword;
    SQL> alter user system identified by yourNewSystemPassword;
    And you're done with it.
    HR Madrid

  • How to sync tables in scheduler DB#1 and scheduler DB#2

    Hi experts
    the issue is as following
    ====
    Customer's BIP environment is as following
    [Publisher 1] [Publisher 2] ---------+---------> [ scheduler DB 1] (primary)
                                                     [ scheduler DB 2] (stand by)
    BIP :10.1.3.4.2  DB:  10.2.0.5
    Customer use DB#1 at ordinary times, only when any issue happen and make DB#1 down,then Customer will use DB#2.
    Now Customer need to make the following four tables synchronized in scheduler DB#1 and scheduler DB#2 every 10 mins(or shorter time). 
    ========
    ・XMLP_SCHED_JOB
    ・XMLP_SCHED_OUTPUT
    ・XMLP_SCHED_SUBSCRIPTION
    ・SEQUENCE
    ========
    Questions are
    1. Does BIP support team have any supported steps to sync the four tables in scheduler DB#1 and scheduler DB#2?
    2.Is it ok to just Sync the four table by extract difference data to a CSV file and sync the four tables by  SQLLDR.
      or we need to Sync the entire schema not just a few tables
    3.As CT needs to sync the four tables every 10 mins,at that time, Both BIP and DB are active,do we support to do sync in this status.
    but for no document state it,Could development give me official answer for it?
    Thanks&Regards
    Shuangfei

    Hi Sanjo
    login in as ora<SID>. Issue command sqlplus /nolog. Then issue connect / as sysdba.
    This should take you to SQL prompt where you can trigger your queries.
    Hope it helps
    Regards
    Lokesh Gupta

Maybe you are looking for

  • Adobe reader won't install

    I have downloaded the install program on my MAC. I run the program.  It keeps freezing at 40% I have confirmed that java flash in enabled.  I have tried with both a safari and a chrome download.  I have researched and discovered that I should be prom

  • Good tuning links and books

    can anyone please post good tuning books and links to learn sql and database tuning

  • About JRE, I m getting Error when i m installing JRE

    Hello I have win98 and explorer 5 on my computer.I have java application which requires JRE and i donot have JRE so that i downloaded JRE manually and when i m going ot install JRE it is giving me error in the start and the error is, Unhandled Error

  • Need something to replace Nero 7 Ultra

    Pretty much straight forward. Nero 7 is starting to show it's age, and as much as I love the suite, it's time to move on to something that supports BluRays. My Cyberlink disc that came with my LG BR drive is no longer working, so I'm looking for an a

  • PR creation problem

    Hi Experts, Can anyone clarify me on small doubt when does a PR has to create on what basis it should create actually where do we do the necessary settings for this. I know that  there one setting in the in SPRO->SRM server->Cross application setting