Database log in problem

I tried to log in as sys/oracle as sysdba but it says as lack of privielieges. Please how i can correct the problem?

Please post the contents of the sqlnet.ora file. You should be able to connect if you are using the same account used to install and create the database. On the other hand, you should verify the way you are getting connected to the windows session, if you are using a domain authenticated user, then your administrator should add your user to the ORA_DBA group. Also, please specify if you are connected directly on a DOS session or if you are attempting to connect remotely.
One last thing, please specify the commad line used to connect and the DB version you are currently using.
~ Madrid

Similar Messages

  • Slow database log in problems

    My developers are complaining that takes a user a long time to sign into the database through a SQL*Plus session.
    I don't see any obvious errors - if some one can through some light in this issue.

    887197 wrote:
    My developers are complaining that takes a user a long time to sign into the database through a SQL*Plus session.
    I don't see any obvious errors - if some one can through some light in this issue.There are 3 basic layers in a SQL*Plus logon (across tcp).
    The network part. This can take several hops, via several vlans and subnets and routers and firewalls.
    The listener part. It needs to accept the tcp connection request. It needs hand that connection request over to a dispatcher, or spawn a dedicated server process and hand the connection to it.
    The database part. The process dealing with the new session has to initialise (run logon triggers, update the audit table if session logons are audited, etc).
    Any one of these, or all of these, can impact on connection performance.
    The network part can be checked using commands like ping and traceroute to determine if there are possibly issues.
    The listener part - a tad more difficult to test. Can be done by enabling listener debug tracing and checking the calls made by the listener for dealing with a connection and whether any of these seem to be a problem. It could use reverse DNS resolution.
    The database part - for that you need to check just what a user/app schema logon entails and whether there are potential performance issues in this regard.

  • TestStand database logging problem: only the first character is put in the table.

    I am using TestStand 2.0.1 and Microsoft SQL server database. There is a weird problem when I use database logging. At first, all the database logging ran good.
    Then one day after I moved the test equipment to production line, TestStand only logs the first character of each string field in the tables! There is no error message.
    I setup another SQL server running locally on the same machine as the TestStand is and move the database to the local server, database logging has no problem. Schemas in TestStand Dabasebase Options are the same.
    I tried to run TestStand from another computer on the network. There was no problem before, too.  But now, TestStand always shows a Run-time error message like this:
    Details:
    An exception occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
    An error occurred executing a statement.
    Schema: New.
    Statement: STEP_RESULT.
    Connection failureMultiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    Source: TSDBLog
    Error Code:
    -2147467259; User-defined error code.
    Location:
    Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'
    I have checked that the connection is good and also the table UUT_RESULT has been logged correctly.
    Anyone can help?
    Thanks.

    Thank you very much, Santiago.
    Yes, I have a customized schema, but it is based on the pre-existing schema. I tried the schema:TS 1.x Access/SQL (NI), which  came with TestStand, the results were the same. 
    I have tried to run different sequences. On one computer, I always get only the first character of each string entry logged in the remote database, however for the local server, everything is fine. On the other computer, there is no local SQL server, I always get similar error message as I mentioned in my post. The sequence step reports error is  "Log Results to Database".
    Any more suggestion?
    Thanks again.
    Best regards,
    Jaso

  • Different decimal point character for numeric limit test vs multiple numeric test with database logging

    Hi all,
    I have a problem with decimal point character and database logging.
    I've deselected "Use Localized Decimal Point" in Station Options->Localization. Teststand should now use "." as decimal point character (ignore the "'s).
    When logging to database this is only true for Multiple numeric limit test results, not for Numeric limit test results.
    Numeric limit test results use "," as decimal point character where it should be "."
    I can't trust the localization settings on the PC as different endusers might have different settings.
    Example:
    (STEP_NAME and PROP_RESULT.DATA)
    Numeric limit test 1,50127667932332
    Multiple numeric limit test result_1 1
    Multiple numeric limit test result_2 1
    Multiple numeric limit test result_3 10.0304317
    I've changed the Limits->Numeric format for each test but this change is only applied to the report, not the database result.
    Read the manuals but didn't find anything...
    Have I missed something obvious, or is this some kind of bug?
    Teststand version is 2010.
    Windows versions are XP SP3 and Win7. Same behavior on both OS.

    When something is logged to the database as a number, the database is probably storing it in a way that is independent of any sort of decimal point localization. When you view the items in the database however it is probably going to show you the number based on the current locale settings. This is likely purely cosmetic, for display purposes.
    -Doug

  • Sql backup detected corruption in database log

    Unfortunately I am not a SQL Admin.  I have moderate SQL experience at best.
    I have  four or five database in SQL 2005 that were the primary members of a mirror. The physical server (the one I am currently working on) was virtualized (P2V) then started as a virtual machine. Downtime was minimal. Maybe an hour or so
    I believe.
    Although I didn't check immediately after boot up, I have since noticed the mirror status is suspended.  Attempts to resume fail.  It appears my best bet is to backup the database, restore on the target, then recreate the mirror.  The problem
    is, attempts to run a Full backup of the database returns the following error on all the database I've tried to backup.  After about 20% is says: SystemData.SqlClient.SqlError: BACKUP detected corruption in the database log.  Check the errorlog for
    more information. (Microsoft.SqlServer.Smo)
    I've tried setting the recovery type to Simple, but that fails telling me the database is part of a mirror and to be honest I'm not sure setting to Simple is the best option. 
    As it stands, the mirror is broken and I can not perform a full backup. 
    Any suggestions on how to proceed are greatly appreciated.
    Thank you.

    Thank you Uri.  Following are the results.  Again, I'm not a SQL Admin but it appears this does not indicate errors?
    DBCC results for 'TAIQRY'.
    Service Broker Msg 9675, State 1: Message Types analyzed: 14.
    Service Broker Msg 9676, State 1: Service Contracts analyzed: 6.
    Service Broker Msg 9667, State 1: Services analyzed: 3.
    Service Broker Msg 9668, State 1: Service Queues analyzed: 3.
    Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 0.
    Service Broker Msg 9674, State 1: Conversation Groups analyzed: 0.
    Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0.
    DBCC results for 'sys.sysrowsetcolumns'.
    There are 546 rows in 5 pages for object "sys.sysrowsetcolumns".
    DBCC results for 'sys.sysrowsets'.
    There are 80 rows in 1 pages for object "sys.sysrowsets".
    DBCC results for 'sysallocunits'.
    There are 93 rows in 1 pages for object "sysallocunits".
    DBCC results for 'sys.sysfiles1'.
    There are 2 rows in 1 pages for object "sys.sysfiles1".
    DBCC results for 'sys.syshobtcolumns'.
    There are 546 rows in 5 pages for object "sys.syshobtcolumns".
    DBCC results for 'sys.syshobts'.
    There are 80 rows in 1 pages for object "sys.syshobts".
    DBCC results for 'sys.sysftinds'.
    There are 0 rows in 0 pages for object "sys.sysftinds".
    DBCC results for 'sys.sysserefs'.
    There are 93 rows in 1 pages for object "sys.sysserefs".
    DBCC results for 'sys.sysowners'.
    There are 15 rows in 1 pages for object "sys.sysowners".
    DBCC results for 'sys.sysprivs'.
    There are 135 rows in 1 pages for object "sys.sysprivs".
    DBCC results for 'sys.sysschobjs'.
    There are 86 rows in 1 pages for object "sys.sysschobjs".
    DBCC results for 'sys.syscolpars'.
    There are 579 rows in 10 pages for object "sys.syscolpars".
    DBCC results for 'sys.sysnsobjs'.
    There are 1 rows in 1 pages for object "sys.sysnsobjs".
    DBCC results for 'sys.syscerts'.
    There are 0 rows in 0 pages for object "sys.syscerts".
    DBCC results for 'sys.sysxprops'.
    There are 9 rows in 1 pages for object "sys.sysxprops".
    DBCC results for 'sys.sysscalartypes'.
    There are 27 rows in 1 pages for object "sys.sysscalartypes".
    DBCC results for 'sys.systypedsubobjs'.
    There are 0 rows in 0 pages for object "sys.systypedsubobjs".
    DBCC results for 'sys.sysidxstats'.
    There are 151 rows in 2 pages for object "sys.sysidxstats".
    DBCC results for 'sys.sysiscols'.
    There are 266 rows in 2 pages for object "sys.sysiscols".
    DBCC results for 'sys.sysbinobjs'.
    There are 23 rows in 1 pages for object "sys.sysbinobjs".
    DBCC results for 'sys.sysobjvalues'.
    There are 187 rows in 27 pages for object "sys.sysobjvalues".
    DBCC results for 'sys.sysclsobjs'.
    There are 14 rows in 1 pages for object "sys.sysclsobjs".
    DBCC results for 'sys.sysrowsetrefs'.
    There are 0 rows in 0 pages for object "sys.sysrowsetrefs".
    DBCC results for 'sys.sysremsvcbinds'.
    There are 0 rows in 0 pages for object "sys.sysremsvcbinds".
    DBCC results for 'sys.sysxmitqueue'.
    There are 0 rows in 0 pages for object "sys.sysxmitqueue".
    DBCC results for 'sys.sysrts'.
    There are 1 rows in 1 pages for object "sys.sysrts".
    DBCC results for 'sys.sysconvgroup'.
    There are 0 rows in 0 pages for object "sys.sysconvgroup".
    DBCC results for 'sys.sysdesend'.
    There are 0 rows in 0 pages for object "sys.sysdesend".
    DBCC results for 'sys.sysdercv'.
    There are 0 rows in 0 pages for object "sys.sysdercv".
    DBCC results for 'sys.syssingleobjrefs'.
    There are 140 rows in 1 pages for object "sys.syssingleobjrefs".
    DBCC results for 'sys.sysmultiobjrefs'.
    There are 131 rows in 1 pages for object "sys.sysmultiobjrefs".
    DBCC results for 'sys.sysdbfiles'.
    There are 2 rows in 1 pages for object "sys.sysdbfiles".
    DBCC results for 'sys.sysguidrefs'.
    There are 0 rows in 0 pages for object "sys.sysguidrefs".
    DBCC results for 'sys.sysqnames'.
    There are 91 rows in 1 pages for object "sys.sysqnames".
    DBCC results for 'sys.sysxmlcomponent'.
    There are 93 rows in 1 pages for object "sys.sysxmlcomponent".
    DBCC results for 'sys.sysxmlfacet'.
    There are 97 rows in 1 pages for object "sys.sysxmlfacet".
    DBCC results for 'sys.sysxmlplacement'.
    There are 17 rows in 1 pages for object "sys.sysxmlplacement".
    DBCC results for 'sys.sysobjkeycrypts'.
    There are 0 rows in 0 pages for object "sys.sysobjkeycrypts".
    DBCC results for 'sys.sysasymkeys'.
    There are 0 rows in 0 pages for object "sys.sysasymkeys".
    DBCC results for 'sys.syssqlguides'.
    There are 0 rows in 0 pages for object "sys.syssqlguides".
    DBCC results for 'sys.sysbinsubobjs'.
    There are 0 rows in 0 pages for object "sys.sysbinsubobjs".
    DBCC results for 'sysdiagrams'.
    There are 0 rows in 0 pages for object "sysdiagrams".
    DBCC results for 'sys.queue_messages_1977058079'.
    There are 0 rows in 0 pages for object "sys.queue_messages_1977058079".
    DBCC results for 'sys.queue_messages_2009058193'.
    There are 0 rows in 0 pages for object "sys.queue_messages_2009058193".
    DBCC results for 'sys.queue_messages_2041058307'.
    There are 0 rows in 0 pages for object "sys.queue_messages_2041058307".
    CHECKDB found 0 allocation errors and 0 consistency errors in database 'TAIQRY'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.

  • Rollback segments - database logging

    Got a problem...
    We are trying to move data from one database to another using: INSERT INTO table1 (SELECT a,b,c FROM table2@db2). The problem we are having is that the amount of data being moved with this in sert command is too great - we are getting an error indicating that our rollback segment is not large enough - ORA-01562: failed to extend rollback segment number 4.
    Unfortunately, we are not going to be able to increase the size of the rollback segment any further than we already have. Is there a way to disable the database logging that occurs?
    I tried using INSERT INTO table1 dbms_disable_logging (SELECT a,b,c FROM table2@db2), but noticed no difference - same error.
    Any ideas?
    Thank you,
    Dan

    We use select..into all the time in an unlogged mode for speed and rollback space reasons.
    We replicate fifty million row tables with a minimal amount of rollback segment (<50MB).
    In unlogged mode we can replicate 50 million rows in under forty minutes - that's smokin!
    Oracle version 8 or greater introduced this concept. I am running 8.1.6.
    You need to alter the table to disable logging and then perform the select into.
    The table alter only takes seconds.
    ALTER TABLE IDMDBO.DIM_PLANS NOLOGGING
    Then do the select into and then turn logging back on (if so desired).
    You can also disable logging at the table space level.
    Keep in mind there are only a few database operations that can be performed unlogged and select..into is one of them.
    There is currently no way to carte blanche disable transaction logging - hopefully this will be coming soon!
    Cheers.
    - Brendan Sullivan
    null

  • An error occurred calling 'LogMultipleResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'

    A test rig that worked fine started thowing the floowing error for me.
    See screen capature.
    Problem doesn't appear on the development PC.
    The code that I'm using is using the default settings for logging to the access database that ships with TS. All worked fine for a few weeks now it keeps ... breaking.
    An error occurred calling 'LogMultipleResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
    An error occurred executing a statement.
    Statement: STEP_RESULT.
    Description: The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
    Number: -2147217887
    NativeError: -105121349
    SQLState: 3022
    Reported by: Microsoft JET Database Engine
    Source: TSDBLog
    Attachments:
    NIDBerror.png ‏17 KB

    Hello,
    As far as I remember the DB size was approx ~ 1.5 GB, I don't have access to that test station till Wednesday so I'll double check but it could be as simple as exceeding the DB size, I'll verify that when I'm on-site again.
    To answer a few questions from Scott:
    1) I'm using TestStand 2012 ( as it came with the installation disks shipped in the first quarter of this year ).
    The test station is offline so no updates have been applied since the install.
    2) I'm using the default NI Schema and an Access DB. ( No modifications have been made )
    3) I'm using the On-The-Fly feature logging feature both to ATML and the DB.
    ATML works with no issues, DB used to work fine until it refused.
    4) Fails every time when I start the sequence, disabling logging to the Database sorts the issue out.
    5) I originally used the BatchUUT.seq example that ships with test stand.
    I have developed a test that has three test sockets that have a common Initialize, Run Tests in parralel and have a sequence of common test steps.
    Scott:
    The issue you've sent speaks of UUIDCreate; I'm gettin issues with the STEP_RESULT .... I think these things are not related.
    Secondly I'm suing TS 2012 so a fix should have been propagated to my version.
    So to answer your question I'm using multiple processes on one computer.
    I will emphasize that everything worked fine up to a certain point ... so I'm guessing Doug might be right on the money with the fact that I've chosen a misfortunate Database ( Access ) for the job.
    Regards,
    Maciej

  • Database Log file Shrink information

    Hello Team,
    Database log file shrink information: Due to space problem
    One of my database having 600 gb,under  600 gb log file having 260 gb, in this database we take full backup daily no log backup. If we shrink the log file any impact is happen?
                   We shrink the log file internally what will happen?
    One of my database having 600 gb,log file having 260 gb, in this database we take full backup daily and every 15 min take log backup.
    This is scenario we shrink the log file what will happen.

    Hello,
    You should not try to shrink the log file regularly, because is resource intensive, it takes a lot of time and it creates fragmentation on the disk storage.
    If you don’t backup the log files of the databases (option 1) you don’t have the ability to restore to a point in time between backups full and differential. If
    you don’t want to backup files then it makes sense to change the recovery model to simple.
    Backing up the logs regularly minimize the risk of the logs getting filled and extending their size.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • "Database Log In Failed - TNS could not resolve service name"

    Hello.
    I have an installation of Oracle 10g Release 2 (10.2) for Microsoft Windows (32-Bit) using WinXP Pro on my computer.
    I have also installed the compantion CD on the same machine (In a separate home directory) so that I can use PL/SQL.
    I have searched through the forum threads but haven't found any similar problem. The solutions that fixed other peoples problem don't seem to be applicable to mine.
    I have created a user 'antagning' and some tables and also some PL/SQL procedures that compile fine. When I request
    http://localhost:7777/pls/projekt/firsttest
    (firsttest is the procedure. doesn't take any params)
    I get the famous
    Database Log In Failed
    TNS could not resolve service name
    Verify that the TNS name in the connectstring
    entry of the DAD for this URL is valid.
    This is my DAD file:
    <location /pls/projekt>
    SetHandler pls_handler
    PlsqlDatabaseUsername antagning
    PlsqlDatabasePassword antagning
    PlsqlDatabaseConnectString ORCL
    PlsqlAuthenticationMode Basic
    PlsqlErrorStyle DebugStyle
    </location>
    and my tnsnames.ora looks like: (there is only one on the machine so there is no conflicting setups I think)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =
    localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    finally, this is my sqlnet.ora:
    # sqlnet.ora Network Configuration File: c:\oracle10g\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I haven't set any default domain because the database runs on my local computer and not on a microsoft server in a domain. Is that correctly concluded?
    I get an OK message when I ping my TNS with "tnsping orcl" (Maybe that information is not relevant in the context)
    My webserver is started and is running fine (I think). If I request:
    http://localhost:7777/pls/projekt (without any procedure name)
    I get the message that no procedure is specified to run so I get some sort of answer from the webserver, so far so right.
    When I log in using sqlplus with my own created user account I have to leave the database field empty or the login will fail. If I specify the field with the string orcl
    the login will fail. Does that imply that something is not quite right? Maybe that hasn't got anything to do with the failure message.
    /Fredrik

    Has anyone resolved the problems with using TNSFormat?
    As is, I want to move to a shared server setup and to do that I want to use TNSFormat and point to a tns entry which is setup for IPC+Shared connection.
    But the Oracle Home that has the Oracle HTTP Server (from the companion CD) does not have SQL*net installed and does not seem to understand TNS.
    I have TNS_ADMIN setup, I have ORACLE_HOME_LISTENER poiting to the DB Home.
    for the OHS home, using "sqlplus login/pw@ipcshared" works, but "tnsping ipcshared" does not, since tnsping does not exist in the OHS home.
    I cannot install SQL*Net from the CD1, since it requires a dedicated/new home and does not want to install in the OHS Home.
    The only format that works in a dedicated OHS Home setup is ServiceNameFormat.
    Any help or input would be very helpful.
    Regards
    ps. This is a redhat linux setup.
    Message was edited by:
    Oli_t

  • MySQL syntax error with TestStand 4.0 database logging

    I had been using MS Access database to log results which worked fine but the access database is too limited. Switched to MySql. Database works fine and I can query it from Visual C++ and was able to create all my result tables fine from TestStand.
    I get a syntax error when actually trying to log results and it has to do with either a missing quote or and extra quote, I can't quite tell. I thought I saw a post on this somewhere but can't find it now. Here is the complaint from TestStand:
    An error occurred calling 'LogOneResult' in 'ITSDBLog' of 'zNI TestStand Database Logging'
    An error occurred executing a statement.
    Statement: UUT_RESULT.
    [MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT VALUES' at line 1
    Description: [MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT VALUES' at line 1
    Number: -2147467259
    NativeError: 1064
    SQLState: 37000
    Reported by: Microsoft OLE DB Provider for ODBC Drivers
    Description: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    Number: -2147217887
    NativeError: 0
    SQLState: 37000
    Reported by: Microsoft OLE DB Provider for ODBC Drivers
    Source: TSDBLog
    And here is all that appears in the MySql logfile:
    INSERT INTO UUT_RESULT DEFAULT VALUES
    070914
    You can't see it here but the string is truncated after the word VALUES. The next line starts with the odd number.
    Any ideas?
    Thanks,
    Bill Peters
    BAE SYSTEMS

    Sure. There were two bugs in the ini file that contains the default TS schemas (I think it was Default_Database_Options.ini or like that...).
    Anyway the table description for STEP_NUMERICLIMIT had for it's command line INSERT INTO MEAS_NUMERICLIMIT. I guess TestStand looked at that and said hmm I better create that table too. Then later down the page when you try to create MEAS_NUMERICLIMIT it says the table already exists even though it is empty. The generate SQL button builds a bad file and then the database viewer creates a bad database. I would have to go into MySql and drop the database. I had to save the schema under a custom name, edit it read it back in, generate a new SQL file, but then it would still fail validation because the ini files don't get updated until you exit TestStand. So basically I did this process 3 times before I got it right.
    It's wasn't a big deal but it's amazing how a little thing can cause a lot of work.
    The second bug, I'm not certain was initially in the file or somehow got set on the fly. There was a random int statement at the very end of the SQL table description for UUT_RESULT. It was also in the schema INI file. Since the int had no name and occurred in a odd place, it created a syntax error in MySql. Same fix as above.
    But like I said it's working great now. I like this approach because I serve it to the net with Apache and parse the database with simple PHP scripts.
    Thanks,
    Bill Peters
    BAE SYSTEMS

  • Database column alias problem

    When joining the firstname and surname fields in my inital SQL query of my interactive report i.e
    INITCAP(INDSNAME)||' '||INITCAP(INDFNAME) AS FULLNAME,
    When clicking through to the record detail page I am getting the following error from the page item where in the source I am specifying FULLNAME under Source value or expression
    Column FULLNAME not found in table MYTABLENAME
    How can I get around this?
    Many Thanks

    Hi Bas
    Thanks - it will just be a view as basically I just want to print the data via jasper
    In my IA report under column attributes there is one called FULLNAME which is derived from INITCAP(INDSNAME)||' '||INITCAP(INDFNAME) AS FULLNAME,
    So how can I get the data displayed in the FULLNAME column in the IA report into a single record view.  At the moment my IA report the Link Column is currently linked to a 'Link to custom target'
    the target is a 'Page in this Application'  in this case page 9
    and in Item1 under Name the value is P9_ROWID and the value is #ROWID#
    Database column alias problem 

  • Change the database log on parameters in the run time with CR10 Delphi2007?

    Hi,
    I'm using crystal report 10 and Crystal VCL for Delphi. How can I change the database log on parameters in the run time?

    You have to use the ConnectBuffer. See [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note for details.
    Also, consider searching the notes database:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    The search; VCL database crystal, returns a number of notes that may be of use.
    Ludek

  • Turn database logging on

    hello all,
    turn database logging on , - FRA configured, what i have to do?
    1) can i go mount status and alter database in archivelog mode and then start the database?
    or anything else like logging vs nologging, just confused

    Hi
    you can enable archivelog mode and force logging mode (for dataguard, streams,...).
    ALTER DATABASE FORCE LOGGING;
    or
    ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
    you find a lot of infos in the oracle dok.
    In which context do you ask this question?
    HTH

  • Is their a activeX api function to set the database option "database logging enabled" to true or false?

    Hello!
    I want to decide dynamically while running a sequence to log the results to a database or not.
    So I need to set the "database logging enabled" property by a activex function call.
    Does a activex api function exist? I didn't found one, or is their an other way to change the property value?
    Thanks and regards
    M. Brosig

    Hi,
    Ah! I understand.
    You can change the runtime properties from you sequence or inside your step by using the Lookup string of
    "RunState.Caller.Locals.DatabasesOptions.DisableDatabaseLogging"
    Use the TS API  PropertyObject.SetValBoolean("DatabasesOptions.DisableDatabaseLogging", 0, newValue) method with RunState.Caller.Locals as your ActiveX Reference. (where newValue would be True or False.)
    Depending at what level you perform this API method depends how many "RunState.Caller" you have in your lookup string.
    eg.
    My example of
    PropertyObject.SetValBoolean("DatabasesOptions.DisableDatabaseLogging", 0, newValue) with RunState.Caller.Locals as your ActiveX Reference is based on a step in MainSequence which has been called by the Process Model sequence.
    If you have a step in a Sub-Sequence of MainSequence then the lookup string would be
     "RunState.Caller.RunState.Caller.Locals" as the activeX reference.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • New log rotation problem

    I have resolved some log rotation problem...I have set del log rtation by size...and now the first time the log rotate,but then the output continue to go on the lod with the extension .log001 and not on the configured file.
    why?

    no,it the server rotates the log only the first time but then it continues to write on the .log001.On the original file it continues to write some server exception.
    the server launch line in the scritp is the follow
    nohup "$JAVA_HOME/bin/java" ${JAVA_VM} ${JAVA_OPTIONS_NODE} ${JAVA_OPTIONS} \
    Dweblogic.Name=${SERVER_NAME} \
    Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} \
    Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" \
    Dweblogic.Stdout=/u02/bea/weblogic81/mydomain/mydomain_LOG/myserver_Admin.log \
    Dweblogic.Stderr=/u02/bea/weblogic81/mydomain/mydomain_LOG/myserver_Admin.log \
    weblogic.Server > /dev/null &
    and the config.xml part for the server configuration is the follow
    <Server COMEnabled="true" CompleteMessageTimeout="0"
    ConsoleInputEnabled="false" EnabledForDomainLog="true"
    ExpectedToRun="false" JDBCLogFileName="./mydomain_LOG/jdbc.log"
    JDBCLoggingEnabled="true" JavaCompiler="javac"
    ListenAddress="10.2.1.16" ListenPort="10001"
    MaxMessageSize="100000000" Name="myserver_Admin"
    ServerVersion="8.1.3.0" SocketReaderTimeoutMaxMillis="10"
    StagingMode="nostage" StdoutDebugEnabled="true"
    StdoutEnabled="true" StdoutSeverityLevel="16" TransactionLogFilePrefix="../myserver_LOG/myserverAdminTransaction.log">
    <SSL Enabled="false" IdentityAndTrustLocations="KeyStores"
    ListenPort="10002" Name="myserver_Admin"/>
    <Log FileCount="4" FileMinSize="30"
    FileName="/u02/bea/weblogic81/mydomain/mydomain_LOG/myserver_Admin.log"
    FileTimeSpan="1" Name="myserver_Admin"
    NumberOfFilesLimited="true" RotationType="bySize"/>
    <WebServer LogFileCount="2" LogFileLimitEnabled="true"
    LogFileName="./mydomain_LOG/access.log"
    LogRotationPeriodMins="360" LogRotationType="size"
    MaxLogFileSizeKBytes="20000" Name="myserver_Admin"/>

Maybe you are looking for