Cannot connect to sys giving the database name

Hello All,
I cannot connect to sys user when giving the database name but with no database name I can connect.
[oracle@ccoshs02xvdbs04 trace]$ sqlplus sys/passwdA123system@mps01dev as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 10:38:36 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@ccoshs02xvdbs04 trace]$ sqlplus sys/passwdA123system as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 10:40:06 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter instance
NAME TYPE VALUE
active_instance_count integer
cluster_database_instances integer 1
instance_groups string
instance_name string mps01dev
instance_number integer 0
instance_type string RDBMS
open_links_per_instance integer 4
parallel_instance_group string
parallel_server_instances integer 1

[oracle@ccoshs02xvdbs04 script]$ sqlplus sys/passwdA123system as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 11:19:47 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter user sys identified by passwdA123system
2 ;
User altered.
SQL> connect sys/passwdA123system@mps01dev
ERROR:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
Warning: You are no longer connected to ORACLE.
SQL> exit
[oracle@ccoshs02xvdbs04 script]$ sqlplus sys/passwdA123system@mps01dev as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 1 11:21:15 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Many thanks.

Similar Messages

  • The database name cannot exceed 50 characters

    I am trying to create an offline copy of my BCM database in Outlook 2013. I have connected to my remote server which LeadershipSBSE\BCM and the database name itself is just LS. (I have shortened it as much as I can.) Despite these efforts, whenever I try
    and create the offline copy, it tells me the "database name cannot exceed 50 characters."
    I quite literally CANNOT shorten anything else. How can I get this to work?
    Thank you in advance.
    Veronica

    As mentioned above, the INSTANCE name that I am typing in is "LeadershipSBSE\BCM" and the actual DATABASE name that I am selecting is "LS". I started with much longer names, but have actually created a second SQL instance with a shorter name (BCM) and a
    new database with the name "LS". I quite literally CANNOT make this any shorter.
    I am using Windows 8.1 and Outlook 2013.
    I think I may have figured something out with regard to the error, though. My profile name was crazy long, since I was using a Google apps profile. When I switched to a different Outlook profile named "Outlook", I no longer got that error message. Now, though
    I am getting a "Database creation was unsuccessful" and in the Windows event log, I'm getting an Application error 1000 with these details:
    Faulting application name: wmiprvse.exe, version: 6.3.9600.16384, time stamp: 0x521590bf
    Faulting module name: svrenumapi100.dll, version: 2009.100.1617.0, time stamp: 0x4db1edee
    Exception code: 0xc0000005
    Fault offset: 0x0003a05f
    Faulting process id: 0x441c
    Faulting application start time: 0x01cef050aed27518
    Faulting application path: C:\WINDOWS\sysWOW64\wbem\wmiprvse.exe
    Faulting module path: C:\Program Files (x86)\Microsoft SQL Server\100\Shared\svrenumapi100.dll
    Report Id: eca67711-5c43-11e3-be6e-14dae951ed82
    Faulting package full name: 
    Thanks.
    Veronica.

  • Changing the Database Name

    Hi Gurus
    I am using oracle 10g on Windows platform. The issue is I need to change my database name. When i gone through the Oracle docs I found there is an utility called 'DBNEWID' . But not getting a clear cut idea. Since my DB is So critical anybody please tell me the exact steps to change the DB-Name.
    Thanks & Cheers
    Antony

    Changing Only the Database Name
    C:\>SQLPLUS/NOLOG
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Aug 22 10:54:38 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> CONN / AS SYSDBA
    Connected.
    SQL> SELECT DBID,NAME FROM V$DATABASE;
    DBID NAME
    1230404613 DB01
    SQL> SHUTDOWN IMMEDIATE;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Must be : Take Whole Database Backup (Oracle Recommended)
    Otherwise u lost ur database.
    SQL> STARTUP MOUNT;
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    --Go Command Prompt
    DBNEWID UTILITY >>>NID ( OS Path : d:\oracle\product\10.1.0\db_1\bin\nid)
    C:\>SET ORACLE_SID=DB01
    C:\>NID TARGET=SYS/ORACLE@DB01 DBNAME=ORADB01 SETNAME=YES
    DBNEWID: Release 10.1.0.2.0 - Production
    Copyright (c) 2001, 2004, Oracle. All rights reserved.
    Connected to database DB01 (DBID=1230404613)
    Connected to server version 10.1.0
    Control Files in database:
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL
    Change database name of database DB01 to ORADB01? (Y/[N]) => Y
    Proceeding with operation
    Changing database name from DB01 to ORADB01
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - modified
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - modified
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSTEM01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\UNDOTBS01.DBF - wrote new nam
    e
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\SYSAUX01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\USERS01.DBF - wrote new name
    Datafile D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\TEMP01.DBF - wrote new name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL01.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL02.CTL - wrote new
    name
    Control File D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB01\CONTROL03.CTL - wrote new
    name
    Instance shut down
    Database name changed to ORADB01.
    Modify parameter file and generate a new password file before restarting.
    Succesfully changed database name.
    DBNEWID - Completed succesfully.
    Set the DB_NAME initialization parameter in the initialization parameter file (PFILE) to the new database name.
    Note:
    The DBNEWID utility does not change the server parameter file (SPFILE). Therefore, if you use SPFILE to start your Oracle database, you must re-create the initialization parameter file from the server parameter file, remove the server parameter file, change the DB_NAME in the initialization parameter file, and then re-create the server parameter file.
    ---Create New Password File
    cmd>orapwd file=d:\oracle\product\10.1.0\db_1\database\pwddb01.ora password=oracle entries=5
    SQL> STARTUP PFILE=D:\Oracle\product\10.1.0\Db_1\database\initdb01.ora
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    Database mounted.
    Database opened.
    SQL> select dbid,name from v$database;
    DBID NAME
    1230404613 ORADB01
    Note:
    After Change DB Name Take Whole Database bkp.
    Note: If i am missing some step or write wrong step plz. correct me.
    Before doing this refer documentation.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm
    thanx
    Message was edited by:
    user526020
    null

  • Rename the database name

    I am installed oracle10g on widows-xp and i am created database my database name is orcl2
    now i want to change the database name orcl2 to orcl1
    i am following these steps...
    1)SHUTDOWN IMMEDIATE
    2)STARTUP MOUNT
    3)% nid TARGET=SYS/password@orcl1 DBNAME=orcl2 SETNAME=YES
    4)SHUTDOWN IMMEDIATE
    5)Set the DB_NAME initialization parameter in the initialization parameter file to the new database name.
    6)Create a new password file.
    7)STARTUP
    but i got an error at #3 ie
    SP2-0734:unknown command ignoring '% nid....
    and
    tell me how to create new password file
    and
    i have another doubt ie
    Are these steps applicable for all Oracle versions? or is there any specific version these steps compatible?
    could you please help me
    Thanks
    Rakesh

    Hi
    create a new password file by
    orapwd utility
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n>
    where
    file - name of password file (mand),
    password - password for SYS (mand),
    entries - maximum number of distinct DBA and force - whether to overwrite existing file (opt),
    OPERs (opt),
    There are no spaces around the equal-to (=) character.
    Thanks
    Kuljeet Pal Singh

  • How to know the database name?

    I have installed oracle 10g and developer suite.. I am trying to create forms now.
    But its error out: TNS: could not resolve the connect identifier specified!!!
    I forgot the Data base name.. How can I know the database name??
    Thanks in Advance!!!!!!!!!!

    I have installed oracle 10g and developer suite.. I'm sorry, but you are going to have be more specific as what you installed!
    If you installed Oracle Database 10g Express Edition then it is not (by default) configured to allow a connection through SQL*Plus. It is primarily configured to open a connection through the "Go To Database Homepage" url/link in the Start Menu => Oracle Database 10g Express Edition => Go To Database Homepage. In order to connect to the database from SQL*Plus (which is included with Oracle Developer Suite 10g) you will need to run the Net Configuration Assistant to configure your TNSNAMES.ora and SQLNET.ora files. Go to Start Menu => Oracle - DevSuiteHome1 => Configuration and Migration Tools => Net Configuration Assistant to run the assistant. After you run the assistant, test to make sure can connect through SQL*Plus before you attempt to connect through Forms.
    Hope this helps,
    Craig...

  • How to create the database name

    May I know,How to create database name?It is create net service name is a create database name?My database instance is PSM2006 and i connect connect user1/user1@psm2006 . Can i create another instance such as bomba ?
    I want to save my oracle table in database name 'Operasi'
    and save another table in database name 'Kawalan'
    May i know,how to create and then view the database name?
    I am new in Oracle 9i client and Oracle 9i server install on server machine

    In Oracle:
    A database is a group of files that can hold data;
    An instance is the running software and memory to control one database;
    A schema is a collection of tables (and other things), often related to one application;
    A user is a security mechanism that allows privileges and may own one schema.
    Aa schema-owning user may grant access to the schema to any other users.
    A tablespace is like a disk - just a place to store things. And just like any operating system or computer, which can have many disks, a database can have many tablespaces.
    (Tablespaces were created when disks were small and one table easily filled up more than one disk. So tablespace was invented to become a logical disk, or space for tables, that could combine multiple disks.)
    Many schemas can use one tablespace to store their tables and indexes. Just like placing a file on a specific disk, each table can be assigned individually to a specific tablespace.
    So - you want to create a user 'Operasi' and a user 'Kawalan'. Each user should become a schema owner, simply by creating tables and indexes (and other things).
    Then you can create other users, 'Joe', 'Jeff', 'Tom' and 'Betty' and give them access to the tables in the 'Operasi' schema. Create users 'Buhlan', 'Karla', 'Gronk' and give them access to the tables in 'Kawalan'. And create users 'Flox' and 'Gnorf' and give them access to the tables in both 'Operasi' and 'Kawalan'.
    Oracle really works best if you only have one instance, with one database, on one computer.
    It is really sad that other, more recent, database groups, corrupted the terminology - the terms database ans schema come from the CODASYL days (over 30 years ago) - thereby making things much more difficult to understand by having several confusing meanings. (If you have used SQL Server, the term database is similar to Oracle's schema.)

  • ERROR:Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]

    Dear All,
    When I try to deploy WD application, it gives me this following error and doesn't deploy.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during getInitialContext operation. No server is running. [Root exception is
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.
         at com.sap.engine.services.security.remote.login.RemoteLoginContextExt.<init>(RemoteLoginContextExt.java:34)
         at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:81)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:355)
         ... 38 more
    Caused by: com.sap.engine.services.rmi_p4.P4ConnectionException: Possible problem: no available running server node. Check your running servers.
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:709)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:697)
         at com.sap.engine.services.rmi_p4.Parser.newRequest(Parser.java:180)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:427)
         ... 1 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi
    Try this
    1. Is this is the remote server?
       if yes make one entry in host file under C:\WINDOWS\system32\drivers\etc
        format   :  <server ip>  <servername>
        restart NWDS
    2.If not then put the Ip address  instead of name inside Window--preference --Sap server Check.
    3. Put some different UserId and Password who has deployment rights
    Best Regards
    Satish Kumar

  • How does one find out the database name , service name in a database

    hi,
    how do u find out the database name , service name , SID in a database.
    Please reply.
    Thanks ,
    Regards,
    RC

    This particular information is available in the view V_$PARAMETER owned by SYS. But you can also login with Server Manager as user INTERNAL and run:
    SHOW PARAMETERS
    The entries pertaining to the naming of the database are:
    1. db_name
    2. db_domain
    3. db_name
    4. instance_name
    5. service_names
    GLOBAL_NAME is a static (not changing) Data Dictionary view which has just 1 attribute (column) called GLOBAL_NAME.
    When you run:
    select GLOBAL_NAME from GLOBAL_NAME;
    You are returned the full global name of the database, i.e. the db_name and the db_domain joined together by dot (.) For e.g. if your db_name = mgmt and db_domain = tech.co.in, then your global_name will be MGMT.TECH.CO.IN.
    Ciao.
    null

  • Passing the database name as a PL/SQL procedure parameter

    How do I pass the name of the database as a parameter to a procedure?
    If dbs is the variable name to which I pass the database name as shown in the example,
    CREATE OR REPLACE PROCEDURE Extract_gl_acct_Tbl(dbs varchar2)
    and I use dbs in the code as follows,
    SELECT ACCOUNT,
    SETID
    FROM SYSADM.PS_GL_ACCOUNT_TBL@dbs
    It gives me an error saying 'ORA-04054: database link DBS does not exist'.

    You will need to use dynamic SQL to handle this:
    create or replace ...
    is
    type rc is ref cursor;
    v_rc rc;
    begin
    open v_rc for 'select ... from sysadm.ps_gl_account_tbl@' || dbs;
    fetch v_rc into ... -- some variables
    -- if multiple rows, you'll need to do the fetch in a loop and exit when v_rc%notfound.
    close v_rc;
    end;

  • Can we rename the database name in oracle 10g

    Hi,
    Can we rename the database name in oracle 10g.
    Please help

    Yes as already said, using DBNEWID Utility can renamed the database name.
    You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
    Regards,
    Sabdar Syed.

  • How to modify the database name

    Hi people
    Im a developer and it's the first time that I use the Xe version of oracle. I need to modify the database name but I don't know how to make this. Im finding the commands but I don't meet this.
    Anyone can help me?
    Thanks
    Best Regards

    Hi,
    XE is XE is XE ... ;-)
    If you'd like to rename it you may get a database license for at least a STANARD EDITION ONE database, upgrade your XE to SE-ONE and then rename your database.
    But (as it has been noted before) for obvious reasons there's no way to rename an XE database to something else :-)
    Kind regards
    Mike

  • How can i change the database name on MaxDB?

    Hello.  I need to do a homogeneous copy where the source system is the productive system and the target system is the quality system. Therefore after to restore the data backup i need to change the database name of quality system (from CLP to CLQ) but i'm not sure that it could be possible because in the MaxDB documentation i didn't found nothing about that. please can you tell me if it is possible and how i change it?
    I work with MaxDB 7.6.04.11.  Thanks for your help.

    > I will try to explain better: the SID of the source database is CLP and the SID of the target database is CLQ, when you say "once you restore the DB, it will use the new SID", i understand that the new SID in the target database would CLP or am i wrong? and i need that the SID in the target database remains CLQ after the restore.
    Hi Ivonne,
    what you've described as your requirement is exactly what will happen, when you just perform the procedure that Eric described to you.
    A recovery won't change the SID of the instance you perform the recovery to.
    All it does is: take the instance as is and load the data pages to the data area. Afterwards the log files may be recovered.
    Think of the instance as a kind of container for your database.
    The instance itself is not the database - so the SID does not change with the content of the database.
    Hmm... why not simply try it?
    Create a little test instance and back it up.
    Create another instance with a different name and recover the backup of the first instance.
    You will still have both instances, each with its original name.
    regards,
    Lars

  • Equium L40 - cannot connect through wifi or the ubs lead plugged in

    Hi
    I have a Equium L40. I cannot connect through wifi or the ubs lead plugged in.
    It comes up " Internet Explorer has stopped working. a problem caused the program to stop working correctly"
    It is saying in am connected to my hub and have a strong signal.
    Can you help
    Thanks
    Steve

    Hello Steve
    Have you tried to use some other browser?
    Do you use Skype or some other messenger? Can any of them connect properly?
    I dont know what the real problem is. Non working Internet explorer or WLAN connection in general?

  • Cannot complete your request because the database is being refreshed

    I created provisioned one user in Shared Services and then assigned to a group. After this I went to workspace in advance mode in order to manage security filters, the user does not appear and when I try to "create" an existing user, an error appears: Cannot complete your request because the database is being refreshed
    I'm not running any refresh in the database and my EAS does not show anything. What could be happening? It is Hyperion Planning 11.1.1.3
    Regards,

    Than you John,
    I executed the cmd and this appeared after entering the password, I understand that the application has been unlocked, doesn't it?
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    D:\Hyperion\common\config\9.5.0.0\product\planning\9.5.0.0\planning_1.xml
    displayName = Planning
    componentTypes =
    priority = 50
    version = 9.5.0.0
    build = 1
    location = D:\Hyperion\products\Planning
    taskSequence =
    task =
    *******D:\Hyperion\common\config\9.5.0.0\registry.properties
    using Java property for Hyperion Home D:\Hyperion
    Setting Arbor path to: D:\Hyperion\common\EssbaseRTC\9.5.0.0
    Setting HBR Mode to: 2
    =2013-11-06 11:07:30,926 WARN main com.hyperion.hbr.security.HbrSecurityAPI - Er
    ror retrieving user by identity
    d{ISO8601} WARN main com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving
    user by identity
    Embedded HBR initialized.
    d{ISO8601} INFO main com.hyperion.audit.client.runtime.AuditRuntime - Audit Clie
    nt has been created for the server http://stlwlahyapprd01.na.ds.monsanto.com:280
    80/interop/Audit
    Reaquired task list lease: Wed Nov 06 11:07:31 CST 2013: 1383757651285
    The application has been successfully unlocked
    d{ISO8601} INFO pinging com.hyperion.audit.client.cache.AuditConfigFilter - Clie
    nt Enable Status false
    d{ISO8601} INFO Thread-22 com.hyperion.audit.client.cache.AuditConfigFilter - Cl
    ient Enable Status false
    d{ISO8601} INFO filterConfig com.hyperion.audit.client.cache.AuditConfigFilter -
    Client Enable Status false

  • Cant connect to homepage of the database

    Please help me
    cant connect to homepage of the database under Oracle Database 10g Express Edition

    emctl is the command line utility to start/stop the Enterprise Manager Console Agent.
    The statement:
    emctl status dbconsole
    Displays information (If it is running) on the current state on the Agent, and will tell you that it could not connect to the Agent if it isn't running.

Maybe you are looking for