Telnet Connect To Jbase On Local Machine Using SecureCRT

953 views
Skip to first unread message

Charlie Noah

unread,
Sep 28, 2011, 10:33:17 AM9/28/11
to Jbase Google Group
I am trying to connect via SecureCRT telnet to Jbase 3.4.7 on my local XP machine using localhost. I can't use port 23 because I'm using that for D3 local. No matter what port I've tried, I get this message:

SecureCRT - Version 6.7.1 (build 188)
[LOCAL] : Stream has closed [CLOSE_TYPE_NONSPECIFIC] :
The remote system refused the connection.

or nothing at all.

For D3 I had to use hostname 127.0.0.1 instead of localhost, otherwise I got the above error. My hosts file links 127.0.0.1 to localhost, so I'm not sure what's going on there.

Per Jbase docs, I put this line in c:\windows\system32\drivers\etc\services:
jtelnet        2323/tcp                           #Jbase Telnet Service
Telnet is using port 23, as I'm sure is standard. Nothing else is set to use port 2323 in file services, and netstat  /an says nothing is using it. I tried port 24 and got the same result.

According to Control Panel > Administrative Tools > Services "jBASE Telnetd Server" is set as automatic, but it is stopped. In the Log On tab, "Log on as" is set to "Local System account". "Allow service to interact with desktop" is checked. I have tried with it unchecked, no joy.

When I tried to start the service I got this message:
Could not start the Jbase Telnetd server service on Local Computer.
Error 1067: The process terminated unexpectedly.

Does anyone know what I'm doing wrong, or not doing?

Thanks,
Charlie Noah

Simon Verona

unread,
Sep 28, 2011, 11:01:08 AM9/28/11
to jb...@googlegroups.com
Charile

What version of jBASE?

I seem to recall the jbase telnet server being controlled by a registry setting in 3.4 ..  check http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/telnet1.htm

Simon
simon.vcf

Charlie Noah

unread,
Sep 28, 2011, 11:34:24 AM9/28/11
to jb...@googlegroups.com
Hi Simon,

Jbase 3.4.7 (I thought I put that in the original post - oh well, memory's the first thing to go). Following your link, though, I think I see the problem. Jtelnetd is supported for XP Professional but not XP Home.

<soapbox>
That stinks! Why would they do that - D3 works fine from XP Home. Can D3 do something that Jbase can't (or won't)?
</soapbox>

Anyone have any ideas about how to get around that? I'm using console to access Jbase now, and that works well, but I'd like to have some of SecureCRT's capabilities available.

Thanks,
Charlie
--
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines
 
IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24
 
To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Daniel Klein

unread,
Sep 28, 2011, 11:34:43 AM9/28/11
to jb...@googlegroups.com
Charlie,

You can configure jBASE telnet on any port. See point 12 under the Customization section on this page.

Dan

Charlie Noah

unread,
Sep 28, 2011, 11:45:25 AM9/28/11
to jb...@googlegroups.com
Hi Dan,

From Simon's post, I think I see the problem. According to the link you gave, jtelnetd is supported for XP Professional but not XP Home.

Any ideas about how to get around that? I'm using console to access Jbase now, and that works well, but I'd like to have some of SecureCRT's capabilities available.

Thanks,
Charlie

Bob Rasmussen

unread,
Sep 28, 2011, 10:39:43 AM9/28/11
to Jbase Google Group
The first thing I would check would be any software firewall running on
the machine. Even when you're connecting to localhost, firewalls can block
the client and/or the server side.

You don't state what version of Windows you're running. That might be
helpful. In 2008 Server, I have seen that "localhost" won't always
resolve. I suspect some kind of security clampdown is responsible, but I
don't know for sure.

By the way, you might try our Anzio product in a similar configuration.

> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24
>
> To post, send email to jB...@googlegroups.com
> To unsubscribe, send email to jBASE-un...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
>
>

Regards,
....Bob Rasmussen, President, Rasmussen Software, Inc.

personal e-mail: r...@anzio.com
company e-mail: r...@anzio.com
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
street address: Rasmussen Software, Inc.
10240 SW Nimbus, Suite L9
Portland, OR 97223 USA

Tony Gravagno

unread,
Sep 28, 2011, 12:52:39 PM9/28/11
to jB...@googlegroups.com
Charlie, to be fair, the fact that D3 is working on XP Home is probably an accident, probably not supported.  These databases are server environments, not intended to work on "Home"-oriented PCs.  XPHome (like WindowsME before) isn't just renamed Pro release.  It's missing some network features and others which these databases need.
 
Now, personally I believe jBase is ideally suited to serve as the database behind a variety of applications for home and small business.  I think jBase could be marketed to completely new audiences with this model.  Unfortunately jBase management disagrees, and so did Pick Systems management when I pitched this to them over a decade ago.  In the mean time other offerings are gladly being positioned in this space by their providers.  *ahem*
 
Regards,
T


From: Charlie Noah
 ...  Jtelnetd is supported for XP Professional but not XP Home.

David Grenfell

unread,
Sep 28, 2011, 1:43:35 PM9/28/11
to jb...@googlegroups.com
For what its worth guys, I had a client who used XP Home on some office computers.  Every time there was an auto update, the firewall would get turned back on and prevent access to printers etc.
 
Dave

From: e09k...@sneakemail.com
To: jB...@googlegroups.com
Subject: RE: Telnet Connect To Jbase On Local Machine Using SecureCRT
Date: Wed, 28 Sep 2011 09:52:39 -0700

Charlie Noah

unread,
Sep 28, 2011, 4:20:22 PM9/28/11
to jb...@googlegroups.com
Hi Bob,

I'm running XP Home. The Jbase docs say it doesn't support jtelnetd in Home, only in Pro. I don't understand why they would limit it like that. D3 handles it just fine, from their telnet, PuTTY and SecureCRT. Oh well, if I can't get it working, I'll just keep using the console. I really don't think I want to spend $150 for another emulator. I already have a SecureCRT license, and they have made quite a few enhancements at my request.

Thanks,
Charlie

Simon

unread,
Sep 28, 2011, 4:25:58 PM9/28/11
to jb...@googlegroups.com
Does freesshd run on XP home ?

If so you could create a local ssh connection from securecrt - this will spawn a dos session on the PC, and you can launch jbase from a batch file there...

Simon

Charlie Noah

unread,
Sep 28, 2011, 4:32:15 PM9/28/11
to jb...@googlegroups.com
It's an accident I'm grateful for. Whatever Home is missing, D3 doesn't seem to need it, in this environment, at least.

Yes, Jbase is indeed suitable for many things. I do all the backend work for my online store in it. It is by far my favorite MV implementation. The other offerings appear to be just good Marketing 101 - find a need and fill it. If Temenos and Tiger Logic won't fill the need, someone else will.

Charlie
--

Charlie Noah

unread,
Sep 28, 2011, 7:21:51 PM9/28/11
to jb...@googlegroups.com
Hi Simon,

I installed freesshd and it let me connect with Jbase. Yippee! I set up a user to test with using iju. I then set a password using password. When I tried to log in it said "Login incorrect". I'm sure I did something wrong or didn't do something. I've never set up a Jbase user on Windows, having previously been in the AIX world. So close...

Charlie

Simon

unread,
Sep 29, 2011, 2:46:13 AM9/29/11
to jb...@googlegroups.com
The IJU utility sets up a file called "remote.cmd" in your chosen directory.

You need to link this up with your freesshd setup so that it is run as the shell command - I have a suspicion that it may need renaming as remote.bat rather than cmd.

I also think I found that freesshd doesn't necessarily drop you into the directory that the remote.cmd/bat file is in so I had to add a cd /mydatadirectory into the batch file.

Apart from that it works fine, except I've always had an issue with freesshd's handling of the "del" key, and also CTRL+C for breaking a program doesn't seem to do as it should - I'm sure both of these issues are solveable, I've just never tried!

Regards
Simon

Charlie Noah

unread,
Sep 29, 2011, 7:49:58 AM9/29/11
to jb...@googlegroups.com
Thanks for the tips, Simon. Is it possible that Jbase is logging in with the login name and password, finding things not to its liking when it gets logged in, then throws the Login incorrect message? I will try the things you suggest and post my results, so others might benefit from my learning experience.

Thanks,
Charlie

VK

unread,
Sep 29, 2011, 2:57:07 AM9/29/11
to jBASE
Hi,
my 2 cents.
Is it really necessary to connect to a localhost with jBASE? Just run
cmd.exe, go to your home directory, run remote.cmd and you're there.
(Might have screen a bit corrupted though.) It works under XP.

VK
> >>>>> To post, send email toj...@googlegroups.com
> >>>>> To unsubscribe, send email tojBASE-u...@googlegroups.com
> >>>>> For more options, visit this group athttp://groups.google.com/group/jBASE?hl=en

Charlie Noah

unread,
Sep 29, 2011, 10:39:25 AM9/29/11
to jb...@googlegroups.com
Hi VK,

The whole point of this is to be able to use SecureCRT. Wouldn't what you're suggesting bypass that?

Thanks,
Charlie

VK

unread,
Sep 30, 2011, 2:39:08 AM9/30/11
to jBASE
Hi Charlie,

sorry I thought that the point is just to use jBASE. If SecureCRT is
mandatory - I'd join the other people above in suggestion to use a
different port for Telnet or to use opensshd.

BR
VK

On Sep 29, 4:39 pm, Charlie Noah <cwn...@comcast.net> wrote:
> Hi VK,
> The whole point of this is to be able to use SecureCRT. Wouldn't what you're suggesting bypass that?
> Thanks,
> Charlie
> On 09-29-2011 1:57 AM, VK wrote:Hi, my 2 cents. Is it really necessary to connect to a localhost with jBASE? Just run cmd.exe, go to your home directory, run remote.cmd and you're there. (Might have screen a bit corrupted though.) It works under XP. VK On Sep 29, 8:46 am, Simon<si...@dmservices.co.uk>wrote:The IJU utility sets up a file called "remote.cmd" in your chosen directory. You need to link this up with your freesshd setup so that it is run as the shell command - I have a suspicion that it may need renaming as remote.bat rather than cmd. I also think I found that freesshd doesn't necessarily drop you into the directory that the remote.cmd/bat file is in so I had to add a cd /mydatadirectory into the batch file. Apart from that it works fine, except I've always had an issue with freesshd's handling of the "del" key, and also CTRL+C for breaking a program doesn't seem to do as it should - I'm sure both of these issues are solveable, I've just never tried! Regards Simon On 29/09/2011 00:21, Charlie Noah wrote:Hi Simon,I installed freesshd and it let me connect with Jbase. Yippee! I set up a user to test with using iju. I then set a password using password. When I tried to log in it said "Login incorrect". I'm sure I did something wrong or didn't do something. I've never set up a Jbase user on Windows, having previously been in the AIX world. So close...CharlieOn 09-28-2011 3:25 PM, Simon wrote:Does freesshd run on XP home ?If so you could create a local ssh connection from securecrt - this will spawn a dos session on the PC, and you can launch jbase from a batch file there...SimonOn 28/09/2011 21:20, Charlie Noah wrote:Hi Bob,I'm running XP Home. The Jbase docs say it doesn't support jtelnetd in Home, only in Pro. I don't understand why they would limit it like that. D3 handles it just fine, from their telnet, PuTTY and SecureCRT. Oh well, if I can't get it working, I'll just keep using the console. I really don't think I want to spend $150 for another emulator. I already have a SecureCRT license, and they have made quite a few enhancements at my request.Thanks, CharlieOn 09-28-2011 9:39 AM, Bob Rasmussen wrote:The first thing I would check would be any software firewall running on the machine. Even when you're connecting to localhost, firewalls can block the client and/or the server side.You don't state what version of Windows you're running. That might be helpful. In 2008 Server, I have seen that "localhost" won't always resolve. I suspect some kind of security clampdown is responsible, but I don't know for sure.By the way, you might try our Anzio product in a similar configuration.On Wed, 28 Sep 2011, Charlie Noah wrote:I am trying to connect via SecureCRT telnet to Jbase 3.4.7 on my local XP machine using localhost. I can't use port 23 because I'm using that for D3 local. No matter what port I've tried, I get this message:SecureCRT - Version 6.7.1 (build 188) [LOCAL] : Stream has closed [CLOSE_TYPE_NONSPECIFIC] : The remote system refused the connection.or nothing at all.For D3 I had to use hostname 127.0.0.1 instead of localhost, otherwise I got the above error. My hosts file links 127.0.0.1 to localhost, so I'm not sure what's going on there.Per Jbase docs, I put this line in c:\windows\system32\drivers\etc\services: jtelnet        2323/tcp                           #Jbase Telnet Service Telnet is using port 23, as I'm sure is standard. Nothing else is set to use port 2323 in file services, and netstat  /an says nothing is using it. I tried port 24 and got the same result.According to Control Panel>  Administrative Tools>  Services "jBASE Telnetd Server" is set as automatic, but it is stopped. In the Log On tab, "Log on as" is set to "Local System account". "Allow service to interact with desktop" is checked. I have tried with it unchecked, no joy....
>
> read more »
Reply all
Reply to author
Forward
0 new messages