Error : Can't open local data port

Hello:
I�d like present this problem to yours:
I am executing two files Client/Server into my own PC, using two DOS console different, this one to Client an another to Server.
I got this error:
Output of the CLient (DOS Console of the client)
C:\RUN\EX14>java AVReceive2 1.1.9.147/45300
- Open RTP session for: addr: 1.1.9.147 port: 45300 ttl: 1
- Waiting for RTP data to arrive...
- Waiting for RTP data to arrive...
- A new participant had just joined: mpalacios@mpv
- Waiting for RTP data to arrive...
- Waiting for RTP data to arrive...
Output of the Server (DOS Console of the Server)
C:\RUN\EX14>java AVTransmit2 file:/c:/run/format/au/drip.au 1.1.9.147 45300
Track 0 is set to transmit as:
ULAW/rtp, 8000.0 Hz, 8-bit, Mono, FrameSize=8 bits
Error : Can't open local data port: 45300
Well, 1.1.9.147 is the IP address of my PC.
So, What�s the problem?
If you need of the rest of code, please say me.
Thanks.
Angel.

Well, I am agree with you, but I have this code in the Transmit File (Server):
* Use the RTPManager API to create sessions for each media track of the processor.
private String createTransmitter() {
     // Cheated. Should have checked the type.
     PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
     PushBufferStream pbss[] = pbds.getStreams();
     rtpMgrs = new RTPManager[pbss.length];
     SessionAddress localAddr, destAddr;
     InetAddress ipAddr;
     SendStream sendStream;
     int port;
     SourceDescription srcDesList[];
     for (int i = 0; i < pbss.length; i++) {
     try {
          rtpMgrs[i] = RTPManager.newInstance();     
//The local session address will be created on the
// same port as the the target port. This is necessary
// if you use AVTransmit2 in conjunction with JMStudio.
// JMStudio assumes - in a unicast session - that the
// transmitter transmits from the same port it is receiving
// on and sends RTCP Receiver Reports back to this port of
// the transmitting host.
          port = portBase + 2*i;
          ipAddr = InetAddress.getByName(ipAddress);
          localAddr = new SessionAddress( InetAddress.getLocalHost(),
                                   port);
          destAddr = new SessionAddress( ipAddr,
                              port);
          rtpMgrs.initialize( localAddr);
          rtpMgrs[i].addTarget( destAddr);
          System.err.println( "Created RTP session: " + ipAddress + " " + port);
          sendStream = rtpMgrs[i].createSendStream(dataOutput, i);          
          sendStream.start();
     } catch (Exception e) {
          return e.getMessage();
     return null;
When I use this Files (Client/Server), between diffrent PCs into LAN, eg, Client (One PC) and Server (Another PC), but I used:
This One PC: (IP Address PC = 1.1.9.150)
C:\run\ex14\java AVTransmit2 file:/c:/run/format/audrip.au 1.1.9.147 45300
Another PC:(IP Address PC = 1.1.9.147)
C:\run\ex14\java AVReceive2 1.1.9.147/45300
That�s work right!
So, what�s happen?

Similar Messages

  • Help me ! "can not open local data port"

    I have successfully ended the previous transmit,but wen I began a new transmit,it failed. It printed "can't open local data port ",why?
    Is it telling that the port is still in use???
    And how can I solve this problem?
    Anyone help me?
    Thanks very much,
    yyc

    Hi,
    this problem occurs when You try to open the same port twice time, You can solve it by opening other port.

  • Cannot create the RTP Session: Can't open local data port

    Hi,
    I'm trying to connect to two webcams simultaneously in the order:
    MediaLocator inputLocator1 = new MediaLocator("rtp://hostname1:8000/video");
    MediaLocator inputLocator2 = new MediaLocator("rtp://hostname2:8000/video");
    But I get this during the second connection:
    Cannot create the RTP Session: Can't open local data port: 8000
    And I can't see the video from hostname2.
    I did a check via netstat, and it seems that both mycomputer is receiving the video from both hostname1 & hostname2:
    TCP mycomputer:3236 hostname1:8000 ESTABLISHED
    TCP mycomputer:3264 hostname2:8000 ESTABLISHED
    TCP connections to both host were established!! But why can't I see the video of hostname2???? I've thought of 2 possible reasons why I cannot see the video of hostname2:
    1. Is this set of local data port maintained by Java? i.e It's not the same as the TCP port 8000 that I see in mycomputer's netstat. If yes, Java has assigned its local data port 8000 to hostname1, so it fails to reassign that port 8000 to hostname2 while hostname1 is still connected. Any other way to fix this apart from changing the portnumber of hostname2?
    2. It has to do with the custom.jar? I've read in an article somewhere in the forum that the custom.jar has to be customized (using JFMCustomizer) to receive video from two hosts with the same portnumber. Can someone elaborate the necessary boxes to check in the JFMCustomizer?
    Thanks much,
    Rach

    After all this while, I finally figured out the problem. In my code, I use MediaLocator to code the receiver and the transmitter. E.g.:
    MediaLocator inputLocator1 = new MediaLocator("rtp://hostname1:8000/video");
    player1 = Manager.createPlayer(inputLocator1)
    MediaLocator inputLocator2 = new MediaLocator("rtp://hostname2:8000/video");
    player2 = Manager.createPlayer(inputLocator2)
    Manager would complain "Cannot create the RTP Session: Can't open local data port: 8000" because port 8000 is already used up by player1, i.e.:
    mycomputer:8000 maps to hostname1:8000
    mycomputer:8000 cannot re-map to hostname2:8000
    To work around this, I'll need to use SessionAddress. SessionAddress provides the flexibility to do an independent local port mapping, e.g.:
    mycomputer:5000 maps to hostname1:8000
    mycomputer:5002 maps to hostname2:8000
    Rach

  • RTP Cannot open local data port

    Hello,
    I'm about to learn JMF. So I tried the example code from the sun JMF documentation(example10-1; code is appended).
    The code compiles without errors but when I run it, I alway get the following error:
    streams is [Lcom.sun.media.multiplexer.RawBufferMux$RawBufferSourceStream;@b9b538 : 1
    sink: setOutputLocator rtp://192.168.0.6:49150/audio/1
    java.io.IOException: Can't open local data port: 4800
            at com.sun.media.datasink.rtp.Handler.open(Handler.java:139)
            at Send.<init>(Send.java:60)
            at Send.main(Send.java:71)
    What does that mean and what causes that kind of exception?
    Thanks in advance.
    MfG
    Michael
    ****Code starts here****
    class Send {
       public Send() {
          AudioFormat format = new AudioFormat(AudioFormat.LINEAR, 8000, 16, 1);
          Vector devices = CaptureDeviceManager.getDeviceList(null);
          System.out.println("DEBUG: CaptureDeviceManager returned "  + devices.size() + " devices");
          CaptureDeviceInfo di = null;
          Processor p = null;
          if(devices.size() > 0)
          di = (CaptureDeviceInfo) devices.elementAt(0);
          else
          System.exit(-1);
          System.out.println("Found: " + di.toString());
          try {
          p = Manager.createProcessor(di.getLocator());
          } catch(Exception e) {
         e.printStackTrace();
         System.exit(-1);
    p.configure();
    TrackControl tracks[] = p.getTrackControls();
    p.setContentDescriptor(new ContentDescriptor(ContentDescriptor.RAW));
    boolean encodingOk=false;
    for(int i=0; i < tracks.length; i++) {
         if(!encodingOk && tracks[i] instanceof FormatControl) {
         if( ( (FormatControl)tracks[i] ).setFormat(new AudioFormat(AudioFormat.GSM_RTP, 8000, 16, 1))==null )
         tracks.setEnabled(false);
         encodingOk = true;
         else
         tracks[i].setEnabled(false);
    } //for
    if(encodingOk) {
         p.realize();
         DataSource source = null;
         try { Thread.sleep(1000); } catch(InterruptedException e){}
         try {
         source = p.getDataOutput();
         } catch(NotRealizedError e) {
         System.out.println("*** ERROR: Cannot realize");
         //System.exit(-1);
         try {
         String url = "rtp://192.168.0.6:49150/audio/1";
         System.out.println(url);
         MediaLocator m = new MediaLocator(url);
         DataSink sink = Manager.createDataSink(source, m);
         sink.open();
         sink.start();
         } catch(Exception e) {
         System.out.println("*** ERROR: ");
         e.printStackTrace();
         System.exit(-1);
    } // if
    public static void main(String[] args) {
    new Send();

    Hello,
    I tried to change the port number to 22222, 66666 and 49150. With the same effekt. I found out that when I run the program for the first time after a reboot I get these errors:
    javax.media.NotConfiguredError: getTrackControls cannot be called before configured
    at com.sun.media.ProcessEngine.getTrackControls(ProcessEngine.java:285)
    at com.sun.media.MediaProcessor.getTrackControls(MediaProcessor.java:107)
    at Send.<init>(Send.java:29)
    at Send.main(Send.java:71)
    Exception in thread "main" javax.media.NotConfiguredError: getTrackControls cannot be called before configured
    at com.sun.media.ProcessEngine.getTrackControls(ProcessEngine.java:285)
    at com.sun.media.MediaProcessor.getTrackControls(MediaProcessor.java:107)
    at Send.<init>(Send.java:29)
    at Send.main(Send.java:71)
    I have to quit the program with Ctrl-c. The next time I run it I get the IOException as described above :( .
    MfG
    Michael

  • Can't open local port

    Hello all
    I would be very grateful for some help with this problem,I haven;t been able so solve and i have spend a lot of time on it
    I have written my own client RTSP code,from this i can set the client ports i want to recieve and send RTCP and recieve RTP,and can read in the server ports
    So i have something like 157.190.181.36 60972 60973 client
    157.190.181.36 6972 6973 server
    To handle RTP i have used RTP socket player or RX and may other RTP reciver options,as in the java solutions etc ,so that i can recieve RTP and create a player
    When i run them i get the same eror from all error can't open local port
    Further information
    I am on a LAN,but hav tried my set up disconnected from the LAN through a hub set up
    I have tried opening the ports before callled the RTP players i.e
    on the client side
    DatagramSocket RTPsocket3= new DatagramSocket(60972);
    DatagramSocket RTPsocket4= new DatagramSocket(60973);
    Through sniffers
    I know the RTSP messages are OK
    I recive an ICMP message destination unreachable
    I am connecting to darwin streaming server and i can connect to this and play through apple quicktime player or JM studioTHANKS IN ADVANCE!

    Hey...
    I'm having a similar problem, because i'm developing an application that its serving RTP audio context streams. So the application would transmit a playlist of files over RTP, and it works fine for one file, but when i try to give it a new file, i always get the exception "Can�t open door: ...". This error occurs on the line that is marked with *****.
    I'm creating a processor for each file i want to transmit, for the same port and same IP address, so when the first file ends i close the processor and create a new one with the same properties, but with a diferent file...
    I really nead this to work, so if someone could help me on this it would be really appreciated... Thanks in advance...
    My code for creating the transmitter is like this:
    private String createProcessor(){
         if (locator == null) return My_Dictionary.TRANSMIT_LOCATOR;
              try{
              ds = javax.media.Manager.createDataSource(locator);
              }catch (Exception e){
              return My_Dictionary.TRANSMIT_DATASOURCE;
              try{
              processor = javax.media.Manager.createProcessor(ds);
              }catch (NoProcessorException npe){
              return My_Dictionary.TRANSMIT_PROCESSOR;
              }catch (IOException ioe){
                   return My_Dictionary.TRANSMIT_IO_PROCESSOR;
              boolean result = waitForState(processor,Processor.Configured);
              if (result == false) return My_Dictionary.TRANSMIT_PROCESSOR_CONFIG;
              TrackControl [ ] tracks = processor.getTrackControls();
              if (tracks == null || tracks.length < 1) return My_Dictionary.TRANSMIT_TRACKS;
              ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW_RTP);
              processor.setContentDescriptor(cd);
              Format supported[];
              Format chosen;
              boolean atLeastOneTrack = false;
              for (int i = 0; i < tracks.length; i++){
              if (tracks.isEnabled()){
                        supported = tracks[i].getSupportedFormats();
                        if (supported.length > 0){
                             for (int j = 0; j < supported.length; j++){
                                  if (supported[j] instanceof AudioFormat){
                                       if (supported[j].matches(Transmit.audioformat)){
                                            chosen = supported[j];
                                       tracks[i].setFormat(chosen);
                                       atLeastOneTrack = true;
                                       System.out.println("Track " + i + " is set to transmit as: " + chosen);
                        }else tracks[i].setEnabled(false);
              }else tracks[i].setEnabled(false);
              if (!atLeastOneTrack) return My_Dictionary.TRANSMIT_ANY_TRACKS;
              result = waitForState(processor,Controller.Realized);
              if (result == false) return My_Dictionary.TRANSMIT_PROCESSOR_REALIZE;
              dataOutput = processor.getDataOutput();
              return null;
    private static String createTransmitter(){
              PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
              PushBufferStream pbss[] = pbds.getStreams();
              rtpMgrs = new RTPManager[pbss.length];
              SessionAddress localAddr, destAddr;
              InetAddress ipAddr;
              SendStream sendStream;
              int port;
              for (int i = 0; i < pbss.length; i++){
              try{
                        rtpMgrs[i] = RTPManager.newInstance();     
                        port = portBase + 2*i;
                        ipAddr = InetAddress.getByName(ipAddress);
                        localAddr = new SessionAddress(InetAddress.getLocalHost(),port);
                        destAddr = new SessionAddress(ipAddr,port);
                        rtpMgrs[i].initialize(localAddr); *****
                        rtpMgrs[i].addTarget(destAddr);
                        System.out.println("Created RTP session: " + ipAddress + "/" + port);
                        sendStream = rtpMgrs[i].createSendStream(dataOutput,i);
                        sendStream.start();
              }catch (Exception e){
                        return e.getMessage();
              return null;

  • X11 remote app and XQuartz and xterm Xt error: Can't open display: %s

    Hi
    I have Snow Leopard  (10.8.4) and XQuartz on it I need to run X11 remote app on redhat.
    On local host echo $DISPLAY shows /tmp/launch-d33HNb/org.macosforge.xquartz:0
    When i do ssh -X (or -Y) [email protected] and try to run xterm i got:
    xterm Xt error: Can't open display: %s
    xterm:  DISPLAY is not set
    the sshd_config on remote host has
    cat /etc/ssh/sshd_config | grep X11
    #X11Forwarding no
    X11Forwarding yes
    X11DisplayOffset 10
    #X11UseLocalhost yes
    Question is do i need to set up DISPLAY variable on remote host?
    If yes which display number do i choose?
    if i do export DISPLAY=<my mac ip>:10.0 or export DISPLAY=<my mac ip>:0.0
    i still have message xterm Xt error: Can't open display: %s
    Maybe this will help also
    ssh -v -v -Y [email protected]
    OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012
    debug1: Reading configuration data /etc/ssh_config
    debug1: /etc/ssh_config line 20: Applying options for *
    debug1: /etc/ssh_config line 53: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to 172.20.0.12 [172.20.0.12] port 22.
    debug1: Connection established.
    debug1: permanently_set_uid: 0/0
    debug1: identity file /var/root/.ssh/id_rsa type -1
    debug1: identity file /var/root/.ssh/id_rsa-cert type -1
    debug1: identity file /var/root/.ssh/id_dsa type -1
    debug1: identity file /var/root/.ssh/id_dsa-cert type -1
    debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
    debug1: match: OpenSSH_4.3 pat OpenSSH_4*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.9
    debug2: fd 3 setting O_NONBLOCK
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie- hellman-group14-sha1,diffie-hellman-group1-sha1
    debug2: kex_parse_kexinit: [email protected],[email protected],ssh-rsa,[email protected],[email protected],ssh-dss
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,[email protected],zlib
    debug2: kex_parse_kexinit: none,[email protected],zlib
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-g roup1-sha1
    debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
    debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
    debug2: kex_parse_kexinit: none,[email protected]
    debug2: kex_parse_kexinit: none,[email protected]
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit:
    debug2: kex_parse_kexinit: first_kex_follows 0
    debug2: kex_parse_kexinit: reserved 0
    debug2: mac_setup: found hmac-md5
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug2: mac_setup: found hmac-md5
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug2: dh_gen_key: priv key bits set: 110/256
    debug2: bits set: 492/1024
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Server host key: RSA 92:ac:c2:7b:1e:ba:6b:62:9b:32:3e:14:c6:87:a7:59
    debug1: Host '172.20.0.12' is known and matches the RSA host key.
    debug1: Found key in /var/root/.ssh/known_hosts:2
    debug2: bits set: 524/1024
    debug1: ssh_rsa_verify: signature correct
    debug2: kex_derive_keys
    debug2: set_newkeys: mode 1
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug2: set_newkeys: mode 0
    debug1: SSH2_MSG_NEWKEYS received
    debug1: Roaming not allowed by server
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug2: service_accept: ssh-userauth
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug2: key: /var/root/.ssh/id_rsa (0x0)
    debug2: key: /var/root/.ssh/id_dsa (0x0)
    debug1: Authentications that can continue: publickey,gssapi-with-mic,password
    debug1: Next authentication method: publickey
    debug1: Trying private key: /var/root/.ssh/id_rsa
    debug1: Trying private key: /var/root/.ssh/id_dsa
    debug2: we did not send a packet, disable method
    debug1: Next authentication method: password
    [email protected]'s password:
    debug2: we sent a password packet, wait for reply
    debug1: Authentication succeeded (password).
    Authenticated to 172.20.0.12 ([172.20.0.12]:22).
    debug1: channel 0: new [client-session]
    debug2: channel 0: send open
    debug1: Entering interactive session.
    debug2: callback start
    debug2: client_session2_setup: id 0
    debug2: fd 3 setting TCP_NODELAY
    debug2: channel 0: request pty-req confirm 1
    debug1: Sending environment.
    debug2: channel 0: request shell confirm 1
    debug2: callback done
    debug2: channel 0: open confirm rwindow 0 rmax 32768
    debug2: channel_input_status_confirm: type 99 id 0
    debug2: PTY allocation request accepted on channel 0
    debug2: channel 0: rcvd adjust 2097152
    debug2: channel_input_status_confirm: type 99 id 0
    debug2: shell request accepted on channel 0
    Last login: Thu Jun  6 09:12:43 2013 from 172.20.0.17
    [root@npecdp01 ~]#

    Jeffrey Jones2 wrote:
    I'm always looking for new tricks of the trade.
    I remember now why I originally changed the ssh config file. Here is another trick: In a text editor, type
    ssh://[email protected]
    making the obvious substitutions. Select the line and drag it to the Desktop. It will create an inetloc file that, when double-clicked, opens a Terminal window and connects to the ssh session. I have several of these in my Dock.
    That is a neat trick. However, with LaunchPad I'm not much of a Finder double-clicker anymore. What is interesting is that the OS knows how to handle the ssh protocol. You can also type "open ssh://[email protected]" for the same effect. That may not seem like much of a gain, but it reveals some interesting OS-level possibilities.
    With an RSA key, I don't even need a password
    You can use the newer DSA keys. There is another neat trick too. Pretty much every set of instructions I've seen online suggests using an empty private key password because running ssh-agent is such a hassle on Linux. It is built-in to OS X. So, on OS X, you can create more secure DSA private keys with pass phrases that are stored (and encrypted) in your keychain. You only have to supply the Then, even if someone gets your private keys, they get nothing.

  • Xclock Error: Can't open display: - after upgrading to openSSH 5.2p1

    I have got two servers apssvrX and apssvrZ on OEL. Both were built by the same team using their standard build scripts.
    Having received the servers I had installed Oracle (ODI) product on it successfully.
    Then as a part of requirement and as per Oracle support's advise, I had upgraded the ssh version on apssvrX server from OpenSSH_4.3p2 To OpenSSH_5.2p1, so that, I can implement the chroot jailing.
    As per Oracle advise, I had downloaded the 3 RPMs from "_http://layer1.rack911.com/openssh/rhel5/x86_64/" to run them on my first server i.e., apssvrX and then configured the sshd services following the below steps:
    a) Modify /etc/ssh/sshd_config to comment the below line:
    #Subsystem sftp /usr/libexec/openssh/sftp-server
    b) Add below lines:
    Subsystem sftp internal-sftp
    Match Group sftponly
    ChrootDirectory %h
    X11Forwarding no
    AllowTcpForwarding no
    ForceCommand internal-sftp
    Then lastly, Restart sshd services complete the configuration
    # /etc/init.d/sshd restart
    apssvrX server current details are as below:
    apssvrX$ uname -a
    Linux apssvrX 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    apssvrX$ ssh -V
    OpenSSH_5.2p1, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
    My problems started from this point onwards. I want to install another Oracle product using OUI, but when I try to execute xclock using the Exceed HummingBird tool on apssvrX server then it fails with the error - (xclock) Error: Can't open display:
    I tried the DISPLAY variable setup as well but to no use.
    Whereas I can successfully execute the xclock on apssvrZ and OUI as well. Its config details are as below:
    apssvrZ$ uname -a
    Linux apssvrZ 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    apssvrZ$ ssh -V
    OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
    Please advise the way forward.

    Tried but still same error.
    Affected servers's sshd_config is as below:
    [root@apssvrX]# cat /etc/ssh/sshd_config
    # $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $
    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.
    # This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options change a
    # default value.
    #Port 22
    Protocol 2
    Protocol 2
    #AddressFamily any
    #ListenAddress 0.0.0.0
    #ListenAddress ::
    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key
    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 1h
    #ServerKeyBits 768
    # Logging
    # obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    SyslogFacility AUTHPRIV
    #LogLevel INFO
    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin without-password
    #StrictModes yes
    #MaxAuthTries 6
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    #AuthorizedKeysFile .ssh/authorized_keys
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no
    PasswordAuthentication yes
    # Change to no to disable s/key passwords
    #ChallengeResponseAuthentication yes
    ChallengeResponseAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    #KerberosGetAFSToken no
    # GSSAPI options
    #GSSAPIAuthentication no
    GSSAPIAuthentication yes
    #GSSAPICleanupCredentials yes
    GSSAPICleanupCredentials yes
    # Set this to 'yes' to enable PAM authentication, account processing,
    # and session processing. If this is enabled, PAM authentication will
    # be allowed through the ChallengeResponseAuthentication mechanism.
    # Depending on your PAM configuration, this may bypass the setting of
    # PasswordAuthentication, PermitEmptyPasswords, and
    # "PermitRootLogin without-password". If you just want the PAM account and
    # session checks to run without PAM authentication, then enable this but set
    # ChallengeResponseAuthentication=no
    #UsePAM no
    UsePAM yes
    # Accept locale-related environment variables
    AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
    AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
    AcceptEnv LC_IDENTIFICATION LC_ALL
    #AllowTcpForwarding yes
    #GatewayPorts no
    #X11Forwarding no
    X11Forwarding yes
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    #PrintMotd yes
    #PrintLastLog yes
    #TCPKeepAlive yes
    #UseLogin no
    #UsePrivilegeSeparation yes
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #ShowPatchLevel no
    #UseDNS yes
    #PidFile /var/run/sshd.pid
    #MaxStartups 10
    #PermitTunnel no
    # no default banner path
    #Banner /some/path
    # override default of no subsystems
    Subsystem sftp /usr/libexec/openssh/sftp-server
    ## Commented the sftp jailing configuration
    ##Subsystem sftp internal-sftp
    ##Match Group sftponly
    ## ChrootDirectory %h
    ## X11Forwarding no
    ## AllowTcpForwarding no
    ## ForceCommand internal-sftp

  • Xterm: Xt error: Can't open display: xterm: DISPLAY is not set

    Hello, I am completely new to networking/systems. I have been asked to complete an open flow tutorial ( http://www.openflow.org/wk/index.php/OpenFlow_Tutorial ) I have fininshed a part of the tutorial and when i used "ssh -X [email protected]**.*", I was able to log in successfully but when i type in Xterm, it says "xterm: Xt error: Can't open display: xterm: DISPLAY is not set". I have downloaded virtual box, XQuartz and an ovf file as given in teh tutorial. I don't know what the problem is. Can someone please guide me through this? Thank you so much!

    I didn't quite understand what you were saying but when i typed "ssh -Y ..." this is what happened:
    mobile-172-16-103-167:~ mininet$ ssh -Y [email protected]
    Password:
    Last login: Sat May 18 20:25:50 2013 from 192.168.56.1
    mobile-172-16-103-167:~ mininet$
    ssh -X and ssh -Y do essentially the same thing. -Y is just less restrictive on X11 return traffic authority (basically it tells the local X11 display server that you trust the remote system sending X11 traffic to it).
    Now what you are display seems strange.  You prompt implies that your current system's IP address is 172.16.103.167 and you are ssh'ing to 192.168.56.1.  You get a password prompt as expected, but then the "Last Login" messages says you are coming from 192.168.56.1, which is should be where you are coming, but that it the address you are trying to ssh to.  And then to top it off, you command line prompt has not changed.
    So I'm wondering if 192.168.56.1 is the same system you are currently using, but just a different account on that system?
    Is this true?
    Also your prompt implies you were logged into the 'mininet' account when you issued the ssh -Y command to login to the 'mininet' account on 192.168.56.1.
    Or is it possible that you are loosing track of which system and account you are current remotely logged into?

  • Adobe photoshop lightroom won't install on my Mac - error can not open file

    Adobe Photoshop Lightroom4 will not install on my Mac. "Error can not open file" when trying to open will installer. If I cannot get it to work I would like to return product.

    What version of Mac OS are you using?  What is the exact name of the file which you are double clicking on?  If you right click on the file and select Get Info what does it state under the Open With section?

  • Error : "Can't open boot_archive"

    Hello, I am having an issue with a SUN FIRE V240 (SOLARIS 10).
    The server doesn't boot, normally , first we had a file system error (bellow) and now we have an other error message "Can't open boot_archive"
    ====================+FIRST ERROR MESSAGES+===================================================
    Unable to repair the / filesystem. Run fsck manually
    (fsck -F ufs /dev/md/rdsk/d400).
    ====================================================================================
    1) i tried to repair manually the disc with "fsck -F ufs /dev/md/rdsk/d400" , but I wasn't able to run fsck
    2) I decided to boot the server with the solaris dvd
    "boot cdrom -s" to try to repair the mirror "fsck -F ufs /dev/rdsk/c0t0d0s0" but I couldn't.
    3) So I have decided to restore the root from the most recent backup tape that I have
    4)I have mounted the root and all the other partitions from /a/etc/vfstab & /a/etc/system"
    5) I have tried to update the boot archive but it didn't work and I had this error message *"not a boot archive based Solaris instance"*
    6) Then I have reboot the server and since I see this two errors *"Can't open boot_archive" et "The file just loaded does not appear to be executable"*
    =================the error that I see everytime the server boot===============================================
    *"Can't open boot_archive" et "The file just loaded does not appear to be executable"*
    I would appreciate any help

    Have you tried to boot the system from OBP with the following command: boot -F failsafe

  • AIR 16.0 Error: can't open -non_global_symbols_no_strip_list file: ......aot/lib/local_nostrip.arm-air.txt

    When package app with the new AIR 16.0 build 245 and ANE, the following error occur.
    ld: Error: can't open -non_global_symbols_no_strip_list file: ......aot/lib/local_nostrip.arm-air.txt

    Hi DigiCrafts,
    It seems you are doing something wrong at your end. I have used the swf and ane provided by you and I am able to create an ipa. For your reference I am pasting the command I Used.
    ~/archive_air_16.0_with_asc2_drm_sdk/bin/adt -package -target ipa-app-store -provisioning-profile <abcd.mobileprovision> -storetype pkcs12 -keystore <abcd.p12> -storepass <password> Temp.ipa app.xml ShipSim.swf -extdir /Users/abhisek/Downloads/ane-error/bin/

  • Server 280R is showing the error  can't open PAM library

    Hello Guys,
    Please help me to overcome this error .server is showing the error can't open the PAM library contact system administrator.i heard that i have to install one package to fix this problem that package is SUNnspr.but this package i am not getting any where from sun site .so kindly any body can help me what to do now.shall i install the os again or any other process is there.and the server is also not booting.
    Its very urgent

    Try searching for SUNWnspr in your Solaris CDs / DVD. Its there. Once you find it, use pkgadd to install the package and if you have access to sunsolve, apply the latest nspr patch (I think this patch available for SunOS 5.8 in patch 119209-11, for SunOS 5.9 in patch 119211-11, for SunOS 5.10 in patch 119213-11, for SunOS 5.9_x86 in patch 119212-11, for SunOS 5.10_x86 in patch 119214-11).

  • Server0 not starting; ERROR = Can't open property file

    Hi,
    I have installed SAP EP 6.0 and it was working fine till yesterday.
    But now when I am trying to open the Portal (http://hostname:50000/irj) it says Page cannot be displayed.
    Also when I try to login to Visual Admin I get this error message:-
    Unable to lookup connection Default http://sbdep:8101/msgserver/text/logon returned empty list of connection parameters
    I restarted the EP instance (not rebooted) and the JC00 and SCS01 have started normally,but portal is till not UP.
    Have found the following details in the logs:-
    dev_jcontrol :-
    [Thr 47609482135840] *** ERROR => Can't open property file [/usr/sap/EPD/JC00/SDM/program/config/sdm_jstartup.properties] [jstartxx_mt. 1952]
    [Thr 47609482135840] *** ERROR => JStartupReadArgumentsEx: can't enumerate nodes [/usr/sap/EPD/JC00/j2ee/cluster/instance.properties:/usr/sap/EPD/JC00/SDM/program/config/sdm_jstartup.properties] (rc = -1) [jstartxx_mt. 524]
    Kindly suggest where cud be the issue and how do I proceed.
    Rgds,
    Abhijeet

    Hi,
    - I think firstly, you need to ensure following files is restored or available as per location
    1. instance.properties file
    2. sdm_jstartup.properties file
    and restart instance
    - check if any profile changes
    Regards,
    Vincent

  • Quicktime-no sound & Broadcaster Error - Can't Open Handler (-2004)

    Greetings - I made the following post in the Tiger forum and after 3 days have received no response. Hopefully I'll have better luck here. Thanks in advance.
    10.4.7
    MacbookPro Intel Core Duo
    Suddenly some problems.
    My Fireworks 8 will no longer open. I get a Macromedia error pop-up stating "A problem was detected with your application. Please reinstall software to correct the problem."
    So I reinstall.
    Same problem! Reinstallation does not fix.
    Also, I now have no sound with Quicktime. All other system sounds are fine, DVD player, sound applications like Peak. But Quicktime is silent.
    Lastly - my Quicktime Broadcaster is no longer working.
    Video is no longer appearing in the source preview. (although I can confirm that the camera is working when I click on options for "built in iSight." I DO see video in the "Video Adjustments" window.
    Futhermore, if I click on "broadcast" I get this error "Broadcaster Error - Can't Open Handler (-2004)
    Argghhh.
    Any suggestions for me?
    Thanks!

    I doubt it is corrupt you could try to delete it but that will probably cause a problem with QT. What is the turn of events that took you to the registry?
    This is a permissions issue. What account originally installed QT? Are you an administrator account? You need to take Full Control or Ownership of the item in the registry or QT with a administrator account. Whatever account you're using, now, either is not an administrator account or it is being denied permissions. At worse I would think you might have to create another administrator account to take ownership and full control. There are at least 2 on the computer now.

  • Error can't open display after reboot

    Hi,
    I encounter this problem :
    I just install SSGD 4.2 on Solaris 10 01/06 T2000 server. After installation I can connect to the SSGD using browser from my notebook, and can try the various demo (dtterm, xclock etc)
    I reboot the Solaris 10 OS.
    After reboot I tried to login again via browser in my notebook and try to run the various demo.
    I can login, but almost all the demo failed to execute, the X applications give error "can't open display:" with no hostname following the error.
    The only demo still runs is the vt420 demo
    Anybody can help me to point out what causes the problem ? I am trying to demo this SSGD software to a customer.
    Regards
    Adrianus B. Kurnadi

    I've noticed this as well, under Solaris 10 FCS, Solaris 10 U1, and Solaris Express nv_39.
    However, I have tried it out under S8 02/04, and S9 09/04 and I do not have this problem after rebooting the host at all.
    For the hell of it, I (rather badly) converted the S89/S90 startup scripts to be SMF manifests with S90Tarantella having a dependancy on tS89TarantellaWebServer as I thought perhaps there was a strange issue with the tta process starting before the web service had fully started (beats me why it would matter, ends up it didn't) - as my test S10 host is a slow Netra T1.
    I'd be interested to know what the difference is between it being started up via an rc2.d script and the root user logging into the system console running /opt/tarantella/bin/tarantella start. I haven't even bothered starting to try to observe the environment differences between startup via SMF in S10 and init.d in S8.
    </2.2c>
    Andrew

Maybe you are looking for

  • ORA-12203 error in Forms6i, after installing 10g local DB

    Hello, I have a configuration with multiples Oracle_Homes as I use Disco R4, Forms6i, Forms 10g, and sqlplus. I had no problem when I used a local 9i DB. All worked fine. When I had the 9i DB, I decided to set a TNS_ADMIN variable and only use one ve

  • Keynote Exports to iPod

    I have posteed this to Keynote Feedback, but maybe someone else has an answer: I'm not sure if this is a Keynote problem or an iPod problem, but when exporting a Keynote 08 with narration (either through GarageBand or iTunes), the final m4v file won'

  • Name change and server 2012 R2

    Hi, I try to deploy Windows Server 2012 R2 with mdt 2013, but the problem is that when mdt ask me the name of the computer, I put the name I want (the object name that i put aleready exist in AD, but for some raison he do not change the name and I am

  • Window.orientation for web overlay content

    It appears that in DPS, window.orientation method doen't work - it always returns 0. Is there any alternative, how to get device initial orientation?

  • Dot1q trunk from single switch to multiple switches

    Hi, Hope you can help please ! I have a single switch with 6 vlans and one trunk port at the main site  This has to connect to a 3 separate locations each with its own switch with a trunked port via a microwave network. I have run it in packet tracer