Tracing connect users ipaddreses

Dear all,
I am using oracle 10g,i want to find out all the clients ipaddresses connected(current session) to my database.
I tried utl_inaddr.get_host_address(client_machine_name) but it returns some error.......
It means,i want to find out ipaddresses of those machine which displays in (machine) column of v$session
Please help me out from the above stated problem..
Thanks and Regards
Monoj

Below is the error message....
select username,sid, machine,UTL_INADDR.get_host_address(substr(machine,instr(machine,'\')+1))ip from v$session where type='USER' and username is not null order by machine;
select username,sid, machine,UTL_INADDR.get_host_address(substr(machine,instr(machine,'\')+1))ip from v$session where type='USER' and username is not null order by machine
ERROR at line 1:
ORA-29257: host hpclnpm.com unknown
ORA-06512: at "SYS.UTL_INADDR", line 35
ORA-06512: at "SYS.UTL_INADDR", line 40
ORA-06512: at line 1

Similar Messages

  • How to Use  Connected-User DBLink in a trigger??

    In the trigger body,I need to call a remote procedure through a Connected-User dblink.But error occurs when the trigger is compiled.
    ORA-01005:null password given;logon denied
    Can't a Connected-User dblink be used in a trigger?
    Thanks.

    Hi,
    I don't know if this helps, but you can create a DBLink with the username and password and the SID to connect to. Then try using this DBLink in trigger.

  • How do I view a list of connections (Connected users) to a service like web or file services?

    how do I view a list of connections (Connected users) to a service like web or file services? you used to be able to do this in Server Admin in 10.6 by lleft clicking on a service like file sharing and the clicking connections located towards the top of the server admin window. This seems to havedisappeared  in Lion server and its a useful feature
    any suggestions would be very welcome. Thank You.

    I've found a way through Terminal for AFP and Mail:
    https://discussions.apple.com/message/16155552#16155552

  • JCO Connection User

    Hi gurus,
    I'd like to ask you what kind of user you use for connection in JCO connections. For our test system I used my own user but in live system a stable user must be used?
    Any ideas?
    Tolga

    Hi Tolga,
    You can have the JCO connection user having only the following authorizations from the S_DDIC_MDI profile.
    But i do not think there should be any issue if you have the JCO connection user having the SAP_ALL also. As this is the main connector user between the system.
    Thanks & regards
    Arun

  • Materialized view refresh using connected user db links

    I have a general question. I have a materialized view that more or less joins tables from 2 databases.
    For example I have a table X in database A, and a table Y in database B. I create the materialized view in the schema owning table X in database A. Tables A & B from both database are in the same schema with a synchronized password. My materialized view is created to join tables A & B using connected user DB links, and everything works when I create the view, however, it appears that the refresh is failing. I suspect this is because of the connected user link and there is no "logged" in user when the refresh occurs.
    Does anyone know if it is possible to create a materialized view between 2 tables in different databases to refresh using a connected user DB link?
    Thanks.

    sybrandb
    Why does it not make sense to have materialized views accross databases?
    If a materialized view is essentially a remote copy, then wouldn't that imply accross databases? The only thing I did was to take it a step further and join it with a local table in the owning database.
    About not being right about not having a connected user., that may be right, but I have a thought/question..... I equated this as using connected user links in jobs scheduled via dbms_job or dbms_scheduler, as when this runs there is no user connected to the database to provide remote credentials for the link... Essentially this seems to be like a cron job that fires on some schedule (whether a user is connected or not), it would seem to me that it might need to have credentials defined in order to be able to connect to the remote database.
    Thanks

  • Idea of sending a message for all connected users.

    Dears,,,
    I'm trying to develop through oracle forms an idea of sending a pop-up message to all connected users.
    Example, I need to inform users to quit in 5 minutes due to a restart to the application server.
    I thought about a timer trigger that will check every 5 seconds or 10 seconds a value somewhere in a table. But I don't want to use the timer triggers associated in oracle forms.
    Is there any idea ?
    Please let me know.
    Joe

    Use Iframe tag.
    For this:
    Add an “IFRAME” in the base html file used (for example basejpi.htm file)
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->
    %HTMLafterForm%
    <IFRAME SRC="/forms/java/iframe.html">
    </BODY>
    </HTML>
    Then create an html file named "iframe.html" with the following content :
    <HTML>
    <HEAD>
    <meta http-equiv="refresh" content="10">
    </HEAD>
    <BODY>
    <H1>Please disconnect, The system will go Down !!!!</H1>
    </BODY>
    </HTML>
    Every time you would like to send a message, just add it in the iframe.html file ans users will see it.
    The iframe size can be customized.

  • Server specifications for 1000 concurently connected users.

    Dear all,
    we want to prepare a server having windows server 2003 to install oracle database 10g. the same server will act as an application server as well.
    we want to know how much size of the following we need if we have 1000 concurrently connected users;
    1.RAM
    2.Processor
    Thank you.

    the same server will act as an application server as well.
    BAD Idea. Really very bad. IO patterns on an application server are completely different from a database server.
    Disk will be a bottleneck.
    And server will be Single Point of Failure,
    And why Win2003 and not Win2008?
    Sybrand Bakker
    Senior Oracle DBA

  • Data subsetting depending on connected user

    hi there.
    It is possible to define parameters in the where clause when defining a publication item. This parameter is resolved at runtime which provides the possiblity to send just a subset of the data of the given publication item back to the remote client.
    In my case the subset is driven by the connected user. How can I configure this requirement. Do I need to define a own MyCompose class or even an own queue for this purpose?
    thx for any hints.
    j.

    Here is a section on shared maps from the documentation. You accomplish your task by assigning the user to a group.
    It is very common for publications to contain publication items that are used specifically for lookup purposes. That is, a publication item that creates a read-only snapshot. The server may change these snapshots, but the client would never update them directly. Furthermore, many users often share the data in this type of snapshot. For example, there could be a publication item called zip_codes, which is subscribed to by all Mobile users.
    The main function of Shared Maps is to improve scalability for this type of publication item by allowing users to share record state information and reduce the size of the resulting replication map tables. By default, if you have a non-updatable publication item, it defaults to using shared maps.
    Note:
    Shared Maps can also be used with updatable snapshots if the developer is willing to implement their own conflict detection and resolution logic; however, normally shared maps are only for non-updatable snapshots.
    Shared maps shrink the size of map tables for large lookup publication items and reduce the MGP compose time. Lookup publication items contain read-only data that is not updatable on the clients and that is shared by multiple subscribed clients. When multiple users share the same data, their query subsetting parameters are usually identical.
    For example, a query could be the following:
    SELECT * FROM WHERE EMP WHERE DEPTNO = :dept_id
    In the preceding example, all users that share data from the same department have the same value for dept_id. The default sharing method is based on subscription parameter values.
    In the following example, the query is:
    SELECT * FROM WHERE EMP WHERE DEPTNO = ( SELECT DEPTNO FROM EMP WHERE EMPNO = :emp_id )
    In this example, users from the same departments still share data. Their subsetting parameters are not equal, because each user has a unique emp_id. To support the sharing of data for these types of queries (as illustrated by the example), a grouping function can be specified. The grouping function returns a unique group id based on the client id.
    There is also another possible use for shared maps. It is possible to use shared maps for shared updatable publication items. However, this type of usage requires implementation of a custom dml procedure that handles conflict resolution.

  • Drive not visible to connected users

    I have an external drive that is partitioned and connected to my mac mini and on the network. The drive and both partitions mount automatically when the Mac Mini is restarted. And both partitions were visible when I connected to the Mac Mini as a registered user. However, I changed the name of one of the partitions and now it mounts on my Mac Mini but it is no longer visible when I connect to the computer via the network.
    What do I need to do to make to visible to connected users?

    Repaired Drive using Disk Utility and restarted Mac Mini. Volume now visible.

  • History of number of connected users

    Hello,
    Do you know how to have the history of the connected users (the number )
    => The average of connected users, and why not the max number of users for a day.
    Thank's and regards
    Laurent

    Hi,
      generally this transaction is a little different in  use depending of SAP release you have, what you have to do is to open "Concurent User" MTE and in MTE details look on history data.
      But I guess I found better way to check same data -- just go to workload analysis (ST03N) -- there you can check value "Users per Instanse" for different periods what actually deliver the same data like RZ20 but in more convinient way (to my opinion)
    BR, Artem
    Remeber points

  • How to trace connect user ?

    Hi,
    How can I trace all user connection in a file ?
    I would like to know who connected (user oracle) and when.
    Thanks for your help,
    gnom92.

    You can see the figure how many connection made since the db starts up quering v$sysstat;
    select name,value from v$sysstat where name like '%logon%';
    NAME VALUE
    logons cumulative 132671
    logons current 175
    Generally, Oracle doesn't keep this information. You have to enable audit to keep this info.

  • How to monitor connected users on filesharing in OS 10.9.1

    I'm trying to identify connected users to my  Mac running OS 10.9.1.  I know there are users logged on via filesharing since I get a message saying that there are (e.g. 2) users logged on when I try to restart.  In the past I used AFPstatus 1.5, but doesn't seem to provide information on connected users like it did in earlier OS's.
    Is there a simple terminal command since netstat command gives a long list of stuff which is mostly gibberish to me.
    thanks

    My Mac IT guru here called Apple Support and their only recommendation was to buy Mavericks Server, which is now only $20, and use as a utility to monitor logged-on users.  Seems like overkill plus our IT doesn't like us to run our own server.  I suspect this could be done through the terminal?
    I hope AFPstatus is updated.

  • Can i drop the connection user and schema used for Accociate repository

    Hi
    I have created a connection , user and schema and Associated repository to it then migrated a database from diffrent product. to oracle
    using the above mentioned connection, user ,schema and asscociated repositroy.
    11g XE.
    can i delete it after the migration.
    yours sincerely.

    Yes you can !. Permission to drop those artifacts is granted except the target schema where the converted objects are. The migration repository user/connection can be dropped.

  • Get the connected users count from sql server using powershell

    Hi,
    I am working on SharePoint 2013,I am having SQL server 2012.
    I want to get the Connected Users count from  sql server using power shell.
    Can any one please let me know how to implement.
    Thanks in advance.
    Regards,
    Phani Kumar R

    Sorry Tom, I dont like to hear "There is no way" :-(
    There is always a way in computer to get what you need (at least it is good as Rule of thumb). I am not sure we will find it here (in a voluntary supporting forum).
    Now we (or better the architect of their system) should think of the way :-)
    Of course doing so in the forum, while we do know the system and only got a glimpse on what is needed, is not the best idea. I will point some issues which can be related to a solution. Those are not a solotions as it is but something we can use for a solution
    once something look in the right way.
    * A web connects counter is one of the easier thing to do. The basic idea is just to use the connect event and the disconnect event an adding 1 or removing 1 from the counter. This is best to do in the application using static variable as any way the second
    the application is down the counter can be go to hell as we know there is no one connect (there for a counter do not use database usually). Using a web dot-net (or asp 3) application this is done most of the time using the global.asa/global.asax file, which
    include the application and session events. for example using the method Session_Start
    protected void Session_Start(object sender, EventArgs e) {
    // Code that runs when a new session is started
    * IIS have a build-in loging system where we can log each and every request/response or only logins users. There is lot we can do with this log files including data mining. Using small bulk insert script we can use the SQL agent to insert those logs to the
    database and get the information we need.
    * any web developer i want to believe know about the Fiddler application which we use to monitor traffic. A proxy is not the only way to to monitor traffic (it is not good for our case as this is in the client side), there are several option in the server
    side.
    * SQL trigger on logon can be use to get information on who is loging on and can be logging only specific source (like our sharepoint IP or any sharepoint application). This information (what is the application which connect to the server can be retrive
    in several solution without using a trigger as well)
    *** (I'll be brief ... I'm getting bored... probably the reader feel the same)
    * using extended events and/or profiler we can monitor any connection and save the data or just remember it in shared (static) variable (this
    blog show how to do it by the way). Again we can monitor specific application or use any filter in order to get only the sharepoint users
    .... and i can continue for several days more :-) ...
    "If there is a willing, then there's a way"
    "If you can't do it, Then someone else probably can"
    "Never say never"
    I hope this help somehow :-)
    [Personal Site] [Blog] [Facebook]

  • View connected users

    hi in server admin for OSX snow leopard server  it says that i have 10 connected users
    now there is only 2 actual users how to i find out who those connected users are ??
    please help

    Check each of the services and service logs individually.  This is usually either AFP, SMB or a stale connection for either of these services.  Something like launching Terminal.app and issuing the following command (for AFP, in this case) might help here:
    $ sudo lsof | grep "afpovertcp->"

Maybe you are looking for

  • Can I overwrite a playlist on my computer using a second ipod?

    I have had no issues on my itunes using windows 7, I was synching a playlist I listened to of just my checkmarked music.  For no reason I could see, about 2 weeks ago, my itunes on my desktop locked up during a sync of my iPhone.  I didnt think much

  • Procurement type in mm60

    Hello guys.. Is it possible to add procurement type in mm60 report(output). like in mb51,MSEG table is used and you can add fields for output from mseg ..                     spro->mat mgmt>inv phy invt->reporting--->field selection for material docu

  • Uploading website without MobileME

    I have a little dilemma and I hope someone can clarify it for me. I have been with MobileME for a few years now because I needed to upload my webpage created in iWeb. My subscription expires in a couple of days and Im thinking to not using it (Mobile

  • OEDQ - External Task Example

    Team, can you someone help me on External Task. I see Command, Working Directory and Arguments on External Task. Header 1 Header 2 Command java -jar jmxtools.jar runjob -job TestProject -project ABC -u dnadmin localhost:8090 Working Directory \opt\lo

  • Camera raw CS2 and Leopard

    I have been using CS2 with Leopard.I upgraded from CS online with a download to CS2. My hard drive crashed. I was sent a link via email thru Adobe to download CS2 again. When I downloaded/installed the program, when opening Bridge the message I got w