Problem in sqlplus 10.2.0.4

Hi,
I have a strange problem. Today we graded DATABASE from 10.2.0.2 to 10.2.0.4. Upgrade went through smooth. there were no errors. When we are executing a select statement from SQL Client(10.2.0.2) it is talking long time than expected. But the same query is taling less time in SQL client(10.2.0.1). Does any body faced this kind of problem earlier.
Thanks in advance.
Regards
DBA.

Hi,
Thanks a lot for your updates. In both clients explain and trace files are exactly same. I am thinking there is no problem at DB level. We are suspecting that the problem is with client. Can any body give any clue on this. I am trying to share the explain plan and trace file content here with.
Also can you please tell me how to execute "gather Oracle DD statistics".
Regards
DBA.
Edited by: Newappsdba on Aug 25, 2008 11:52 AM

Similar Messages

  • Strange problem with SQLPLUS when client and server on the same box

    Hi,
    I have the problem with SQLPLUS when clinet and server on the same machine.
    With client and server on the same machine i am running the command
    sqlplus -l username/password@connect_identifier as SYSDBA.
    With this command, even if you pass in wrong username or wrong password or both as wrong you can able to connect to database and execute queries.
    Once Connect_identifier is correct and trying to log in as SYSDBA ,sqlplus will log in to DB with any username and password.
    How to get rid of this behaviour. Is there any way to do this.
    I am running this command by creating a process in C#
    Edited by: user11000236 on Jun 16, 2009 10:31 AM

    user11000236 wrote:
    Thanks for the info.
    How does Oracle/SQLPLUS allows any username or password to log in to DB with SYSDBA Privillages? What is the concept behind this.?
    This is explainted in the above mentioned link:
    Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication.

  • Problem with sqlplus with whitespace in the path of the @ command

    I'm running Oracle 11g on Linux and I'm trying to run a script which will create my database. This script runs fine on windows, but when I test it on Linux, I get the following error:
    SP2-0556: Invalid File NameThe problem may be that the path to the file name has a space in it. I'm going to simplify the problem down to one of the many commands I run in the file to make it simple. The sample command I'm trying to run looks like this:
    sqlplus [uname]/[pw] @'../database/My Schema/create_sequence.sql'the create_sequence.sql file has two simple create sequence commands that run fine by themselves. I strongly suspect it is due to the white space because when I change the directory name from My Schema to MySchema and alter the above sqlplus command accordingly, the script runs fine.
    Like I said, this script works in windows with the spaces, but not in Linux. I suspect spaces may not be supported, but I was wondering if anyone knew any different or it there is a work-around?
    side note: running a command like:
    more ../database/My\ Schema/create_sequence.sqlor
    more '../database/My Schema/create_sequence.sql'prints the contents of the file to the console as you would expect. So, I think this is sqlplus (and linux) specific.
    Edited by: user10887698 on Jul 28, 2009 4:21 PM
    code markup!!!

    user10887698 wrote:
    I'm running Oracle 11g on Linux ...
    ..when I change the directory name from My Schema to MySchema and alter the above sqlplus command accordingly, the script runs fine.i really can't see why you are considering this as a problem.
    On linux, you can't create directory that contains spaces between letters, like let say : fol der. Doing a mkdir fol der would create two folders,
    one named fol and the other named der.
    By information you provided , it's obvious that the exact and the correct full path to the create_sequence.sql file is ...database/MySchema/create_sequence.sql.
    Can you position yourself in the directory where create_sequence.sql file is and type pwd to confirm the correct path?

  • [long] Permission problem in sqlplus

    I have posted about this before - to summarize:
    1. I have installed Oracle without problems
    2. I can start the database and listern without problems
    3. I can log in with sqlplus when I am the oracle dba user
    - but when I try to log in from sqlplus as eg. root I get an
    ORA-12546. I can start sqlplus, but when I give the user-name,
    I get this error immediately.
    Following below are a sqlnet.log and the output from strace on
    sqlplus. Does anybody understand what they say? I notice that
    it says '(PROGRAM=)' in the sqlnet.log, and that seems odd -
    but I don't know if it is an error.
    In the strace file, it seems to run fine until it forks - then
    apparently the child exits (badly?) - at any rate "NTP13 0\n"
    is read from handle 11 (the read handle of a pipe) - and sqlplus
    starts looking for the message 'TNS-12546 ...', which is output.
    Is this because of the missing '(PROGRAM=)'?
    [sqlnet.log - my indentation of (DESCRIPTION... ]
    Fatal NI connect error 12546, connecting to:
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=beq)
    (PROGRAM=/usr/local/oracle/bin/oracle)
    (ARGV0=oracleORCL)
    (ARGS=
    '(DESCRIPTION=
    (LOCAL=YES)
    (ADDRESS=
    (PROTOCOL=beq)
    (DETACH=NO)
    (CONNECT_DATA=
    (CID=
    (PROGRAM=)
    (HOST=janpla)
    (USER=root)
    VERSION INFORMATION:
    TNS for Linux: Version 8.0.5.0.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version
    8.0.5.0.0 - Production
    Time: 10-APR-99 15:27:27
    Tracing not turned on.
    Tns error struct:
    nr err code: 12206
    TNS-12206: TNS:received a TNS error during navigation
    ns main err code: 12546
    TNS-12546: TNS:permission denied
    ns secondary err code: 12560
    nt main err code: 516
    TNS-00516: Permission denied
    nt secondary err code: 13
    nt OS err code: 0
    [strace output]
    read(0, "system\n", 4096) = 7
    brk(0x8123000) = 0x8123000
    brk(0x8124000) = 0x8124000
    brk(0x8128000) = 0x8128000
    brk(0x812e000) = 0x812e000
    lstat(".", {st_mode=0, st_size=0, ...}) = 0
    lstat("/", {st_mode=0, st_size=0, ...}) = 0
    lstat("..", {st_mode=0, st_size=0, ...}) = 0
    stat("..", {st_mode=0, st_size=0, ...}) = 0
    open("..", O_RDONLY|O_NONBLOCK) = 9
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    lseek(9, 0, SEEK_CUR) = 0
    getdents(9, 0 328
    12 328
    28 328
    52 328
    68 328
    84 328
    100 328
    116 328
    132 328
    148 328
    164 328
    180 328
    196 328
    212 328
    228 328
    244 328
    260 328
    276 328
    292 328
    308 328
    /* 20 entries */, 3933) = 328
    lstat("../root", {st_mode=0, st_size=0, ...}) = 0
    close(9) = 0
    brk(0x8131000) = 0x8131000
    access("/usr/local/oracle/network/admin/sqlnet.ora", F_OK) = 0
    open("/usr/local/oracle/network/admin/sqlnet.ora", O_RDONLY) = 9
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
    -1, 0) = 0x4038b000
    read(9, "TRACE_LEVEL_CLIENT = OFF\r\n#sql"..., 4096) = 191
    brk(0x8132000) = 0x8132000
    read(9, "", 4096) = 0
    close(9) = 0
    munmap(0x4038b000, 4096) = 0
    access("/root/.sqlnet.ora", F_OK) = -1 ENOENT (No such file
    or directory)
    access("/etc/intchg.ora", F_OK) = -1 ENOENT (No such file
    or directory)
    access("/usr/local/oracle/network/admin/intchg.ora", F_OK) = -1
    ENOENT (No such file or directory)
    access("/etc/tnsnav.ora", F_OK) = -1 ENOENT (No such file
    or directory)
    access("/usr/local/oracle/network/admin/tnsnav.ora", F_OK) = -1
    ENOENT (No such file or directory)
    lstat(".", {st_mode=0, st_size=0, ...}) = 0
    lstat("/", {st_mode=0, st_size=0, ...}) = 0
    lstat("..", {st_mode=0, st_size=0, ...}) = 0
    stat("..", {st_mode=0, st_size=0, ...}) = 0
    open("..", O_RDONLY|O_NONBLOCK) = 9
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    lseek(9, 0, SEEK_CUR) = 0
    getdents(9, 0 328
    12 328
    28 328
    52 328
    68 328
    84 328
    100 328
    116 328
    132 328
    148 328
    164 328
    180 328
    196 328
    212 328
    228 328
    244 328
    260 328
    276 328
    292 328
    308 328
    /* 20 entries */, 3933) = 328
    lstat("../root", {st_mode=0, st_size=0, ...}) = 0
    close(9) = 0
    uname({sys="Linux", node="janpla", ...}) = 0
    getuid() = 0
    open("/etc/nsswitch.conf", O_RDONLY) = 9
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
    -1, 0) = 0x4038b000
    read(9, "#\n# /etc/nsswitch.conf\n#\n# An"..., 4096) = 1208
    read(9, "", 4096) = 0
    close(9) = 0
    munmap(0x4038b000, 4096) = 0
    open("/usr/local/oracle/lib/libnss_files.so.1", O_RDONLY) = -1
    ENOENT (No such file or directory)
    open("/usr/local/oracle/lib/libnss_files.so.1", O_RDONLY) = -1
    ENOENT (No such file or directory)
    open("/usr/local/oracle/lib/libnss_files.so.1", O_RDONLY) = -1
    ENOENT (No such file or directory)
    open("/usr/local/oracle/lib/libnss_files.so.1", O_RDONLY) = -1
    ENOENT (No such file or directory)
    open("/usr/local/oracle/lib/libnss_files.so.1", O_RDONLY) = -1
    ENOENT (No such file or directory)
    open("/usr/local/oracle/lib/libnss_files.so.1", O_RDONLY) = -1
    ENOENT (No such file or directory)
    open("libnss_files.so.1", O_RDONLY) = -1 ENOENT (No such file
    or directory)
    open("/etc/ld.so.cache", O_RDONLY) = 9
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 15867, PROT_READ, MAP_PRIVATE, 9, 0) = 0x4049d000
    close(9) = 0
    open("/lib/libnss_files.so.1", O_RDONLY) = 9
    mmap(0, 4096, PROT_READ, MAP_PRIVATE, 9, 0) = 0x4038b000
    munmap(0x4038b000, 4096) = 0
    mmap(0, 32784, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) =
    0x404a1000
    mprotect(0x404a8000, 4112, PROT_NONE) = 0
    mmap(0x404a8000, 4096, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED, 9, 0x6000) = 0x404a8000
    mmap(0x404a9000, 16, PROT_READ|PROT_WRITE,
    MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x404a9000
    close(9) = 0
    munmap(0x4049d000, 15867) = 0
    open("/etc/passwd", O_RDONLY) = 9
    fcntl(9, F_GETFD) = 0
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
    -1, 0) = 0x4038b000
    read(9, "root:NAihe8YfHFB7Y:0:0:root:/roo"..., 4096) = 690
    close(9) = 0
    munmap(0x4038b000, 4096) = 0
    brk(0x8134000) = 0x8134000
    brk(0x8135000) = 0x8135000
    gettimeofday({923750812, 340810}, NULL) = 0
    gettimeofday({923750812, 341529}, NULL) = 0
    open("/var/run/hostid", O_RDONLY) = -1 ENOENT (No such file
    or directory)
    uname({sys="Linux", node="janpla", ...}) = 0
    gettimeofday({923750812, 346477}, NULL) = 0
    getpid() = 546
    open("/etc/resolv.conf", O_RDONLY) = 9
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
    -1, 0) = 0x4038b000
    read(9, "search dk \nnameserver 131.166.1"..., 4096) = 35
    read(9, "", 4096) = 0
    close(9) = 0
    munmap(0x4038b000, 4096) = 0
    open("/etc/hosts", O_RDONLY) = 9
    fcntl(9, F_GETFD) = 0
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
    -1, 0) = 0x4038b000
    read(9, "127.0.0.1\tjanpla\tjanpla.locald"..., 4096) = 36
    close(9) = 0
    munmap(0x4038b000, 4096) = 0
    getpid() = 546
    open("/var/run/hostid", O_RDONLY) = -1 ENOENT (No such file
    or directory)
    uname({sys="Linux", node="janpla", ...}) = 0
    open("/etc/hosts", O_RDONLY) = 9
    fcntl(9, F_GETFD) = 0
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
    -1, 0) = 0x4038b000
    read(9, "127.0.0.1\tjanpla\tjanpla.locald"..., 4096) = 36
    close(9) = 0
    munmap(0x4038b000, 4096) = 0
    getpid() = 546
    brk(0x8136000) = 0x8136000
    brk(0x8137000) = 0x8137000
    gettimeofday({923750812, 375759}, NULL) = 0
    gettimeofday({923750812, 377630}, NULL) = 0
    brk(0x8138000) = 0x8138000
    pipe([9, 10]) = 0
    pipe([11, 12]) = 0
    fork() = 550
    --- SIGCHLD (Child exited) ---
    sigprocmask(SIG_BLOCK, [PIPE], NULL) = 0
    sigaction(SIGPIPE, {0x402d6734, ~[ILL ABRT BUS FPE SEGV XCPU XFSZ
    UNUSED], 0}, {SIG_DFL}) = 0
    sigprocmask(SIG_UNBLOCK, [PIPE], NULL) = 0
    sigprocmask(SIG_BLOCK, [CHLD], NULL) = 0
    sigaction(SIGCHLD, {0x402d6734, ~[ILL ABRT BUS FPE SEGV XCPU XFSZ
    UNUSED], 0}, {SIG_DFL}) = 0
    sigprocmask(SIG_UNBLOCK, [CHLD], NULL) = 0
    close(9) = 0
    close(12) = 0
    read(11, "NTP13 0\n", 64) = 8
    close(10) = 0
    close(11) = 0
    open("/root/sqlnet.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 9
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
    -1, 0) = 0x4038b000
    fstat(9, {st_mode=0, st_size=0, ...}) = 0
    lseek(9, 50800, SEEK_SET) = 50800
    fcntl(9, F_SETFD, FD_CLOEXEC) = 0
    write(9, "\n\n****************************"..., 73) = 73
    lseek(9, 0, SEEK_CUR) = 50873
    write(9, "\nFatal NI connect error 12546, "..., 266) = 266
    lseek(9, 0, SEEK_CUR) = 51139
    gettimeofday({923750812, 415483}, NULL) = 0
    write(9, "\n VERSION INFORMATION:\n\tTNS "..., 150) = 150
    lseek(9, 0, SEEK_CUR) = 51289
    write(9, " Time: 10-APR-99 15:26:52\n", 27) = 27
    lseek(9, 0, SEEK_CUR) = 51316
    write(9, " Tracing not turned on.\n", 25) = 25
    lseek(9, 0, SEEK_CUR) = 51341
    write(9, " Tns error struct:\n", 20) = 20
    lseek(9, 0, SEEK_CUR) = 51361
    write(9, " nr err code: 12206\n", 23) = 23
    lseek(9, 0, SEEK_CUR) = 51384
    open("/usr/local/oracle/network/mesg/tnsus.msb", O_RDONLY) = 10
    fcntl(10, F_SETFD, FD_CLOEXEC) = 0
    lseek(10, 0, SEEK_SET) = 0
    read(10, "\25\23\"\1\23\3\t\t\0\0\0\0\0\0\0"..., 256) = 256
    lseek(10, 512, SEEK_SET) = 512
    read(10, "\2331\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
    lseek(10, 1024, SEEK_SET) = 1024
    read(10, "\t\0\22\0\32\0&\0-\0F\0N\0U\0\\\0"..., 142) = 142
    lseek(10, 30208, SEEK_SET) = 30208
    read(10, "\n\0\253/\0\0D\0\254/\0\0h\0\255"..., 512) = 512
    write(9, " ", 4) = 4
    lseek(9, 0, SEEK_CUR) = 51388
    write(9, "TNS-12206: TNS:received a TNS er"..., 54) = 54
    lseek(9, 0, SEEK_CUR) = 51442
    write(9, " ns main err code: 12546\n", 28) = 28
    lseek(9, 0, SEEK_CUR) = 51470
    lseek(10, 32768, SEEK_SET) = 32768
    read(10, "\16\0\3660\0\0\\\0\3670\0\0w\0\370"..., 512) = 512
    write(9, " ", 4) = 4
    lseek(9, 0, SEEK_CUR) = 51474
    write(9, "TNS-12546: TNS:permission denied"..., 33) = 33
    lseek(9, 0, SEEK_CUR) = 51507
    write(9, " ns secondary err code: 12560"..., 33) = 33
    lseek(9, 0, SEEK_CUR) = 51540
    write(9, " nt main err code: 516\n", 26) = 26
    lseek(9, 0, SEEK_CUR) = 51566
    lseek(10, 14848, SEEK_SET) = 14848
    read(10, "\16\0\1\2\0\0\\\0\2\2\0\0x\0\3\2"..., 512) = 512
    write(9, " ", 4) = 4
    lseek(9, 0, SEEK_CUR) = 51570
    write(9, "TNS-00516: Permission denied\n", 29) = 29
    lseek(9, 0, SEEK_CUR) = 51599
    write(9, " nt secondary err code: 13\n", 30) = 30
    lseek(9, 0, SEEK_CUR) = 51629
    open("/usr/local/oracle/rdbms/mesg/oraus.msb", O_RDONLY) = 11
    fcntl(11, F_SETFD, FD_CLOEXEC) = 0
    lseek(11, 0, SEEK_SET) = 0
    read(11, "\25\23\"\1\23\3\t\t\0\0\0\0\0\0\0"..., 256) = 256
    lseek(11, 512, SEEK_SET) = 512
    read(11, "\303\35op\32t\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
    lseek(11, 1536, SEEK_SET) = 1536
    read(11, "\323\35\337\35\0\36\31\36%\36I\36"..., 512) = 512
    lseek(11, 187904, SEEK_SET) = 187904
    read(11, "\16\0\3670\0\0\\\0\3700\0\0s\0\371"..., 512) = 512
    close(11) = 0
    lseek(4, 512, SEEK_SET) = 512
    read(4, "\264\2\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
    lseek(4, 1024, SEEK_SET) = 1024
    read(4, "\23\0\'\0005\0M\0]\0l\0\177\0\216"..., 512) = 512
    lseek(4, 6656, SEEK_SET) = 6656
    read(4, "\16\0\351\0\0\0\\\0\352\0\0\0\226"..., 512) = 512
    write(1, "ERROR:\n", 7) = 7
    write(1, "ORA-12546: TNS:permission denied"..., 33) = 33
    write(1, "\n\n", 2) = 2
    lseek(4, 512, SEEK_SET) = 512
    read(4, "\264\2\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
    lseek(4, 1024, SEEK_SET) = 1024
    read(4, "\23\0\'\0005\0M\0]\0l\0\177\0\216"..., 512) = 512
    lseek(4, 5632, SEEK_SET) = 5632
    read(4, "\16\0\217\0\0\0\\\0\220\0\0\0w\0"..., 512) = 512
    lseek(4, 512, SEEK_SET) = 512
    read(4, "\264\2\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
    lseek(4, 1024, SEEK_SET) = 1024
    read(4, "\23\0\'\0005\0M\0]\0l\0\177\0\216"..., 512) = 512
    lseek(4, 6144, SEEK_SET) = 6144
    read(4, "\21\0\241\0\0\0n\0\242\0\0\0\201"..., 512) = 512
    write(1, "Enter user-name: ", 17) = 17
    read(0, <unfinished ...>
    null

    Hi Jan,
    as far as I can see, it's the child having problems somewhere,
    so as root do a strace -f sqlplus (which means follow, and you
    have to be root because else you cannot follow setuid-programs
    (sqlplus does a fork()-exec())).
    you might compare the output with the output from oracle doing
    an strace -f sqlplus (which is also allowed because the real
    uid already is oracle).
    I think (but I can't be sure) you have problems with an s-bit
    somewhere.
    you can send me the results if you want me to look at it.
    (if you need it fast, send it at [email protected] or in this
    forum)
    Ronald
    Jan (guest) wrote:
    : I have posted about this before - to summarize:
    : 1. I have installed Oracle without problems
    : 2. I can start the database and listern without problems
    : 3. I can log in with sqlplus when I am the oracle dba user
    : fork() = 550
    : --- SIGCHLD (Child exited) ---
    : sigprocmask(SIG_BLOCK, [PIPE], NULL) = 0
    null

  • Column display problem in Sqlplus

    Hello,
    I am facing a strange problem. I am using Oracle 9i R2 and have two databases on a machine.
    I run a select statement:
    select 'aamir', substr(test,1,5) from dual;
    where test is a function that just returns 'aamir'.
    The problem is that when I run this select form database A, it gives output like this:
    'AAMIR'
    SUBSTR(TEST,1,5)
    aamir
    aamir
    and when I run the same statement from database B withoug quitting Sqlplus (using connect user1/passwd1@B), it shows result as follows:
    'AAMI SUBST
    aamir aamir
    Why does it change the line or why is line width so large ??
    I am having problem because there is script (awk script) that manipulate results and because of line feed between two columns the (awk)script doesnt return expected results.
    Thank you
    Aamir

    Your SQL*Plus settings must be different in the two sessions. You should have a glogin.sql that spans all users and a login.sql file that is particular to you. The login.sql file is only run when you first connect, it won't be re-run when you type "connect" in an existing session, so some of its settings may be lost.
    If you depend on the formatting of your output, I believe that Kevin's point is that you ought to put explicit column formatting into your SQL script. Something like
    column col1 format a10;
    column col2 format a10;
    column col3 format a15;
    SELECT 'shortVal' AS col1,
           '0123456789' AS col2,
           'reallyLongValueMoreThan15Characters' AS col3
      FROM dual;
    scott@jcave > SELECT 'shortVal' AS col1,
      2         '0123456789' AS col2,
      3         'reallyLongValueMoreThan15Characters' AS col3
      4    FROM dual;
    COL1       COL2       COL3
    shortVal   0123456789 reallyLongValue
                          MoreThan15Chara
                          ctersJustin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • Problem with sqlplus when called from forms

    Dear friends,
    I have the following problem, we are using forms 10g and database 10g,we are using client_host command to call sqlplus from form and the query which is being run by sqlplus is supposed to take an input from the client and return results. there is no problem in that. but the problem is the sqlplus window opens only in minimized mode and the users wants it open in maximized mode by default.
    this is the code i am using to do this
    pat:='sqlplusw -s'||:global.text||'@i:\sqls\codewise.sql'
    client_host(pat);
    please help me
    prawin

    I'm not sure allowing end users access to a sqlplus session is such a good idea. A savvy user having a bad hair day and becoming disgruntled could wreak havoc on your database if he/she has the right permissions. Besides, I've heard rumors that Forms is really good at accepting user input, querying the database, and displaying the results :P

  • Connect problems via SQLPLUS and other tools

    I have installed an Oracle 10g Express database on my computer. I'm able to start the database as well as listener, and also login to the database. However, while trying to connect via SQLPLUS or PL/SQL developer, I get the following error message: ORA-12154 TNS: could not resolve the connect identifier specified. I also did a tnsping, but got the following error message: TNS-03505 failed to resolve name. I suspect that these 2 messages are somehow related to the problem. I set the following msdos variables: ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server. ORACLE_SID=XE. I also specified this in my registry. Also TNS_ADMIN is set to the following TNS_ADMIN=C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN. On my computer I installed the XE client. I noticed that there are several tnsnames.ora and sqlnet.ora registered in several places.
    I also have the Developer Suite installed on my computer but cannot access it. I think this is due to the aforementioned problem.
    I would greatly appriciate advise in resolving this problem.

    You have several Oracle Home's, so you may be trying to get the tnsnames.ora file from another location. You could either declare the XE entry at all used tnsnames.ora files or you should be consistent with the sqlplus client you are invoking. After the PATH environment variable you may be invoking a sqlplus executable located elsewhere but the XE Oracle Home, so this sqlplus will try to resolve the tns alias at the Home where this was invoked from.
    I suggest you to verify your environment variables and make sure your path environment points to the XE oracle home and either reset your environment variables for your current session or invoke sqlplus with absolute path.
    ~ Madrid

  • NLS problem with sqlplus

    Hi there,
    I have a 9i database running on a windows machine, and I am trying to connect from another windows machine using sqlplus. When I try to login I get the error message:
    ORA-12705: invalid or unknown NLS parameter value specified
    I don't really know what it means or what I have to do? is it a problem on the server or on the client?
    Can someone help me on this one?
    Regards
    Johnny

    ORA-12705 invalid or unknown NLS parameter value specified
    Cause: There are two possible causes: Either an attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value; or the NLS_LANG environment variable contains an invalid language, territory, or character set.
    Action: Check the syntax of the ALTER SESSION statement and the NLS parameter, correct the syntax and retry the statement, or specify correct values in the NLS_LANG environment variable. For more information about the syntax of the ALTER SESSION statement, see the Oracle9i SQL Reference
    you have to correct that value in NLS_LANG enviroment variable of your OS.
    Query NLS_LANG value in your server and put it equal in
    your client.
    Joel P�rez

  • Problem with SQLPlus while retriving the data.

    Hi all,
    SQL Plus while accessing one table named invdet(having around 900000 records) with line size option increased to 1000 it was showing error(application error : access voilation) after getting around 100-200 records.
    Platform : Windows NT on a P-III machine.
    Plz. give me the solution.
    Thanks
    Vijaykumar.

    Vijaykumar,
    You should work with Oracle Support on this. If the problem is not already known, they will log a bug for you.
    They will want to know which version of SQL*Plus and the database you are using and will want a testcase.
    - CJ

  • Problem with sqlplus copy command

    When I try to use the SQLPlus Copy command (with Append or Insert action) with a 8.1.7 source DB and a 9.2.0.4 destination DB, I receive the "CPY0006: Select list has more columns than destination table" error.
    The tables are identical in both DBs so I am confused.
    Just to make sure the tables were identical, I then used the Copy command with the Create option and used a new table name.
    That worked, however if I then try to use the Copy with an Insert or Append action against the table I just created, I get the error again.
    I am using SQLPlus 8.1.6.0.0
    Output from SQL*Plus:
    NTEG> SET COPYCOMMIT 40;
    NTEG> SET ARRAYSIZE 1000;
    NTEG> COPY FROM xxxxx/xxxxx@nteg -
    TO xxxxx/xxxxx@DEV -
    INSERT sysadm.PS_ANIMAL_TBL -
    USING select * FROM sysadm.PS_ANIMAL_TBLArray fetch/bind size is 1000. (arraysize is 1000)
    Will commit after every 40 array binds. (copycommit is 40)
    Maximum long size is 80. (long is 80)
    CPY0006: Select list has more columns than destination table
    Descr from both DBs
    NTEG> descr ps_animal_tbl
    Name
    ANIMAL_CD
    DESCR50
    DESCRSHORT
    DEV> descr ps_animal_tbl;
    Name
    ANIMAL_CD
    DESCR50
    DESCRSHORT

    SQL> help copy
    COPY
    COPY copies data from a query to a table in a local or remote
    database.
    COPY {FROM database | TO database | FROM database TO database}
    APPEND destination_table
    [(column, column, column, ...)] USING query
    where database has the following syntax:
    username[password]@connect_identifier
    SQL>
    Joel P�rez

  • Login problem for sqlplus 9i

    Hi All,
    My Oracle is 9i. How can I login as sys directly using sqlplus. I have tried the following command :
    "sqlplus sys/change_on_install@DB01 as sysdba"
    many thanks.

    sqlplus /nolog
    connect sys/password@tnsname as sysdba

  • Sqlplus fails to start, halting Ora10g install on WinXP

    Hello,
    I've been trying to install Oracle 10g 10.2.0.1 on Windows XP SP2 all day. The problem is, sqlplus crashes (creating a Windows app crash dialog) during the Oracle Database Configuration Assistant step. Clicking "Don't Send" on the crash window will simply create another "SQL*PLUS has encountered a problem and needs to close" error. In other words, I can't escape the sqlplus crash, as it appears that the installer won't rest until it runs sqlplus.
    Note that I have tried to run sqlplus from the command line during this process, and I receive the same crash notice.
    The installActions log file contains this at the end:
    INFO: Configuration assistant "Oracle Net Configuration Assistant" succeeded
    INFO: Command = C:\WINDOWS\system32\cmd /c call D:\oracle\product\10.2.0\db_1/bin/dbca.bat -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName orcl10g -sid orcl10g -sysPassword 05a58adab13ddea6492d53596ff8af9327 -systemPassword 05a58adab13ddea6492d53596ff8af9327 -sysmanPassword 05a58adab13ddea6492d53596ff8af9327 -dbsnmpPassword 05a58adab13ddea6492d53596ff8af9327 -emConfiguration LOCAL -datafileJarLocation D:\oracle\product\10.2.0\db_1\assistants\dbca\templates -datafileDestination D:\oracle\product\10.2.0\oradata -responseFile NO_VALUE -characterset WE8MSWIN1252 -obfuscatedPasswords true -sampleSchema true -recoveryAreaDestination NO_VALUE
    The error in the Windows Event Log is this:
    Faulting application sqlplus.exe, version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
    I'm not sure what else to include, please let me know what else you might need.
    Thanks for your help. I've tried many different paths through the installer, always running into this same problem. Any advice on how to get past this sqlplus crash would be greatly appreciated.
    Thanks very much,
    Seth

    Hello,
    I did not have any problem setting up 2 different oracle versions on one Windows machine.
    a) First I installed 10g R2 with a default database ORCL
    Oracle_Home = d:\oracle\oracle10g
    b) Second I did install 9i with a default database JUNK
    Oracle_Home = c:\oracle\oracle9i
    I configured listener.ora from 10g home for the above mentioned 2 databases.
    << listener.ora>>
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\oracle10g)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = D:\oracle\oracle10g)
    (SID_NAME = ORCL)
    (SID_DESC =
    (GLOBAL_DBNAME = JUNK)
    (ORACLE_HOME = c:\oracle\oracle9i)
    (SID_NAME = JUNK)
    << Tnsnames.ora 10g>>
    JUNK =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = JUNK)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    << Tnsnames.ora 9i>>
    JUNK =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = JUNK)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    << Sqlnet.ora 9i/10g>>
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    << tnsping>>
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-MAR-2006 14:36:56
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\oracle10g\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))
    OK (20 msec)
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-MAR-2006 14:37:02
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\oracle10g\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xasers)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = JUNK)))
    OK (20 msec)
    << Sqlplus 9i >>
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Mar 3 14:27:41 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter password: **********
    Connected to:
    Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production
    SQL> select name from V$database;
    NAME
    JUNK
    SQL> show release
    release 902000100
    << Sqlplus 10g>>
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Mar 3 14:27:55 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter password: **********
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    SQL> select name from V$database;
    NAME
    ORCL
    SQL> show release
    release 1002000100
    I did not see any issues in installation and setup listener having different homes and different versions. I guess your installation got messed up.
    -Sri
    Message was edited by:
    Srikanth Pulikonda

  • Error conecting linux(sqlplus(ora8/9 client)) to SCO(ora7( DB))

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

    HI. I apologize of my poor english....
    Im trying to connect a new linux machine with ora8 to an old sco with ora7
    points about...:
    1- tnsping works fine. and I can see it in the logs
    2- (here the problem) on "sqlplus user/pass@AUDI"
    SQL*Plus: Release 9.2.0.1.0 - Production on Mie Nov 6 15:43:47 2002
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-03113: end-of-file on communication channel
    It got nothing on the trace files on the ora7 DB.
    And the ora7 DB is working fine at production level with net clients whitout problems.
    The service names tnsnames.ora for AUDI is:
    AUDI =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.119.207)(PORT = 1521))
    (CONNECT_DATA = (SID = AUDI)(SERVER=DEDICATED))
    3- I can connect to any ora8 ora9 DB. without any error
    what can I do ?
    can I trace to a lower level ?
    I really do not know what to do, becose I cant see any error at server side.
    may it be an enviroment variable problem ??? I tried to put the same as in the sco enviroment.but nothing.
    Please tell me any way to continue with it.
    I've searched about and tried it...:
    Solution Description:
    =====================
    The ORA-3113 error is a general error reported by Oracle client tools,
    which signifies that they cannot communicate with the oracle shadow
    process. As it is such a general error more information must be collected
    to help determine what has happened.
    This short article describes what information to collect for an
    ORA-3113 error when the Oracle server is on a Unix platform.
    General Issues:
    ===============
    1) Is it only one tool that encounters the error or
    do you get an ORA-3113 from any tool doing a similar operation?
    If the problem reproduces in SQL*Plus, use this in all tests
    below.
    2) Check if the problem is just restricted to:
    [ ] One particular UNIX user,
    [ ] Any UNIX user
    or [ ] Any UNIX user EXCEPT as the Oracle user.
    3) Check if the problem is just restricted to:
    [ ] One particular ORACLE logon
    or [ ] Any ORACLE logon that has access to the
    relevant tables.
    4) If you have a client-server configuration does this occur from:
    [ ] Any client
    [ ] Just one particular client
    or [ ] Just one group of clients ?
    If so what do these clients have in common ?
    Eg: Software release .
    5) Do you have a second server or database version where the
    same operation works correctly?
    Connecting to Oracle
    ====================
    If the ORA-3113 error occurs when actually connecting to Oracle then
    continue with this section. If you connect to Oracle successfully and get
    the error on an established connection, please go to the next section
    'An Established Connection'.
    Local Connections
    ~~~~~~~~~~~~~~~~~
    For local connections check the following:
    1) Have you installed the Parallel Server Option?
    ORA-3113 will occur if you have installed the Parallel
    Server Option but do NOT have a Distributed Lock Manager
    installed or running.
    To deinstall the Parallel Server Option:
    Shut down any Oracle instances
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    # 'oracle' should not exist so delete it if it present
    % rm -f oracle
    % make -f oracle.mk no_parropt ioracle
    % exit
    If the above reports any errors Oracle support will need to
    see the contents of the file /tmp/relink.out.
    2) Try using the SQL*Net V1 driver for local connections:
    setenv TWO_TASK P:
    Then try the client tool. If this now works you may have a
    problem with the default SQL*Net driver.
    3) Your 'oracle' executable may be corrupt. Relink it as follows:
    Log in as the 'oracle' user.
    % script /tmp/relink.out
    % cd $ORACLE_HOME/rdbms/lib
    % rm -f oracle
    % make -f oracle.mk ioracle
    % exit
    If this reports any errors Oracle support will need to see
    the contents of the file /tmp/relink.out .
    4) Some Unix platforms need LD_LIBRARY_PATH to be set
    correctly to resolve any dynamically linked libraries.
    As the user with the problem:
    % script /tmp/ldd.out
    % id
    % cd $ORACLE_HOME/bin
    % ldd oracle
    % exit
    If the 'ldd' command does not exist go to the next step below.
    Check that all lines listed show a full library file. If there
    are any 'not found' lines reported contact Oracle support
    with the output of /tmp/ldd.out.
    5) If you cannot connect as the Oracle user AND your system has
    the 'truss' command try the following when logged in as
    'oracle' (using the relevant client tool):
    % truss -o /tmp/truss.out -f sqlplus user/password
    Exit from sqlplus (or the problem tool)
    Keep the file /tmp/truss.out safe - Oracle MAY need to see it.
    Remote Connections
    ==================
    For remote connections check the following:
    1) Check if you can make LOCAL connections. If not then follow
    the steps above for LOCAL connection problems.
    2) Which SQL*Net protocol are you using ?
    Table C.1
    ~~~~~~~~~
    SYMBOL SQL*Net V1 Layer Prefix Debug Listener
    osnptt PIPE Two Task P: OSNTTD none
    osnasy ASYNC A: OSNADBUG none
    osnttt TCP/IP Two Task T: OSNTDBUG orasrv
    osntlitcp TCP/TLI Two Task TT: OSNTLIDBUG tcptlisrv
    osntlispx SPX Two Task X: OSNTLIDBUG spxsrv
    osndnt DECNET Two Task D: OSNDDBUG none
    For the protocol you are using check that the oracle
    executable has this linked in as follows:
    Log in as oracle on the server
    % script /tmp/drivers.out
    % cd $ORACLE_HOME/bin
    % drivers oracle
    % exit
    Eg: If you are using TCP/IP it should list TCP/IP.
    If the drivers command does not exist on your machine, check
    the oracle executable as below substituting the relevant
    symbol from Table C.1 for the word SYMBOL. If you do not
    receive any output then:
    % script /tmp/symbols.out
    % cd $ORACLE_HOME/bin
    % nm oracle | grep -i SYMBOL # Use relevant SYMBOL
    % exit
    Eg: For SQL*Net TCP/IP you would use the command:
    % nm oracle | grep -i osnttt
    If the required driver is not installed you should:
    a) Relink Oracle (See step (B3) above).
    b) Re-check the oracle executable for the
    relevant driver. If it is still missing then
    the relevant SQL*Net driver has probably not
    been installed. Reinstall the required SQL*Net
    driver.
    3) Check your /etc/oratab or /var/opt/oracle/oratab file
    is of the form:
    # Comments begin with a HASH
    SID:/path/to/oracle/home:N
    And confirm:
    [ ] There are no blank lines.
    [ ] The PATH to ORACLE_HOME is correct and contains
    no environment variables.
    [ ] There are no ':'s in the ORACLE_HOME path.
    [ ] There is NOTHING at the end of the line.
    The last character on a line should be Y or N.
    There should NOT be a fourth field.
    4) If you have truss available try to truss the Oracle
    connection. You will normally need the root privilege to do this
    and should use truss on the relevant listener process (see
    Table C1)
    Eg: For TCP/IP the listener is 'orasrv' so enter these
    commands as 'root':
    % truss -o /tmp/truss.out -f -eall -p <PID_of_orasrv>
    Attempt the connection to reproduce the ORA-3113 then
    interrupt this 'truss' session.
    An Established Connection:
    ==========================
    If the ORA-3113 error occurs AFTER you have connected to Oracle, then
    it is most likely that the oracle executable has terminated unexpectedly.
    1) Determine which database you were connected to and
    obtain the following init.ora parameter values:
    Parameter Default
    USER_DUMP_DEST $ORACLE_HOME/rdbms/log
    BACKGROUND_DUMP_DEST $ORACLE_HOME/rdbms/log
    CORE_DUMP_DEST $ORACLE_HOME/dbs
    Eg: To find these log into SQL*DBA or Server Manager and:
    SQLDBA> show parameter dump
    2) Check in your 'USER_DUMP_DEST' for any Oracle trace file.
    It is important to find the correct trace file. Use the
    command 'ls -ltr' to list files in time order with the
    latest trace files appearing LAST. If you are not sure
    which trace file may be relevant, move all the current trace
    files to a different directory and reproduce the problem.
    The trace file will typically be of the form 'ora_<PID>.trc'.
    3) If there is no trace file check for a core dump in the
    CORE_DUMP_DEST. Check as follows:
    % cd $ORACLE_HOME/dbs # Or your CORE_DUMP_DEST
    % ls -l core*
    If there is a file called core, check that its time matches
    the time of the problem. If there are directories called
    'core_<PID>' check for core files in each of these. It is
    IMPORTANT to get the correct core file. Now obtain a stack
    trace from this core file. Check each of the sequences below
    for the procedure. One of the following should work for your
    platform:
    If you have dbx:
    % script /tmp/core.stack
    % dbx $ORACLE_HOME/bin/oracle core
    (dbx) where
    (dbx) quit
    % exit
    If you have sdb:
    % script /tmp/core.stack
    % sdb $ORACLE_HOME/bin/oracle core
    * t
    * q
    % exit
    If you have xdb:
    % script /tmp/core.stack
    % xdb $ORACLE_HOME/bin/oracle core
    (xdb) t
    (xdb) q
    % exit
    If you have adb:
    % script /tmp/core.stack
    % adb $ORACLE_HOME/bin/oracle core
    $c
    $q
    % exit
    4) Try to isolate the SQL command that is executing when
    the error occurs. Eg: Is it a particular SQL statement
    or PL/SQL block that causes the error ?
    To help establish this turn on SQL_TRACE for the client
    tool.
    Eg: Product Action
    ~~~~~~~ ~~~~~~
    SQL*Forms Use the '-s' statistics option at run time.
    SQL*Plus Issue 'ALTER SESSION SET SQL_TRACE TRUE;'
    Pro* EXEC SQL ALTER SESSION SET SQL_TRACE TRUE;
    This should force a server side SQL trace file as detailed
    in #2 above. The trace file should give a clue as to what
    SQL was being executed.
    5) Try to obtain any SQL*Net trace to show what the latest
    operation sent to the oracle process was.
    For SQL*Net V2 ask for the article [NOTE:16564.1]
    For SQL*Net V1 check which SQL*Net protocol you are using
    and note the Debug environment variable from table C1 above.
    Then catch SQL*Net trace from the client. Eg: For SQL*Net
    TCP/IP and sqlplus:
    % setenv OSNTDBUG -1 # Use correct OSN*DBUG
    variable
    % sh
    % sqlplus scott/tiger@t:hostname:sid 2>/tmp/net1.out
    6) Based on information collected above try to determine a small
    test case which will reproduce the problem. This is important
    for two reasons:
    a) It gives Oracle support a small test case if the
    problem does not look like a known problem.
    b) It gives you a simple way to check if any patch
    supplied will fix the problem.
    7) It may be useful to follow the instructions in step (4) above.
    This will produce a lot of output but MAY be useful if no
    other information is available.

  • Problem deleting Content Areas

    Hi!
    i have just encountered the following error while deleting a content area
    An unexpected error has occurred (WWS-32100)
    ORA-6502: ORA-06502: PL/SQL: numeric or value error (WWC-36000
    Thing to mention is... before that when i tried to delete another content area my browser hanged for pretty much time and i had to abort the deletion,after resuming back to that page i have that content area there but all edit,open links have disappeared,clicking on the link shows error page 'Folder ID Does Not Exist',checking the databse shows corresponding entries still in wwsbr_all_languages$' and wwsbr_site$',after trying instructions(found in another thread with similar problem) from sqlplus there is no reponse after executing the delete query,what might be the problem
    any steps to follow up
    How can I get rid of these errors??
    thx
    Alizeh

    We have the same problem - we deleted content areas in 3.0.8, but they still display in navigator, and we upgraded to 3.0.9 and they still display but they do not exist.

  • Help!? wierd sqlnet problem with linux 8.0.5

    I installed Oracle for Linux 8.0.5 on RHL 6.0
    and also applied the glibc patches. Database
    is up and running... and my pc clients can connect
    to the database...
    So my problem is:
    I can connect to the local linux database just fine but,
    I'm having problems using sqlplus to connect to another database.
    For example, suppose I am in sqlplus and do:
    connect scott/[email protected]
    (assume prod.world is a 7.3.4 database on a separate machine and
    the listener and everything is fine)
    I get: ORA-01017:invalid username/password; logon denied
    The username/password is valid because...
    If I use svrmgrl to connect to prod.world:
    and do a connect scott/[email protected]
    It connects!
    tnsping test.world and prod.world and I get ok... so I know that
    the /network/admin/tnsnames.ora is okay... especially since it
    connects with svrmgrl...!?
    Any ideas anyone???
    Thanks in advance...
    Phil Adams
    null

    Phil,
    I would be suspicious of the svrmgrl connect , I have tested
    this myself and found that it ignores the "@sqlnet-alias" string
    completely ! I suspect that the user scott exists in both the
    local and remote databases and that remote scott has a different
    passwd from the local scott !
    One way to convince yourself of this :
    1 create a user in the remore database
    2 ensure that there is no user of the same name in the local
    database
    3 try your test again with this user
    Cheers
    Mark
    null

Maybe you are looking for

  • Itunes won't open, no error, just won't show up at all

    I have an older version of itunes stuck on my computer because i cannot open itunes to upgrade or download a newer version from online. There is no error message or anything. Nothing happens when you click on it. It's very frustrating. I'd appreciate

  • Help with N73 update

    Hello everybody. I have a problem updating my N73. My current software version is 2.0628.0.0.3 27-07-2006 - which I know is pretty old but when I try to update with my software updater it tells me that there are no update versions for my phone. Also

  • Mac not reading VOB files on some burnt DVD-R

    I want to use Mpeg Streamclip to convert VOB files to a quicktime file. I'm successful in doing this when I burn a DVD-R from Mac software. But when I put in a dvd-r into my Mac that was recorded "on-the-fly" on my Panasonic DVD recorder, it shows th

  • Java compile error for removed API

    Hi, What are the Java compile errors for API that has been removed? As I understand it, API elements are deprecated and not removed from the API immediately, but will be removed in future releases or after so many years. When Java code is compliled i

  • Can i download a dvd that i bought onto my itouch

    I went and bought a concert DVD and i want to put it on my i touch. Is this possible,what kinds of software do i need,I'm running with windows vista.please someone help. thanks H.