Sqlplus "/as sysdba" is not working

We created oinstall group & oracle user (group is oinstall) on Solaris 10, 64bit SPARC box. And installed oracle 10g release 2. From the UNIX box sqlplus "/as sysdba" is not working.
sqlplus
Enter user-name: sys as sysdba
Enter password:
is working fine.
What could be the problem? Please help.
Thanks,
Prasad

For any of a number of reasons, you do not have 'operating system authentication' enabled.
This setup is fairly well described here http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref149

Similar Messages

  • Sqlplus -prelim command is not working.

    Hi ,
    sqlplus -prelim command is not working for me. It is giving me the below error.
    oracle@xyz: /app/oracle/product/10.2.0/bin $*sqlplus -prelim*
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Aug 7 10:31:54 2009
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter user-name: oracle
    Enter password:
    ERROR:
    ORA-24300: bad value for mode.
    I am solaris 5.10 and database is 10g.
    Thanks
    Naveen.

    what -prelim command?
    sqlplus -help
    SQL*Plus: Release 10.2.0.4.0 - Production
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                 usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                 version specified by <version>.  The version has
                 the form "x.y[.z]".     For example, -C 10.2.0
        -L             Attempts to log on just once, instead of
                 reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                 have the form:
                 HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                 [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>        Sets restricted mode to disable SQL*Plus commands
                 that interact with the file system.     The level can
                 be 1, 2 or 3.  The most restrictive is -R 3 which
                 disables all user commands interacting with the
                 file system.
        -S             Sets silent mode which suppresses the display of
                 the SQL*Plus banner, prompts, and echoing of
                 commands.
      <logon> is: (<username>[/<password>][@<connect_identifier>] | /)
               [AS SYSDBA | AS SYSOPER] | /NOLOG
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA and AS SYSOPER options are database administration
        privileges.
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.

  • Sqlplus / as sysdba--how it works

    When we login as
    sqlplus / as sysdba
    we login as SYS user, but how no userid or password is given but still we login as SYS user ??

    Try this :-
    [timepass@adc2110341 bin]$ ./sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 7 04:57:28 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show user
    USER is "SYS"And then this :-
    [timepass@adc2110341 bin]$ ./sqlplus /
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 7 04:57:51 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show user
    USER is "OPS$TIMEPASS"Thanks.

  • ORA-27101 and htmldb not working

    I'v downloaded and installed ODB 10c Express Edition, bu can't get running nothing
    Can't connect with sqlplus and htmldb also not working.
    Windows XP Proffessional SP2
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-12705: Cannot access NLS data files or invalid environment specified
    SQL> set echo on
    SQL> //create or replace directory DB_BACKUPS as 'C:\oraclexe\app\oracle\flash_recovery_area';
    SP2-0640: Not connected
    SQL> begin
    2      dbms_xdb.sethttpport('8080');
    3      dbms_xdb.setftpport('0');
    4 end;
    5 /
    SP2-0640: Not connected
    SQL> create spfile='C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora' FROM pfile='C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\init.ora';
    SP2-0640: Not connected
    SQL> shutdown immediate;
    ORA-01012: not logged on
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-12705: Cannot access NLS data files or invalid environment specified
    SQL> startup ;
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL> select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MI:SS') from dual;
    SP2-0640: Not connected
    SQL> execute utl_recomp.recomp_serial();
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SQL> select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MI:SS') from dual;
    SP2-0640: Not connected
    SQL> alter user hr password expire account lock;
    SP2-0640: Not connected
    SQL> alter user ctxsys password expire account lock;
    SP2-0640: Not connected
    SQL> alter user outln password expire account lock;
    SP2-0640: Not connected
    SQL> spool off;

    We have checked, this is a known bug.Bug 4657820 - NLS:XENT10201-050913:FAIL TO INSTALL WINDOWS XE UNDER RUSSIAN LOCALE.
    The simptom is that installation fails without error messages when the installation is performed under the following locale.
    - Russian
    - Estonian
    - English - South Africa
    - Spanish - Dominican Republic
    The workaround is to change the user locale to something else before the XE installation.

  • Sqlplus can connect but can not work!

    I have finished an installing of an Oracle10R2 on the OEL5.0 system. All run well except that the sqlplus can not work.I install it once more, but the results are same. What is the problem?
    [oracle@localhost database]$ sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri May 30 15:10:58 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl.ora'
    SQL>
    Message was edited by:
    frank.qian

    [root@localhost admin]# whoami
    root
    [root@localhost admin]# set | grep -i ora
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    LOGNAME=oracle
    MAIL=/var/spool/mail/oracle
    OLDPWD=//u01/app/oracle/product/10.2.0/db_1/dbs
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORACLE_SID=orcl
    PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:/u01/app/oracle/product/10.2.0/db_1/bin
    PWD=//u01/app/oracle/product/10.2.0/db_1/network/admin
    USER=oracle
    USERNAME=oracle
    [root@localhost admin]# la -l $ORACLE_HOME/bin/oracle
    bash: la: command not found
    [root@localhost admin]# ls -l $ORACLE_HOME/bin/oracle
    -rwsr-s--x 1 oracle oinstall 93362188 May 30 14:56 /u01/app/oracle/product/10.2.0/db_1/bin/oracle
    [root@localhost admin]# cat $ORACLE_HOME/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    [root@localhost admin]# cat $ORACLE_HOME/network/admin/tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl2)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    [root@localhost admin]# ls -l $ORACLE_HOME/dbs
    total 20784
    -rw-r----- 1 oracle oinstall 168 May 29 10:10 alert_orcl.log
    -rw-r----- 1 oracle oinstall 1544 May 29 21:27 hc_orcl0.dat
    -rw-r----- 1 oracle oinstall 1544 May 30 08:31 hc_orcl1.dat
    -rw-r----- 1 oracle oinstall 1544 May 30 14:58 hc_orcl2.dat
    -rw-r----- 1 oracle oinstall 1544 May 27 12:49 hc_orcl.dat
    -rw-r----- 1 oracle oinstall 12920 May 3 2001 initdw.ora
    -rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
    -rw-r----- 1 oracle oinstall 24 May 30 15:00 lkORCL2
    -rw-r----- 1 oracle oinstall 1536 May 30 15:04 orapworcl2
    -rw-r----- 1 oracle oinstall 7061504 May 29 22:24 snapcf_orcl0.f
    -rw-r----- 1 oracle oinstall 7061504 May 30 10:52 snapcf_orcl1.f
    -rw-r----- 1 oracle oinstall 7061504 May 30 18:56 snapcf_orcl2.f
    -rw-r----- 1 oracle oinstall 2560 May 30 16:29 spfileorcl2.ora
    [root@localhost admin]# ps -ef | grep lsnr
    oracle 8371 1 0 14:58 ? 00:00:00 /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER -inherit
    root 18146 5097 0 20:58 pts/2 00:00:00 grep lsnr
    [root@localhost admin]# ps -ef | grep lsnr
    oracle 8371 1 0 14:58 ? 00:00:00 /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER -inherit
    root 18146 5097 0 20:58 pts/2 00:00:00 grep lsnr
    [root@localhost admin]# ps -ef | grep ora
    root 2581 2560 0 14:15 ? 00:00:00 hald-addon-storage: polling /dev/hda
    oracle 3542 3485 0 14:17 ? 00:00:00 /usr/bin/gnome-session
    oracle 3605 3542 0 14:17 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
    oracle 3608 1 0 14:17 ? 00:00:00 /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
    oracle 3609 1 0 14:17 ? 00:00:00 /bin/dbus-daemon fork print-pid 4 print-address 6 session
    oracle 3615 1 0 14:17 ? 00:00:00 /usr/libexec/gconfd-2 11
    oracle 3618 1 0 14:17 ? 00:00:00 /usr/bin/gnome-keyring-daemon
    oracle 3620 1 0 14:17 ? 00:00:01 /usr/libexec/gnome-settings-daemon
    oracle 3635 1 0 14:17 ? 00:00:14 metacity --sm-client-id=default1
    oracle 3639 1 0 14:17 ? 00:00:02 gnome-panel --sm-client-id default2
    oracle 3641 1 0 14:17 ? 00:00:01 nautilus no-default-window sm-client-id default3
    oracle 3645 1 0 14:17 ? 00:00:00 /usr/libexec/gnome-vfs-daemon
    oracle 3649 1 0 14:17 ? 00:00:00 /usr/libexec/bonobo-activation-server ac-activate ior-output-fd=17
    oracle 3652 1 0 14:17 ? 00:00:00 eggcups --sm-client-id default4
    oracle 3655 1 0 14:17 ? 00:00:00 gnome-volume-manager --sm-client-id default5
    oracle 3660 1 0 14:17 ? 00:00:00 bt-applet --sm-disable
    oracle 3675 1 0 14:17 ? 00:00:00 /usr/bin/python -tt /usr/bin/puplet
    oracle 3677 1 0 14:17 ? 00:00:00 /usr/libexec/gam_server
    oracle 3684 1 0 14:17 ? 00:00:00 ./escd key_Inserted="/usr/bin/esc" on_Signal="/usr/bin/esc"
    oracle 3687 1 0 14:17 ? 00:00:00 /usr/libexec/trashapplet oaf-activate-iid=OAFIID:GNOME_Panel_TrashApplet_Factory oaf-ior-fd=19
    oracle 3689 1 0 14:17 ? 00:00:06 /usr/libexec/wnck-applet oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory oaf-ior-fd=25
    oracle 3693 1 0 14:17 ? 00:00:00 /usr/libexec/mapping-daemon
    oracle 3695 1 0 14:17 ? 00:00:00 nm-applet --sm-disable
    oracle 3703 1 0 14:18 ? 00:00:00 pam-panel-icon --sm-client-id default0
    oracle 3708 1 0 14:18 ? 00:00:01 gnome-power-manager
    oracle 3712 1 0 14:18 ? 00:00:00 /usr/libexec/mixer_applet2 oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory oaf-ior-fd=23
    oracle 3718 1 0 14:18 ? 00:00:01 /usr/bin/python -E /usr/bin/sealert -s
    oracle 3728 1 0 14:18 ? 00:00:00 /usr/libexec/notification-area-applet oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory oaf-ior-fd=24
    oracle 3730 1 0 14:18 ? 00:00:00 /usr/libexec/clock-applet oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory oaf-ior-fd=28
    oracle 3766 1 0 14:18 ? 00:00:03 gnome-screensaver
    oracle 3828 1 0 14:26 ? 00:00:09 gnome-terminal
    oracle 3831 3828 0 14:26 ? 00:00:00 gnome-pty-helper
    oracle 3832 3828 0 14:26 pts/1 00:00:00 bash
    oracle 5067 3828 0 14:43 pts/2 00:00:00 bash
    oracle 8371 1 0 14:58 ? 00:00:00 /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER -inherit
    oracle 9663 1 0 15:04 pts/1 00:00:00 /u01/app/oracle/product/10.2.0/db_1/perl/bin/perl /u01/app/oracle/product/10.2.0/db_1/bin/emwd.pl dbconsole /u01/app/oracle/product/10.2.0/db_1/localhost.localdomain_orcl2/sysman/log/emdb.nohup
    oracle 10827 9663 0 15:06 pts/1 00:00:12 /u01/app/oracle/product/10.2.0/db_1/bin/emagent
    oracle 11211 1 0 15:07 pts/1 00:00:11 /u01/app/oracle/product/10.2.0/db_1/jdk/bin/java -Djava.awt.headless=true -Doracle.oc4j.localhome=/u01/app/oracle/product/10.2.0/db_1/sqlplus -Djava.security.properties=/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/config/jazn.security.props -jar /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/oc4j.jar -config /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/isqlplus/config/server.xml
    oracle 11427 1 0 15:10 ? 00:00:00 /bin/sh /usr/lib/firefox-1.5.0.9/firefox
    oracle 11450 11427 0 15:10 ? 00:00:00 /bin/sh /usr/lib/firefox-1.5.0.9/run-mozilla.sh /usr/lib/firefox-1.5.0.9/firefox-bin
    oracle 11455 11450 2 15:10 ? 00:10:14 /usr/lib/firefox-1.5.0.9/firefox-bin
    oracle 12851 1 0 15:29 ? 00:00:00 ora_pmon_orcl2
    oracle 12853 1 0 15:29 ? 00:00:00 ora_psp0_orcl2
    oracle 12855 1 0 15:29 ? 00:00:00 ora_mman_orcl2
    oracle 12857 1 0 15:29 ? 00:00:00 ora_dbw0_orcl2
    oracle 12859 1 0 15:29 ? 00:00:02 ora_lgwr_orcl2
    oracle 12861 1 0 15:29 ? 00:00:00 ora_ckpt_orcl2
    oracle 12863 1 0 15:29 ? 00:00:06 ora_smon_orcl2
    oracle 12865 1 0 15:29 ? 00:00:00 ora_reco_orcl2
    oracle 12867 1 0 15:29 ? 00:00:00 ora_cjq0_orcl2
    oracle 12869 1 0 15:29 ? 00:00:02 ora_mmon_orcl2
    oracle 12871 1 0 15:29 ? 00:00:00 ora_mmnl_orcl2
    oracle 12873 1 0 15:29 ? 00:00:00 ora_d000_orcl2
    oracle 12876 1 0 15:29 ? 00:00:00 ora_s000_orcl2
    oracle 12884 1 0 15:29 ? 00:00:00 ora_rvwr_orcl2
    oracle 12886 1 0 15:29 ? 00:00:00 ora_arc0_orcl2
    oracle 12888 1 0 15:29 ? 00:00:00 ora_arc1_orcl2
    oracle 12895 1 0 15:29 ? 00:00:00 ora_qmnc_orcl2
    oracle 12966 1 0 15:29 ? 00:00:10 oracleorcl2 (LOCAL=NO)
    oracle 12975 1 0 15:29 ? 00:00:02 oracleorcl2 (LOCAL=NO)
    oracle 12978 1 0 15:29 ? 00:00:00 ora_q000_orcl2
    oracle 12982 1 0 15:29 ? 00:00:00 ora_q002_orcl2
    oracle 12989 9663 2 15:29 pts/1 00:08:04 /u01/app/oracle/product/10.2.0/db_1/jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 -Doracle.home=/u01/app/oracle/product/10.2.0/db_1/oc4j -Doracle.oc4j.localhome=/u01/app/oracle/product/10.2.0/db_1/localhost.localdomain_orcl2/sysman -DEMSTATE=/u01/app/oracle/product/10.2.0/db_1/localhost.localdomain_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_orcl2/config/jazn.xml -Djava.security.policy=/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_orcl2/config/java2.policy -Djava.security.properties=/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=/u01/app/oracle/product/10.2.0/db_1/localhost.localdomain_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=/u01/app/oracle/product/10.2.0/db_1 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/oc4j.jar -config /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_orcl2/config/server.xml
    oracle 13020 1 0 15:30 ? 00:00:01 oracleorcl2 (LOCAL=NO)
    oracle 13028 1 0 15:30 ? 00:00:01 oracleorcl2 (LOCAL=NO)
    oracle 13031 1 0 15:30 ? 00:00:09 oracleorcl2 (LOCAL=NO)
    oracle 13148 1 0 15:32 ? 00:00:10 oracleorcl2 (LOCAL=NO)
    oracle 16447 3832 0 18:50 pts/1 00:00:00 sqlplus
    oracle 16448 16447 0 18:50 ? 00:00:00 oracleorcl2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle 18165 1 14 21:00 ? 00:00:00 ora_j000_orcl2
    root 18167 5097 0 21:00 pts/2 00:00:00 grep ora
    [root@localhost admin]# tail /u01/app/oracle/admin/orcl/bdump/alert.log
    tail: cannot open `/u01/app/oracle/admin/orcl/bdump/alert.log' for reading: No such file or directory
    [root@localhost admin]# tail /u01/app/oracle/admin/orcl2/bdump/alert.log
    tail: cannot open `/u01/app/oracle/admin/orcl2/bdump/alert.log' for reading: No such file or directory

  • Now the sqlplus is not working

    C:\>sqlplus "/ as sysdba"
    returns
    ERROR:
    ORA-01031: insufficient privileges
    do I not have to give db name there ???
    Please help me. I need this database up and running as soon as possible.
    NICK

    which user are you connected with ?
    Fred

  • Sqlplus is not working after oracle 10g client installatio on linux server

    Him
    jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
    # Set up the shell variables:
    EDITOR=vi
    export EDITOR
    ### Set the umask
    umask 022
    ### Set ulimit
    #ulimit -u 16384
    #ulimit -n 65536
    ### Set Oracle Environment
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
    export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
    export LIB_PATH=$ORACLE_HOME/lib
    export ORATAB=/etc/oratab
    export NLS_LANG=american_america.we8iso8859p1
    export THREADS_FLAG=native
    echo ' '
    echo 'Oracle 10G environment has been setup'
    echo 'Export the ORACLE_SID to target database before connecting'
    echo ' '

    841731 wrote:
    Him
    jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
    # Set up the shell variables:
    EDITOR=vi
    export EDITOR
    ### Set the umask
    umask 022
    ### Set ulimit
    #ulimit -u 16384
    #ulimit -n 65536
    ### Set Oracle Environment
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
    export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
    export LIB_PATH=$ORACLE_HOME/lib
    export ORATAB=/etc/oratab
    export NLS_LANG=american_america.we8iso8859p1
    export THREADS_FLAG=native
    echo ' '
    echo 'Oracle 10G environment has been setup'
    echo 'Export the ORACLE_SID to target database before connecting'
    echo ' '" sqlplus is not working" is not an actionable error message. Unfortunately, you didn't show us what happens when you try to execute sqlplus.
    Essentially, what you've done is the equivalent of 'here's a picture of my garage. Why won't my car start?'

  • Grant sysdba to rmanuser did not work but later worked.Need explnatn pls...

    Hi Members,
    I'm running a test 9i RAC. I'm trying to setup RMAN to backup data from RAC. One of the requirements to setup RMAN recovery catalog (database) is to grant/create a user on target database with sysdba privileges. Hence i created a user named 'RMANUSER' with default tablespace users and temporary tablespace temp.
    When I try to grant sysdba to RMANUSER, it says granted but when i check v$pwfile_users, RMANUSER is not listed.
    instance connected to is orcl1:
    conn sys/pwd@orcl as sysdba
    SQL> show parameters remote_login
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQL> grant sysdba to rmanuser;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDB SYSOP
    SYS TRUE TRUE
    I tried the above even on orcl2 with no result. I read somewhere that I need to create a new password file with orapwd and hence i created new password file on both instances.
    on orcl1:
    orapwd file=/opt/oracle/product/9.2.0/dbs/orapworcl1 pwd=password entries=5
    on orcl2:
    orapwd file=/opt/oracle/product/9.2.0/dbs/orapworcl2 pwd=password entries=5
    The good thing is I renamed the old files and created new orapw files.
    After creation of new files, When I try to grant sysdba to rmanuser, I received the following error: ORA-01999:password file mode has changed from 'exclusive' to 'shared'
    But show parameters remote_login was still "exclusive"
    SQL> show parameters remote_login
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    Now, there were no users in v$pwfile_users
    SQL> select * from v$pwfile_users;
    no rows selected
    Also I was unable to connect to sys with sysdba privileges. I was only able to connect without sysdba.
    SQL> conn sys/oracle@orcl
    Connected.
    SQL> conn sys/oracle@orcl as sysdba
    ORA-01031: insufficient privileges
    SQL> conn sys/oracle@orcl
    Connected.
    SQL> shutdown immediate
    ORA-01031: insufficient privileges
    I was also unable to shutdown the database. Hence I reverted back to the old orapw files on both instances(servers). Then I just tried if the grant sysdba to rmanuser would work, and luckily it worked.
    SQL> grant sysdba to rmanuser;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDB SYSOP
    SYS TRUE TRUE
    RMANUSER TRUE FALSE
    But I'm unable to understand as to how it worked now. The orapw files are attached below for your reference. Any inputs are greatly appreciated. Thanks in advance. orapworcl1 is the old one which works now. orapworcl1-new was the newly created file which does not work and gives insufficient privileges error.
    [root@sunny1pub ~]# cat /opt/oracle/product/9.2.0/dbs/orapworcl1
    ]\[ZORACLE Remote Password file ORCL  INTERNAAB27B53EDC5FEF41 SYS 8A8F025737A9097A _�RMANUSED1C5D743B0B4A7F0
                                                                                                                   �
    [root@sunny1pub ~]# cat /opt/oracle/product/9.2.0/dbs/orapworcl1-new
    ]\[ZORACLE Remote Password file INTERNAAB27B53EDC5FEF41 SYS 8A8F025737A9097A
    [root@sunny1pub ~]#

    Thanks for your feedback. I think you got me wrong here. Even orapworcl1-new was orapworcl1 when i created and tested it. You could see the filenames in orapwd line. I just renamed it now after all the testing just to post it. I do understand that the file name needs to be orapworcl1 and orapworcl2 on both the instances for it to work. One more thing that i forgot to add is that all the below ones work:
    sql> conn sys/pwd@orcl
    connected
    sql> conn sys/pwd@orcl as sysdba
    connected
    sql> conn rmanuser/pwd@orcl
    connected
    sql> conn rmanuser/pwd@orcl as sysdba
    connected

  • Lsnrctl and sqlplus do not work after installation

    I install Oracle 10g on my Linux, but it does not work. For example when run lsnrctl or sqlplus, nothing happens. Any idea?

    Hi,
    Create a bash profile .bash_profile in your home path as follows:
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    export ORACLE_BASE=/u01/oracle10g
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/dbhome_1
    export PATH=$ORACLE_HOME/bin:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export ORACLE_SID=TESTDB
    Save this setting and run this file first time
    $. .bash_profile
    Once you run this I hope sqlplus should work provided you supply correct path and directories names to this file.
    Use netca to recreate your listener and start it.
    $lsnrctl start
    $lsnrctl status
    Hope it will help.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com

  • I coud not connect by sqlplus / as sysdba

    export ORACLE_SID=prod
    sqlplus / as sysdbait gives the following error:
    ora-01030:insufficient privilege
    how could i login by / as sysdba? do i need some setting?

    You should create a special group for 'dba'.
    Some installations also prefer you create an 'oinstall', but I prefer not to use it myself.
    Rather, I just use the 'dba' group.
    You should have an entry in your /etc/group file similar to:
    dba:!:201:oracle
    Then, in your password file, you should see the 'group' field (4th field) with the group ID that is in the /etc/group file.
    oracle:!:215:201::/home/oracle:/usr/bin/ksh
    Above, notice that the password entry notes the Oracle User ID (UID) is 215, and the Group ID (GID) is 201.
    This is just an example (of course), and yours will be different.
    As a recommendation, you might make a DBA group with ID 501 and then change the Oracle group ID to 501.

  • Sqlpuls command is not working at Linux

    Hi,
    Oracle 11g has been installed successfully at Linux. Please find below output that I got after executing ‘uname –a ‘ command:
    Linux <server_name> 2.6.9-89.0.25.ELsmp #1 SMP Mon Apr 19 06:05:15 EDT 2010 i686 athlon i386 GNU/Linux
    $ORACLE_HOME is also set properly.
    But when I am executing sqlpuls command, it is getting hung, not asking for user id & password prompt
    $ sqlplus
    $ sqlplus / as sysdba
    Could you please throw some lights on this?
    Regards,
    Amitava

    Check if the PATH is set properly. In the documentation, you can see how to set it.
    If it still doesn't work, try running it directly from its directory:
    1 cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
    2 ./sqlplus

  • Apex Instance 3.2 is not working anymore!

    Hello Community,
    i have Apex 3.2 installed on a ORACLE Standard Edition One. Everything worked fine.
    After some updates the apex does not start anymore on it's adress: [http://192.168.250.30:8081/apex]
    Im just seeing the ORACLE enterprise Manager which says the Database is down.
    The TNS-Listener is started.
    Does anbody has a solution?
    Gruß
    Philippsen

    "After some updates.." - Which updates?
    "ORACLE enterprise Manager which says the Database is down" is database down or not? Can you connect on it and query the database using SQLPlus?
    Do:
    lsnrctl stop
    lsnrctl start
    sqlplus / as sysdba
    shutdown immediate
    startup
    lsnrctl status
    Give us output of last command if all other before pass without error.

  • SAP* and DDIC password is not working in Cleint 000

    Hi,
        I have Installed ECC 6.0 IDES Server on Windows 2k3 with Oracle database. First time i was able to login to 000 client with SAP* (default pwd) and did some post installation steps. Now the password is not working.
    I tried the following:
    Go to cmd prompt.
    Sqlplus /nolog
    conn /as sysdba
    sqlplus>UPDATE SAPSR3.usr02 set uflag=0 where mandt='000' and uflag=128;
    All the SAP users were Unlocked.
    Then i tried delete command.
    sqlplus>DELETE SAPSR3.usr02 where mandt='000' and bname='SAP*';
    it says " 0 rows deleted "
    Parameter login/no_automatic_user_sapstar= 0 is set.
    Then Restarted the SAP server and tried logging with password pass it says user and password incorrect.

    Hi,
    As I have given in the earlier pls go through that link.
    And also ...It is good practice to put back the automatic sapstar to 1 as this will not allow other to use same way as sap* /pass and log into the client.
    The first thing is like create one more user in the 000 ,and also other super user incase if you have to use 000 with super user and have your own mechanism like have cutomised program and tcode with which you can activate 000 super user and use some thing like this...or it is only known to SAP BAsis Administrator.etc..
    And also do not work on 000 for regular development or prd work make a copy of this client and start using them .
    This has to be used only for Support pack other SAp related activities.
    The first step after installation is to make a copy of these refrence clients.And start using them.
    Secondly create the sap* usermaster in 000 and remove profiles .
    And enable parameter login/no_automatic_user_sapstar to 1.
    with this we are securing the super user from misuse.
    Incase of emergency you need to delete the sap* user master from Oracle level then activate the prifile parameter and the loginto the 000 client using sap*/Pass.
    Hope this helps.
    Get back if you need more information.
    Thanks.

  • Login button not working on Applicatin Express Login screen

    Hi,
    I'm trying to upgrade default apex version that comes with xe to apex 3.2.1. I've listed down the steps I followed to upgrade apex.
    After following all the steps, I'm able to login to my application, however not able to login to apex workspace using url http://127.0.0.1:8080/apex/ as the login button is not working.
    Also there is no image for Application Express on the top of the page. I did try http://127.0.0.1:8080/i/ and it returns list of images.
    Below are the steps I followed to upgrade apex
    1. Downloaded apex_3.2.1.zip to C:\Software
    2. unzip apex_3.2.1.zip to C:\Software\apex
    3. started command prompt and set these variables
    set ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server
    set ORACLE_SID=xe
    set ORACLE_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin
    set LD_LIBRARY_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\lib
    3.1 Shutdown the listener and job services
    4.
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    @apexins SYSAUX SYSAUX TEMP /i/
    5.
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    @apxchpwd
    6.
    Stopped and Started the Database, also the listener and job processes
    7.
    sqlplus /nolog
    connect sys as sysdba
    @apxldimg.sql c:\software
    8.
    sqlplus /nolog
    connect sys as sysdba
    exec dbms_xdb.setListenerLocalAccess (l_access => FALSE);
    Any clue on where could I have gone wrong?
    Thanks,
    Hozy

    >
    Any clue on where could I have gone wrong?
    >
    1. You forgot to run the apxldimg.sql script to update the images directory
    http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/otn_install.htm#BHAJIGDA
    3.3.5.2 Updating the Images Directory When Upgrading from a Previous Release
    Regards,
    Phiri

  • ORA-01031: insufficient privileges when loggin in as sqlplus "/ as sysdba"

    I have recently got a brand new Solaris Box. Have restored the ORacle Home from a live server.
    then gone to restore a database from Tape.
    All done fine.
    However I cannot seem to login as
    $>sqlplus "/ as sysdba"
    I can only seem to login as
    $>sqlplus /nolog
    then
    SQL>connect sys/password as sysdba
    I have shut the Database down and recreated the password file
    orapwd file=$ORACLE_HOME/dbs/orapwFMZ password=passowrd entries=50
    Tried again but the same response... a spool of which is below.
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Thu Apr 5 09:49:23 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: ^C^X^Z
    SQL> connect / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    $ sqlplus /nolog
    SQL*Plus: Release 9.2.0.8.0 - Production on Thu Apr 5 09:49:36 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect sys/password as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 68386816 bytes
    Fixed Size 729088 bytes
    Variable Size 54525952 bytes
    Database Buffers 12582912 bytes
    Redo Buffers 548864 bytes
    Database mounted.
    Database opened.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    I have inlcuded a list of parameters below FYI
    SQL> show parameter remote
    NAME TYPE VALUE
    remote_archive_enable string true
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string SHARED
    remote_os_authent boolean TRUE
    remote_os_roles boolean FALSE
    Please can someone help.
    Best Regards,
    M
    Edited by: user5856470 on Apr 5, 2012 2:11 AM

    I have tried what has been suggested but with no result
    SQL> alter system set remote_login_passwordfile=exclusive scope=spfile;
    SQL> show parameter remote_log
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQLNET.AUTHENTICATION_SERVICES = (ALL)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Bounced the database but no result...
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:37 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    I have reset the parameters back to original. As this is the parameters in the source database system which is working with sqlplus "/ as sysdba"
    As you can see, I can log in as below but not with remote authentication....
    $ sqlplus
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:42 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name: sys/password as sysdba
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    FYI.
    I did delete the password file and recreated it as well. But cannot still connect as sqlplus "/ as sysdba"
    Any Ideas???

Maybe you are looking for

  • Java instance installation fails for EP 6.0 SR1 on AIX 5.1/Oracle 9.2

    Hi Friends I am currently installing EP 6.0 SR1 on NW04 on AIX 5.2 & Oracle 9.2.0.1, last few steps of installation I applied Oracle patchset 9.2.0.5. I am using the option SAPNW SR1-> Java system -> Central system ->custom installation-> Java system

  • Lightroom 2.7- HTML Web Gallery

    Hello all, I've been using Web Gallery features to produce picture pages but I would like to incorporate them into my existing web pages (with or without a background. I'd like to continue to use Lightroom because of it's ease of use to allow me to c

  • Clarrification about JSF and JBoss Seam

    Hi , i have just started a couple of hours ago reading about JSF and JBoss Seam and it seems interesting ...... here is my question : i have a form ( registration form ) written in jsp and a congratulation page (jsp page too) is right what i am sayin

  • SOAP call failling

    Hi , I am using a SOAP Receiver adapter to send a message. I am getting the below error when i try to call the soap adapter. SOAP: call failed: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8

  • How to use AWR in 10g?

    Hi All, I am new to AWR?. How to install and use it for performance data collection and reporting..? Edited by: jprakash on Aug 13, 2009 11:45 AM