Hostname chnage

Environment: Win XP
After renaming the hostname, while re-starting the EM, I am getting the following error.
"Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
See below, EM Login Page. I would like to chnage the host name in the connect string. How do I do that. ? I think, this is what causing the problem.
Login Page:
=========
Oracle Enterprise Manager]
Setup Preferences Help Logout
Database Login
* Username
* Password
* Connect String (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=YOUR-55E5F9E3D2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
* Connect As
Save as Preferred Credential

You might want to use emca to reconfigure the EM control....
Of course, that is assuming a version of Oracle that uses EM Control....

Similar Messages

  • Hostname Change

    Environment: Win XP
    After renaming the hostname, while re-starting the EM, I am getting the following error.
    "Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    See below, EM Login Page. I would like to chnage the host name in the connect string. How do I do that. ? I think, this is what causing the problem.
    Login Page:
    =========
    Oracle Enterprise Manager]
    Setup Preferences Help Logout
    Database Login
    * Username
    * Password
    * Connect String (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=YOUR-55E5F9E3D2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    * Connect As
    Save as Preferred Credential

    Luz,
    I did. The following output thrown on my terminal window.
    Terminal output:
    =================
    C:\oracle\product\10.2.0\db_1>
    C:\oracle\product\10.2.0\db_1>set oracle_sid=orcl
    C:\oracle\product\10.2.0\db_1>set oracle_home=c:\oracle\product\10.2.0\db_1
    C:\oracle\product\10.2.0\db_1>emca
    C:\oracle\product\10.2.0\db_1\bin\emca.bat [operation] [mode] [dbType] [flags] [
    parameters]
    -h | h | -help | help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup]
    [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure cen
    tral agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [para
    meters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-confi
    gure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configu
    re central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure b
    oth Database Control and central agent management
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified R
    AC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control po
    rts
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database C
    thanks
    siva
    Message was edited by:
    sivapara

  • How to resolve hostname/firewall issue for 9iAS 9.0.2.0.1?

    Hi,
    I am going to install 9iAS 9.0.2.0.1 on Solaris 5.8, and noticed something in the installation guide ((iAS release Notes Addendum p2-13) saying
    "Oracle9iAS does not support changing hostname and ip after installation"
    My questions are:
    1. My server is behind firewall, the hostname is ONLY available inside the firewall, How can my customers get access from outside of the firewall? Is it possible to chnage the hostname in this respect?
    if so could you provide me more info?
    2. Does it means I have the use the exact same hostname in my URL (like http://HOSTNAME_1.domain_1:1810 ) as in the hosts ot nodename files? For this example the hosts/nodename files looks like this:
    123.234.0.56 HOSTNAME_1.domain_1 HOSTNAME_1 mid_tier_host
    Thanks

    Alex,
    OC4J 9.0.3 and Reports 9.0.2 are not certified to work together, and there are known problems.
    regards,
    Stewart

  • Intermittent errors pinging by hostname/virtual hostname

    Hi
    we are having this strange issue where sometime we not able to ping our rac cluster node/s by hostname. pinging by ip always works... the problem occures to random clients and one user at a time ( the rest of users/clients can ping from their machine with no issue ...) problem only lasts 5-10 minutes...
    anyone come across this one before? is it DNS issue?

    ssolbach wrote:
    Hi,
    if you edit the hosts file with the VIP entries on the client and the problem goes away (which I strongly believe, because you can ping the VIP), then it has definitely something to do with the DNS server or the DNS cache on the client.
    Sebastiani sometime have problem with vip too, but it always worked with pinging ip address, it sounds like dns issue, flushdns resolved the issue ...
    but whats causing the issue we dnt knw.... i have todo flush dns once every couple of days/weeks...
    we chnaged our domain name sometime ago, but didnt chnage the domain name for oracle rac servers we thought we leave those ones with old domain name. due to complexity involved in changing domain name for oracle rac nodes
    problem is happening with those rac nodes with old domain name extension, and works fine most of the times its only sometimes that /flushdns is needed from random clients....

  • They changed the way we see our appointments. That's awful! Is there a way to chnage back to the "old" way when you could see all your appointments at a glance????

    They changed the way we see our appointments. That's awful! Is there a way to chnage back to the "old" way when you could see all your appointments at a glance????

    Maybe I'm fool, but how I get the "day view"? I have three options on the top line, an icon that seems a computer (a square and two lines), a magnifying glass to search a especific item and a "plus" to add appointments. The "day view" isn't any more there - that's the point!!! Using the first icon a get the full month-that uses 2/3 of the screen- and two lines of appointments...To see the rest I have to slide up and down the two lines taking care to not touch the month...

  • SAP GUI Logon error Hostname unkown

    Hi,
    My system connection parameters as below:
    Application Server:  111.11.111.111
    System Number: 00
    System ID: ECP
    When I tried to log on, I got the error message  Hostname ''111.11.111.111" Unknow, detail information
    Component: NI
    Release:      710
    Version:       39
    Module:        ninti.c
    Line:             895
    Method:        NiPGetHostByName: ''111.11.111.111" not found
    Return code: -2
    System Call: getaddrinfo
    Counter:       2
    I can successfully ping the server and telnet it.
    But I can log on the other client's system, which setting is the same except the application server server different.
    Any idea about this issue?
    Thanks in advance.
    Edited by: Ben Huang on Mar 12, 2008 11:30 PM

    Hi.  Try to include trace files on fronted according Note 305363, also on your place  i would include the logging mode on your firewall and read the logs. The OS is XP or VISTA ?
    I'm  have tried to write at myself obviously wrong name of a server
    Error as at you write coming. Check your DNS settings and try to login with name of server instead of IP.
    Also check the IP which you write, check up all dots (check is not commas ?) and units more closely.
    Regards.
    Edited by: Sergo Beradze on Mar 13, 2008 8:38 AM

  • Apple built-in vpn client and dhcp hostnames

    We have a number of Mac clients in our office which uses MS for dhcp and dns.
    I've noticed that the mac clients when wired directly into the office network successfully get a dhcp lease and report their hostnames accurately to the dhcp server. However when these same clients connect to the office network via VPN (using the built-in vpn utility with Cisco IPSEC) they get a dhcp lease as expected, but do not register a hostname with the lease on the dhcp server. The lease is assigned to a blank hostname.
    I assume this is a pretty common issue. Has anyone found a way to configure the vpn client to send the hostname along with the connection, either via the client config or through some other method?
    Thanks.

    The VPN server is a Cisco 3030, however only the Mac clients have this issue. Windows and linux clients report their hostnames to dhcp properly even when VPN connected.

  • Can I use ip address and hostname to establish Site 2 Site VPN?

    Is it possible to use both; hostname or ip address while trying to setup an ipsec tunnel?
    The scenario we have is that there is a customer who has one central site and 10 remote sites. Each site exists for a period of 3 to 6 months and then the staff moves to another location as a result the router/firewall and other IT resources are moved too. This requires me to setup and tear down tunnels from the head office as well as remote sites. To avoid this, i was thinking of using dynamic DNS which would save me a lot of work. Is it possible that I can setup VPN tunnels by either method i.e. hostname and ip address or do I have to stick with any one method only? As a reference the command used to identify peers is
    "isakmp identity {address | hostname}"
    The firewall version is 7.0(5)

    Hi,
    If you want to use IP addresses also then you could probably configure dynamic L2L VPN connections so that even if the IP address etc of the remote site changes, it is able to connect to the central site without making any change on the central device. For the remote sites that have the static public IPs, you can create static L2L VPN connections.
    HTH,
    Please rate if helps,
    Regards,
    Kamal

  • How to get ip and hostname in application server 10g

    when i am using sys_context('USERENV','HOST') IN MY value based audit trigger it return ip address of application server.
    i want to get client's ip address and hostname that connect to application server 10g.
    Regards,
    Muhammad Touseef

    CKPT wrote:
    i want to get client's ip address and hostname that connect to application server 10g.you can find in listener.log file for all the client connections, or if any active sessions you can find from
    select username,machine from v$session;LOL
    You gave a totally correct answer. Unfortunately not relevant, though.
    Now take a look at that answer in context of the question. The question is "given that the environment is 3 tier, and given that the client to the database is an application server, how do we get the information about the client to the application server - one tier further out?"
    OP - this is a known problem with current application server configurations and applications. The only current way of providing that info is for the app server to capture and pass that info on. An easy way to pass it on, available to the app developer, is to use the DBMS_APPLICATION_INFO package.
    Perhaps one day the WebLogic Server folk will see fit to make that transparent. ;-)

  • I want to be able to totally block the FaceTime functionality in my home network.  I would like to do this at the router level.  Does anyone know the hostname or IP address that the FaceTime application uses? Or which port it connects to?

    I want to be able to totally block the FaceTime functionality in my home network so my 4 kids aren't using the Facetime feature- It was easy for Skype just had to enter the work Skype on my Router Security list- and it denies access. I would like to do this at the router level for FaceTime? Only site I find in init.ess.apple.com - is this the startup site for Facetime?   Does anyone know a site I can block, hostname or IP address that the FaceTime application uses? Or which port it connects to?

    I would presume so, but it might be worth your while to experiment and play around with different combinations to see if you can block FaceTime while keeping Game Center open.  Good luck!

  • IOS Remote Desktop App resolves hostname but throws Host is not reachable error.

    Hello,
    I am trying to use the Remote Desktop app on my iPad running iOS 7.0.2 to connect to a server through our Juniper VPN. When I type the hostname or IP address I get an error that say "Host is not reachable". If I connect through my Mac I have no
    problem when on the same VPN. I have looked through all  of the setting in Junos Pulse and it is setup to route all traffic through the VPN, and I do not know of anything that would be blocking it on the network end.
    Edit: I am connecting to a Windows Server 2008 R2 box with RDP turned on with all types of connections.
    Here is the log data for my latest attempt.
    [2013-Nov-19 11:23:42] RDP (0): *** Application lauched ***
    [2013-Nov-19 11:23:43] RDP (0): Application became foreground application
    [2013-Nov-19 11:24:30] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2013-Nov-19 11:24:30] RDP (0): client version: 8.0.24094 on iPad3,4 (iPhone OS 7.0.3)
    [2013-Nov-19 11:24:30] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2013-Nov-19 11:24:30] RDP (0): Showing credentials dialog
    [2013-Nov-19 11:24:49] RDP (0): Final rdp configuration used: {
        activeUsername = "DOMAIN\\UserName";
        arcTimeout = 1800;
        cacheId = BEBD1725D63BB841;
        configurationVersion = 8;
        console = 0;
        host = "server.mysite.com";
        label = "Server";
        mouseMode = "-1";
        port = 3389;
        soundMode = 1;
        swapMouseButtons = 0;
        type = rdp;
        utilityBar = "-1";
        kCFProxyTypeKey = kCFProxyTypeNone;
    [2013-Nov-19 11:24:49] RDP (0): --- BEGIN INTERFACE LIST ---
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=30 (AF_INET6)  addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=2 (AF_INET)  addr=127.0.0.1 netmask=255.0.0.0
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=30 (AF_INET6)  addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2013-Nov-19 11:24:49] RDP (0): en0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): en0 af=30 (AF_INET6)  addr=fe80::66:9d3c:3d77:5cce%en0 netmask=ffff:ffff:ffff:ffff::
    [2013-Nov-19 11:24:49] RDP (0): en0 af=2 (AF_INET)  addr=192.168.114.44 netmask=255.255.252.0
    [2013-Nov-19 11:24:49] RDP (0): awdl0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): awdl0 af=30 (AF_INET6)  addr=fe80::3c11:d7ff:feb2:7a82%awdl0 netmask=ffff:ffff:ffff:ffff::
    [2013-Nov-19 11:24:49] RDP (0): en2 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): utun0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): utun0 af=2 (AF_INET)  addr=10.100.01.01 netmask=255.255.255.255
    [2013-Nov-19 11:24:49] RDP (0): --- END INTERFACE LIST ---
    [2013-Nov-19 11:24:49] RDP (0): Not using any proxy
    [2013-Nov-19 11:24:49] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2013-Nov-19 11:24:49] RDP (0): Resolved 'server.mysite.com' to '10.100.01.01' using NameResolveMethod_Unknown(0)
    [2013-Nov-19 11:25:09] RDP (0): Exception caught: Exception in file '/Users/build/jenkins/workspace/rc-ios-develop/protocols/RDP/cftcpendpoint.cpp' at line 242
        User Message : Host is not reachable
    [2013-Nov-19 11:25:09] RDP (0): Error message: Host is not reachable(phase: 0, type: 0, reason: 0, systemCode: -1, systemMessage: )
    [2013-Nov-19 11:25:09] RDP (0): Protocol state changed to: ProtocolDisconnecting(7)
    [2013-Nov-19 11:25:09] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2013-Nov-19 11:25:09] RDP (0): ------ END ACTIVE CONNECTION ------
    Cameron

    Hi,
    According to the log, your iPad tried to connect the remote server with IP address 10.100.01.01/32. Please check if it is the correct IP address of the server.
    Also, please make sure that your iPad can connect to your VPN network successfully and get a valid IP address so that it can remote your internal server.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • How to change hostname on NetWeaver  2004s NW (Win2k3 + MSSQL)

    Hi,
    I'm a Virtualization expert @SAP IT. I was aked to provide a solution for hostname change process for cloned virtual machines. Here, i'm posting my solution but use it on your own risk and sideeffects can appear too (applicable to NW 2004s - don't know about side effects till now).
    1. Change your hostname to a new one  (newsid for clonned) and stop SAP services with prefix SAPXYZ_AB
    2. open the c:\Windows\System32\drivers\etc\hosts file and add your previous hostname at the end of 127.0.0.1 line:
        127.0.0.1       localhost      youroldhostname
    3. Use sql enterprise manager (or other SQL tool) in order to connect NW's database.
    4. NW's database is a database with a SAP systemID - XYZ and locate J2EE_CONFIGENTRY table
    5. Open a query window and check the following SQL Query for previous appearances of your hostname
    SELECT     *
    FROM        J2EE_CONFIGENTRY
    WHERE     (UPPER(VSTR) = 'YOUROLDHOSTNAME-WITH-CAPITAL-LETTERS')
    6. If this query returns results - run the following SQL update command
    UPDATE    J2EE_CONFIGENTRY
    SET              VSTR = 'NEWHOSTNAME'
    WHERE     (UPPER(VSTR) = 'YOUROLDHOSTNAME-WITH-CAPITAL-LETTERS')
    7. if step 5 failed try to run query w/oout where statement
    Best regards,
    Boris Mikhailovski
    System & Software engineer
    Message was edited by:
            Boris Mikhailovski

    > I'm a Virtualization expert @SAP IT. I was aked to provide a solution for hostname change process for cloned virtual machines. Here, i'm posting my solution but use it on your own risk and sideeffects can appear too (applicable to NW 2004s - don't know about side effects till now).
    Just as addition:
    "Officially" it's not supported to rename instances, this is especially true for Java instances:
    Note 757692 - Changing the hostname for J2EE Engine 6.40/7.0 installation
    <...>
    This note should be applied only when the hostname of a machine where the j2ee engine was already installed has changed. It does not replace the SAP official system copy procedure and MUST NOT be used for copying of an instance to another host and/or with different SID.
    <...>
    Markus

  • Removing a row from SQL query results when there is a duplicate hostname

    I have a query created for a software usage report in SCCM. When there are multiple versions of the same software (Acrobat) installed on the same machine, I will receive duplicate results for the same machine. For example, it will come back with Acrobat
    9 and another Acrobat 10 for HOSTNAME1. However, only Acrobat 10 has a usage count. Is it possible to delete the row for Acrobat that has a software usage count of "0/null" if there is another Acrobat results showing up that actually has a usage
    count? Let me know if I need to clarify. Any suggestions would be appreciated.

    It is more complicated than doing just "Where usage count >0 and usage is not NULL"
    because I still want results that have a 0 usage count. I just don't want to have duplicate machines show up for the same software IF one of them returns a usage count of 0.
    SELECT DISTINCT
    abc.SECTOR
    ,abc.BA
    ,abc.SITE
    ,abc.HOSTNAME as 'Name0'
    ,rs.ResourceID
    ,CASE
    WHEN mf.OriginalFileName = 'dwrcc.exe' THEN 'DameWare'
    WHEN mf.OriginalFileName = 'matlab.exe' THEN 'MathWorks'
    WHEN mf.OriginalFileName IN ('encoder.exe','expressionweb.exe','exprwd.exe','mappoint.exe','winproj.exe','visio.exe','devenv.exe','VBExpress.exe','VCExpress.exe','VCSExpress.exe','VWDExpress.exe','excel.exe','groove.exe','infopath.exe','msaccess.exe','mspub.exe','onenote.exe','outlook.exe','powerpnt.exe','winword.exe','communicator.exe')
    THEN 'Microsoft'
    WHEN mf.OriginalFileName IN ('acrobat.exe','Acrobat Elements.exe','AfterFX.exe','Audition.Exe','Adobe Audition.Exe','AdobeCaptivate.exe','CFReportBuilder.exe','Coldfusion.Exe','Contribute.exe','director.exe','Projector.exe','dreamweaver.exe','Adobe
    Encore.exe','Adobe Encore Dvd.Exe','Encoredvd.Exe','Fireworks.exe','FlashBuilder4.exe','flash.exe','Flex Builder.exe','FlexBuilder.exe','Framemaker.Exe','framemaker+sgml.exe','illustrator.exe','HomeSite+.exe','homesite4.exe','homesite45.exe','Homesite5.exe','InDesign.exe','Lightroom.exe','Adobe
    OnLocation.exe','Pm65.Exe','Pm70.Exe','pm.exe','pm4.exe','pm5.exe','pm6.exe','photoshop.exe','Photosle.exe','Photoshopelementsorganizer.Exe','Photoshopelementseditor.Exe','photoshp.exe','Lightroom.exe','Adobe Premiere Elements.Exe','Adobe Premiere Elements
    8.0.Exe','Adobe Premiere Elements 10.Exe','Adobe Premiere Elements 9.Exe','Adobe Premiere Elements 7.0.exe','Premiere.Exe','Adobe Premiere Pro.Exe','Adobe-Pr-Vc.Exe','Robohelp.Exe','robodemo.exe','roboinfo.exe','Adobe Soundbooth CS5.exe','Adobe Soundbooth
    CS4.exe','Adobe Soundbooth CS3.exe','Adobe Media Encoder.exe','speedgrade.exe','adobe prelude.exe') THEN 'Adobe'
    ELSE 'OTHER'
    END as 'Publisher'
    ,(CASE mf.OriginalFileName
    WHEN 'acrobat.exe' THEN 'Acrobat'
    WHEN 'Acrobat Elements.exe' THEN 'Acrobat Elements'
    WHEN 'AfterFX.exe' THEN 'After Effects'
    WHEN 'Audition.exe' THEN 'Audition'
    WHEN 'Adobe Audition.exe' THEN 'Audition'
    WHEN 'AdobeCaptivate.exe' THEN 'Captivate'
    WHEN 'CFReportBuilder.exe' THEN 'Coldfusion Builder'
    WHEN 'Coldfusion.exe' THEN 'Coldfusion Standard'
    WHEN 'Contribute.exe' THEN 'Contribute'
    WHEN 'dwrcc.exe' THEN 'DameWare Mini Remote Control'
    WHEN 'director.exe' THEN 'Director'
    WHEN 'Projector.exe' THEN 'Director'
    WHEN 'dreamweaver.exe' THEN 'Dreamweaver'
    WHEN 'Adobe Encore.exe' THEN 'Encore'
    WHEN 'Adobe Encore Dvd.exe' THEN 'Encore'
    WHEN 'Encoredvd.exe' THEN 'Encore'
    WHEN 'encoder.exe' THEN 'Expression'
    WHEN 'expressionweb.exe' THEN 'Expression'
    WHEN 'exprwd.exe' THEN 'Expression'
    WHEN 'Fireworks.exe' THEN 'Fireworks'
    WHEN 'FlashBuilder4.exe' THEN 'Flash Builder'
    WHEN 'flash.exe' THEN 'Flash Pro'
    WHEN 'Flex Builder.exe' THEN 'FlexBuilder'
    WHEN 'FlexBuilder.exe' THEN 'FlexBuilder'
    WHEN 'Framemaker.exe' THEN 'FrameMaker'
    WHEN 'framemaker+sgml.exe' THEN 'FrameMaker'
    WHEN 'HomeSite+.exe' THEN 'Homesite'
    WHEN 'homesite4.exe' THEN 'Homesite'
    WHEN 'homesite45.exe' THEN 'Homesite'
    WHEN 'Homesite5.exe' THEN 'Homesite'
    WHEN 'illustrator.exe' THEN 'Illustrator'
    WHEN 'InDesign.exe' THEN 'InDesign'
    WHEN 'Lightroom.exe' THEN 'Lightroom'
    WHEN 'mappoint.exe' THEN 'MapPoint'
    WHEN 'Adobe Media Encoder.exe' THEN 'Media Encoder'
    WHEN 'Adobe OnLocation.exe' THEN 'OnLocation'
    WHEN 'Pm65.exe' THEN 'PageMaker'
    WHEN 'Pm70.exe' THEN 'PageMaker'
    WHEN 'pm.exe' THEN 'PageMaker'
    WHEN 'pm4.exe' THEN 'PageMaker'
    WHEN 'pm5.exe' THEN 'PageMaker'
    WHEN 'pm6.exe' THEN 'PageMaker'
    WHEN 'photoshop.exe' THEN 'Photoshop'
    WHEN 'Photosle.exe' THEN 'Photoshop'
    WHEN 'Photoshopelementsorganizer.exe' THEN 'Photoshop Elements'
    WHEN 'Photoshopelementseditor.exe' THEN 'Photoshop Elements'
    WHEN 'photoshp.exe' THEN 'Photoshop Elements'
    WHEN 'Lightroom.exe' THEN 'Photoshop Lightroom'
    WHEN 'adobe prelude.exe' THEN 'Prelude'
    WHEN 'Adobe Premiere Elements.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 8.0.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 10.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 9.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 7.0.exe' THEN 'Premiere Elements'
    WHEN 'Premiere.exe' THEN 'Premiere Pro'
    WHEN 'Adobe Premiere Pro.exe' THEN 'Premiere Pro'
    WHEN 'Adobe-Pr-Vc.exe' THEN 'Presenter'
    WHEN 'winproj.exe' THEN 'Project'
    WHEN 'Robohelp.exe' THEN 'RoboHelp'
    WHEN 'robodemo.exe' THEN 'RoboHelp'
    WHEN 'roboinfo.exe' THEN 'RoboHelp'
    WHEN 'Adobe Soundbooth CS5.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS4.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS3.exe' THEN 'Soundbooth'
    WHEN 'speedgrade.exe' THEN 'Speedgrade'
    WHEN 'visio.exe' THEN 'Visio'
    WHEN 'devenv.exe' THEN 'Visual Studio'
    WHEN 'VBExpress.exe' THEN 'Visual Studio'
    WHEN 'VCExpress.exe' THEN 'Visual Studio'
    WHEN 'VCSExpress.exe' THEN 'Visual Studio'
    WHEN 'VWDExpress.exe' THEN 'Visual Studio'
    WHEN 'WinWord.exe' THEN 'Word'
    WHEN 'matlab.exe' THEN 'MATLAB'
    ELSE mf.OriginalFileName
    END) as 'ProductName'
    ,mf.OriginalFileName
    ,sf.FileDescription
    ,CASE
    WHEN sf.FilePath like '%acrobat%' and sf.FileVersion != '' THEN left(sf.FileVersion,patindex('%.%',sf.FileVersion)-1)
    ELSE sf.FileVersion
    END AS 'FileVersion'
    ,sf.FilePath
    ,mf.MeteredFileID
    ,ISNULL(mus.UsageTime, '') as 'USAGETIME'
    ,ISNULL(mus.UsageCount, '') as 'USAGECOUNT'
    ,mus.LastUsage
    --,ISNULL(CONVERT(VARCHAR,mus.LastUsage,21),'') as 'Last Used'
    ,CASE
    WHEN mus.LastUsage IS NULL and
    sf.FilePath like '%\Program Files\Hewlett-Packard\%'
    or sf.FilePath like '_:\Windows\%'
    or sf.FilePath like '% old %'
    or sf.FilePath like '%[_]old[_]%'
    or sf.FilePath like '%backup%'
    or sf.FilePath like '_:\Data\%'
    or sf.FilePath like 'C:\Users\%'
    or sf.FilePath like 'C:\Documents and Settings\%'
    or (sf.FileName = 'acrobat.exe' and sf.FileDescription IS NULL)
    THEN 'FALSE'
    ELSE 'TRUE'
    END as 'VALID'
    ,ISNULL(ui.UserName,scum.TopConsoleUser0) as 'PrimaryUser'
    FROM
    v_MeteredFiles mf
    INNER JOIN v_GS_SoftwareFile sf on mf.MeteredFileID = sf.FileID
    --LEFT JOIN v_SoftwareFile sfi on sfi.FileID = sf.FileID
    LEFT JOIN v_R_System rs on sf.ResourceID = rs.ResourceID and rs.Obsolete0 = 0 and rs.Active0 = 1
    LEFT JOIN v_CH_ClientSummary ch on ch.ResourceID = rs.ResourceID
    INNER JOIN [CUSTOM].[dbo].[ABC_SITES] abc on rs.Name0 = abc.HOSTNAME and abc.SERV_FL = 'N'
    LEFT JOIN (
    SELECT ResourceID,FileID,SUM(UsageCount) as 'UsageCount',MAX(MeteredUserID) as 'UserID',SUM(UsageTime) as 'UsageTime',MAX(LastUsage) as 'LastUsage'
    FROM v_MonthlyUsageSummary
    GROUP BY ResourceID,FileID
    ) mus on mus.ResourceID = sf.ResourceID and mus.FileID = mf.MeteredFileID
    LEFT JOIN v_Users ui on ui.UserID = mus.UserID
    LEFT JOIN v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP scum on scum.ResourceID = rs.ResourceID
    WHERE
    (ch.LastActiveTime >= GETDATE()-30 or bae.LOGON_TMSP >= GETDATE()-30)
    and mf.OriginalFileName != 'WinWord.exe'
    --Exclude files in Recycle Bin
    and sf.FilePath not like '_:\$Recycle.Bin%'
    --Exclude invalid flash FileID's:
    and sf.FileID not in ('216172782114109353','216172782113863960','216172782113863969','216172782114336737','216172782114337853','216172782114009539','216172782114088205','216172782114148960','216172782114088174','216172782114109319','216172782113854316','216172782114045303','216172782114103331','216172782114318673','216172782113997536','216172782114103319','216172782114035585','216172782114035580','288230376151905593','288230376152414835','288230376152326390','288230376152414762','288230376152752371','288230376152238194','288230376151864114','288230376152221470','288230376152194417','288230376152452591','288230376152433530','288230376151826881','288230376151905590','288230376151993886','288230376152142718','288230376151766967','288230376151949862','288230376151870700','288230376151805491','288230376151796019','288230376152041232','288230376152068486','288230376152330596','288230376151982279','288230376151982277','288230376152126901','288230376151864098','288230376152129697','288230376152055728','216172782113836986','288230376152068474','288230376152068500','288230376151754145','288230376152241787','216172782113974892','288230376152107352','288230376152049272','288230376152367258','288230376152014270','288230376152423348','288230376151777614','288230376152137355','288230376152699042','288230376151777252','288230376152025890','288230376152688217','216172782113850093','216172782113850201','216172782114478326','216172782114139161','216172782113976965','216172782114084839','216172782114084848','288230376151766956','288230376152068464','288230376151766948','288230376152068455','288230376151903237','288230376151857402','288230376151933218','216172782113888320','216172782113867157','216172782113798401','216172782113884867')
    and sf.FileDescription not like '%PackageForTheWeb%'
    and sf.FileDescription not like '%Projector%'
    and sf.FileDescription not like '%Adobe Reader%'
    and sf.FileDescription not like '%Netopsystems%'
    and abc.SECTOR in (@Sector)
    and abc.BA in (@Business_Area)
    and abc.SITE in (@Site)
    and (CASE mf.OriginalFileName
    WHEN 'acrobat.exe' THEN 'Acrobat'
    WHEN 'Acrobat Elements.exe' THEN 'Acrobat Elements'
    WHEN 'AfterFX.exe' THEN 'After Effects'
    WHEN 'Audition.exe' THEN 'Audition'
    WHEN 'Adobe Audition.exe' THEN 'Audition'
    WHEN 'AdobeCaptivate.exe' THEN 'Captivate'
    WHEN 'CFReportBuilder.exe' THEN 'Coldfusion Builder'
    WHEN 'Coldfusion.exe' THEN 'Coldfusion Standard'
    WHEN 'Contribute.exe' THEN 'Contribute'
    WHEN 'dwrcc.exe' THEN 'DameWare Mini Remote Control'
    WHEN 'director.exe' THEN 'Director'
    WHEN 'Projector.exe' THEN 'Director'
    WHEN 'dreamweaver.exe' THEN 'Dreamweaver'
    WHEN 'Adobe Encore.exe' THEN 'Encore'
    WHEN 'Adobe Encore Dvd.exe' THEN 'Encore'
    WHEN 'Encoredvd.exe' THEN 'Encore'
    WHEN 'encoder.exe' THEN 'Expression'
    WHEN 'expressionweb.exe' THEN 'Expression'
    WHEN 'exprwd.exe' THEN 'Expression'
    WHEN 'Fireworks.exe' THEN 'Fireworks'
    WHEN 'FlashBuilder4.exe' THEN 'Flash Builder'
    WHEN 'flash.exe' THEN 'Flash Pro'
    WHEN 'Flex Builder.exe' THEN 'FlexBuilder'
    WHEN 'FlexBuilder.exe' THEN 'FlexBuilder'
    WHEN 'Framemaker.exe' THEN 'FrameMaker'
    WHEN 'framemaker+sgml.exe' THEN 'FrameMaker'
    WHEN 'HomeSite+.exe' THEN 'Homesite'
    WHEN 'homesite4.exe' THEN 'Homesite'
    WHEN 'homesite45.exe' THEN 'Homesite'
    WHEN 'Homesite5.exe' THEN 'Homesite'
    WHEN 'illustrator.exe' THEN 'Illustrator'
    WHEN 'InDesign.exe' THEN 'InDesign'
    WHEN 'Lightroom.exe' THEN 'Lightroom'
    WHEN 'mappoint.exe' THEN 'MapPoint'
    WHEN 'Adobe Media Encoder.exe' THEN 'Media Encoder'
    WHEN 'Adobe OnLocation.exe' THEN 'OnLocation'
    WHEN 'Pm65.exe' THEN 'PageMaker'
    WHEN 'Pm70.exe' THEN 'PageMaker'
    WHEN 'pm.exe' THEN 'PageMaker'
    WHEN 'pm4.exe' THEN 'PageMaker'
    WHEN 'pm5.exe' THEN 'PageMaker'
    WHEN 'pm6.exe' THEN 'PageMaker'
    WHEN 'photoshop.exe' THEN 'Photoshop'
    WHEN 'Photosle.exe' THEN 'Photoshop'
    WHEN 'Photoshopelementsorganizer.exe' THEN 'Photoshop Elements'
    WHEN 'Photoshopelementseditor.exe' THEN 'Photoshop Elements'
    WHEN 'photoshp.exe' THEN 'Photoshop Elements'
    WHEN 'Lightroom.exe' THEN 'Photoshop Lightroom'
    WHEN 'adobe prelude.exe' THEN 'Prelude'
    WHEN 'Adobe Premiere Elements.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 8.0.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 10.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 9.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 7.0.exe' THEN 'Premiere Elements'
    WHEN 'Premiere.exe' THEN 'Premiere Pro'
    WHEN 'Adobe Premiere Pro.exe' THEN 'Premiere Pro'
    WHEN 'Adobe-Pr-Vc.exe' THEN 'Presenter'
    WHEN 'winproj.exe' THEN 'Project'
    WHEN 'Robohelp.exe' THEN 'RoboHelp'
    WHEN 'robodemo.exe' THEN 'RoboHelp'
    WHEN 'roboinfo.exe' THEN 'RoboHelp'
    WHEN 'Adobe Soundbooth CS5.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS4.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS3.exe' THEN 'Soundbooth'
    WHEN 'speedgrade.exe' THEN 'Speedgrade'
    WHEN 'visio.exe' THEN 'Visio'
    WHEN 'devenv.exe' THEN 'Visual Studio'
    WHEN 'VBExpress.exe' THEN 'Visual Studio'
    WHEN 'VCExpress.exe' THEN 'Visual Studio'
    WHEN 'VCSExpress.exe' THEN 'Visual Studio'
    WHEN 'VWDExpress.exe' THEN 'Visual Studio'
    WHEN 'WinWord.exe' THEN 'Word'
    WHEN 'matlab.exe' THEN 'Matlab'
    ELSE mf.OriginalFileName
    END) IN (@MeteredProduct)
    ORDER BY
    abc.SECTOR
    ,abc.BA
    ,abc.SITE
    ,abc.HOSTNAME

  • What to do when hostname needs to be changed?

    Hello everyone
    Can someone please tell me what needs to be done after the hostname was changed? We have CE 7.2 installed on this host and alredy did this:
    a) Changed hostname from A to B
    b) Adopted the profiles
    c) Adopted the registry (replaced A with B where appropriate)
    d) Adopted the windows services
    Now we're facing the problem that MaxDB 7.8 is starting but j2ee (jstart.exe) doesn't start (error node 'bootstrap' 503). It seems that the connection to the DB is not working properly.
    Can someone tell me where to check / edit the connection properties?
    Thanks in advance and best regards
    Renaud

    well, after hours of searching around on the web and just after posting my question I now finally found this:
    http://www.sapgeek.net/2010/10/sap-j2ee-engine-db-connection/
    Using the configtool.bat (logged in with windows account <SID>adm and startet it from E:\usr\sap\<SID>\Jxx\j2ee\configtool) I was able to edit the connection string accordingly.
    Now j2ee starts up properly.
    Regards
    Renaud

  • What needs to be changed if we change hostname in linux

    Dear all,
    I have a question and will appreciate for appropriate answer(s).
    My machine name was lxcms120.cern.ch and Oracle 10g DB was running fine on it (listener, DB, Enterprise Manager). It is not a production system rather a test system.
    Now, i changed its name to docms11.cern.ch
    I change hostname in listener.ora & tnsnames.ora and listener started successfully.
    I started db from sqlplus and it started without any complaints.
    Now, when i tried to start Enterprise Manager (emctl start dbconsole), it didn't and return this error.
    OC4J Configuration issue. /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_docms11.cern.ch_oralxcms120 not found.
    Now, i know that when the machine name was initially lxcms120, it was /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_lxcms120.cern.ch_oralxcms120
    and if i go to that directory, i could see OC4J_DBConsole_lxcms120.cern.ch_oralxcms120 but of course there is no OC4J_DBConsole_docms11.cern.ch_oralxcms120
    My dbname instance is oralxcms120 and has nothing to do with hostname.
    So, what is the solution to the problem. Moreover, are there any steps to do while changing hostname of the oracle database like in my case which i can follow to make all required changes.
    Best regards,
    Anjum

    You will need to do a little more than just directory rename,
    From Oracle document,When the database host name (including the domain name) or the IP address changes, deconfigure and then reconfigure the Database Console with the repository create command. Run the following command:
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    or
    emca -deconfig dbcontrol db
    emca -config dbcontrol db -repos recreate
    http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/structure.htm#CACBBFGI

Maybe you are looking for

  • Function Modules / Classes to change cProject item

    Hello, I'am searching for function modules or classes to change the cProject item. Ich want to change some fields in the task of cProject. Can everbody help me? Kind regards Axel

  • Deleted Photos on Iphone 4S

    While I am still new to the Iphone and all it can do, I have recently and not knowingly deleted photo's from my phone and hoping there is someway I can retrieve them.  I created 2 new folders to put pictures into then deleted them from photo stream a

  • Please review my Lesson 1 Homework

    This app uses a single timer to run two tasks, a 5 minute task and a 30 second task.  Both tasks use callbacks to communicate with the MIDlet.  The 5 minute task starts the 30 second task on odd 5 minute periods and cancels it on even 5 minute period

  • COPA Query - Inventory Adj & Derivation of field for Variance

    Hello, I have some of COPA relared queries, could you please share your experience regarding same how it is treated. 1  Since all COPA related based on Cost of Sales but Variance and invettory is at Cost of Production, so how this is adjusted in COPA

  • Motion update caused color changes

    After updating to Motion 3.01, FCP 6.01, etc...I noticed that when playing an older Motion project, the colors have changed drastically in the "Water Dance" background emitter, located in the CONTENT folder. I had been using a combination of Water Da