To get the Ipaddress of a Machine

Hi,
I want to populate a text item with the IPaddress of the host machine in a WHEN-NEW-Form trigger.
How can I do this?
One more doubt:
How can I generate Ipaddresses of all clients attached to the server into a text item?
Adios..
Prashanth Deshmukh

Try the following :
Server address :
SQL> select utl_inaddr.get_host_address
  2* from dual;Clients addresses :
SQL> select utl_inaddr.get_host_address(machine)
  2  from v$session
  3* where username is not null;
[pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server

    I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server

    I may be way out, but do you know about this product, would it help integrate the Macs for you.
    https://www.thursby.com/sites/default/files/images/ADmitMacv8_SPD.pdf

  • HT3275 I get the following message - "Time Machine could not complete the backup."  "Unable to complete backup."  "An error occurred while creating the backup folder.""

    I get the following message - "Time Machine could not complete the backup."  "Unable to complete backup. An error occurred while creating the backup folder."" 
    This MAC is partioned with Windows 7 with only  50 gig devoted to Windows so my son can play Flight Simulator X on the machine. 
    I have a WD Passport External Hard Drive for the Back Up
    I have spoken with WD Tech Support and they have been fantastic but I still keep getting this message.  Any thought?
    Maxx

    Reboot the TC.. it sometimes gets lost on the network.. are you still actually using 10.6.8 as the problem is more prevalent on Lion and ML it seems is no better.
    You might find reset of the TC is needed. change the names to short, no spaces pure alphanumeric.
    Reset the TM to the new name.. use the A4 in Pondini's great KB.
    http://pondini.org/TM/Troubleshooting.html

  • HT1176 My airport TM will not backup and i keep getting the error msg "Time Machine couldn't complete the backup...An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk."

    My Airport TM will not backup and i keep getting the error msg "Time Machine couldn’t complete the backup...An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk."

    My Airport TM will not backup and i keep getting the error msg "Time Machine couldn’t complete the backup...An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk."

  • How can i get the system language of machine in script

    Hi,
    During postinstall, i want to install file based on the system language.
    How can i get the system language of machine in script ?
    Thanks,

    Michael Conniff wrote:
    I don't get it: what you posted gives a list of all the languages (and I don't see what awk brings to the party).
    Hmm. On my laptop the first bit gets me the list of languages as they appear in the listing in the International preferences pane:
    (en, de, es, ja, fr, it, nl, sv, nb, da, fi, pt, "zh-Hans", "zh-Hant", ko)
    So I piped that to awk to pull out just the first one (they're ordered just like they are in the prefs pane, with the current language first). But that gives me some extra text:
    (en,
    So I piped that to sed to remove the comma and parenthesis. That gives me the current code, which in my case was "en" (or "de" if I switched the language).
    defaults read -g AppleLocale
    gives me en_GB. So maybe this last is better for you?
    Well, sure, if you want to do it the easy way. But where's the fun in that? Seriously though, I get en_US, which is a more accurate and complete view of my settings...
    charlie

  • How to get the Ip address of machine from which a connection is obtained

    Hi,
    We are using Oracle HA solution and we would use at least 2 Db servers. I would like to know whether there is any way of obtaining the Ip address of the machine from which the connection has been obtained?
    Thanks
    Himadri

    know whether
    there is any way of obtaining the Ip address ofthe
    machine from which the connection has beenobtained?
    Let me get you right. Basically looks like you want
    to get the IP address of the client machines who
    connect to your server? Yes it very much possible.
    Even a simple tool like netstat -a -n display
    the IP addresses/port of remote hosts (clients). Its
    part of the IP protocol to carry the addresses in the
    packets. The question is how do you want to do this
    in java? You should look at
    java.net.ServerSocket.accept().getInetAddress()
    API
    trust it helps,
    -BJNo. I have multiple databases which are used in a Oracle RAC solution. You can obtain connections from more than one DB servers. My question was how to obtain get the IP address of the DB Server from which the connection has been obtained.
    Himadri

  • Plz Help, How can I get the Information from the net conneted machine?

    Suppose Person x has login on the network by using
    dial-up network connection? I want to know that wheather he is on the network and get the data from his machine ?
    Suppose I know his username/Password and phone no
    for dial up...
    Plz, suggest me how can I do this?
    How can get information from that machine?
    Thanks
    Pramod

    Hi,
    I dont know whether I understood your question completely.Anyway,let the users be X and Y and be on diff machines,
    Since X is logging in using a dialup network the ip is allotted dynamically and so, Y cannot know X's ip till he logs in and tell Y about it explicitly. Workaround is that either X's or Y's ip must be constant/static or there should be another way that X know about the ip of Y each time he logs in.
    If X's ip is static, Y can poll certain port at X where u's alpplication is running and if conn. is succ, after some authentication, get the information u want. For writing u'r own services there should be u'r own components at both ends, one requesting connection and other accepting. Please get back to me if more doubts or if I have'nt understood u'r problem fully..
    regards Stallon

  • Getting the MAC address of the machine

    Is there any method to get the MAC address of machine in java.?????????????
    In our proxy server application we get the IP address of each client connected our proxy server.
    But as the IP addresses are dynamic , we can't trace the location of the machine whenever any client does malicious downloads.

    Thanks It works .
    The code is as follows .
    It works when the machine is connected to internet while throws a null pointer exception when not connected .
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.net.UnknownHostException;
    public class MacAddress {
    public static void main(String[] args) throws SocketException, UnknownHostException {
    try {          
    InetAddress address = InetAddress.getLocalHost();
    * Get NetworkInterface for the current host and then read the
    * hardware address.
    NetworkInterface ni = NetworkInterface.getByInetAddress(address);
    byte[] mac = ni.getHardwareAddress();
    * Extract each array of mac address and convert it to hexa with the
    * following format 08-00-27-DC-4A-9E.
    for (int i = 0; i < mac.length; i++) {
    System.out.format("%02X%s", mac, (i < mac.length - 1) ? "-" : "");
    // System.out.print(mac);
    } catch (UnknownHostException e) {
    e.printStackTrace();     
    } catch (SocketException e) {
    e.printStackTrace();

  • How to get the IP address of smtp server?

    For A record in DNS, we can use Java API InetAddress.getHostAddress() to get the IP address.
    But for mx record, how to get the IPaddress?

    If you know the hostname of the MX record (eg. mail.somehost.com), you can still use the InetAddress.getByName(hostname).getAddress()
    If you don't know the specific host name you can do a DNS lookup directly:
            String host="somehost.com";
            DirContext ictx = new InitialDirContext();
            Attributes attrs = ictx.getAttributes("dns:/" + host, new String[]{"MX"});This will give you a javax.naming.directory.Attributes object from which you can...
    Attribute att = attrs.get ("MX");This will give you all the MX records for the domain. To get the IP address of the MX hosts, you need to parse the record String returned. Usually something like:
    somehost.com       MX preference = 10, mail exchanger = mail.somehost.comParse out the mail.somehost.com and use:
        String mailhost = <Parse MX record here>
        InetAddress host = InetAddress.getByName(mailhost);

  • Query to get the Deployment Status of an application - SCCM 2012

    Hi,
    Do we have any query/report to get the detailed status report & machine name, user name of a deployment in sccm 2012 as in sccm 2007, instead of clicking on each deployment status to find the machine names and status details?
    Regards,
    Mike.

    Hi,
    You could have a look the report -"All system resources for a specified package and program deployment in a specified state".
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to find the killed session and machine name

    Hi,
    At the time of batch job running .somebody killed that session .let me know how to find out the particular user name db level or oslevel .from which machine they killed how to find out at OS level . but when i have set the audit_trail=os only SYSDBA user activities are audited not the other user activities.
    The server is AIX and db version 11i .provide the query for finding or os level .
    thanks,
    DBC.
    Edited by: dbc001 on Mar 26, 2013 9:48 PM

    Are you sure that somebosy had killed the session? Did you get any error regarding kill session? Is there any other errors you can see in logs?its suspect only....
    >
    How that job was scheduled?...actually we have lot of source systems, from those source system we are getting the data into BI machine, by using BI apps team process data and trigger load jobs @db
    Apps team is having database unix logins aswell as db logins to process their requests.
    Your OS admin can check the history upto some extent? Check if he has auditing enabled at OS level?we are in the process of checking with OS sysadmin.
    upto now we didnt got any clue....apps team successfully re-ran failed job.

  • I am experiencing some major problems with my MacBook Pro. I have had some issues with it turning on/off at random times, but today, when starting, I get the grey start-up screen and a recovery bar. After filling in approx 1/4 of the way, the machine dies

    I am experiencing some major problems with my MacBook Pro. I have had some issues with it turning on/off at random times, but today, when starting, I get the grey start-up screen and a recovery bar. After filling in approx 1/4 of the way, the machine dies. After starting it in recovery mode, it will not allow me to download OS X Mavericks- it says the disk is locked. Any ideas? I do not have a back-up and do not want to erase everything before I have explored my options. Help?

    try forcing internet recover, hold 3 keys - command, option, r - you should see a spinning globe
    most people will tell you to do both pram and smc resets (google) and if you still have issues, either clean install (easy) or troubleshoot (hard)

  • When I try to connect to a remote machine using IPSecuritas, am getting the following error

    When am trying to connect to remote machine using IPSecuritas, I am getting the following error and hence not able to establish connection. Imported the security policy and when I start IPSec,  I get this error.
    Info     APP  IKE daemon started
    Info     APP  IPSec started
    Error    IKE  Foreground mode.
    Info     IKE  @(#)ipsec-tools CVS (http://ipsec-tools.sourceforge.net)
    Info     IKE  @(#)This product linked OpenSSL 0.9.7l 28 Sep 2006 (http://www.openssl.org/)
    Info     IKE  Reading configuration from "/Library/Application Support/Lobotomo Software/IPSecuritas/racoon.conf"
    Info     IKE  Resize address pool from 0 to 255
    Error    IKE  failed to bind to address 192.168.1.2[4500] (Address already in use).
    Info     APP  IKE daemon terminated
    Error    IKE  failed to bind to address 192.168.1.2[500] (Address already in use).
    Error    IKE  no address could be bound.
    Info     APP  IPSec terminated
    Please help me in fixing this issue. Thanks in advance!!..
    Thanks,
    RV

    Is this music purchased back in DRM days? I don't actually have any iTunes music so I can't test with my iTunes 7.5, but I know that without iTunes 10 you cannot even connect to the store anymore.  I wouldn't think that would require an active connection to the store all the time, otherwise how could you play music on a computer in the middle of nowhere?  Did you do something to trigger iTunes suddenly wanting to connect and check on machine authorization?

  • HT3275 Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  Could not complete backup to media share.  The network backup disk does not support the required AFP feat

    Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  "Could not complete backup to media share.  The network backup disk does not support the required AFP features."  What are AFP features and how do I get Time Machine to backup to my current external backup?

    This means that your NAS does not support the required encryption. Update your NAS to the latest firmware or ditch it and buy a Time Capsule (they are the most reliable when using TM).

  • I have one folder on an XSAN that one machine can not make changes to. Whenever I try to duplicate or copy a file in this folder I get 'The operation can't be completed because an unexpected error occurred (error code -50).'?

    I have one folder on an XSAN that one machine can not make changes to. Whenever I try to duplicate or copy a file in this folder I get 'The operation can’t be completed because an unexpected error occurred (error code -50).'
    The permissions are fine, and I have trashed the finder plist and reset the NVRAM.
    Anyone have a answer?
    Thanks

    Tips I received so far (thanks to A-Mac via Twitter http://www.a-mac.nl and Remco Kalf http://www.remcokalf.nl/)
    - make sure you have at least 10% of your harddisk in free space (I had only 5%).
    - do a PRAM-reset (http://support.apple.com/kb/ht1379)
    - perform a hardware test (http://support.apple.com/kb/HT1509)
    - make a complete backup (with for example Carbone Clone Copier, see http://www.bombich.com/)
    - after complete backup: use diskwarrior (boot from Diskwarrior DVD, first perform diagnostics, then perform "Rebuild" which rebuilds your file directory).
    So far I only cleared up some space on my HD, and already the problem occurs less.
    Still, I will go through the other tips too.
    (will post progress)

Maybe you are looking for

  • Photo web gallery

    Is there any automated way to create a photo web gallery in fireworks or a third party plug in? I'm using Fireworks MX

  • Since installing Yosemite, I must force computer to shut down.

    Since I installed Yosemite , It will not shut down or restart normally, I must force a shut down. Than it takes forever to start up. Anyone having that problem?

  • How to copy contents of folder into new folder with Automator?

    What is the simplest, fastest Automator workflow to copy the contents of a folder into a new folder? And without using 3rd party actions. I have a template folder structure called .ProjectFolder (to keep it invisible) so I need to copy the contents o

  • How would I create a column list header?

    I want to have a list of headers in the excel file I'm saving too. At the moment, I could save all the data but it does not have any header. How can I do that? Example of the Format I want: A B C D 1 2 2 4 5 4 2 2 A, B, C and, D are the column list h

  • Availibilty check during sales order creation and its relation to PP

    Hi all, A critical scenario I am stuck in. My client has 3 plants viz. 1000, 1100, 1200. Plant 1000 gets sales orders from different customers and production happens on plants 1100 and 1200 through special procurement key. Customer A and customer B a