Skip to main content



      Home
Home » Eclipse Projects » DSDP - Target Management » rse; dstore connector service; using port 0 error
rse; dstore connector service; using port 0 error [message #22227] Wed, 23 April 2008 03:21 Go to next message
Eclipse UserFriend
Originally posted by: mail05.sanderscorner.com

Hi,

I installed RSE in Eclipse and the dstore server on a Linux system.
The daemon is running at port 4075 (reachable from the workstation, can
telnet to it).
In the connector service port 4075 was defined..
Still when connecting apparently the connection is not made on port
4075, since this message appears:

Daemon failed to launch server on SUTR101 using port 0
Daemon failed to launch server on SUTR101 using port 0

Am I still missing something?

Anyone?

Sander de Boer

Eclipse 3.3.1.1, Windows
RSE eclipse side: Remote System Explorer Extender SDK v 3.0.0

RSE server rseserver-3.0M6-linux on Slackware 10.1
Using Sun's Java
# java -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
Re: rse; dstore connector service; using port 0 error [message #22354 is a reply to message #22227] Wed, 23 April 2008 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sander,

Could you tell me how you're starting the daemon on your linux system? If
you run it from a shell, can you see any output there when you try to
connect with the client?

Thanks,
Dave

"Sander" <mail05@sanderscorner.com> wrote in message
news:fumo2j$jbh$2@build.eclipse.org...
> Hi,
>
> I installed RSE in Eclipse and the dstore server on a Linux system.
> The daemon is running at port 4075 (reachable from the workstation, can
> telnet to it).
> In the connector service port 4075 was defined..
> Still when connecting apparently the connection is not made on port
> 4075, since this message appears:
>
> Daemon failed to launch server on SUTR101 using port 0
> Daemon failed to launch server on SUTR101 using port 0
>
> Am I still missing something?
>
> Anyone?
>
> Sander de Boer
>
> Eclipse 3.3.1.1, Windows
> RSE eclipse side: Remote System Explorer Extender SDK v 3.0.0
>
> RSE server rseserver-3.0M6-linux on Slackware 10.1
> Using Sun's Java
> # java -version
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
Re: rse; dstore connector service; using port 0 error [message #22477 is a reply to message #22354] Wed, 23 April 2008 17:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mail05.sanderscorner.com

David McKnight wrote:
> Hi Sander,
>
> Could you tell me how you're starting the daemon on your linux system? If
> you run it from a shell, can you see any output there when you try to
> connect with the client?
>
> Thanks,
> Dave
>

No, no messages in the console of the server.
Starting the daemon:

(516,0,0) root@sutr101 [/local/opt/rseserver]
# export PATH=/usr/local/jre1.6.0_05/bin:${PATH}
(517,0,0) root@sutr101 [/local/opt/rseserver]
# ./daemon.pl &
[1] 32487
(518,0,1) root@sutr101 [/local/opt/rseserver]
# Daemon running on: sutr101.sanderscorner.local, port: 4075

(518,0,1) root@sutr101 [/local/opt/rseserver]
#

Looked at the network traffic with tcpdump/wireshark.
The client sends the username/password.
The problem really is the authentication that fails, the message
'Authentification Failed' is there, later followd by 'unknown problem
connecting to server', both sent from the server to the client, but the
authentication failed message is not shown on the client...

Apparently the server has problems authenticating with a unix account.

Sander
Re: rse; dstore connector service; using port 0 error [message #22521 is a reply to message #22477] Wed, 23 April 2008 23:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sander,

In order to authenticate and start a server, the daemon calls the auth.pl
script. Just to make sure this is an auth thing, could you start a server
(i.e. server.pl) and connect to it directly? To do that, you'll need to
open the ServerLauncher properties page for your "files" subsystem in RSE,
specify "Connect to Running Server" and on the SubSystem property page,
specify the port that the server is started on.

Dave


"Sander" <mail05@sanderscorner.com> wrote in message
news:fuo8hg$tm8$1@build.eclipse.org...
> David McKnight wrote:
>> Hi Sander,
>>
>> Could you tell me how you're starting the daemon on your linux system?
>> If you run it from a shell, can you see any output there when you try to
>> connect with the client?
>>
>> Thanks,
>> Dave
>>
>
> No, no messages in the console of the server.
> Starting the daemon:
>
> (516,0,0) root@sutr101 [/local/opt/rseserver]
> # export PATH=/usr/local/jre1.6.0_05/bin:${PATH}
> (517,0,0) root@sutr101 [/local/opt/rseserver]
> # ./daemon.pl &
> [1] 32487
> (518,0,1) root@sutr101 [/local/opt/rseserver]
> # Daemon running on: sutr101.sanderscorner.local, port: 4075
>
> (518,0,1) root@sutr101 [/local/opt/rseserver]
> #
>
> Looked at the network traffic with tcpdump/wireshark.
> The client sends the username/password.
> The problem really is the authentication that fails, the message
> 'Authentification Failed' is there, later followd by 'unknown problem
> connecting to server', both sent from the server to the client, but the
> authentication failed message is not shown on the client...
>
> Apparently the server has problems authenticating with a unix account.
>
> Sander
Re: rse; dstore connector service; using port 0 error [message #22608 is a reply to message #22521] Thu, 24 April 2008 15:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mail05.sanderscorner.com

Thanks!

With a running server.pl and the settings you mentioned it works.

When running daemon.pl and providing the *wrong* password, a message
complaining about a wrong user id or password is displayed on the
client, so apparently it can authenticate something...

Sander


David McKnight wrote:
> Hi Sander,
>
> In order to authenticate and start a server, the daemon calls the auth.pl
> script. Just to make sure this is an auth thing, could you start a server
> (i.e. server.pl) and connect to it directly? To do that, you'll need to
> open the ServerLauncher properties page for your "files" subsystem in RSE,
> specify "Connect to Running Server" and on the SubSystem property page,
> specify the port that the server is started on.
>
> Dave
>
>
Re: rse; dstore connector service; using port 0 error [message #545189 is a reply to message #22608] Tue, 06 July 2010 22:49 Go to previous messageGo to next message
Eclipse UserFriend
# Hope someone notices this thread is re-vitalized...

I had a similar/same problem with the initial post of this thread. As David suggested,

"David McKnight" wrote in message #22521 on Wed, 23 April 2008 23:59:
> In order to authenticate and start a server, the daemon calls the auth.pl
> script. Just to make sure this is an auth thing, could you start a server
> (i.e. server.pl) and connect to it directly? To do that, you'll need to
> open the ServerLauncher properties page for your "files" subsystem in RSE,
> specify "Connect to Running Server" and on the SubSystem property page,
> specify the port that the server is started on.

I tried the same thing but still I'm having the same phenomenon. And "server.pl" failed to execute like below.

<blockquote>
[root@localhost rseserver]# ./server.pl &
[3] 2503
[root@localhost rseserver]# DStore Server Starting...
Server Started Successfully
4033
Server running on: localhost
[root@localhost rseserver]# Connection error
Server: error initializing socket: java.net.SocketTimeoutException: Accept timed out

[3]- Done ./server.pl
</blockquote>

Anyone has an idea?

I found different web site ( http://dev.eclipse.org/newslists/news.eclipse.dsdp/msg00220. html) and it suggests using Sun Java. I've tried using following 2 java and I assume at least the 1st one is Sun's java and isn't gcj, however, neither one worked.

java-1.6.0-openjdk.i586
java-1.5.0-gcj.i586

Eclipse 3.4.2
Remote System Explorer End-User Runtime 3.0.3
Linux version 2.6.29.4 (root@localhost) (gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC) ) #1 SMP Wed Aug 26 17:44:01 EDT 2009

Isaac
Re: rse; dstore connector service; using port 0 error [message #574346 is a reply to message #22227] Wed, 23 April 2008 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sander,

Could you tell me how you're starting the daemon on your linux system? If
you run it from a shell, can you see any output there when you try to
connect with the client?

Thanks,
Dave

"Sander" <mail05@sanderscorner.com> wrote in message
news:fumo2j$jbh$2@build.eclipse.org...
> Hi,
>
> I installed RSE in Eclipse and the dstore server on a Linux system.
> The daemon is running at port 4075 (reachable from the workstation, can
> telnet to it).
> In the connector service port 4075 was defined..
> Still when connecting apparently the connection is not made on port
> 4075, since this message appears:
>
> Daemon failed to launch server on SUTR101 using port 0
> Daemon failed to launch server on SUTR101 using port 0
>
> Am I still missing something?
>
> Anyone?
>
> Sander de Boer
>
> Eclipse 3.3.1.1, Windows
> RSE eclipse side: Remote System Explorer Extender SDK v 3.0.0
>
> RSE server rseserver-3.0M6-linux on Slackware 10.1
> Using Sun's Java
> # java -version
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
Re: rse; dstore connector service; using port 0 error [message #574380 is a reply to message #22354] Wed, 23 April 2008 17:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mail05.sanderscorner.com

David McKnight wrote:
> Hi Sander,
>
> Could you tell me how you're starting the daemon on your linux system? If
> you run it from a shell, can you see any output there when you try to
> connect with the client?
>
> Thanks,
> Dave
>

No, no messages in the console of the server.
Starting the daemon:

(516,0,0) root@sutr101 [/local/opt/rseserver]
# export PATH=/usr/local/jre1.6.0_05/bin:${PATH}
(517,0,0) root@sutr101 [/local/opt/rseserver]
# ./daemon.pl &
[1] 32487
(518,0,1) root@sutr101 [/local/opt/rseserver]
# Daemon running on: sutr101.sanderscorner.local, port: 4075

(518,0,1) root@sutr101 [/local/opt/rseserver]
#

Looked at the network traffic with tcpdump/wireshark.
The client sends the username/password.
The problem really is the authentication that fails, the message
'Authentification Failed' is there, later followd by 'unknown problem
connecting to server', both sent from the server to the client, but the
authentication failed message is not shown on the client...

Apparently the server has problems authenticating with a unix account.

Sander
Re: rse; dstore connector service; using port 0 error [message #574404 is a reply to message #22477] Wed, 23 April 2008 23:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sander,

In order to authenticate and start a server, the daemon calls the auth.pl
script. Just to make sure this is an auth thing, could you start a server
(i.e. server.pl) and connect to it directly? To do that, you'll need to
open the ServerLauncher properties page for your "files" subsystem in RSE,
specify "Connect to Running Server" and on the SubSystem property page,
specify the port that the server is started on.

Dave


"Sander" <mail05@sanderscorner.com> wrote in message
news:fuo8hg$tm8$1@build.eclipse.org...
> David McKnight wrote:
>> Hi Sander,
>>
>> Could you tell me how you're starting the daemon on your linux system?
>> If you run it from a shell, can you see any output there when you try to
>> connect with the client?
>>
>> Thanks,
>> Dave
>>
>
> No, no messages in the console of the server.
> Starting the daemon:
>
> (516,0,0) root@sutr101 [/local/opt/rseserver]
> # export PATH=/usr/local/jre1.6.0_05/bin:${PATH}
> (517,0,0) root@sutr101 [/local/opt/rseserver]
> # ./daemon.pl &
> [1] 32487
> (518,0,1) root@sutr101 [/local/opt/rseserver]
> # Daemon running on: sutr101.sanderscorner.local, port: 4075
>
> (518,0,1) root@sutr101 [/local/opt/rseserver]
> #
>
> Looked at the network traffic with tcpdump/wireshark.
> The client sends the username/password.
> The problem really is the authentication that fails, the message
> 'Authentification Failed' is there, later followd by 'unknown problem
> connecting to server', both sent from the server to the client, but the
> authentication failed message is not shown on the client...
>
> Apparently the server has problems authenticating with a unix account.
>
> Sander
Re: rse; dstore connector service; using port 0 error [message #574461 is a reply to message #22521] Thu, 24 April 2008 15:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mail05.sanderscorner.com

Thanks!

With a running server.pl and the settings you mentioned it works.

When running daemon.pl and providing the *wrong* password, a message
complaining about a wrong user id or password is displayed on the
client, so apparently it can authenticate something...

Sander


David McKnight wrote:
> Hi Sander,
>
> In order to authenticate and start a server, the daemon calls the auth.pl
> script. Just to make sure this is an auth thing, could you start a server
> (i.e. server.pl) and connect to it directly? To do that, you'll need to
> open the ServerLauncher properties page for your "files" subsystem in RSE,
> specify "Connect to Running Server" and on the SubSystem property page,
> specify the port that the server is started on.
>
> Dave
>
>
Re: rse; dstore connector service; using port 0 error [message #583517 is a reply to message #22608] Tue, 06 July 2010 22:49 Go to previous messageGo to next message
Eclipse UserFriend
# Hope someone notices this thread is re-vitalized...

I had a similar/same problem with the initial post of this thread. As David suggested,

"David McKnight" wrote in message #22521 on Wed, 23 April 2008 23:59:
> In order to authenticate and start a server, the daemon calls the auth.pl
> script. Just to make sure this is an auth thing, could you start a server
> (i.e. server.pl) and connect to it directly? To do that, you'll need to
> open the ServerLauncher properties page for your "files" subsystem in RSE,
> specify "Connect to Running Server" and on the SubSystem property page,
> specify the port that the server is started on.

I tried the same thing but still I'm having the same phenomenon. And "server.pl" failed to execute like below.

<blockquote>
[mailto:root@localhost rseserver]# ./server.pl &
[3] 2503
[mailto:root@localhost rseserver]# DStore Server Starting...
Server Started Successfully
4033
Server running on: localhost
[mailto:root@localhost rseserver]# Connection error
Server: error initializing socket: java.net.SocketTimeoutException: Accept timed out

[3]- Done ./server.pl
</blockquote>

Anyone has an idea?

I found different web site ( http://dev.eclipse.org/newslists/news.eclipse.dsdp/msg00220. html) and it suggests using Sun Java. I've tried using following 2 java and I assume at least the 1st one is Sun's java and isn't gcj, however, neither one worked.

java-1.6.0-openjdk.i586
java-1.5.0-gcj.i586

Eclipse 3.4.2
Remote System Explorer End-User Runtime 3.0.3
Linux version 2.6.29.4 (mailto:root@localhost) (gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC) ) #1 SMP Wed Aug 26 17:44:01 EDT 2009

Isaac
Re: rse; dstore connector service; using port 0 error [message #1807882 is a reply to message #583517] Tue, 11 June 2019 09:27 Go to previous message
Eclipse UserFriend
Hello,

I have also tried to follow the instructions. You can see my exact procedure in the videos under the following link. the terminal code for the wago instructions is also attached as a text file.

https://drive.google.com/open?id=1uv9gpyE_wVtjMx2S2ZNDbWvIwM3SFcO5

My problem is the step "A Terminal view should open as well as a Remote System Details view". There, I don't have the same output and can't connect to the wago plc.
I am grateful for any help and support.

best regards
Sezer

ubuntu 14.04 LTS

javac 1.7.0_201

Eclipse Platform
Version: 3.8.1

[Updated on: Tue, 11 June 2019 10:05] by Moderator

Previous Topic:help on SaveAs
Next Topic:RSE/TM? causes frequent hangs
Goto Forum:
  


Current Time: Wed May 07 15:32:12 EDT 2025

Powered by FUDForum. Page generated in 0.07672 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top