LDAP error 49: OID login failed in Oracle 10g

Hi All,
Am new to Oracle-10g stack. Following is the error while login to "Oracle Directory Manager".
LDAP: error code 49 - 8009030C:LdapErr: DSID-0C090336, coment: AcceptSecurityContext error, data 2030, va28
I forgot the password for su user("cn=orcladmin"), may be I might have locked it also, am not sure.
What is the best way to get back to normal life?. How can I get/reset password for cn=orcladmin account to access OID?
With my R&D I found the following way and here is the result.
ora-infr/bin> oidpassword connect=orcl unlock_su_acct=true
OID DB user password: mypassword
OID super user account unlocked successfully
or-infr/bin> odisrvreg.bat -p 389 -D cn=orcladmin -w mypassword
Invalid Credentials
See the following log file in the current directory for details: odisrvreg.err
Would appreciate your detailed answers to this specific question
ThanQ
Happy Oracle

hi
i have windows xp on my system. i installed
oracle 10g.
when i am trying to login in sql*plus by user name
Scott / system it gives an error account locked .is
there any other default user names and passwords and
host sting ?coud you pleas give me any suggestions
to get started.you suggestions are highly
appreciated.try logging in through ur
system/manager account.
In 10g when u install the password for all accounts must be given.
if the password is not specified then the password is default mentioned above.
After logging in
try this out
sql>ALTER USER SCOTT
ACCOUNT UNLOCK;
the user account will be unlocked

Similar Messages

  • Query works on Oracle 9i, but fails on Oracle 10g - puzzling...

    In porting an application from Oracle 9i to Oracle 10g, I hit a problem that for a while I assumed was some bug of mine. But I eventually isolated the problem and can reproduce this using a single sql script and then a single delete. The amazing thing is that it works fine on Oracle 9i (always) and fails on Oracle 10g (always).
    Have I found a bug? (I would be pretty amazed).
    Here's the situation. I have four tables and a trigger set on one of those tables.
    The tables are configured so that there is the "parent" table (A). Table B has a foreign key dependency on A's primary key, with "on delete cascade". Table B also has a trigger that runs on the delete. Table C (which has no data) has an integrity constraint on A's primary key. Table D holds information used by the trigger to determine if/when table C should be dropped. (I have a script that sets all this up).
    After setting up the tables and the few data records needed, I delete a record from Table A. This causes the records in Table B to be deleted. That fires the trigger, which determines that Table C can be dropped, so the trigger drops Table C. Then, Oracle decides it still needs to check the integrity constraint on Table C (after all, C depended on A and we have deleted a record in A). Oracle then issues a query against table C, but of course table C has already been dropped and an error results.
    The exact same script followed by the delete works fine on Oracle 9i. Is this a bug or is this a documented change in behavior? Any known workarounds? Unfortunately, the application needs all the integrity constraints that are present in the schema and also runs on SQL Server, so modifications in the integrity constraints are probably not what I am seeking).
    Thanks so much!
    RB

    I wasn't sure how to post the script, but it is short enough to include below. Many thanks for the quick response.
    To connect the script below to my original post, the names are:
    Table A = OT_AW_PROCESSDEF
    Table B = OT_AW_PROCESS_APPDATADEF
    Table C = OT_AW_AD_OneLoop_1
    Table D = OT_AW_APPDATA_TABLEINFO
    The trigger is also included in the script. After running this script, the command:
    delete from OT_AW_ProcessDef where processdefId = 101
    will cause the failure on Oracle10g, but succeeds on Oracle 9i.
    Thanks again!
    RB
    /* *********************** CLEAN UP ********************************** */
    /* Order the dropping of objects in reverse of creation */
    DROP TABLE OT_AW_AD_OneLoop_1 CASCADE CONSTRAINTS
    DROP TABLE OT_AW_PROCESS_APPDATADEF CASCADE CONSTRAINTS
    DROP TABLE OT_AW_APPDATA_TABLEINFO CASCADE CONSTRAINTS
    DROP TABLE OT_AW_PROCESSDEF CASCADE CONSTRAINTS
    /* ******************* DATA TABLES *********************************** */
    /* OT_AW_PROCESSDEF(Process Definition) Table */
    /* ********** NOTE: OT_AW_PROCESSDEF and AW_PROCESS TABLES SHOULD ALWAYS HAVE THE SAME SET OF COLUMNS ********* */
    create table OT_AW_PROCESSDEF (
    processDefId NUMBER /* Id for the process definition */
    , processDefName NVARCHAR2(255) /* Name of the process definition */
    , CONSTRAINT OT_AW_PROCESSDEF_PK PRIMARY KEY(processDefId)
    insert into OT_AW_PROCESSDEF (
    processDefId, processDefName
    values (
    1, 'ADHOC'
    /* OT_AW_APPDATA_TABLEINFO(List of all application Data tables in the system) Table */
    create table OT_AW_APPDATA_TABLEINFO (
    namespace VARCHAR2(65) NOT NULL, /* name of the namespace to which it belongs */
    tableName VARCHAR2(128) , /* Name of the appdata table */
    adLevel NUMBER(38) NOT NULL /* Appdata table level: 0=>PROCESS, 1=>CONVERSATION */
    , CONSTRAINT OT_AW_APPDATA_TABLEINFO_PK PRIMARY KEY ( tableName )
    , CONSTRAINT OT_AW_APPDATA_TABLEINFO_UNQ UNIQUE( namespace, tableName, adLevel )
    /* OT_AW_PROCESS_APPDATADEF(Process level application data definition) Table */
    create table OT_AW_PROCESS_APPDATADEF (
    processDefId NUMBER NOT NULL /* Id for the process definition */
    , name VARCHAR2(65) NOT NULL /* Name of the application data field, This name may be pointing to a shared namespace field */
    , tableName VARCHAR2(128) /* Name of the table that holds the value for the field, may be same as local namespace table name */
    , namespace VARCHAR2(65) NOT NULL /* Name of the namespace to which this field belongs */
    , mappedNamespace VARCHAR2(65) null /* Name of the shared namespace to which this field is mapped, if there is any mapping */
    , CONSTRAINT OT_AW_PROCESS_APPDATADEF_PK PRIMARY KEY (namespace, processDefId, name)
    , CONSTRAINT OT_AW_PROCESS_APPDATADEF_FK FOREIGN KEY (processDefId) REFERENCES OT_AW_PROCESSDEF(processDefId) on delete cascade
    CREATE TABLE OT_AW_AD_OneLoop_1(processDefId number , processId number ,FromRole number null, ToRole number null, Anyone number null,
    CONSTRAINT OT_AW_AD_OneLoop_1_FK1 FOREIGN KEY (processDefId) REFERENCES OT_AW_PROCESSDEF(processDefId) )
    /* TRIGGERS */
    CREATE OR REPLACE TRIGGER OT_AW_PROCESS_APPDATADEF_DEL
    AFTER DELETE ON OT_AW_PROCESS_APPDATADEF
    FOR EACH ROW
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    tableName_var OT_AW_PROCESS_APPDATADEF.tableName%TYPE;
    tempStr_var varchar2(128) :=null;
    deletedId OT_AW_PROCESS_APPDATADEF.processDefId%TYPE;
    deletedMNsp OT_AW_PROCESS_APPDATADEF.mappedNamespace%TYPE;
    numReferences number :=-1;
    tableExists number :=0;
    CURSOR ADPTable_cursor
    IS
    SELECT apa.tableName, apa.processDefId, apa.mappedNamespace
    FROM OT_AW_PROCESS_APPDATADEF apa
    WHERE apa.tableName = :old.tableName
    AND apa.processDefId = :old.processDefId;
    BEGIN
    dbms_output.put_line('Starting TRIGGER OT_AW_PROCESS_APPDATADEF_DEL');
    OPEN ADPTable_cursor;
    LOOP
    FETCH ADPTable_cursor
    INTO tableName_var, deletedId, deletedMNsp;
    EXIT WHEN ADPTable_cursor%NOTFOUND;
    BEGIN
    IF (deletedMNsp IS NULL) THEN
    BEGIN
    select count(*) into numReferences from OT_AW_PROCESS_APPDATADEF where tableName = tableName_var
    and processDefId <> deletedId;
    IF ( numReferences = 0 ) THEN
    BEGIN
    SELECT count(*) INTO tableExists FROM OT_AW_APPDATA_TABLEINFO where
              tableName=tableName_var;
    IF (tableExists > 0) THEN
    BEGIN
    --dbms_output.put_line('About to alter first table');
    -- EXECUTE IMMEDIATE 'ALTER TABLE ' || tableName_var || ' DROP CONSTRAINT ' || tableName_var ||'_FK1';
    --dbms_output.put_line('About to alter second table');
    -- EXECUTE IMMEDIATE 'ALTER TABLE ' || tableName_var || ' DROP CONSTRAINT ' || tableName_var ||'_FK2';
    dbms_output.put_line('About to drop table named: ' || tableName_var);
    tempStr_var := 'DROP TABLE ' || tableName_var;
    EXECUTE IMMEDIATE tempStr_var;
    dbms_output.put_line(tempStr_var);
    dbms_output.put_line('Table dropped');
    --dbms_output.put_line('Not dropping table now');
    END;
    END IF;
    delete from OT_AW_APPDATA_TABLEINFO where
              tableName=tableName_var;
    dbms_output.put_line('OT_AW_APPDATA_TABLEINFO updated');           
    END;
    END IF;
    END;
    END IF;
    END;
    END LOOP;
    dbms_output.put_line('Loop ended');
    CLOSE ADPTable_cursor;
    dbms_output.put_line('Cursor closed');
    COMMIT WORK;
    dbms_output.put_line('Work committed');
    dbms_output.put_line('Ending TRIGGER OT_AW_PROCESS_APPDATADEF_DEL');
    END;
    show errors;
    /* Set up data to simulate the creation of OT_AW_AD_OneLoop_1 */
    insert into OT_AW_PROCESSDEF (
    processDefId, processDefName
    values (
    101, 'OneLoop'
    insert into OT_AW_PROCESS_APPDATADEF (
    processDefId, name, tableName, namespace
    values (
    101, 'FromRole', 'OT_AW_AD_OneLoop_1', 'OneLoop'
    insert into OT_AW_PROCESS_APPDATADEF (
    processDefId, name, tableName, namespace
    values (
    101, 'ToRole', 'OT_AW_AD_OneLoop_1', 'OneLoop'
    insert into OT_AW_APPDATA_TABLEINFO (
    namespace, tablename, adlevel
    values (
    'OneLoop', 'OT_AW_AD_OneLoop_1', 0
    /

  • SessionBroker login fails with Oracle XA

    Hi all,
    I am trying to use oracle XA with sessionbroker.
    I register the session with the session broker and when i try to login it gives
    "No suitable driver" error.
    Without using session broker, when I get the session, it is working fine.
    sb = new SessionBroker();
    Project p1 = new CfToplinkMapping();
    DatabaseSession orc = p1.createDatabaseSession();
    sb.registerSession(SESSION_NAME, orc);
    sb.login(); ->>>>>>fails with no suitable driver error...
    My project.java contains the following code: -
    login.usePlatform(new oracle.toplink.internal.databaseaccess.OraclePlatform());
    login.setDriverClassName("oracle.jdbc.xa.client.OracleXADataSource");
    login.setConnectionString("jdbc:oracle:thin:@sch1h217:1521:fmstd");
    login.setUserName("fms");
    login.setEncryptedPassword("8B66EF2A66D659E33500D82AB9562809");
    Please let me know where I went wrong. Is there any extra configurations required for XA drivers?

    Hi. The issue is that an XA-aware connection can be used at a much finer granularity
    than a non-XA connection. XA allows a connection to associate itself for one tx,
    make one call, disassociate itself from the tx, and then do a call for another tx.
    Therfore the XA connections in the pool may be involved in 1 or more tx's. If your
    app is trying to do local tx's as well with these connections, some drivers/DBMSes
    get confused.
    You can either create a separate pool for non-XA use, or set the keep-connection-till
    tx-complete setting for the XA pool. This latter setting will make sure that connections
    that are idle in the pool are not associated with any ongoing XA tx.
    Joe
    Ramamoorthy wrote:
    Guys,
    I have a problem with JDBC calls with XA Connection Pool (DRIVER:::oracle.jdbc.xa.client.OracleXADataSource).
    We are using the same connection pool for EJBs & JDBC calls. When we use JDBC
    calls in between EJB calls, we are getting problems.
    1) java.sql.SQLException: ORA-02044: transaction manager login denied: transaction
    in progress
    ORA-06512: at "SYS.JAVA_XA", line 0
    ORA-06512: at line 1
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    2) SQL Exception:java.sql.SQLException: XA error: XAER_RMERR : A resource manager
    error has occred in the transaction branch start() failed on resource 'XADBPool':
    XAER_RMERR : A resource manager error has occured in the transaction branch oracle.jdbc.xa.OracleXAException...
    When I changed the DataSource of JDBC calls from XA Connection Pool to Non-XA
    connection poll thess errors disappears. I really don't understand the relation
    between XA Connection Pool & JDBC calls. Even here my officemates are telling
    we should use non-XA connection pool for JDBC. But nobody knows the exact issues..
    Please help..
    Thanks
    Ramamoorthy.

  • Error Msg: SQL login failed for HOSTNAME? Upgrade task?

    Hi everybody,
    Since some weeks we see an error message in all servers our SharePoint 2010 SP1 Farm, regulary every hour:
    SQL database login for 'SharePoint_Config' on instance 'sqlsrv' failed.
    Additional error information from SQL Server is included below.
    Login failed for user 'OURDOMAIN\SERVERNAME$'.
    The interesting part is that the
    server tries to connect to the SharePoint Config database, not a dedicated account, which is normally used for every SharePoint service.
    What circumstances can lead to an access of a server?
    Unfortunately I get no details of the service or application which is trying to access. The event log just states "SharePoint Foundation (Microsoft-SharePoint Products-SharePoint
    Foundation)" , Task Category "Database". The user who raises the error is "SYSTEM".
    In the ULS log I can find the Stack Trace below which indicates to an upgrade task. But why is the SYSTEM user trying an update? Normally we do an upgrade by running the Upgrade Wizard with an dedicated account. And only the SharePoint Administration
    windows service runs as Local System.
    And I never heard or read something like: Give Local System (so the server) access to the SharePoint Config database?!
    Thanks for your ideas :-)
    Benjamin
    System.Data.SqlClient.SqlException: Login failed for user 'DOMAIN\SERVERNAME$'.   
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)   
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)   
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)   
    at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)   
    at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)   
    at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)   
    at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)   
    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)   
    at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)   
    at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)   
    at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)   
    at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)   
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)   
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)   
    at System.Data.SqlClient.SqlConnection.Open()   
    at Microsoft.SharePoint.Utilities.SqlSession.OpenConnection()
    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)   
    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)   
    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command)   
    at Microsoft.SharePoint.Upgrade.SPDatabaseSequence.GetVersion(SPDatabase database, Guid id, Version defaultVersion, SqlSession session, SPDatabaseSequence sequence)   
    at Microsoft.SharePoint.Upgrade.SPDatabaseWssSequence.get_BuildVersion()   
    at Microsoft.SharePoint.Upgrade.SPSequence.get_CanUpgrade()   
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.CanUpgrade(Object o)   
    at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.get_CanUpgrade()   
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveCanUpgrade(Object o)   
    at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)   
    at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.get_NeedsUpgrade()   
    at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.ValidateBackwardsCompatibility()   
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Initialize(SqlConnectionStringBuilder connectionString, Boolean enableCaching, Boolean checkCompatibility, Boolean bindRequestGuid)   
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Initialize(SqlConnectionStringBuilder connectionString, Boolean enableCaching, Boolean checkCompatibility)   
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Local()   
    at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined)   
    at Microsoft.SharePoint.Administration.SPWebService.get_ContentService()   
    at Microsoft.SharePoint.PowerShell.SPCmdletSnapIn.get_Cmdlets()   
    at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.MergeCustomPSSnapIn(PSSnapInInfo mshsnapinInfo, CustomPSSnapIn customPSSnapIn)   
    at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadCustomPSSnapIn(PSSnapInInfo mshsnapinInfo)   
    at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIn(PSSnapInInfo mshsnapinInfo)   
    at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIn(PSSnapInInfo mshsnapinInfo, PSSnapInException& warning)   
    at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.DoAddPSSnapIn(String name, PSSnapInException& warning)   
    at Microsoft.PowerShell.Commands.AddPSSnapinCommand.AddPSSnapIns(Collection`1 snapInList)   
    at Microsoft.PowerShell.Commands.AddPSSnapinCommand.ProcessRecord()   
    at System.Management.Automation.CommandProcessor.ProcessRecord()   
    at System.Management.Automation.CommandProcessorBase.DoExecute()   
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)   
    at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.ifStatementNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)   
    at System.Management.Automation.ScriptCommandProcessor.ExecuteWithCatch(ParseTreeNode ptn, Array inputToProcess)   
    at System.Management.Automation.ScriptCommandProcessor.RunClause(ParseTreeNode clause, Object dollarUnderbar, Object inputToProcess)   
    at System.Management.Automation.CommandProcessorBase.DoComplete()   
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)   
    at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)   
    at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)   
    at System.Management.Automation.ScriptCommandProcessor.ExecuteWithCatch(ParseTreeNode ptn, Array inputToProcess)   
    at System.Management.Automation.ScriptCommandProcessor.RunClause(ParseTreeNode clause, Object dollarUnderbar, Object inputToProcess)   
    at System.Management.Automation.CommandProcessorBase.DoComplete()   
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)   
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()   
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()   
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)   
    at System.Threading.ThreadHelper.ThreadStart()

    http://aanuwizard.com/2010/04/30/login-failed-for-user-domainservername/
    It  will  need to add user ‘NT AUTHORITY\NETWORK SERVICE’
    to your database  to get rid of this problem.
    An asp.net application  is running under NT AUTHORITY\NETWORK SERVICE account.
    http://stackoverflow.com/questions/2806438/login-failed-for-user-domain-machinename
    NETWORK SERVICE and LocalSystem will authenticate themselves always as the correpsonding account locally (builtin\network service and builtin\system) but both will authenticate as the machine account remotely.
    If you see a failure like Login failed for user 'DOMAIN\MACHINENAME$' it means that a process running as NETWORK SERVICE or as LocalSystem has accessed a remote resource, has authenticated itself as the machine account and was denied authorization.
    Typical example would be an ASP application running in an app pool set to use NETWORK SERVICE credential and connecting to a remote SQL Server: the app pool will authenticate as the
    machine running the app pool, and is this machine account that needs to be granted access.
    When access is denied to a machine account, then access must be granted to the machine account. If the server refuses to login 'DOMAIN\MACHINE$', then you must grant login rights to 'DOMAIN\MACHINE$' not to NETWORK SERVICE. Granting access to NETWORK SERVICE
    would allow a local process running as NETWORK SERVICE to connect, not a remote one, since the remote one will authenticate as, you guessed, DOMAIN\MACHINE$.
    If you expect the asp application to connect to the remote SQL Server as a SQL login and you get exceptions about DOMAIN\MACHINE$ it means you use Integrated Security in the connection string. If this is unexpected, it means you screwed up the connection
    strings you use.
    If this helped you resolve your issue, please mark it Answered

  • Server Error In '/' Application - Login failed for user xyz ...

    Hi, I'm brand new here 
    I would be ever grateful for help on this. It's probably something simple.
    I'm coding a website in C# ASP.NET (http://project.arcza.net). There is a registration page where you send your email, username all that stuff to an SQL server. The SQL server runs on my IIS server too. On Visual Studio, I can debug the website (i.e. launch
    it on localhost:12345) and I get a fully working website that I can register as a user and it injects into the SQL server's table. If I query the SQL server, I see the results. So it works fine here.
    The problem: if I copy the files for the website into the live IIS directory (as opposed from the Visual Studio preview environment) I get a runtime error thing, I have no idea what this means. The live IIS folder is project.arcza.net and I have disabled
    security so you can see the full workings of the probem.
    It says login failed for user 'pap'. Pap is a user I have added in SQL server, with username pap and password pap. The credentials are correct. I have added a 'connection string' (I have very little idea what this is) with thees credentials for an SQL server
    @ localhost, in IIS manager.
    Thank you and if you have any idea I'd be very happy.
    I should also point out that if I edit properties of pap in SQL server's login thing where it lists the accounts, I cannot save the settings (you know the ones where you give it permissions to access, delete, etc?) I can tick them and click okay but if I
    reoped properties and click on (I think off the top of my head it's called 'securities' but I may be wrong, it's 2nd from the bottom of the pane on the left) I see the tickboxes remain unticked. Could this have something to do with the "login failed for
    'pap'" message I'm seeing?

    Have a look at
    Errorlog. you should get reason of login failed for user.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • IPCC Error 12005 agent login failed

    when I login to the agent desktop, the following error pops up.Login could not be performed.possible causes are invalid instrument, media termination problem or CM issue.
    I have installed 7.0ctios client along with ctios 7.1.4 release.

    One cause of this problem is incorrect configuration of the device target. Do you have the "/devicetype ciscophone /dn xxxx" set? Other possibility - the phone is not associated with the ICM JTAPI user in Call Manager. Show trace on the JGWY process and watch what it says as the PG tries to set up an observer on the device.
    Why don't you upgrade the CTIOS client to match your CTIOS?
    Regards,
    Geoff

  • Login problem in oracle 10g

    hi
    i have windows xp on my system. i installed oracle 10g.
    when i am trying to login in sql*plus by user name Scott / system it gives an error account locked .is there any other default user names and passwords and host sting ?coud you pleas give me any suggestions to get started.you suggestions are highly appreciated.

    hi
    i have windows xp on my system. i installed
    oracle 10g.
    when i am trying to login in sql*plus by user name
    Scott / system it gives an error account locked .is
    there any other default user names and passwords and
    host sting ?coud you pleas give me any suggestions
    to get started.you suggestions are highly
    appreciated.try logging in through ur
    system/manager account.
    In 10g when u install the password for all accounts must be given.
    if the password is not specified then the password is default mentioned above.
    After logging in
    try this out
    sql>ALTER USER SCOTT
    ACCOUNT UNLOCK;
    the user account will be unlocked

  • Error while creating datasource userdsn for oracle 10g Errorcode (998)

    while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • Error while using UTP_MAIL package in oracle 10g

    Hi,
    I am using the UTP_MAIL package to send a mail from oracle 10g.
    I hane connected to the database as sysdba,but while setting the SMTP_SERVER_OUTPUT parameter i get the following error.
    SQL> ALTER SYSTEM SET smtp_out_server='blrkecmbx02.ad.abc.com:25' scope=both;
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    Pls help to figure out a solution.

    This parameter is not modifiable, check the Oracle Reference: SMTP_OUT_SERVER Initialization Parameter
    Try the scope=spfile instead of both.
    ~ Madrid

  • Error While Querying DB Link from Oracle 10g to Postgres 8.2

    Hi,
    I have installed unixodbc 2.3.1, postgres odbc driver (psqlodbc-07.03) and dg4odbc 11.2
    On querying : select sysdate from dual@dblink_postgresql, the following error occurs:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found {01000}
    ORA-02063: preceding 2 lines from DBLINK_POSTGRES
    Similar error appears in the trace file as well.
    [unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a'
    $ isql -v postgresql postgres postgres@2012
    [01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found
    [ISQL]ERROR: Could not SQLConnect
    However the file is present in the location and has no permission related problems.
    $ pwd
    /oracle/psqlodbc/lib
    $ ls -lrt
    total 2952
    -rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
    -rw-r--r-- 1 oracle oinstall 731419 Mar 25 15:28 libpsqlodbc.a
    -rw-r--r-- 1 oracle oinstall 12215 Mar 25 22:11 win_md5.o
    -rw-r--r-- 1 oracle oinstall 18100 Mar 25 22:11 options.o
    -rw-r--r-- 1 oracle oinstall 13196 Mar 25 22:11 misc.o
    -rw-r--r-- 1 oracle oinstall 4234 Mar 25 22:11 lobj.o
    -rw-r--r-- 1 oracle oinstall 122442 Mar 25 22:11 info.o
    -rw-r--r-- 1 oracle oinstall 26464 Mar 25 22:11 execute.o
    -rw-r--r-- 1 oracle oinstall 22070 Mar 25 22:11 environ.o
    -rw-r--r-- 1 oracle oinstall 8633 Mar 25 22:11 drvconn.o
    -rw-r--r-- 1 oracle oinstall 83758 Mar 25 22:11 convert.o
    -rw-r--r-- 1 oracle oinstall 62529 Mar 25 22:11 connection.o
    -rw-r--r-- 1 oracle oinstall 5685 Mar 25 22:11 columninfo.o
    -rw-r--r-- 1 oracle oinstall 19724 Mar 25 22:11 bind.o
    -rw-r--r-- 1 oracle oinstall 3768 Mar 25 22:11 tuplelist.o
    -rw-r--r-- 1 oracle oinstall 2816 Mar 25 22:11 tuple.o
    -rw-r--r-- 1 oracle oinstall 36770 Mar 25 22:11 statement.o
    -rw-r--r-- 1 oracle oinstall 10490 Mar 25 22:11 socket.o
    -rw-r--r-- 1 oracle oinstall 74140 Mar 25 22:11 results.o
    -rw-r--r-- 1 oracle oinstall 22686 Mar 25 22:11 qresult.o
    -rw-r--r-- 1 oracle oinstall 1977 Mar 25 22:11 psqlodbc.o
    -rw-r--r-- 1 oracle oinstall 25893 Mar 25 22:11 pgtypes.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 pgapi30.o
    -rw-r--r-- 1 oracle oinstall 34071 Mar 25 22:11 parse.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 odbcapi30.o
    -rw-r--r-- 1 oracle oinstall 41540 Mar 25 22:11 odbcapi.o
    -rw-r--r-- 1 oracle oinstall 11601 Mar 25 22:11 multibyte.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 info30.o
    -rw-r--r-- 1 oracle oinstall 5972 Mar 25 22:11 gpps.o
    -rw-r--r-- 1 oracle oinstall 37546 Mar 25 22:11 dlg_specific.o
    My odbc.ini and init4dg4odbc looks like below:
    $ pg odbc.ini
    [postgresql]
    Description = Test to Postgres
    Driver = /oracle/psqlodbc/lib/libpsqlodbc.a
    Trace = Yes
    TraceFile = postgres.log
    Database = postgres
    Servername = TCLDSAPORTUAT
    UserName = postgres
    Password = postgres@2012
    Port = 5432
    Protocol = TCP
    ReadOnly = Yes
    RowVersioning = No
    ShowSystemTables = No
    ShowOidColumn = No
    FakeOidIndex = No
    $ pg initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = postgresql
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /oracle/unixodbc64/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/oracle/unixodbc64/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    I found similar threads in the forum but could not find solution for this problem.
    Please help to resolve this issue.
    Thanks,
    Akanksha
    Edited by: 996208 on Mar 26, 2013 5:35 AM

    Hi Mike,
    I used the truss option for diagnosis, the output is really long and shows the same error at the end of execution:
    $truss isql -v postgresql postgres postgres@2012
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    access("/usr/lib/nls/msg/en_US/execerr.cat", 0) = 0
    _getpid()                                       = 27262980
    kopen("/usr/lib/nls/msg/en_US/execerr.cat", O_RDONLY) = 3
    kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
    kfcntl(3, F_SETFD, 0x0000000000000001) = 0
    kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
    kread(3, "\0\001 ù\001\001 I S O 8".., 4096) = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    lseek(3, 4639, 0) = 4639
    kread(3, "\t 0 5 0 9 - 1 9 4 E x".., 4096) = 1686
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    kioctl(1, 22528, 0x0000000000000000, 0x0000000000000000) = 0
    [01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/psqlodbc.o' : file not found
    kwrite(1, " [ 0 1 0 0 0 ] [ u n i x".., 99)     = 99
    [ISQL]ERROR: Could not SQLConnect
    kwrite(2, " [ I S Q L ] E R R O R :".., 34) = 34
    kfcntl(1, F_GETFL, 0x0000000010DF0051) = 67110914
    kfcntl(2, F_GETFL, 0x0000000010DF0051) = 67110914
    _exit(1)
    Do I need to install postgres software also?
    While installing postgres odbc driver in /oracle/psqlodbc only two folders were created viz. lib and share
    In lib folder two files were created viz. psqlodbc.la and libpsqlodbc.a
    And everybody on the net seems to refer psqlodbc.so in the "Driver = " parameter
    Today, I extracted the libpsqlodbc.a by using ar -X 64 -xv libpsqlodbc.a again, still no file with .so has been created.
    $ ls -lrt
    total 2952
    -rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
    -rwxr-xr-x 1 oracle oinstall 731419 Mar 28 13:51 libpsqlodbc.a
    -rw-r--r-- 1 oracle oinstall 12215 Apr 01 13:50 win_md5.o
    -rw-r--r-- 1 oracle oinstall 3768 Apr 01 13:50 tuplelist.o
    -rw-r--r-- 1 oracle oinstall 2816 Apr 01 13:50 tuple.o
    -rw-r--r-- 1 oracle oinstall 36770 Apr 01 13:50 statement.o
    -rw-r--r-- 1 oracle oinstall 10490 Apr 01 13:50 socket.o
    -rw-r--r-- 1 oracle oinstall 74140 Apr 01 13:50 results.o
    -rw-r--r-- 1 oracle oinstall 22686 Apr 01 13:50 qresult.o
    -rw-r--r-- 1 oracle oinstall 1977 Apr 01 13:50 psqlodbc.o
    -rw-r--r-- 1 oracle oinstall 25893 Apr 01 13:50 pgtypes.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 pgapi30.o
    -rw-r--r-- 1 oracle oinstall 34071 Apr 01 13:50 parse.o
    -rw-r--r-- 1 oracle oinstall 18100 Apr 01 13:50 options.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 odbcapi30.o
    -rw-r--r-- 1 oracle oinstall 41540 Apr 01 13:50 odbcapi.o
    -rw-r--r-- 1 oracle oinstall 11601 Apr 01 13:50 multibyte.o
    -rw-r--r-- 1 oracle oinstall 13196 Apr 01 13:50 misc.o
    -rw-r--r-- 1 oracle oinstall 4234 Apr 01 13:50 lobj.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 info30.o
    -rw-r--r-- 1 oracle oinstall 122442 Apr 01 13:50 info.o
    -rw-r--r-- 1 oracle oinstall 5972 Apr 01 13:50 gpps.o
    -rw-r--r-- 1 oracle oinstall 26464 Apr 01 13:50 execute.o
    -rw-r--r-- 1 oracle oinstall 22070 Apr 01 13:50 environ.o
    -rw-r--r-- 1 oracle oinstall 8633 Apr 01 13:50 drvconn.o
    -rw-r--r-- 1 oracle oinstall 37546 Apr 01 13:50 dlg_specific.o
    -rw-r--r-- 1 oracle oinstall 83758 Apr 01 13:50 convert.o
    -rw-r--r-- 1 oracle oinstall 62529 Apr 01 13:50 connection.o
    -rw-r--r-- 1 oracle oinstall 5685 Apr 01 13:50 columninfo.o
    -rw-r--r-- 1 oracle oinstall 19724 Apr 01 13:50 bind.o
    Thanks,
    Akanksha

  • Error in GetCurrentDir(): 13 when installing oracle 10g software

    Hi Basis Expert,
    We are doing an Mock System Upgrade.
    So now we are installing
    Before upgrade
    BW 3.5 with oracle 10g (10.2.0.4)
    After upgrade
    BI 7.0 with oracle 11g (11.2.0.4)
    When installing the Oracle 10g software we are getting an error
    Error in GetCurrentDir(): 13
    Error in GetCurrentDir(): 13
    Error in GetCurrentDir(): 13
    Starting Oracle Universal Installer...
    Our OS is AIX 5.3
    Please help us in fixing this issue
    Regards,
    Anil Shenoy

    [While Installing Oracle software facing "Error in GetCurrentDir(): 13" [ID 378393.1]|https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=378393.1]
    Solution
    In order to get rid of this problem, please check for the following.
    1. You are logged in as the oracle user and group which owns the oraInventory (if this is not the first install on this system)
    2. You have read/execute permissions on the source files/directories (CD-ROMor CD-ROM image)
    3. You have write permissions on the target directory (ORACLE_HOME)
    4. When the target filesystem for ORACLE_HOME is unmounted the directory for the mount point has rwx permissions for the oracle user
    If this is the first Oracle software to be installed on this system you can ignore item 1 as it will create a new oraInventory with the correct permissions. For item 4, unmount the filesystem and "chmod 777" the directory used for the mount point, then remount the filesystem. Item 4 is actually a somewhat frequent issue on AIX.
    If none of the above solves your problem, the only alternative left would be, to copy the Staging directory (Disk1 of Install) to /tmp directory and proceed with the installation.

  • Form login problem in Oracle 10g AS, even form does display

    Dear All
    We are facing one problem, when we access form with oracle 10g AS, the form is displayed, but when we enter username and password, it doesnt go to the other screen, it remains hang there and doesnt do any thing, neither give any error.
    we would appreciate the help.
    thanks in advance

    Sounds like you cannot connect to the database....
    Is there a firewall between the app-server and the database? If yes, could you check with your firewall people that all traffice from db-server is allowed to app-server (from app-server to db-server just 1521, or another port that you used for the listener, is enough)
    If not all traffic is allowed, then check the USE_SHARED_SOCKET environment variable (this is the windows name, there is a setting like this for unix too, but I can't recall the exact name by heart. It might be different)

  • Login problem to oracle 10g

    Hi all,
    I have installed the oracle 10g (Oracle Database 10g Release 1 (10.1.0.2) for Microsoft Windows (32-bit) ).The installation was sucessful and I created the same password for all the default accounts.I left everything for default like
    Global Database name: orcl
    SID:orcl
    When I tried to enter to sql plus from '' start->all programs->Oracle-OraDb10g_home1->Appliction development ->SQL Plus,
    On the logon screen, I entered the following information
    user name: sys
    password : ************
    Host string : orcl
    I also tried changing user names to like 'SYSTEM' but nothing works.The error message Iam getting is
    ERROR: ORA-28009: connection to sys should be sysdba or sysoper
    so I also tried changing the Host String to 'sysdba' and 'sysoper' .but Nothing works.
    Please help me.Iam waiting for ur reply folks
    Thanks in advance !
    Sridhar

    When connecting from sqlplus you must provide the as sysdba clause, type this when prompted
    sys as sysdba
    yourSYSPassword
    You can try to connect directly by a command prompt:
    sqlplus / as sysdba
    It will connect directly to your database.
    From the sqlplus (win) you can also try to write at the username prompt: / as sysdba
    you are not required to type the sys password, as it is authenticated by the OS and no password is required for sysdba connections if connected directly on the console.
    If you try to connect as system you will be prompted for a password. Only sysdba can be OS authenticated. SYSTEM password is the password defined at install time.
    ~ Madrid.

  • Initial Login Problems with Oracle 10g Express

    Hi,
    Can anybody help, im a student trying to use oracle 10g Express for a project, my problem is the express will not allow me to login as an administrator from the word go. I'm using the right user name and password and every time I login the page just refreshes itself with no other prompts. If i type the wrong credentials i get a message saying so and if using the Hr user name and password it says its locked as it should. Ive used the sql prompt to login and this works so i no the password and user name are correct, but id like to use the GUI if i could. Ive unistalled and reinstalled twice still no joy. Any suggestions?

    Hey again, thanks for your replies, Yes i have been using SYSTEM and SYS with a password of oracle in the GUI interface. When i use the SQL prompt i use the following to login:
    SQL> conn system/oracle
    connected.
    SQL> Show User
    USER is "SYSTEM"
    This says to me that i have logged into the database but still i have no luck in doing the same through the GUI interface using the same credentials.

  • Login problem with Oracle 10g SQL Plus

    Hi, I just down load Oracle 10g from web site. I tried use scott and tiger for user name and password, I can't login. I tried use SYSMAN and the password I used when I installed the software, I can't login in too. Please help!!!

    This forum is for OBE specific questions only. Please post a message to one of the database forums located here:
    http://forums.oracle.com/forums/index.jsp?cat=18
    You can also check metalink or call support.

Maybe you are looking for

  • Using emacs on solaris 10

    Hi, Does anybody know how can i use emacs on solaris 10 i tried to type emacs from a shell, but it responds me with emacs: command not found when i install solaris 10, is emacs installed by default or i have to install it by myself? I am very new to

  • Safari hangs at start up

    Read through all the discussions and I seek help with the following. Safari hangs at start up. The window appears but the only thing I see is a spinning colored wheel. Did a force quit, repaired disk permissions and rebooted but still nothing. This i

  • How do I check how it went down?

    I came home today and my computer was off - we had a power outage. Now, I have a UPS and it's set to shut down my system gracefully when there is only 5 minutes of power left. How do I find out what actually happened? I don't see anything in Console

  • Deleting Records based on status in another table

    Dear All, I am using oracle 11gR1 on Linux. We have two tables one holding year starting and closing dates with year status as open/closed for multiple years and multiple entities. Any year may be open for an entity. Relevant columns/Pk PK: entity_id

  • AS3 Image Map Linking Issue - No compiler errors

    Hello, I've made an image map in Flash using AS3, however it does not seem to be working properly. The links only work in a strange succession. In order to click all the links you must first click the last link followed by the first link, then the se