View to check directory created in database

Hi,
Can anyone give me the view that i can check the database created directory?
Regards

Hi
select * from dba_directories;

Similar Messages

  • View to check We Can Open Database with Resetlog Option

    Hi Experts,
    i need to know the view name that can tell us we can open the database in resetlog option during recovery process.
    regards,
    rizwan

    Hi Rizwan;
    i need to know the view name that can tell us we can open the database in resetlog option during recovery process.What is DB version?
    Pelase check below link:
    Troubleshooting Backups - V$ Recovery Views
    http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/648/TopicID/TBT3/Default.aspx
    Regard
    Helios

  • Views to check the catalog database name from target database.

    Hi,
    Please help me to find view to check the catalog database name which is connected to my target database because I am new to the current environment where I am working now and the previous DBA have done the set up having 2 catalog database. I want view to check from target database, which can show the catalog database name to which it is connected to.
    We can check the catalog database name from the following ways but I want views to check it from target database.
    1.TNSnames.ora
    2.Any backup script connecting to catalog database.
    3.From catalog database we can use rc_database view to check the databases registered with the catalog database.

    Please help me to find view to check the catalog database name which is connected to my target databaseYou can check for any RMAN backup jobs that been scheduled on the server.
    In the scheduled script check rman command.
    You can then identify the database alias (of the catalog db) that is used in the rman backup script.
    Once you have found the database alias, check for the database alias entry in tnsnames.ora file present in your target database server.
    Once the entry is found, you can find the IP address and catalog db name from the tns entry.
    Edited by: st. osh on Nov 22, 2012 11:38 PM

  • Create a database link to access SqlServer 2005 view from oracle 11gr2

    Hi All,
    Greetings for the day.
    Though I have seen quite a few posts but just wanted to cross-verfiy and double check hence posting.
    Oracle Database : 11gr2
    OS :SOLARIS SPARC 64 Bit
    SQL Server Database : Sql Server 2005
    OS : Windows 2003 32 Bit
    The requirement is to access a view residing in the SQL Server 2005 Database using the Oracle Database. This involves creation of a Database link in the Oracle Database to access the SQL Server.
    Can you suggest which approach should i follow ( I am able to understand that both do the same job ):
    How to Configure DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX) post install [ID 562509.1]or
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install [ID 561033.1]Will they do the same job ? And can they be used on any OS and version of the SQL Server Database as version information for SQL Server is not specified anywhere?
    Please let me know so that I can it forward with Business for approvals and budgetting.
    Regards
    KK

    Your question is similar to the post: Oracle 11gr2 connection to Sql Server using dg4msql problem
    Please visit: http://stackoverflow.com/questions/4658942/oracle-11gr2-connection-to-sql-server-using-dg4msql-problem
    Answer on the website:
    You seem to be using the Gateway for MySQL set-up rather than the Heterogeneous Gateway (for ODBC connections). Here is an overview of the process
    On SQL Server create a database user and give it read access to the database/tables you want to read via the Oracle database link.
    In the gateway home each SQL Server database you want to access should have an init.ora located in $OH/dg4msql/admin in the form initsid.ora where sid is the name of the database to be used in the link (e.g. initbob.ora), so create one
    HS_FDS_CONNECT_INFO=msserver1:1234//Example_Database
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_TRANSACTION_MODEL=READ_ONLY
    You must now add the new sid to the listener.ora in the gateway home using an additional SID_DESC section inside the existing SID_LIST, for example
    (SID_DESC =
    (SID_NAME=bob)
    (ORACLE_HOME=/oracle/gateway/product/11.2.0)
    (ENVS=LD_LIBRARY_PATH=/oracle/gateway/product/11.2.0/dg4msql/driver/lib;/oracle/gateway/product/11.2.0/lib)
    (PROGRAM=dg4msql)
    You should now stop and restart the gateway listener so that the new sid becomes active. NB a reload is not enough.
    You must now add the new sid in the tnsnames.ora file for the listener of each database in which you will create a link. You don't need to do this in the gateway home unless it is also a database home in which you will create a database link.
    bob =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = severname.example.com)(PORT = 1690))
    (CONNECT_DATA = (SID = bob))
    (HS = OK)
    NB: The host and port are for the gateway not for the SQL Server database
    In each database that requires a link to the MS-SQL database you should create a database link to your new gateway sid.
    CREATE PUBLIC DATABASE LINK bob
    CONNECT TO "ms_user" IDENTIFIED BY "ms-passwd" USING 'bob';
    where ms-user and ms-password are the SQL Server user you created right at the start.
    Now you can test the new database link
    SELECT COUNT(*) FROM "Table_Name"@bob;
    Once you have this working you can alter the initsid.ora file to add parameters to suit your connection. If you do it this way you can easily add and manage many different databases via the gateway.
    Hip
    Edited by: 1000595 on 04:58 17-04-2013

  • What is the use for CREATING VIEW WITH CHECK OPTION?

    Dear Legends,
    I have a doubt
    What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.
    A: Enforcing constraints at DB level.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
    Please clear my doubt's Legends
    Lots of Thanks....
    Regards,
    Karthik

    Hi, Karthick,
    karthiksingh_dba wrote:
    ... What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
    Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
    Views are necessary for INSTEAD OF triggers.
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
    A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables.

  • Views created from Database link over dg4msql has column type as long

    Hi All,
    I am reading some views from SQL server using dg4msql to Oracle database 11G r2.
    All working well except columns that are typically varchar2 are now of type LONG. This is causing issues given the wide range of restrictions of data type long.
    Is there a way that when I create a view in Oracle like:
    CREATE or replace view as v1 (
    select a1, a2, a3 from msqlserver_table@dblink)The columns don't come up as long but as varchar2??
    Problem is once its in long format, I can't change it to another format in a SELECT statement (like cast it as varchar 2 etc)\
    Thanks.
    Edited by: xarg-Xrc on Oct 3, 2012 7:26 PM

    Hi kgronau,
    Here is the output of the command
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     mm/dd/yyyy
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_CHARACTERSET     AL32UTF8
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE

  • No error shown but database not installed (no c:\sapdb directory created)

    After a failed installation of NetWeaver 2004s ABAP Trial Version (SP11) downloaded from SDN, I removed MaxDB using the control panel, deleted the SAP and sapdb directories, restored the services file, and ran the registry clean tool.
    I then tried to install the SP10 version from the DVD in the new ABAP Objects book - this ran for only a couple of minutes, gave no errors but didn't install the database.  I presumed this was an error with the DVD so I cleaned everything up again and tried installing the downloaded SP11 version again, but the same thing happened: it only ran for a couple of minutes and said everything was OK but created no database directory.
    Any ideas?
    Thanks in advance,
    Andrew

    Hello Andrew,
    Unistall/delete your current NSP system.
    Afterwards remove the folder
    <DRIVE>:Program FilesCommon FilesInstallShieldUniversalSAP
    and all sub-folders and reinstall SP11 again.
    Kind regards,
    Klaus

  • Error : simply creating a database in oracle

    Hello,
    I have recently started with oracle and I am trying to create a database using create database sql as below, but receving some errors, can someone please help me for a direction to resolve it.
    CREATE DATABASE OXXXXI
    USER SYS IDENTIFIED BY password
    USER SYSTEM IDENTIFIED BY password
    LOGFILE GROUP 1 ('C:\ORACLE\oradata\OXXXXI\redo01.log') SIZE 51200K,
    GROUP 2 ('C:\ORACLE\oradata\OXXXXI\redo02.log') SIZE 51200K,
    GROUP 3 ('C:\ORACLE\oradata\OXXXXI\redo03.log') SIZE 51200K
    MAXLOGFILES 32
    MAXLOGMEMBERS 5
    MAXLOGHISTORY 1
    MAXDATAFILES 100
    CHARACTER SET AL32UTF8
    NATIONAL CHARACTER SET UTF8
    EXTENT MANAGEMENT LOCAL
    DATAFILE 'C:\ORACLE\oradata\OXXXXI\SYSTEM01.DBF' SIZE 325M REUSE
    SYSAUX DATAFILE 'C:\ORACLE\oradata\OXXXXI\SYSAUX01.DBF' SIZE 325M REUSE
    DEFAULT TABLESPACE users
    DATAFILE 'C:\ORACLE\oradata\OXXXXI\USERS01.DBF'
    SIZE 500M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE tempts1
    TEMPFILE 'C:\ORACLE\oradata\OXXXXI\TEMP01.DBF'
    SIZE 20M REUSE
    UNDO TABLESPACE undotbs
    DATAFILE 'C:\ORACLE\oradata\OXXXXI\UNDOTBS01.DBF'
    SIZE 200M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
    CREATE DATABASE OXXXXI
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\dtxnspc.bsq'
    near line 5
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type
    Process ID: 13960
    Session ID: 130 Serial number: 3
    SQL>
    Thanks!

    808116 wrote:
    another doubt related to same.=================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

  • Controlfile corrupted when creating a database - ORA-00202

    Hi Oracle experts,
    I have two virtual machines, the clusterware installed fine and is accessing shared disks, also ASM is running fine.
    When I created the database using dbca everything went fine until the very last end, I saw a window indicating that instances on both nodes were starting then I got this error for the second instance:
    PRKP-1001 : Error starting instance vrac2 on node monoravpc11
    CRS-0215: Could not start resource 'ora.vrac.vrac2.inst'
    In the alert there are these errors:
    Tue Jul 29 09:44:49 2008
    Hex dump of (file 0, block 1) in trace file /u01/app/oracle/admin/vrac/udump/vrac2_ora_31504.trc
    Corrupt block relative dba: 0x00000001 (file 0, block 1)
    Completely zero block found during control file header read
    Tue Jul 29 09:44:52 2008
    Errors in file /u01/app/oracle/admin/vrac/udump/vrac2_ora_31504.trc:
    ORA-00202: control file: '+DATA/vrac/controlfile/current.257.661336023'
    Then I checked the ASM disks on the second instance and everything looks fine, disks are accesible and mounted:
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    +ASM2
    SQL> select group_number, disk_number, mount_status, state from v$asm_disk
    2 /
    GROUP_NUMBER DISK_NUMBER MOUNT_S STATE
    0 2 CLOSED NORMAL
    0 3 CLOSED NORMAL
    1 1 CACHED NORMAL
    1 0 CACHED NORMAL
    SQL> select group_number, disk_number, reads, writes, read_errs, write_errs from v$asm_disk;
    GROUP_NUMBER DISK_NUMBER READS WRITES READ_ERRS WRITE_ERRS
    0 2
    0 3
    1 1 25 1 0 0
    1 0 37 0 0 0
    ASMCMD> pwd
    +data/vrac/controlfile
    ASMCMD> ls
    Current.256.661336019
    Current.257.661336023
    Then I went to the first instance, wich is up and running and query the control files:
    Valid     File Name     File Directory
    VALID     current.256.661336019     +DATA/vrac/controlfile/
    VALID     current.257.661336023     +DATA/vrac/controlfile/
    They are good and valid.
    So, any hint? any suggestion? I am lost here, I even created a new controlfile I still received the very same message.
    Regards,
    Carlos Acosta

    Yes, sorry, I was so focused on writing a well redacted message that I forgot to send the versions ;)
    OS: Linux Redhat AS 3, 32bit
    Oracle Database and clusterware: 10.2.0.1
    Here is the complete messages file for today:
    Jul 29 09:36:15 monoravpc11 rsh(pam_unix)[22309]: session opened for user oracle by (uid=0)
    Jul 29 09:36:15 monoravpc11 rsh(pam_unix)[22309]: session closed for user oracle
    Jul 29 09:36:36 monoravpc11 pam_rhosts_auth[22717]: allowed to [email protected] as oracle
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22717]: session opened for user oracle by (uid=0)
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22717]: session closed for user oracle
    Jul 29 09:36:37 monoravpc11 pam_rhosts_auth[22750]: allowed to [email protected] as oracle
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22750]: session opened for user oracle by (uid=0)
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22750]: session closed for user oracle
    Jul 29 09:36:38 monoravpc11 pam_rhosts_auth[22783]: allowed to [email protected] as oracle
    Jul 29 09:36:38 monoravpc11 rsh(pam_unix)[22783]: session opened for user oracle by (uid=0)
    Jul 29 09:36:38 monoravpc11 rsh(pam_unix)[22783]: session closed for user oracle
    Jul 29 09:36:39 monoravpc11 pam_rhosts_auth[22793]: allowed to [email protected] as oracle
    Jul 29 09:36:39 monoravpc11 rsh(pam_unix)[22793]: session opened for user oracle by (uid=0)
    Jul 29 09:36:39 monoravpc11 rsh(pam_unix)[22793]: session closed for user oracle
    Jul 29 09:36:40 monoravpc11 pam_rhosts_auth[22828]: allowed to [email protected] as oracle
    Jul 29 09:36:40 monoravpc11 rsh(pam_unix)[22828]: session opened for user oracle by (uid=0)
    Jul 29 09:36:40 monoravpc11 rsh(pam_unix)[22828]: session closed for user oracle
    Jul 29 09:36:40 monoravpc11 pam_rhosts_auth[22836]: allowed to [email protected] as oracle
    Jul 29 09:36:40 monoravpc11 rsh(pam_unix)[22836]: session opened for user oracle by (uid=0)
    Jul 29 09:36:41 monoravpc11 rsh(pam_unix)[22836]: session closed for user oracle
    Jul 29 09:36:41 monoravpc11 pam_rhosts_auth[22871]: allowed to [email protected] as oracle
    Jul 29 09:36:41 monoravpc11 rsh(pam_unix)[22871]: session opened for user oracle by (uid=0)
    Jul 29 09:36:42 monoravpc11 rsh(pam_unix)[22871]: session closed for user oracle
    Jul 29 09:36:42 monoravpc11 pam_rhosts_auth[22879]: allowed to [email protected] as oracle
    Jul 29 09:36:42 monoravpc11 rsh(pam_unix)[22879]: session opened for user oracle by (uid=0)
    Jul 29 09:36:42 monoravpc11 rsh(pam_unix)[22879]: session closed for user oracle
    Jul 29 09:36:57 monoravpc11 pam_rhosts_auth[23164]: allowed to [email protected] as oracle
    Jul 29 09:36:57 monoravpc11 rsh(pam_unix)[23164]: session opened for user oracle by (uid=0)
    Jul 29 09:36:58 monoravpc11 pam_rhosts_auth[23213]: allowed to [email protected] as oracle
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23213]: session opened for user oracle by (uid=0)
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23213]: session closed for user oracle
    Jul 29 09:36:58 monoravpc11 pam_rhosts_auth[23249]: allowed to [email protected] as oracle
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23249]: session opened for user oracle by (uid=0)
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23249]: session closed for user oracle
    Jul 29 09:37:07 monoravpc11 pam_rhosts_auth[23434]: allowed to [email protected] as oracle
    Jul 29 09:37:07 monoravpc11 rsh(pam_unix)[23434]: session opened for user oracle by (uid=0)
    Jul 29 09:37:07 monoravpc11 rsh(pam_unix)[23434]: session closed for user oracle
    Jul 29 09:37:08 monoravpc11 pam_rhosts_auth[23444]: allowed to [email protected] as oracle
    Jul 29 09:37:08 monoravpc11 rsh(pam_unix)[23444]: session opened for user oracle by (uid=0)
    Jul 29 09:37:08 monoravpc11 rsh(pam_unix)[23444]: session closed for user oracle
    Jul 29 09:37:08 monoravpc11 pam_rhosts_auth[23477]: allowed to [email protected] as oracle
    Jul 29 09:37:08 monoravpc11 rsh(pam_unix)[23477]: session opened for user oracle by (uid=0)
    Jul 29 09:39:10 monoravpc11 pam_rhosts_auth[25874]: allowed to [email protected] as oracle
    Jul 29 09:39:10 monoravpc11 rsh(pam_unix)[25874]: session opened for user oracle by (uid=0)
    Jul 29 09:40:02 monoravpc11 rsh(pam_unix)[25874]: session closed for user oracle
    Jul 29 09:40:17 monoravpc11 pam_rhosts_auth[27528]: allowed to [email protected] as oracle
    Jul 29 09:40:17 monoravpc11 rsh(pam_unix)[27528]: session opened for user oracle by (uid=0)
    Jul 29 11:55:54 monoravpc11 sshd(pam_unix)[3752]: session closed for user oracle
    Jul 29 11:55:57 monoravpc11 sshd(pam_unix)[26631]: session opened for user oracle by (uid=500)

  • View-does not exist on the database

    Hi Experts,
       Our Data Source/Extract Structure (R/3) is based on a view.
    There is an Issue with the View/DAta Source
    If i go to SE11>view Name> Display then i am getting
       'View ZART_ATTRS is not in the database' and then the next screen is the view definition
    This is a database view which is defined in the ABAP/4 Dictionary but does not exist on the database. No data can be read for this reason
    If i go to RSO2 and enter data source name and select display...
    Then it will display data source status as 'Saved' how can i activate it
    and i go to RSA6 select my Z data source which is based on the above view....context menu display data source/Check data source...when i get error
    'Only Tables and views are permitted for extraction'
    How can i overcome it

    Hi,
    As your view is existing in ABAP DICTIONARY , you need to take help of your DBA to get this created in the underlying database. This can be created using Database utility se14 transaction code. But it is good to have your DBA involved so that you have proper table space allocated to it.
    Hope this helps..
    Regards
    Manga(Assign points if it helps)

  • Is thre any view to check the date & time of switch ovr frm prim to standby

    Hi All,
    Is there any view to check the date and time of switch over from primary to standby.
    Thanks,

    784786 wrote:
    Which parameter of v$database can give us the switchover date and time. Please let me know?
    SQL> desc v$database
    Name                            Null?    Type
    DBID                                  NUMBER
    NAME                                  VARCHAR2(9)
    CREATED                             DATE
    RESETLOGS_CHANGE#                        NUMBER
    RESETLOGS_TIME                         DATE
    PRIOR_RESETLOGS_CHANGE#                   NUMBER
    PRIOR_RESETLOGS_TIME                        DATE
    LOG_MODE                             VARCHAR2(12)
    CHECKPOINT_CHANGE#                        NUMBER
    ARCHIVE_CHANGE#                        NUMBER
    CONTROLFILE_TYPE                        VARCHAR2(7)
    CONTROLFILE_CREATED                        DATE
    CONTROLFILE_SEQUENCE#                        NUMBER
    CONTROLFILE_CHANGE#                        NUMBER
    CONTROLFILE_TIME                        DATE
    OPEN_RESETLOGS                         VARCHAR2(11)
    VERSION_TIME                             DATE
    OPEN_MODE                             VARCHAR2(20)
    PROTECTION_MODE                        VARCHAR2(20)
    PROTECTION_LEVEL                        VARCHAR2(20)
    REMOTE_ARCHIVE                         VARCHAR2(8)
    ACTIVATION#                             NUMBER
    SWITCHOVER#                             NUMBER
    DATABASE_ROLE                             VARCHAR2(16)
    ARCHIVELOG_CHANGE#                        NUMBER
    ARCHIVELOG_COMPRESSION                    VARCHAR2(8)
    SWITCHOVER_STATUS                        VARCHAR2(20)
    DATAGUARD_BROKER                        VARCHAR2(8)
    GUARD_STATUS                             VARCHAR2(7)
    SUPPLEMENTAL_LOG_DATA_MIN                   VARCHAR2(8)
    SUPPLEMENTAL_LOG_DATA_PK                   VARCHAR2(3)
    SUPPLEMENTAL_LOG_DATA_UI                   VARCHAR2(3)
    FORCE_LOGGING                             VARCHAR2(3)
    PLATFORM_ID                             NUMBER
    PLATFORM_NAME                             VARCHAR2(101)
    RECOVERY_TARGET_INCARNATION#                   NUMBER
    LAST_OPEN_INCARNATION#                    NUMBER
    CURRENT_SCN                             NUMBER
    FLASHBACK_ON                             VARCHAR2(18)
    SUPPLEMENTAL_LOG_DATA_FK                   VARCHAR2(3)
    SUPPLEMENTAL_LOG_DATA_ALL                   VARCHAR2(3)
    DB_UNIQUE_NAME                         VARCHAR2(30)
    STANDBY_BECAME_PRIMARY_SCN                   NUMBER
    FS_FAILOVER_STATUS                        VARCHAR2(22)
    FS_FAILOVER_CURRENT_TARGET                   VARCHAR2(30)
    FS_FAILOVER_THRESHOLD                        NUMBER
    FS_FAILOVER_OBSERVER_PRESENT                   VARCHAR2(7)
    FS_FAILOVER_OBSERVER_HOST                   VARCHAR2(512)
    CONTROLFILE_CONVERTED                        VARCHAR2(3)
    PRIMARY_DB_UNIQUE_NAME                    VARCHAR2(30)
    SUPPLEMENTAL_LOG_DATA_PL                   VARCHAR2(3)
    MIN_REQUIRED_CAPTURE_CHANGE#                   NUMBERAre you admitting that after reviewing the content of this VIEW, that you see nothing that might contain the detail you desire?
    The switch over is also logged to alert_SID.log on both Primary & Standby

  • "Crystal Report Viewer is unable to create its resource objects"

    I'm using Crystal Reports Server XI and getting the error/pop up box: "Crystal Report Viewer is unable to create its resource objects" when trying to view a report through the website.
    Any suggestions would be appreiciated. I'm very unfamiliar with Crystal Reports but it's fallen into my lap to install and suppor this application.
    I have tried changing some browser settings to allow ActiveX content and such but that hasn't seemed to help. I also tried downloading a particular 3 .dll's files to my desktop and registering them, as well as re-registering them on the server. They were CRVIEWER.dll, swebrs.dll, sviewhlp.dll.
    I'm using IE 7.0 and CR Server XI is installed in a Windows 2003 R2 SE server.  IIS seems to be setup OK.  I haven't changed any of the default installation settings that were configured during the installation on the virtual directory that was created.  I received no errors during the installation.  I'm also not seeing anything obvious pop up in the event logs.  I still have yet to do a log parser query looking for anything that says crystal reports.
    Thanks!
    Edited by: Wendy Beatty on Sep 23, 2008 9:50 PM

    Hi Wendy,
    This issue might be better addressed by our .NET development forum,  however,  some of the things that come to mind are:
    1.  As a test are you able download the Active X Viewer from the client machine by accessing it via a URL:
    http:// <yourserver>/crystalreportviewers/ActiveXControls/ActiveXViewer.cab
    Does it prompt you do download the .CAB file?
    2.  If you have more than one version of the Active X Viewer installed on the client machine,  go through this SAP Note (1215398) from the Service Market Place to remove it.
    3.  Check your browser settings (Tools|Security|Custom Level) to make sure Active Controls are set to at least prompt.
    4.  Confirm with your network administrator if there are group policies that restrict the installation of Active X Controls or if users do not have the rights to install.
    Regards,
    Wallie

  • Error when I create the database

    I install the peopletools 8.49 for Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 and my operating system is Microsoft Windows Server 2003 Enterprise Edition Server Pack 1, v.1023.
    When I have installed the peopletools and the database, I modify the scripts in <PS_HOME>\scripts\nt and then change to <PS_HOME>\setup\PsMpDbInstall and double click setup.exe to run the database configuration wizard. All of the scripts are running correct, but the Data Mover is error. So I run the Data Mover manually. I create Data Mover import scripts and run it. It’s ok. Then I check the logs. I find the follow error:
    psadmin.log:
    ALTER TABLE SQLPLUS_PRODUCT_PROFILE ADD (LONG_VALUE LONG)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    psdmtx.log:
    PSDMTX Error: signon
    verifyToolsVer.log:
    select TOOLSREL from PSSTATUS *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    sqlnet.log:
    Fatal NI connect error 12557, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cs.lab.net)(PORT=1521))(CONNECT_DATA=(SID=PSDB)(CID=(PROGRAM=C:\pt\bin\client\winx86\psdmtx.exe)(HOST=CS)(USER=Administrator))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.5.0 - Production
    Time: 19-MAY-2009 15:33:27
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12557
    TNS-12557: TNS:protocol adapter not loadable
    ns secondary err code: 12560
    nt main err code: 527
    TNS-00527: Protocol Adapter not loadable
    nt secondary err code: 0
    nt OS err code: 0
    Then I run version application engine program:
    C:\Documents and Settings\Administrator>C:\pt\bin\client\winx86\psae.exe -CD PSD
    B -CT ORACLE -CO SYSADM -CP SYSADM -R INSTALL -AI VERSION
    Message Set Number: 0
    Message Number: 0
    Message Reason: Invalid User ID and password for signon. (0,0)
    Error in sign on
    PSDB: database name
    SYSADM: peoplesoft owner id
    How can I resolve it?

    I create the database manually too. The errors are the same. I can login in data mover by SYSADM user or people user and the database and listener is running. However, I run version application engine program:
    C:\Documents and Settings\Administrator>C:\pt\bin\client\winx86\psae.exe -CD PSDB -CT ORACLE -CO SYSADM -CP SYSADM -R INSTALL -AI VERSION
    Message Set Number: 0
    Message Number: 0
    Message Reason: Invalid User ID and password for signon. (0,0)
    Error in sign on
    I change the user to try, it’s the same.
    Edited by: hzg on May 21, 2009 9:38 AM

  • Incorrect directory in PeopleSoft Database Configuration

    In Chapter 6 - Creating a Database,
    I am on step 10 (Specify the path to your connectivity binaries, and click Next. In this example the connectivity path is C:\Program Files\Microsoft SQL Server\100\Binn.)
    I had checked that my SQLCMD application is inside C:\Program Files\Microsoft SQL Server\100\Binn.
    But this alert box appeared:
    PeopleSoft Database Configuration
    Directory incorrect
    Please specify a valid directory path for 'sqlcmd'
    What should I do? Thanks in advance...

    Hi,
    If you are running SQLServer 2008 the default location is
    C:\Program Files\Microsoft SQL Server\100\Tools\Binn
    You are missing the Tools directory in your path.
    Hakan

  • How I can check status of a database link in runtime?

    I need check status of a database link from my application in runtime.
    There are any view or table where I can find this information?
    Any function or package?
    Thanks!!

    SQL> create view test_view as select dummy from [email protected]
    2 ;
    View created.
    SQL> select dummy from test_view;
    D
    X
    Execution Plan
    0 SELECT STATEMENT (REMOTE) Optimizer=CHOOSE
    1 0 TABLE ACCESS (FULL) OF 'DUAL' FIRST9.XXXX.COM
    Statistics
    7 recursive calls
    4 db block gets
    2 consistent gets
    0 physical reads
    212 redo size
    363 bytes sent via SQL*Net to client
    425 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    NOW WE PULL OUT THE NETWORK CABLE connecting the two servers.
    SQL> select dummy from test_view;
    select dummy from test_view
    ERROR at line 1:
    ORA-02068: following severe error from FIRST9.XXXX.COM
    ORA-03113: end-of-file on communication channel
    So all you have to do is to test for the communications error.

Maybe you are looking for

  • Unable to use a Time Machine backup

    I am getting very frustrated, as I cannot use a Time Machine backup the way I want to. Short story, my Macbook Pro Retina (running Yosemite) is, and have for a while been, a litte buggy and slow, so I wsh to to a clean install of OSX, and use migrati

  • Can't we use function to derive value for NEXT clause in MV ?

    Hi Friends, I have a requirement like below I need to derive the schedule (Value for NEXT clause in the create MV command) for a MV to run it e.g., Value from a date column : 03-JUL-2012 10:00 AM, VALUE for NEXT clause in CREATE MV statement should b

  • Wiii. garageband 10.0.1 copy a drum region to an other part of the song and it thanges... Why.

    sessiondrummer?? have a good drumbeat for the verse. want to copy it to the second verse but it changes??? if you mark  kick and snare follow "this track" i made a track how i want the kick to play like sometimes it works pretty good sometimes not an

  • Email verification link is not accessible....

    I'm having trouble accessing the link provided in the email verification...  I've tried accessing the link directly from the email which doesn't work and I've also tried copying and pasting it (as per the instructions) into the browser, taking me to

  • BPEL AQ-Adapter convertToXml: skipping unsupported field -102

    Hi, while reading an AQ Adapter in BPEL we got always the following error : <2007-05-16 15:08:03,625> <WARN> <default.collaxa.cube.activation> <AQ Adapter:: Inbound> OracleTypeConverter_convertToXml: skipping unsupported field -102 This field contain