Running ldifmigrator/ldapadd from remote machine

Hi,
I installed Infra with OID on machine-1. I am now trying to run ldifmigrator on machine-2 while doing a lookup on the oid on the first machine. Is there some problem with this ?
The command works fine when I run it locally on machine-1. The command is:
<--------------------------------------------------------
ldifmigrator "input_file=d:/config/ldap/system-oid.sbs" "output_file=d:/config/ldap/system-oid.ldif" -lookup "host=machine-1" "port=333" "subscriber=idc" "s_UserCommonNamingAttribute=cn" dn="cn=orcladmin" password=welcome1
-------------------------------------------------------->
When I run this command on a remote machine say machine-2 then i get the error:
<----------------------------------------------------
Unable to establish connection to directory. Please verify the input parameters:
host, port, dn & password
returnInitialLdapContext() times out after 10000 ms - JNDI initialization method
not returning
----------------------------------------------------->
My http port is 777 and oid port is 333. Another strange thing is that I can only access http://machine-1:777/oiddas from machine-1. This is not possible from machine-2 even though ping works fine.. Hoping for some help !
Thanks !

It sounds like your firewall could be preventing external connections. How is that configured?

Similar Messages

  • SYSTEM ERROR 1312 OCCURING WHEN RUNNING NET LOCALGROUP FROM REMOTE MACHINE

    while running workflow through AO am connecting to server 2008 r2 and running net localgroup command.the output is :
    <line index="1">Copyright 2010 BMC Software Ltd, Version: 1.5 </line>
    <line index="2">Connecting to remote service...</line>
    <line index="3">Connected to remote host.</line>
    <line index="4">System error 1312 has occurred.</line>
    <line index="5">A specified logon session does not exist. It may already have been terminated.</line>
    <line index="6">Remote application exited with code: 2 </line>

    Hi,
    Have a look:
    http://blogs.technet.com/b/askperf/archive/2012/04/18/task-scheduler-error-a-specified-logon-session-does-not-exist.aspx
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/a7853ac3-6c48-4615-896a-e306067ab804/net-use-via-powershell-returning-a-specified-logon-session-does-not-exist-it-may-already-have-been?forum=winserversecurity
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • Error in calling EJB Client from Remote Machine.

    While running the client from local machine, it works perfectly.
    But when I try to run the same client from remote machine it gives me the error.
    I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
    Following is the code snippet from the clint.
    Context initial = new InitialContext();
              Object objref = initial.lookup("192.168.0.20/MyTemperature");
              home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
              Temperature degreeConverter = home.create();Following is the error
    E:\EJBRemoteTest>java TempClient.TemperatureClient
    May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nnectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 more
    Caught an unexpected Exception!
    javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
    ption is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: N
    o]
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:66)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed:
    No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 moreThis is a stateless session bean.
    Can anybody provide me solution for this
    I also tried with java.util.Properties class but result is same.

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Tail command to read httpd log from remote machine

    hi!
    does anyone know how to read the httpd log file using the tail command froma remote machine?
    i have a mac using osx sharing the internect connection to other machines. this machine has the http server running on it and i would like to check the httpd log file (from this server) from my computer in the same LAN.
    can anyone help please??
    G5 2.5ghz dual   Mac OS X (10.4.4)  

    As Ashish rightly said, you need to use ftp/scp.
    You can create a shell script on unix machine. Which shall copy the file from Windows machine to Unix machine on particular directory. Then you may need to change permissions of the file.
    Once that is done, same shell script can call procedure in oracle.
    You can schedule this shell script in Crontab to run at specified time daily, if you the timing of availability of file.
    Regards,
    Arpit

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • How can I uninstall Labview run time engine from the machine?

    I understand that Labview has not given any provision to show customized 'License Agreement screen'. Isn't it? This is the main cause of my problem. Since I want to show our own license agreement (LA) screen, I made the one using Labview. To show this license agreement screen, I first install a small application which has only this LA screen with Labview run time engine. The customer can see License Agreement Screen with Labview Run Time Engine on his machine. If My customer accepts the LA, I will install the main application further by calling another setup.EXE file.
    If my customer selects 'Do Not Agree' to the LA, I will quit the installation process. Here I also want to 'uninstall' Labview Run Time Engine
    from his machine since he doesn't accept License. I would like to know how to uninstall Labview run time engine from his machine?
    Another way which I could think is to run the LA screen from the CD with Labview run time engine on the CD. I will start installing the main S/W to the customer's machine with LABview Run Time Engine only after he accepts License agreement. I would like to know how to run the Labview application from CD without installing run time engine on the target machine?
    Can anyone suggest solution to my problem?
    Thanks,
    Chander

    J-Tek,
    I would suggest re-installing the Run-time Engine and then uninstalling it after a reboot. Also, you can download a program called Msicuu.exe (for NT, 2000, XP or Msicu.exe for 9x) to help clean up the registry for uninstalled programs.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Linked server problem, its works locally but not from remote machine

    Hi,
    i am using the application NAV and have written the query in the application. am using automation variable to link to the SQL Server.
    The problem is that , the query which i have written executes only when i am working on local machine .
    I mean when i want to execute the same query from remote machine through my app Dynamics NAV then its not getting executed.
    Thanks in advance

    Depends on what you are trying to do and what security you are using.
    What error did you get?
    If you are using windows authentication then take a look at delegation
    http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Running Pro*C from client machine

    Hi
    I trying to run a Pro*c program which tries to connect to DB which is running on different server.
    While running this I am getting "ORA-12560: TNS:protocol adapter error".
    One suggestion I found that Pro*C application should run on DB server.
    is there any workaround so that we can run pro*C from client machine?
    Or running on server is only possibility?
    Thanks
    Shailesh

    Sorry, I may have misunderstood your problem. I believe that this issue has to do with your tnsnames.ora file. You need to configure your DB to be able to talk to the Pro*C program. In order to do this, you need to set up an LISTENER for EXTERNAL_PROC (for external processes). This is automatically created when you install the DB. You can also create a listener using Network configuration manager. You just need to specify the proctocol, IPC or TCP/IP and the KEY = extproc (can be anything)
    listener.ora (techobs.com is just the domain name)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    TNSNAMES.ora where you you must specify the SID for the external proc
    EXTPROC_CONNECTION_DATA.TECHOBS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC0))
    (CONNECT_DATA = (SID = extp))
    Note: I learned this when doing the installation of OC. If I am wrong, I would hope that somebody would show me where because this is Oracle DBA.

  • Launch exe from remote machine

    Hi All,
    How can I launch an executable residing in machine A from machine B?
    I'm trying web services but no luck.
    Am I the wrong track?
    Thanks a lot

    What does "I'm trying web services but no luck." mean? As I see it, you have two separate things to accomplish here. One is the launchiing of the executable locally. The other is the triggering of that event remotely. Deal with one, then the other. Much simpler. That is, encapsulate the launching in a single method call, then work on calling it remotely. Then your problem is simply "How do I call a method remotely?", and entirely decoupled from details such as "launch exe from remote machine"

  • Running CLIX commands from local machine

    Hello Experts,
    We have the following requirements in terms of clix commands
    Need to know the number of files in log/archieve/report folder - Is there any clix commands for this
    Want to run the clix commands manually from local machine (Windows), the mdm server is at linux environment. We dont want to automate the script and want to run when needed from local machine. Is that possible
    Thanks & Regards,
    Antony

    HI,A.Antony
    as far as i know ,clix can not count the number of files in the loglog/archieve/report folder.but there is a way out.you can get through the path:<driver>:\usr\sap\<instance>\MDS00\log to check it out.
    to run clix locally,you need to install the mdm-clix-7.1.<sp>.<patch>-win32.exe on your windows.then run the clix in the cmd circumstance.for the clix command Syntax,please refer to the MDM console reference guide,as for MDM7.1SP12,you may goto the Clix referece guide on help.sap.com.
    hope it helps.
    best regards
    Stephen

  • How to run Labview exectuable on remote machine?

    I am trying to use VI Server to launch a built Labview application (.exe) residing on a remote PC from a CRIO.  I need to run this .exe programmatically and I would like to do this with only the LV Run-Time Engine installed on the remote PC (Windows XP).  I am currently able to do this successfully, but only if I have the LV Development Enviroment splash screen is open on teh remote PC.  I assume this has somehting to do with the LV VI Server not running when the LV DE is closed. 
    I have also tried to build a dummy LV application that runs on the remote machine indefinitely (infinite while loop) hoping this would initiate the VI Server but it doesn't seem to work either, I get Error 63.
    Anyone done this before?
    Thanks
    Dan

    Thanks, I've seen this one already.  I will be using a CRIO as my host so I believe ActiveX cannot be used to launch Labview on the remote PC.
    I have been troubleshooting this issue bu using a PC (Win XP) for my host and client.  I have managed to get a Labview application to run as a Windows service on my remote PC and this application runs an inifinte while loop.  But even with this application running I receive Error 66 while trying to open an application reference to a VI on the client PC form the host PC.  Everyhting works fine if I have the LV splash screen open on the remote machine though. 

  • Running LV application from remote panel which measures FP through different LAN

    My LabVIEW application is running in a PC and it takes measurements from the FieldPoint modules which are connected via the FP-1601 network module.
    I want to view and execute the application from another PC using remote panel option. The master PC has two LAN connections, one seperate connection for the FieldPoint module and the second one to connect with other PCs.
    But the application returns error while initializing the FP modules when executed from remote panel.
    Will the application be able to communicate and take measurements from the FieldPoint module in this case? Please explain.
    Thanks for the help and awaiting earlier response.
    Thank you,
    Rajeswari

    In principle this I believe this is a TCP/IP routing issue.
    If your fieldpoint unit is connected to one card lets say
    Card 01 Host 10.0.0.1 255.255.255.0 ---- Fieldpoint 10.0.0.2 255.255.255.0
    Card 02 Host 168.95.0.1 255.255.0.0 ---- Lan 168.95.x.x 255.255.0.0
    The routing in the host takes care of which card is used for which network segment.
    My guess is that you have not seperated the network segments as shown above.
    Is this correct ?

  • How to retrive data through stored procedure in mysql from remote machine?

    Hello everybody,
    I am having problem in accessing data of mysql through stored procedure. It works fine if I use "jdbc:mysql://localhost:3306/[database name]" instead of "jdbc:mysql://[IP address]:3306/[database name]". The connection is fine for both, but when stored procedure is called the system stops at "stmt.execute();" line in java file while debuging. In case of localhost there is no any problem. The code for connecting procedure is:
    stmt = dbConn.prepareCall("{? = call testing()}"); stmt.registerOutParameter(1, Types.VARCHAR); stmt.execute();
    I have to connect java application running in Windows to the mysql database running in remote machine(RHEL 5).
    I am using "mysql-connector-java-5.1.5-bin.jar", jdk 1.5.0 and remote database Mysql version : 5.0.22.
    There is no exception and application hangs at stmt.execute();
    Can anybody help me with this problem?
    Thank you.

    I got it. its about connection...

  • Accessing tables from remote machine

    I using the following code, to update the record from the emp table. This table is created locally in my machine.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn;
    String db = "jdbc:odbc:NewDsn";
    String username = "test";
    String password = "test";
    String tableName = "emp";
    conn = DriverManager.getConnection(db, username, password);
    Statement stmt1 = conn.createStatement();
    String update = "update " + tableName +
    " set salary=salary+1000 where empid>200";
    stmt1.executeUpdate(update);
    I want my application to run on two different machine and the update should be made on a single table.
    Please help me, how the user from other machine can access this emp table created in my local machine?

    I completely agree with RPriya.
    jschell, If you think that it is not correct, could you please put some focus on your statementYou mean you want me to explain how database connections work in general and how jdbc drivers would use them?
    Do you know how a socket works? Do you know that it requires a client and a server?
    How does a socket work if there is no server?
    How do database connections work in C, C++, Perl, Ruby, Python, VB, etc, when absolutely none of those use a java type 4 driver?
    Do you know how the oracle oci driver work? It is not a type 4 driver.
    Do you know how the jdbc-odbc bridge works with oracle? With MS SQL Server? The jdbc-odbc bridge is not a type 4 driver.

  • Using MS Access as Database from Remote Machine

    Hi All
    I am trying to use MS access as Data base, I have done the following.
    1. I have Added the mdb file on a remote machines DSN.(Control Panel->Admin Tools->ODBC->System Tools)
    2. In xMII data services->Data Servers, Copied the Default IDBC Server, renamed it and updated the ServerURL as  jdbc:inetdae:<IP of Remote machine>:1433?database=<DB Name>&sql7=true.
    With these things done, I am not able to get the Data Server Accesible.
    Please correct what mistake I have made.
    Thanks and Regards
    Rupesh

    Rupesh,
    First Access is not a very good database... I would suggest using MSSQL, MySQL, or some other 'real' database. But I digress...
    The only supported way to get the data you want from Access is by... you guessed it... the <b>xMII OLEDB UDS</b>. Sure you could try the JDBC - ODBC bridge, but this seems to be shaky.
    Martin - seriously... I'm trying to get the UDSs out to all of you!

Maybe you are looking for