Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:21 Go to next message
Eclipse User
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 15:46 Go to previous messageGo to next message
David McKnight is currently offline David McKnight
Messages: 244
Registered: July 2009
Senior Member
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 21:09 Go to previous messageGo to next message
Eclipse User
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] Thu, 24 April 2008 03:59 Go to previous messageGo to next message
David McKnight is currently offline David McKnight
Messages: 244
Registered: July 2009
Senior Member
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 19:35 Go to previous messageGo to next message
Eclipse User
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] Wed, 07 July 2010 02:49 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing name
Messages: 2
Registered: July 2010
Location: Palo Alto, CA
Junior Member
# 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 15:46 Go to previous messageGo to next message
David McKnight is currently offline David McKnight
Messages: 244
Registered: July 2009
Senior Member
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 21:09 Go to previous messageGo to next message
Eclipse User
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] Thu, 24 April 2008 03:59 Go to previous messageGo to next message
David McKnight is currently offline David McKnight
Messages: 244
Registered: July 2009
Senior Member
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 19:35 Go to previous messageGo to next message
Eclipse User
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] Wed, 07 July 2010 02:49 Go to previous message
Missing name Missing name is currently offline Missing name Missing name
Messages: 2
Registered: July 2010
Location: Palo Alto, CA
Junior Member
# 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


IsaacS
Previous Topic:SSH tunnel through a Bastion host ?
Next Topic:Problem with indexer (RSE/CDT)
Goto Forum:
  


Current Time: Thu Oct 02 02:23:54 GMT 2014

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

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