This content has been marked as final. Show 27 replies
Agent deployment on Windows in EM 11g is only certified and supported on Cygwin 1.5.
Cygwin 1.7 is not supported on EM 11g.
So you have to install cygwin using the legacy setup @ http://www.cygwin.com/setup-legacy.exe
If you face any issues during/post Cygwin 1.5 install, I can help you resolve those issues.
Understand that Cygwin 1.5 will not install on 2008R2, so that is simply not an option (I tried - it fails). Changing the OS to an older version is not an option for us (2008R2 is already 2.5 years old).
Support is currently looking into this to see what script I need to run (manually) to push agents, as SSH connectivity works just fine with 1.7.
Hopefully they will soon provide feedback on what I need to run to complete the setup - or - 12c will be released in a few weeks as has been suggested here and this will become a non-problem (I hope). Until then I'll be converting ksh scripts into powershell scripts to do things manually instead.
Did you try to install Cygwin having UAC disabled?
If running a newer version of Windows which includes User Account Control (UAC), be sure to either disable UAC and reboot before installing Cygwin or right-click setup.exe and select Run as Administrator
from https://cwiki.apache.org/VCL/install-configure-cygwin-sshd.html ; Apache VCL 2.2 and Earlier
In the past I spend days trying to get Cygwin to work but finally gave up. Hope 12c (uses the latest Cygwin 1.7) will work with Cygwin.
I don't think it was an UAC problem, since I ran the installer as admin, and the errors did not look like permission problem issues. That, and the Cygwin docs state that the main reason for the 1.7 version is to support Windows 7 and 2008 R2.
I'll let you know what support comes back with. If 12c is really that close I suspect they will just have me hold until they get it released.'
Well I'm back,
Nad its doesn't work any better then it did last time. I must be the lucky one.
I changed the setup for 12C and decided to go with a Linux OMS and just install the agents on the windows hosts that I wish to monitor. Now once I get the ssh connectivity working correctly (OMS to Target and Traget back to OMS) i go ahead and 'Add Host Target'.
Here is a new one. I get some odd error:
How on earth would the authentication be disabled if followed the instructions step by step
User authentication failed Either the provided user name and password are incorrect, or password authentication is disabled for the sshd daemon on the remote host. Ensure the provided user name and password are correct. Ensure that the property PasswordAuthentication is set to 'yes' in the SSHD configuration file (sshd_config) on the remote host.
[Install Cygwin and Start SSH|http://docs.oracle.com/cd/E24628_01/install.121/e22624/preinstall_req_cygwin_ssh.htm#CBHIAFGI]
I think there is permanently something finicky about installation with an agent push to Windows Platform. They should have never removed the software dowload and deplyment from host.
Seems like you cannot use a domain user to install the agent software! Also they fail to mention that you should not install the cygwin software as Administrator.
ORACLE - Would you care to mention this in you documentation !!!
Here is a document --> though if you do have access to OMS - where you are screwed.
EM 12c: Agent Deployment fails at SSH Validations step with "PROV-16011: Auth fail" [ID 1490275.1]
In shot, it states that you tried to install the agent software as a DOMAIN\username.
In shot --> Install the cygwin software as anybody other then Administrator
Deploy the agent software as local user --> Administrator should do and save you headaches of creating another user and registering them with cygwin sshd!