Security Agent problem

I am trying to run the Microsoft AutoUpdate software, but I cant seem to get past this last final part.
tell application "Microsoft AutoUpdate"
activate
end tell
tell application "System Events"
tell process "AutoUpdate"
tell window "Microsoft AutoUpdate"
click button "Check for Updates"
end tell
end tell
end tell
delay 2
tell application "System Events"
tell process "AutoUpdate"
tell window "Microsoft AutoUpdate"
tell sheet "Updates Found"
click button "Install"
end tell
end tell
end tell
end tell
delay 1
set myusername to "username"
set mypassword to "password"
tell application "Finder"
frontmost
end tell
tell application "System Events"
tell process "SecurityAgent"
keystroke myusername
keystroke tab
keystroke mypassword
delay 5
end tell
end tell
For some reason it doesnt take all of the password for the variable mypassword. At first I thought it might be some of the strange characters in the password, but even that shouldnt have been a problem. So I exchanged the variables, and it wrote out the password in Name field. So it's not the variable, its something strange about the Password field in Security Agent that seems to only want to take part of the password.
Also I cant seem to get the click button "Ok" or keystroke return, to get me past the SecurityAgend dialog box.
Any help would be greatly appreciated, thanks

Hi Mac Is Life
From what I could see the problem was using keystroke tab instead of using keystroke return for the password area, the alterd script works fine for me here.
<pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">keystroke "user name"
--keystroke tab
keystroke return</pre>
<pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">tell application "Microsoft AutoUpdate"
activate
end tell
tell application "System Events"
tell process "AutoUpdate"
tell window "Microsoft AutoUpdate"
click button "Check for Updates"
end tell
end tell
end tell
delay 7
tell application "System Events"
tell process "AutoUpdate"
tell window "Microsoft AutoUpdate"
tell sheet "Updates Found"
click button "Install"
end tell
end tell
end tell
end tell
delay 1
--set myusername to "username"
--set mypassword to "password"
tell application "Finder"
frontmost
end tell
tell application "System Events"
--tell process "SecurityAgent"
keystroke "user name"
--keystroke tab
keystroke return
delay 0.5
keystroke "password"
delay 0.5
keystroke return
end tell
--end tell</pre>
Budgie

Similar Messages

  • Problem with Cisco Secure agent instalaltion

    Hi,
    I am having problems with installing the Cisco Secure agent 5.2-203 on a RHEL 3.0 AS server.
    I gives me the following error
    [root@ABC CSCOcsa]# ./install_rpm.sh
    Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
    Preparing packages for installation...
    CSAagent-5.2-203
    cc -DMODULE -D__KERNEL__ -Dlinux -Dkernel -I. -I/usr/src/linux-2.4/include -I../ ../../include/unix -pipe -Os -march=i686 -fno-defer-pop -fno-common -mpreferred- stack-boundary=2 -c symbols.c -o symbols.o
    cc -DMODULE -D__KERNEL__ -Dlinux -Dkernel -I. -I/usr/src/linux-2.4/include -I../ ../../include/unix -pipe -Os -march=i686 -fno-defer-pop -fno-common -mpreferred- stack-boundary=2 -c fshook.c -o fshook.o
    cc -DMODULE -D__KERNEL__ -Dlinux -Dkernel -I. -I/usr/src/linux-2.4/include -I../ ../../include/unix -pipe -Os -march=i686 -fno-defer-pop -fno-common -mpreferred- stack-boundary=2 -c hotpatch.c -o hotpatch.o
    cc -DMODULE -D__KERNEL__ -Dlinux -Dkernel -I. -I/usr/src/linux-2.4/include -I../ ../../include/unix -pipe -Os -march=i686 -fno-defer-pop -fno-common -mpreferred- stack-boundary=2 -c adapt.c -o adapt.o
    adapt.c: In function `kutil_vprintk':
    adapt.c:3442: parse error before `char'
    adapt.c:3443: `buf' undeclared (first use in this function)
    adapt.c:3443: (Each undeclared identifier is reported only once
    adapt.c:3443: for each function it appears in.)
    make: *** [adapt.o] Error 1
    Failed to build adaptation kernel module. Aborting
    error: %post(CSAagent-5.2-203) scriptlet failed, exit status 1
    ./install_rpm.sh: installation failed
    Would like to know where the dependancy is and what is needed to be installed for this installation to work.
    Joel

    Hi Joel,
    The following packages are need to compile the 5.2 agent.
    *GCC*
    *kernel-snmp-devel*
    *compat-libstdc++*
    Also 5.2 error messages are alot less friendly than 5.1's

  • OMS 11g failing in "Agent Configuration" phase - securing agent

    I'm installing OMS 11g on an Oracle Linux 5 (x64) server and it's failing on the agent configuration step. When I look in the logs I found that it was failing on securing the agent and that there were ssl errors and timeouts.
    Has anybody else had this problem?

    If you have 10.3.3 installed it will fail on the "OMS Configuration step". I am also failing on the "Agent Configuration" step. You don't happen to know what ports need to be open for securing an agent do you?
    EDIT:
    Seems like there might be some answers here http://download.oracle.com/docs/cd/E11857_01/install.111/e16847/firewalls.htm#BABIGHDH
    I am not very smart about firewalls/network diagrams but it looks like the agent will need 3782 for incoming secure communications, and 1159 for outgoing secure communications if you used the default ports
    Edited by: user8851997 on May 19, 2010 11:03 AM
    Edited by: user8851997 on May 19, 2010 11:36 AM
    EDIT: Seems like in my case all the ports are open, but it times out on the genwallet function. This is what I see in my $ORACLE_HOME/sysman/log/secure.log for the agent home.
    [19-05-2010 12:55:41] USERINFO ::Securing agent... Started.
    2010-05-19 12:55:41,756 [main] INFO agent.SecureAgentCmd secureAgent.226 - Requesting an HTTPS Upload URL from the OMS
    2010-05-19 12:55:41,763 [main] INFO agent.SecureAgentCmd openPage.829 - Opening: https://asgoravlt01.ga.com:4900/em/genwallet
    2010-05-19 13:01:43,401 [main] ERROR agent.SecureAgentCmd main.210 - Failed to secure the Agent:
    java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:746)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
    at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:206)
    at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:126)
    at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:348)
    at HTTPClient.RespInputStream.read(RespInputStream.java:147)
    at HTTPClient.RespInputStream.read(RespInputStream.java:108)
    at HTTPClient.Response.readResponseHeaders(Response.java:1107)
    at HTTPClient.Response.getHeaders(Response.java:832)
    at HTTPClient.Response.getStatusCode(Response.java:331)
    at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:92)
    at HTTPClient.HTTPResponse.handleResponseImpl(HTTPResponse.java:872)
    at HTTPClient.HTTPResponse.access$000(HTTPResponse.java:62)
    at HTTPClient.HTTPResponse$2.run(HTTPResponse.java:839)
    at HTTPClient.HTTPResponse$2.run(HTTPResponse.java:837)
    at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:666)
    at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:837)
    at HTTPClient.HTTPResponse.getInputStream(HTTPResponse.java:677)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.openPage(SecureAgentCmd.java:880)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.getOMSSecurePort(SecureAgentCmd.java:800)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:227)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:203)
    Edited by: user8851997 on May 19, 2010 2:40 PM
    Edited by: user8851997 on May 19, 2010 2:44 PM

  • Cisco Security Agent unable to close tcp/135 port on Windows hosts

    Hello
    I've encountered with problem that Cisco Security Agent unable to close port TCP/135 on windows PC (XP or Win7).
    I've configured rule module Network Access Control to prevent all client/server connections to port tcp/135.
    I've checked my policy using nmap, so this port (TCP/135) during 20 minutes shows as filtered and i can see log in monitor event on CSA MC, during next 20 minutes it show as opened and no log shows. (time not exact, so it maybe 30 minutes or 5,it varies)
    Can anyone explain how TCP/135 works and is it possible to close it using CSA?
    Thanks in advance

    There is another question for the same issue on the forums (see: CSA 6.0.2.145 problem with windows 7 firewall). I wrote:-
    "I went ahead and tested this in the lab with winXP and CSA 602-149 (latest). I defined a rule with DENY tcp/135 and ran the nmap and it reports opened (wireshark shows syn-ack to the syn). I changed it to a PRIORITY DENY and now the nmap reports closed (wireshark shows reset to the syn). Via the cli, netstat -an shows the pc listening on tcp/135 & disabling CSA the syn gets the syn-ack response. To me this implies a couple of defect. 1: The DENY should block syn to tcp135 & 2: CSA should not send reset (it should be reset). Is it possible to open a TAC case and put my name (mwinnett) in it and I will open a defect."
    Matthew

  • Lightspeed Systems Security Agent

    Has anyone tried to use CS4 while a Lightspeed Systems Security Agent is installed on their computer?
    Still experiencing problems with freeze ups and other computer hardware problems and I'm convinced the school's security is at least part of the problem.
    Resource issues are also a likely culprit.
    2g RAM
    50g on one network drive for storage
    and maybe 25g for storage on the computer's C drive.
    Thoughts, suggestions, reasons not to throw the computer under my SUV?

    OK. Forgive me for not including more....and I sincerely hope this isn't information overload...but I thought the more info the better….
    Some Background…
    We have 8 Computer/Editors each with CS4.
    We use one particular computer for the CS4 for daily morning announcements, it’s used for only that during only one class period a day.
    We import directly from the camcorder (Panasonic PV-GS200) on a Firewire to the computer (tapeless) and then edit on CS4.
    We then export the finished video timeline to a ½” tape to be played on our Channel One system (school wide)
    Although, the computer has 3 IEEE ports, we have to disconnect the Firewire from the camcorder and plug it into the VCR b/c otherwise the computer won’t “see” both the camcorder and the VCR if they are both plugged in..(sometimes it never sees the VCR at all- more on that later)
    We occasionally have to move files from editor to editor.  Which is done i.e. by exporting media from Computer A to an Iomega external hard drive then move the file from the Iomega to Computer B)
    The computers are Dells – purchased new last year – 2g RAM.
    The have local profiles (b/c apparently CS4 will not work with a roaming profile)
    On each computer we have access to a network drive (E:)  that has 50g of storage space.  On the E drive we have created and Assets folder that holds a one folder for Audio, one for Video, one for Graphics, and one for Projects.  On the E drive, we also created a "Projects" folder, and one for "Scratch Disk". 
    When each student logs in he/she has access to an H drive - which has very limited space (not sure exactly how much.)  It apparently is where Adobe automatically put the file folders "Adobe Media Encoder" (>"4.0" folder >Plug in loading log) a "Premier Pro" folder (w/a "4.0" folder w/"Archived Layouts", "Layouts", "Styles" folders) and a "Resource Central" folder (w/ "4.0" folder w/ ResourceCentral.db)
    If the students are logged in under their settings – they can’t “right click” anything and can’t call up the Task Manager.  Because of problems, I generally log in under my settings so I can at least get to the Task Manager.
    When we open a new project...we go to settings - and under Scratch Disks tab>
    Captured Video = Video Folder on E drive,
    Captured Audio = Audio folder on E drive,
    Video & Audio Previews is set to Scratch Disk folder on E drive.
    Under projects location we set it to Projects folder on the E drive.
    ****However, every time we try to create a project we get a warning that says
    "The Scratch Disks are write protected or unavailable.  To open this project, the scratch disks will be set to your My Documents folder. Would you like to continue?"
    We hit ok and go on….
    The problems vary from one end of the spectrum to the other……nothing seems to be a constant factor.
    Often the software freezes, cursor will move, but nothing else – there does NOT seem to be any specific thing being done on the software that sets it off.
    Many times the computer will not see the camcorder when IEEE is plugged into it.
    The computer will also freeze up when open the drives to move asset files from the external drive to the Networks E drive.
    After recording the announcement into the computer and editing it….we often have a very difficult time getting the computer to recognize the VCR.  We’ve tried different cables, different IEEE ports, even different VCRs, restarted the computer, turned the VCR off and on…..no luck.
    Many times when we can not get the computer to respond, or even the Task Manager to shut down the computer, we do a hard shutdown.  When we do we often get the warning window -  “tfswctrl.exe not responding, click to end program”
    I’m by no means a computer genius but it sounds like to me (and at least one person in our technology department) that we don’t have enough of RAM, HDD space, or both.
    The fact that our files are spread out on 2 network drives and the computer's C drive, does not sound like a good thing to me - but maybe it should still work.
    If it helps I can list other programs loaded on the computer, but generally we try not to open anything else while working on the announcements.
    Any questions, answers, suggestions, “Hey stupid, this is what’s wrong” statements are all welcome!
    Thanks for any and all help.

  • Remote desktop connection blocked by cisco security agent

    Hi,
    I have a deployment of a Management Center for Cisco Security Agents 6.0.2 and i just noticed that the agent is blocking the remote desktop connection to the hosts, the agent installed on the server shows me the event but i'm not able to see it logged on the Management Center (i can see logged any other events), i'm not sure what rule should i enable in order to allow this connection.
    Do you have any ideas???
    Thanks in advance...

    Hi,
    Remote desktop connection uses the highest possible security level encryption method between the source and destination.
    In Windows Vista or later versions of Windows, the remote desktop connection uses the SSL (TLS 1.0) Protocol and the encryption is Certificate-based.
    TS Gateway can also make the connection more secure, enhance security, see detailed information in this link
    http://technet.microsoft.com/en-us/library/cc731264(WS.10).aspx
    Don't forget some known offical antii-virus software, they can also protect the connetion from network attack.
    Yolanda Zhu
    TechNet Community Support

  • Securing agent fails(10.2.0.3)

    Hi,
    While securing agent it fails.Please find the error message below.
    ./bin/emctl secure agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent is already stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    SECURE.log:
    [03-10-2008 01:17:53] USERINFO ::Agent is already stopped... Done.
    [03-10-2008 01:17:53] USERINFO ::Securing agent... Started.
    [03-10-2008 01:17:53] USERINFO ::Requesting an HTTPS Upload URL from the OMS...
    [03-10-2008 01:17:54] INFO ::OMS HTTPS URL ... -1
    [03-10-2008 01:17:54] USERINFO :: Failed.
    [03-10-2008 01:17:54] USERINFO ::The OMS is not set up for Enterprise Manager Security.
    Let me know the issue.
    Thanks,

    This forum may be able to help you out: The OMS is not set up for Enterprise Manager Security

  • Web Center app with ADF Security - login problem

    I have a custome Oracle Web Center app.
    I have a page.html with an embedded login form posting to j_security_check. I've configured the ADF security policies to redirect to a JSPX on successful login.
    When I try the correct username/password, I get redirected not to the page I defined in ADF, but to the root page http://127.0.0.1:7101/MyApp-ViewController-context-root/
    and i get
    Error 403--Forbidden
    I've checked the weblogic.xml as per http://andrejusb.blogspot.com/2009/12/solving-error-403-forbidden-in-adf.html, all the required entries are there.
    This works fine if i use a Login link with
    destination="#{'/adfAuthentication?login=true&amp;end_url=/faces/postLogin.jspx'} "
    which redirects to the default login.html and then to the right page. I've copied the form from the default login.html into my master HTML page.
    Hope my question is clear. Any suggestions why it is going to the wrong URL after login.
    Is there anything specific I should see in the jazn-data.xml or web.xml regarding the post-login URL since i cant see that in either.
    P.S. Have been advised to try here when I originally asked this in the WebCenter forum. Web Center app ADF Security - login problem
    Edited by: new_to_webcenter on 18-Jan-2011 05:25

    Thanks for your response Frank.
    The web.xml has
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/login.html</form-login-page>
    <form-error-page>/error.html</form-error-page>
    </form-login-config>
    </login-config>
    When configuring ADF Security via JDev , I chose "Redirect upon successful authentication" to the Welcome Page
    "/faces/postLogin.jspx"
    this then adds into web.xml
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>/faces/postLogin.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    So the sequence which works is:
    Login via the '/adfAuthentication?login=true&end_url=/faces/postLogin.jspx' and this redirects to login.html (OOTB form which posts to j_security_check) and then to the postLogin.jspx
    I'm trying to do away with a Login link, and trying the simple login form embedded in my page alongwith other content.
    So should the form be posting to j_security_check directly or to the adfAuthentication ?

  • There is a problem with this connection's security certificate The remote computer cannot be authenticated due to problems with its security certificate. Security certificate problems might indicate an attempt to fool you or intercept any data you send

    Hi,
    I have this Windows 2008 R2 on which I installed remoteapp some years ago.
    Now the certificate expired and I get the message
    "There is a problem with this connection's security certificate
    The remote computer cannot be authenticated due to problems with its security certificate.
    Security certificate problems might indicate an attempt to fool you or intercept any data you send to the remote computer."
    How should I renew the certificate? I already went to certification store and tried to renew certificate with same key but then it says "the request contains nor certificate template information".
    Please advise.
    J.
    J.
    Jan Hoedt

    Does the computer account have Enroll permission to the certificate template?
    From the Server running your CA, run mmc, click File then Add/Remove Snap-in...
    Add Certificate Templates and click OK.
    Find the certificate template, then right click and select properties.  On my CA its call ed RemoteDesktopComputers but might be called something different depending on what what template your certificate is based on.
    On the security tab, click Oblect types, check Computers then OK. Enter the Computername and click OK.  Then give your computer account Enroll permisssion.
    HTH,
    JB

  • InterMedia Web Agent problems...

    I have Oracle 8.1.5 and OAS 4.0.8 on an NT machine. I have installed interMedia Web Agent, having shut the OAS services down first, configured the application as described in the doc and restarted all services. I have one listener for OAS on port 90. When I try to access http://servername:90/intermedia/~admin I get a 'Page cannot be displayed' error. Why?
    I have checked all the settings within OAS and they look fine. NT is running SP5. I can access http://servername:90/ fine.
    Any help gratefully received!
    Lee

    The interMedia web agent is installed in the
    OAS home and you can see the intermedia application and cartridge in the OAS admin page?
    Have you checked the OAS wrb.log file? That is where errors should be displayed. If it is a web agent problem, check <windows_dir>wsclstch.err or log files in <OAS_HOME>/ord/web/logs.
    What do they say about starting the agent?
    Test the agent with http://host:port/intermedia/~test
    Larry

  • EM view setup is failing in secure agent step

    EM view setup is failing in secure agent step.
    Is it known issue ?
    Any WA available ?
    Thanks
    -Ashish

    Since you don't have had any reaction yet it may be time to a bit more specific. "EM view setup" does not ring a bell to me.
    What are you trying to do?
    OMS/Agent version? Platform?
    Eric

  • Invalid agent registration password when trying to secure agent

    Hi Guys,
    looking for some help with an issue im having trying to secure a 10.2.0.4 agent against 10g OEM.
    A little background, the agent has been running succesfully against an OEM server which is now being decomissioned. I have editied the emd.properties file in order to point to the new server. I can start the agent ok, so far, so good. however when I try to run "emctl secure agent" I get:
    Enter Agent Registration password :
    Agent successfully stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Done.
    Requesting an Oracle Wallet and Agent Key from the OMS... Failed.
    Failed to contact the OMS at the HTTP URL set in /ford/app/oracle/OracleHomes/agent10g/sysman/config/emd.properties
    The password im entering works when connecting to dbsnmp in the database.
    The sysman/log/secure.log file contains this:
    [main] ERROR sec.GetWallet - caught Exception java.lang.Exception: szOmsSeed exception java.lang.Exception: szOmsSeed error: ERROR:203:Invalid agent registration password
    [13-03-2009 09:52:48] USERINFO :: Failed.
    [13-03-2009 09:52:48] USERINFO ::Failed to contact the OMS at the HTTP URL set in /ford/app/oracle/OracleHomes/agent10g/sysman/config/emd.properties
    [13-03-2009 09:52:48] USERINFO ::The Agent has not been secured.
    Any ideas?

    thanks for your responses guys.
    as yet I dont have access to the GC environment at this stage, as the new oem is hosted and managed by a separate team. (sorry, would've helped to mention that).
    Re firewall, it should be ok I think, I can telnet succesfully to 4889 & 1159, 3872 is open the other way.

  • Securing agent...   Failed.   !!!!

    [oracle@srvldbt02 config]$
    Enter Agent Registration Password : Securing agent... Failed.
    How can i change the Password?
    Rgds

    Not sure what you trying to do here.
    The password you should use when securing your agent, should be the password you entered during installation.
    The installer has asked you to enter a password to secure the Management Server.
    The password you entered here, should be used when securing agents that must upload to this OMS
    Regards
    Rob

  • Cisco security agent for Contact center express

    Hi,
    I have Cisco Contact center express version 7 SR 5 running on server with operating server Windows 2003.1.5. Please let me know which version of Cisco security agent is compatible with above mentioned CCX version & OS version.
    I refered to the CCX comaptibilty guide but but I did not get information regarding operating system comaptibility with CSA. Kindly provide the same.
    Also I tried version 5.0.0.235 of CSA it gave error "CIsco works common service is not installed" & insatllation aborted. I do not have CWLMS in network do i need to install some cisco works common services?
    Regards,
    Atul Kaul

    Hi Atul,
    These are the compatible version of CSA with 7.01Sr5. Recommended one is the highest and latest in the list 5.2.0.296-3.1(9)k9. You can install this in the server regardless of the version OS if you have UCCX 7.01 Sr5.
    4.5.1.639-2.0(3)
    4.5.1.645-2.0(4)
    4.5.1.655-2.0(5)
    5.0.0.187-3.0(1)
    5.0.0.205-3.0(3)
    5.0.0.210-3.0(3)
    5.0.0.216-3.0(4)
    5.0.0.217-3.0(5)
    5.0.0.217-3.0(6)
    5.0.0.225-3.0(7)
    5.0.0.232-3.0(9)
    5.0.0.235-3.0(10)
    5.2.0.281-3.1(3)k9
    5.2.0.282-3.1(5)k9
    5.2.0.282-3.1(7)k9
    5.2.0.296-3.1(9)k9
    Thank you
    Rajani Joshi

  • Failed to secure agent to oms

    10.2.0.5
    both agent and oms at latest psu.
    Linux Redhat 4.
    As a test, trying to secure the agent that is on the same server as the OMS. I am secure it against a VIP, since we have active/passive failover.
    I already secured my oms against the VIP. It is running. I can reach grid control through the VIP. The agent functions fine against the regular IP before securing.
    On this step:
    $AGENT_HOME/bin/emctl secure agent -emdWalletSrcUrl https://<virtual_hostname>:<upload_port>/em
    I just get a failed. Here are the errors from the log. I got 2.
    2011-06-09 15:36:42,538 [main] INFO agent.SecureAgentCmd secureAgent.223 - Requesting an HTTPS Upload URL from the OMS
    2011-06-09 15:39:42,616 [main] ERROR agent.SecureAgentCmd main.207 - Failed to secure the Agent:
    java.io.InterruptedIOException: Connection establishment timed out
    at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3261)
    at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4020)
    at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3003)
    at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2843)
    at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2635)
    at HTTPClient.HTTPConnection.Get(HTTPConnection.java:923)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.openPage(SecureAgentCmd.java:836)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.getOMSSecurePort(SecureAgentCmd.java:782)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:224)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:200)
    2011-06-09 15:49:33,715 [main] INFO agent.SecureAgentCmd secureAgent.223 - Requesting an HTTPS Upload URL from the OMS
    2011-06-09 15:49:34,357 [main] ERROR agent.SecureAgentCmd main.207 - Failed to secure the Agent:
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:618)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
    at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:112)
    at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3018)
    at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2843)
    at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2635)
    at HTTPClient.HTTPConnection.Get(HTTPConnection.java:923)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.openPage(SecureAgentCmd.java:836)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.getOMSSecurePort(SecureAgentCmd.java:782)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:224)
    at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:200)

    I have same setup like you. I configured it a long time ago, so stuff are a bit fuzzy in my head!
    I remember I deleted the old wallet file, changed the REPOSITORY_URL and emdWalletSrcUrl in emd.properties in AGENT_HOME/sysman/config to use the VIP hostname. Then ran "emctl secure agent".
    Please note the upload port and SSL usage are different for wallet and repository URLs.
    What I changed:
    REPOSITORY_URL=https://<virtualhostname>:1159/em/upload
    emdWalletSrcUrl=http://<virtualhostname>:4889/em/wallets/emd
    What I Didn't change:
    EMD_URL=http://<physicalhostname>:3872/emd/main/
    This will automatically change to HTTPS after successfully securing agent.
    HTH

Maybe you are looking for

  • Is there a quick and easy way to reorder de-interleaved data?

    I am collecting 5 channels of data through a DMA FIFO by interleaving, then recording to a TDMS file. When I check it, it's in mostly good order, but there are certain points where the channels get switched. For example, the Channel order when I open

  • Junk characters in ldt file

    Hi Experts, Am a newbie to oracle apps. Iam using 'messages' to store and display arabic characters in xml report and it is working fine . While migrating the report form one instance to another instance by downloading ldt file, the arabic characters

  • JPQL, error when using constructor in query

    I have such query: sb.append("select new ibs.parliament.model.stateless.cd.helperobject.PersonWithAccessCount(p, sum(personCounters.count))"); sb.append(" from Person p left join p.counter personCounters where personCounters.date>= :startPeriodDate a

  • Discoverer Parameters Usage.

    Hi All, I am new to Discoverer. I am trying to use parameters of the report in my calculation. Can Someone throw some light on this. I had developed a report with 2 parameters. These parameters are not based on column from table they are based on Non

  • Never remember history not working after upgrade to 4, it always reverts to use custom settings

    Hi, I use private browsing mode and when I try to adjust the settings to never remember history, whenever I look it always reverts to use custom settings. Sometimes when I close firefox and then reopen the old cookies are still there.