Failure to connect to directory server

[root@vuwunicvdseem01 ldif]# ldapsearch -h localhost -b dc=vuw,dc=ac,dc=nz "(uid=jonesst1)" SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
additional info: SASL(-4): no mechanism available:
[root@vuwunicvdseem01 ldif]#

Does not appear to be iptables
[root@vuwunicvdseem01 ~]# iptables -L -n |grep 389
ACCEPT tcp -- 130.195.87.0/24 0.0.0.0/0 tcp dpt:389
ACCEPT tcp -- 130.195.245.0/24 0.0.0.0/0 tcp dpt:389
ACCEPT tcp -- 130.195.246.0/24 0.0.0.0/0 tcp dpt:389
[root@vuwunicvdseem01 ~]# iptables -L -n |grep 127
ACCEPT all -- 127.0.0.1 127.0.0.1
ACCEPT all -- 127.0.0.1 127.0.0.1
[root@vuwunicvdseem01 ~]# /usr/bin/ldapsearch -vvv -h vuwunicvdseem01 -p 389 -s base -b '' "(objectclass=*)"localhost
ldap_initialize( ldap://vuwunicvdseem01:389 )
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
[root@vuwunicvdseem01 ~]# /usr/bin/ldapsearch -vvv -h vuwunicvdseem01 -p 389 -s base -b '' "(objectclass=*)" ldap_initialize( ldap://vuwunicvdseem01:389 )
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
[root@vuwunicvdseem01 ~]# /usr/bin/ldapsearch -vvv -h localhost -s base -b '' "(objectclass=*)"
ldap_initialize( ldap://localhost )
ldap_sasl_interactive_bind_s: Can't contact LDAP server (
[root@vuwunicvdseem01 ~]# service iptables stop
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]
[root@vuwunicvdseem01 ~]# /usr/bin/ldapsearch -vvv -h vuwunicvdseem01 -p 389 -s base -b '' "(objectclass=*)"
ldap_initialize( ldap://vuwunicvdseem01:389 )
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
[root@vuwunicvdseem01 ~]# /usr/bin/ldapsearch -vvv -h localhost -s base -b '' "(objectclass=*)"
ldap_initialize( ldap://localhost )
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
[root@vuwunicvdseem01 ~]#
[root@vuwunicvdseem01 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Similar Messages

  • Sharepoint 2013 Workflow manager setup SQL serverinstance "Failure in connecting to SQL Server"

    Hi Guys
    im having issues with installing work flow manager.
    this installation has gone ok, but when I'm in the configuration stage, and type in the SQL server instance, it returns with failure in connecting to SQL server.
    this happens with SSL and with out SSL
    I look forward to your responses
    Kindest regards
    Jack

    Make sure that you have installed workflow manager updates on the server.
    Follow these two steps first:
    Add
    WFSetup account (installer account) to SQL Server security group and give him
    SysAdmin permission.
    Add WFSetup to Workflow server in machine
    administrator group, so user can login as worklfow administrator.
    Enter database machine name and test it.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Access Manager Failed to Connect to Directory Server

    Dear All,
    I have problem with Directory Server connection in Access Manager. This happened in Production site, all application that integrated with Oracle Access Manager (OAM) for Single Sign On are not accessible after the Directory Server connection problem occur in OAM. The problem has only started occurring suddenly, before it the all service including the OAM and Directory Server is running well. Below are the error messages that appear in WebGate log file (ohs1.log) and OAM log file (oblog.log) :
    >> OHS/WebGate (ohs1.log) :
    [2014-01-21T09:25:12.0053+07:00] https://community.oracle.com/OHS https://community.oracle.com/OHS-9999 https://community.oracle.com/apache2entry_web_gate.cpp host_id: <WEBGATE_HOSTNAME> [host_addr:10.10.254.178] [ecid: 004w76rlRYt0NuapxKL6iW0000sE001oGY] The host and port from the requested URL could not be found in the Policy database. Check if the corresponding directory service is up.
    >> OAM (Oblog.log):
    2014/01/15@03:12:23.833746      [30573 30606 | tel:30573%20%20%2030606]   DB_RUNTIME      ERROR  0x000008C1      ../ldap_connection_mngr.cpp:443 "Failed to connect to directory server" lpszHost<LDAP_HOSTNAME_VIA_LOADBALANCER> port<LDAP_PORT_VIA_LOAD_BALANCER>
    The OAM using the Load Balancer between the LDAP Directory Server to OAM's component. When the error appears, there are no problem with the Load Balancer and all of Directory Sever services is up. There are two Directory Server servers in Multi Master Replication and 14 WebGate servers that integrated with OAM. Is there a limitation number of WebGate for integrated to the OAM?
    I have tried to set some parameters in OAM configuration to solve this problem. I set the Maximum Connection of Directory Server parameter to 10 value (in OAM Console), the LDAPOperationTimeout paramater to 1 hour value and the LDAPMaxNoOfRetries parameter to 2 value (in the globalparams.xml). After set these parameters, the error is not appear in some days, but suddenly appear again in the same error message. May be set these parameters is not appropriate solution for the problem or the value that I set is not correct. Any experience with this?
    I still don't know what the root cause of this problem. Restart all of OAM services (including the WebGate) is temporary solution when the error appear.
    Any idea for this problem?
    Thanks in advice.

    Hi Jun-Y,
    Thank you for your answer.
    What do you means with the Directory Server's idle timeout is the "Idle Timeout" parameter in LDAP Client Control Settings?
    I use Oracle Directory Server Enterprise 11.1.1.5.0. Now, the Directory Server's idle timeout parameter is "unlimited" value.
    If the idle timeout of the load balancer set 1 hour, it means that I must change the directory server's idle timeout to be less than 1 hour. Isn't right?

  • Failure to Connect to Primary Server / Flickering Preview Screen

    We are trying to switch a client from using Windows Media Live Encoder to Flash Media Live Encoder. We have encoding software installed in our data centre. The client streams from within the UK. The client is using  2 Osprey 230 cards.The graphics card is an NVIDIA GeForce 6200. The OS is Windows 7 (64) We are receiving the error Failure to Connect to Primary server and a flickering preview screen in FMLE. The client has successfully carried out live streaming using Windows Media Live and the same osprey cards . Thank you for your help

    Hi Ambala,
    I would recommend loging a Support case with Oracle Support Services. This issue may require more detailed troubleshooting.
    Best regards,
    Jean-Marc Robillard
    Product Management

  • Connect IPlanet Directory Server(5.0) with ADSI

    Has anyone ever had to connect to a iPlanet Directory Server 5.0 with ADSI?
    I can retrieve the entries(user's information), but I can't add the
    user-defined objClass and attributes to entries(user).
    If you know, please kindly to give me some hints about this.
    Many Thanks,
    Kat

    Make sure the user-defined schema is present on the server before you try to use it. Also you will need appropriate permissions for updating and will very likely need to bind before you try to update.

  • Forms6i Connectivity using Directory Server

    I installed directory server in my organisation to centralize the service names. When i connect with db using 9i SQL prompt it works fine but when i try to connect through froms 6i the connection does not go through. I placed LDAP and SQL NET files in the NET80 ----- ADMIN folder
    Any idea

    Hi, try to ask at Sun Java System Directory Server forum:
    http://swforum.sun.com/jive/forum.jspa?forumID=13

  • Failure to connect to the server

    I have installed Oracle9iAS infrastructure and application server on the same machine.
    When I try to compile a form it is successfull. I am able to log on to the Oracle database on another machine since
    I have modified tnsnames.ora file.
    However when I try to run the form on web it gives 2 errors.
    FRM-92050 Failed to connect to the server
    FRM-92101 Failure has occured on the server.
    On JInitiator console: I got the following error
    Form session failure during startup. No response from runtime process.
    oracle.forms.net.ConnectionException: Forms session <1> failed during startup: no response from runtime process
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         and the rest of exceptions
    any answers

    Hi Ambala,
    I would recommend loging a Support case with Oracle Support Services. This issue may require more detailed troubleshooting.
    Best regards,
    Jean-Marc Robillard
    Product Management

  • Failure to Connect To Primary Server

    Hello,
    I am trying to connect Adobe Live Media Flash Encoder to my Live Events Youtube account. I keep getting an error message saying that there is a failure to connect to the primary server, verify server url and application name are valid, or check internet connection. My internet is fine, I don't understand what the FMS URL is, or where to find my correct one, and where to find my Stream.
    I have spent hours trying to connect. I am about to lose my mind.
    Thank you.

    you are trying to use a crossdomain.xml file only you are useing a .txt file........do a google search for crossdomain.xml policy on google then we will go from there I should warn you though that a cross domain policy will not protect your streams from being sent via a certain domain it just says allow data to be exchanged from this domain the rtmp connections are the ones that say make this connection from this domain.

  • Failure when connecting MS SQL SERVER from ODI ! could not load JDBS driver

    i have some trouble with connecting MS SQL SERVER from ODI.
    I have already downland jdbs driver 3.0 (and 2.0 ) and copy the sqljdbc4.jar to D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers( where the oracle jdbs driver is already exitst )....but i have this error :
    could not load JDBS driver class..
    thanks

    After more investigation and even more chocolate, we've identified the problem and it's now working. For anyone else who strikes this problem in future, here's something to check/consider/try:
    Even though Squirrel SQL Client was connecting and working ok using the MS JDBC driver (v 3.0), it recorded this in its logs:
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the INTERSECT operation.
    We've found that the open source jTDS driver does not have the same issue as the Microsoft one.
    We've installed the current jTDS driver, recorded the driver name (net.sourceforge.jtds.jdbc.Driver) and the JDBC URL (jdbc:jtds:sqlserver://<hostname>:1433/<database>) and the connection is now working fine.
    Hope this helps other people...
    Thanks to those of you who offered suggestions and things to check...much appreciated.
    Robyn

  • Failure to connect to FTP server using FTP Adapter?

    Attempting to setup a SOA 11g composite app to demo the use of a FTP Adapter. Composite used a File Adapter (Read, opaque schema) wired to a mediator which was wired to a FTPAdapter (ASCII-Put, opaque schema). The routing rule in the mediator maps the File-Read opaque schema to the FTP ASCII-Put opaque schema.
    In the document "+User's Guide for Technology Adapters 11g Release 1 (11.1.1)+" I followed the steps in 4.2.21 Securing Enterprise Information System Credentials to set username/password (ftpuser/oracle) for the eis/Ftp/FtpAdapter connection. This is the default JNDI name for the FTP Adapter.
    For the FTP server installed Filezilla server. Configured the home directory to appropriate folder.
    Installed Filezilla client to test the server using ftpuser/oracle - as the created user on the server. No problem here – can see the appropriate folders and ftp files to/from the folders.
    Used a similar composite using a File Adapter-Write (opaque schema) instead of the FTPAdapter (ASCII-Put - opaque schema). This composite works with no issues. FYI – using JDev 11.1.1.1, SOA Suite 11g.
    Was not using VPN.
    When placed the required file in its directory (for the File-Read) it was read but the ASCII-Put file from Filezilla server did not appear.
    Based on error/fault messages seems to be a login issue. However, have no idea as to where the issue as all usernames/passwords are correct. But then - isn't that always the case?
    After having worked on this for a couple of days - need some help - please.
    The following error messages appeared:
    Filezilla Server:
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message...+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.37 beta+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse ([email protected])+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> USER+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 501 Syntax error+
    +(000004)11/3/2010 14:07:53 PM - (not logged in) (127.0.0.1)> disconnected.+
    Fault message from WLS enterprise manager for the composite
    onMessage
    Nov 3, 2010 2:06:54 PMonCase "FTPPut.Put"
    Nov 3, 2010 2:06:54 PMTransformed message part "opaque" using "xsl/opaqueElement_To_opaqueElement_3.xsl"
    Nov 3, 2010 2:06:54 PMError during invoking 1-way operation "Put" on target service "FTPPut"
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in. Error in logging in. Unable to log in to the server. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Output from SOA Server console window
    Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=>  FileR FileRAdapter Service FileR was unable to perform delivery of inbound message to the composite default/Project1!1
    +.0*03f979cb-4a66-4c89-8a68-cce43fcdef88 due to: BINDING.JCA-12563+
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1 InboundTranslatorDelegate caught Generic Exception , the Resource Adapter will ignore this+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1+
    +BINDING.JCA-12509+
    +Unable to post inbound message.+
    +Unable to post inbound message to Composite.+
    +The JCA Listener of the JCA Binding Component was unsuccessful in delivering an inbound message from the endpoint FileR due to the following+
    +reason: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Please examine the log file for any reasons. Make sure the inbound XML messages sent by the Resource Adapter comply to the XML schema defini+
    +tion of the corresponding inbound WSDL message element.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:552)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:376)+
    +at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:377)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:455)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:116)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:252)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:157)+
    +at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)+
    +at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)+
    +at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)+
    +at java.lang.Thread.run(Thread.java:619)+
    +Caused by: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteracti+
    +onException.java:75)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:294)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:281)+
    +at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)+
    +at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)+
    +at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +at java.lang.reflect.Method.invoke(Method.java:597)+
    +at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:870)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:200)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:94)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)+
    +at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:47)+
    +at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)+
    +at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:121)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:467)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:366)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:272)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:138)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:655)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:481)+
    +at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)+
    +at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)+
    +at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +at java.lang.reflect.Method.invoke(Method.java:597)+
    +at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:509)+
    +... 10 more+
    +Caused by: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:427)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:530)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:49+
    +4)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteractio+
    +n.java:463)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:244)+
    +... 52 more+
    +Caused by: BINDING.JCA-11439+
    +Error in logging in.+
    +Error in logging in.+
    +Unable to log in to the server.+
    +Please ensure userid and password specified to login to the server is correct.+
    +at oracle.tip.adapter.ftp.FTPClient.regularLogin(FTPClient.java:1614)+
    +at oracle.tip.adapter.ftp.FTPClient.login(FTPClient.java:1561)+
    +at oracle.tip.adapter.ftp.FTPAgent.login(FTPAgent.java:1094)+
    +at oracle.tip.adapter.ftp.FTPAgent.preCall(FTPAgent.java:1515)+
    +at oracle.tip.adapter.ftp.FTPAgent.validateOutputDir(FTPAgent.java:1154)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.validateDirectory(FileInteraction.java:2726)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:548)+
    +at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:238)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:297)+
    +... 56 more+

    I've an ftp adapter configured to read from windows server(SOA server running on IBM AIX, filezila on Windows server). I've provided the hostname,username,password, accountname,ftpAbsolutePathBegin as /, port as 21.
    I've set listParserKey to WIN.
    Still FTPAdapter is unable to read from Windows server.
    I'm able to get, delete etc from ftp commands through putty.Port 21 is open.
    Any clue?

  • Applet problem connecting to directory server

    When my applet loads I get the following message:
    "java.security.AccessControlException: access denied (java.net.SocketPermission <servername> resolve)"
    I'm fairly new to web programming so I may be missing something obvious. I'm taking java code that works perfectly in the "DOS" environment and migrating to the web.
    Anyone know how to fix this?

    Your Applet will need to be a signed applet
    if you need to connect to an IP other than the
    one that launched the Applet. see jarsigner,
    keytool etc..
    good luck

  • TLS connection to directory server

    public int tls(String host, String port, String uname, String passwd,
                   boolean anonymous, boolean connOnly,boolean DTOnly) {
              setHost(host.trim());
              setPort(port.trim());
              setPasswd(passwd.trim());
              setUname(uname.trim());
              String ldapURL = LDAP + host.trim() + COLON + port.trim();
              env.put(Context.INITIAL_CONTEXT_FACTORY,LDAPCTX);
                   //set security credentials
              env.put(Context.SECURITY_AUTHENTICATION, SIMPLE);
              if (anonymous == false) {
                   env.put(Context.SECURITY_PRINCIPAL, uname.trim());
                   env.put(Context.SECURITY_CREDENTIALS, passwd.trim());
              //connect to my domain controller
              env.put(Context.PROVIDER_URL, ldapURL);
              StartTlsResponse tls=null;
              LdapContext ctx;
              try {     
                   ctx = new InitialLdapContext(env, null);
                   //          Start TLS
                   //StartTlsResponse tls;
                   try {                    
                        /* VersionHelper helper = VersionHelper.getVersionHelper();
                        Class clas = helper.loadClass("com.sun.jndi.ldap.ext.StartTlsResponseImpl");
                        tls = (StartTlsResponse) clas.newInstance();*/
                        /*tls=null;
                        if(tls!=null)
                        JOptionPane.showMessageDialog(null, tls.toString());*/
                        tls = (StartTlsResponse) ctx.extendedOperation(new StartTlsRequest());
                        System.out.println("TLS-> "+tls.toString());
                        /*JOptionPane.showMessageDialog(null, tls.toString());*/
                        tls.negotiate();
                        ctx.addToEnvironment(Context.SECURITY_AUTHENTICATION, SIMPLE);
                        ctx.addToEnvironment(Context.SECURITY_PRINCIPAL,uname.trim());
                        ctx.addToEnvironment(Context.SECURITY_CREDENTIALS, passwd.trim());
                        ctx.addToEnvironment(Context.PROVIDER_URL, ldapURL);
                        setCtx(ctx);
                        if(connOnly)
                             if(DTOnly==false){
                                  // Create the thread
                             Thread thread = new MyThread(tls);
                             // Thread can be set as daemon by the creator
                             thread.setDaemon(true);
                             // Start the thread
                             thread.start();
                        ctx.close();          
                        //tls.close();
                        return CONNECTION_SUCCESSFULL;
                   /*catch (CommunicationException ne1) {
                        System.err.println(ne1.getLocalizedMessage());
                        return 3;
                   catch (NamingException ne) {
                        ne.printStackTrace();
                        System.err.println(ne.getLocalizedMessage());
                        File fp = new File("C:\\tp.txt");
                        FileOutputStream outputStream= new FileOutputStream(fp);
                        PrintWriter printWriter = new PrintWriter(outputStream);
                        ne.printStackTrace(printWriter);
                        printWriter.close();
                        outputStream.close();
                        return 4;
                   catch (Exception e) {
                        e.printStackTrace();
                        System.out.println("Any other exception");
                        e.printStackTrace();
                        return ERROR;
                   //ctx.close();
              catch (InvalidNameException ie){
                   //ie.printStackTrace();
                   System.out.println("InvalidNameException :Username is incorrect");
                   return UNAME_PASSWORD_ERROR;
              catch (AuthenticationException ex)
                   System.out.println("Username or Password is incorrect");
                   //ex.printStackTrace();
                   return UNAME_PASSWORD_ERROR;
              catch (CommunicationException ce){
                   //ie.printStackTrace();
                   System.out.println("Connection Refused");
                   return CONNECTION_REFUSED;
              catch (NamingException e)
                   System.out.println("Host or Port is incorrect");
                   //e.printStackTrace();
                   return HOST_PORT_ERROR;
              catch (Exception e) {
                   System.out.println("Any other exception");
                   e.printStackTrace();
                   return ERROR;
         }

    Why did you post twice? Why didn't you use code tags? Why didn't you post a question? What is your problem?

  • Not able to change the path to trusted keystore for connection to directory

    Hi,
    I am trying to make a secured connection to directory server through JNDI.
    env.put(
    Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory"
    if(isSSLEnabled){
    env.put(
    Context.PROVIDER_URL,
    "ldap://" + host + ":" + securePort
    else{
    env.put(
    Context.PROVIDER_URL,
    "ldap://" + host + ":" + port
    env.put(Context.SECURITY_AUTHENTICATION , "simple");
    env.put(Context.SECURITY_PRINCIPAL , user);
    env.put(Context.SECURITY_CREDENTIALS , password);
    if(isSSLEnabled)
    env.put(Context.SECURITY_PROTOCOL, "ssl");
    System.setProperty ("javax.net.ssl.trustStore", fileLocation);
    System.setProperty ("javax.net.ssl.trustStoreType", "jks");
    try {
    ctx = new InitialDirContext(env);
    System.clearProperty ("javax.net.ssl.trustStore");
    System.runFinalization();
    retValue = BIND_OK;
    System.clearProperty ("javax.net.ssl.trustStore");
    The location to the keystore file is populated through a file browser.But the problem is that i am not able to clear System.setProperty ("javax.net.ssl.trustStore", fileLocation); (even through System.clearProperty)the location to trusted file. Everytime it takes the path to the first keystore and all other changes to the path are not reflected.
    Does anyone knows the problem. Is it with JNDI or JVM?
    Thanks in advance,
    Sharat.

    http://am.martinmarinov.info/ohapan.php?i=pilej
    http://am.martinmarinov.info/ohapan.php?i=pilej
    http://am.martinmarinov.info/ohapan.php?i=pilej

  • Directory Server Console is slow

    When I try to connect to Directory Server 5.1 with the console (same machine), it is ridiculously slow to respond. The machine's performance overall is fine, but console takes several minutes to respond to each mouse click.

    Greg,
    Sometimes reverse lookups pose a problem if not all of the clients are in DNS.
    Check the attribute "nsadminaccesshosts" of the following dn: "cn=configuration, cn=admin-serv-<host>, cn=Netscape Administration Server, cn=Server Group, cn=<hostname>, ou=<administration-domain>, o=NetscapeRoot"
    Per default it gets set to "*.<your_domain>".
    Try to remove the value of this attribute. Does this improve the performance (adminserver must be restarted)?
    If you have security concerns doing this, you can still restrict access to the administration server by specifying the IP-addresses (attribute: "nsadminaccessaddresses").
    Regards,
    Jakob.

  • Directory Server and Samba 3 PDC

    I'm trying to connect to directory server from samba 3
    # ./smbpasswd -w secret
    # ./net getlocalsid
    it says:
    bash-3.00# ./net getlocalsid
    [2006/04/29 13:29:10, 0] lib/smbldap.c:smbldap_connect_system(890)
    failed to bind to server ldap://merlin.cotarh.local with dn="cn=admin,dc=cotarh,dc=local" Error: Inappropriate authentication
    [2006/04/29 13:29:25, 0] lib/smbldap.c:smbldap_search_suffix(1346)
    smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timelimit exceeded)
    SID for domain MERLIN is: S-1-5-21-3865381809-2382358429-1619658665
    What's wrong?

    Once the user has authenticated with Kerberos, the token can be used with LDAP using the SASL authentication with GSSAPI / Kerbv5 mechanism.
    How to configure Directory Server 5.2 for this is fully documented in the Chapter 11 - Managing Authentication and Encryption of the Administration Manual.
    <http://docs.sun.com/source/817-5221/ssl.html#wp20166>
    Regards,
    Ludovic.

Maybe you are looking for