Problem starting the jBase Telnetd Server

448 views
Skip to first unread message

alvinpaul

unread,
Oct 27, 2005, 12:01:36 AM10/27/05
to jBASE
Hi,

Has anyone encountered this problem? When I start the jBase Telnetd
Server it shows me this error:

"
Could not start the jBASE Telnetd Server service on Local Computer

Error: 1067 the process terminated unexpectedly
"

We are encountering this problem in several of our laptops which has
different configurations and installation.

Regards,
Alvin

j...@cexp.com

unread,
Oct 27, 2005, 12:08:40 AM10/27/05
to jB...@googlegroups.com
Alvin

Try this from a command prompt:

>jservcontrol telnet remove
>jservcontrol -s auto -p telnet C:\JBASE30\telnet\telnetd.exe telnet install

Then try starting the service.

Jim Young

alvinpaul

unread,
Oct 27, 2005, 3:04:40 AM10/27/05
to jBASE
Hi Jim,

I tried this:

jservcontrol telnet remove
jservcontrol -s auto -p D:\Database\JBASE40\telnet\telnetd.exe telnet
install

and the problem still persists...

Rick Weiser

unread,
Oct 27, 2005, 1:30:10 PM10/27/05
to jBASE
Alvin,

Try changing the telnet port from 23 to something else. In the
services file add the following line:

jtelnet ###/tcp jbase #jBASE telnet port

Where ###/tcp is the new tcp port you want to use. I have found that
using 223/tcp works fine.

You will need to stop the jBASE telnet service and restart and of
course change all of your emulators to reflect the port.

Hope this helps,

Rick

Jim Idle

unread,
Oct 27, 2005, 2:27:19 PM10/27/05
to jB...@googlegroups.com
Do you have another telnet server installed on the same system?
UniVerse? Windows built-in?

Jim

jeff lawson

unread,
Oct 27, 2005, 2:40:12 PM10/27/05
to jB...@googlegroups.com
I have seen the same behavior with a "firewall gone mad" or another process of some kind listening on port 23...

Try using the netstat command to verify that nothing else is on 23...especially if you can start it on a different port as Rick suggested above.

Jeff

Kannan gmail

unread,
Oct 28, 2005, 2:03:13 AM10/28/05
to jB...@googlegroups.com
Hi Alvin,

If you are on Windows XP with service pack 2, check whether you have the
permission for telnet.

-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com]On Behalf Of
alvinpaul

alvinpaul

unread,
Oct 28, 2005, 5:27:08 AM10/28/05
to jBASE
Hi Jim,

Yes, I have Universe but it is not running. Previously, I can run it
without any problems. I haven't installed any other software since
then, except for Windows Hotfixes...

Regards,
Alvin

alvinpaul

unread,
Oct 28, 2005, 5:30:07 AM10/28/05
to jBASE
Hi Jeff,

There is nothing running on port 23. What I dont understand is, when I
try to run the Universe Telnet Service, it is working fine. But when I
start running the jBASE Telnet service, this problem occurs...

Regards,
Alvin

alvinpaul

unread,
Oct 28, 2005, 5:33:03 AM10/28/05
to jBASE
When I installed jBASE on this machine, I am already using Service Pack
2 and it was working fine. It just happened one day when I try to start
the service.

alvinpaul

unread,
Oct 28, 2005, 5:43:01 AM10/28/05
to jBASE
Hi Rick,

Where can i find this jtelnet program? It doesn't seem to exist in my
bin and telnet folder?

Regards,
Alvin

jeff lawson

unread,
Oct 28, 2005, 11:05:28 AM10/28/05
to jB...@googlegroups.com
Alvin,

You wouldn't have happened to install Security Update 902400 for 2003 and XP?  That one caused 2 of our clients to go down (UniVerse and jBASE).  I think it was because of the link between jBASE and COM+, but not sure.  We had to explicitely grant the local SYSTEM account Full Control with NTFS security on the drive jBASE is installed, and the drive your data accounts are created on.  I had to make it replace all existing permissions by using the advanced tab in Security...

UniVerse Telnet started, but aborted when a user authenticated, while the jBASE Telnetd would not even start...

Jeff

Rick Weiser

unread,
Oct 28, 2005, 1:48:54 PM10/28/05
to jBASE
Alvin,

By default jBase uses port 23 as does Universe. You will need to
change either Universe or jBASE to use a different port. I have
already explained what you need to do change the jBASE port. As for
Universe, I think you can use the UV admin to change this.

You will need to change on of these or the jBASE telnet won't work.

Rick

alvinpaul

unread,
Oct 31, 2005, 5:11:19 AM10/31/05
to jBASE
Hi Jeff,

All of us who encountered this problem installed Security Update 902400
for XP. Thanks for the info =)

Alvin

Sandijs Mednis

unread,
Dec 5, 2005, 1:40:29 PM12/5/05
to jB...@googlegroups.com
Hi Alvin,
 
Have you solved this problem then?
 
I have a slimilar situation with my laptop (Win XP, jBase 4.1.4.16, SP 2 installed). I uninstalled the Security Update 902400 but the problem still exists. The Windows event log contains error messages which sound something like this: "cannot open port for telnet, try adding telnet to the \winnt\system32\drivers\...\services".
I also tried out solutions sugested by Jim Young and Rick Weiser but with no success.
 
Looking for a solution,
Sandy
 

Steve Haley

unread,
Dec 7, 2005, 8:48:20 AM12/7/05
to jBASE
We have a machine that has the problem also. (Win XP, jbase 3.4)

The services file seems to be okay (replaced it with one from a working
machine, just in case).

Interestingly, it is not just jBase - if I do a :

telnet some.mail.server pop3
on the broken machine, it fails (telnet some.mail.server 110
works)

on another machine w/902400, that command succeeds.

Anyone have any other thoughts? A MSN messenger update happened on
the machine in question at the date of failure. That has been removed,
with no help.

Steve
CMI

Sandijs Mednis

unread,
Dec 8, 2005, 2:34:54 PM12/8/05
to jB...@googlegroups.com
Here are exact messages from Event Viewer:
1. Source: jBASE Telnetd Server; Description: jBASE Telnetd Server 3.6.9.1. starting (using 6 desktops)
2. Source: jBASE Telnetd Server; Description: Cannot find port number for service jtelnet; error code = 11004 Try adding ' telnet' to \WINNT\SYSTEM32\DRIVERS\ETC\SERVICES
3. Source: jBASE Telnetd Server; Description: Failed to initialize "telnet" TCP service
 
Sandy
 

Steve Haley

unread,
Jan 5, 2006, 2:18:19 PM1/5/06
to jBASE

Hi all -

If anyone else is still having this trouble (cannot start jbase
Telnet server due to 'cannot find telnet in services file'), here is
the solution I found: It appears that MSN Messager changes a registry
value from REG_EXPAND_SZ to REG_SZ. It should be REG_EXPAND_SZ.

Steve
CMI

----


MSN Messenger 7.5,Connection Troubleshooter

Reason and Prerequisites
The reason for this malfunction is, that the datatype of the registry
value

HKLM\System\CurrentControlSet\Services\TCPIP\Param
eters\DatabasePath

was changed from REG_EXPAND_SZ to REG_SZ.


The following programs are currently known to cause this registry
change:

Starting MSN Messenger 7.5 "Connection Troubleshooter" (Build
7.5.0299).
Installation of MSN Messenger 7.0 or MSN Messenger 7.5 with the option
autom
atic scanning and configuration of ports.
This modification prevents the expansion of environment variables in
the val
ue of the parameter. Therefore,

%SystemRoot%\system32\drivers\etc

is not translated to

c:\windows\system32\drivers\etc

and the services database is not found by the API function
getservbyname().

Doug Chanco

unread,
Jan 5, 2006, 5:07:51 PM1/5/06
to jB...@googlegroups.com
I may be broadcasting my windows ignorance BUT what in the world does
msn messenger have to do with a telent server working or why does msn
messenger modify a registry setting that causes a telnet server to quit
working?

the more of these threads I see, the more I wonder why people would use
windows as a jBase server versus Linux/unix (not that I want to start a
windows vs linux war) but I am curious .......

dougc

Clif Bristol

unread,
Jan 5, 2006, 5:15:34 PM1/5/06
to jB...@googlegroups.com
In my case the decision to use windows was not a technical but a marketing/managment decision. Enough said?

-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com]On Behalf Of
Doug Chanco
Sent: Thursday, January 05, 2006 2:08 PM
To: jB...@googlegroups.com
Subject: Re: Problem starting the jBase Telnetd Server

David Grenfell

unread,
Jan 5, 2006, 5:22:36 PM1/5/06
to jB...@googlegroups.com

Steve:

You should be getting lots of cheques in the mail for this one. I am
certainly filing your findings under "jbase tech" in my mail system.

Dave


GRENDATA COMPUTER SYSTEMS Win 2000 server, Build 2195, Service Pack 4
DAVID GRENFELL jBase is Major 3.4 , Minor 6
, Patch 0304

Kevin Bilbee

unread,
Jan 5, 2006, 5:25:53 PM1/5/06
to jB...@googlegroups.com
>From the looks of the fix it has Messenger has nothing to do with telnet but
looks like it hoses the TCP/IP configuration and expansion of environment
variables.

Why would someone install MS Messenger on a server anyway?

Kevin Bilbee

Simon Verona

unread,
Jan 5, 2006, 5:36:56 PM1/5/06
to jB...@googlegroups.com
I've never found Windows a difficult medium for deliverying jBase on.
Certainly, whilst Microsoft have the habit of "breaking" some things from
time to time in the name of security patches or the like, I don't think this
compares to some of the hell I recall getting a linux system up and running
(though I understand that this is much easier than when I last looked!).

At the end of the day, it's what you get used to. I'm used to working
with Windows and so don't have a problem. You certainly - for example -
don't run msn messenger on a production Windows server running jBase!

Regards
Simon

=======================================
Simon Verona
Dealer Management Services Ltd
Stewart House
Centurion Office Park
Julian Way
Sheffield
S9 1GD

Email: si...@dmservices.co.uk
Tel: 0870 080 2300
Fax: 0870 169 6747

-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of
Doug Chanco
Sent: 05 January 2006 22:08
To: jB...@googlegroups.com
Subject: Re: Problem starting the jBase Telnetd Server

Jim Idle

unread,
Jan 9, 2006, 2:20:22 PM1/9/06
to jB...@googlegroups.com
To expand (ho ho ho), it looks like there is a bug in the MSN
integration that changes the data type of a registry entry that it
should not.

This seems to affect the API functions ..byname() and this is what is
used to find out what port the telnet service is on and so on by looking
at the port mapping databse. If this database is no longer accessible,
then strange things will happen.

Jim

-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf
Of Doug Chanco

Sent: Thursday, January 05, 2006 2:08 PM

Jim Idle

unread,
Jan 9, 2006, 2:22:03 PM1/9/06
to jB...@googlegroups.com
Not environment variables, this is a data type within the register data
set. The service database allows you to find out what port a service
is/should be listening on if you already know the name, such as dns, or
telnet or jtelnet etc.

Jim


-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf

Doug Chanco

unread,
Jan 10, 2006, 12:36:48 PM1/10/06
to jB...@googlegroups.com
Jim,
if you were any smarter, they would need to create a new plant for
you, called planet of the brilliant ones .......

dougc

Richard Kann

unread,
Jan 10, 2006, 1:08:03 PM1/10/06
to jB...@googlegroups.com
And then we could do a movie based on it! And equels "Benath the planet
of....", "Conquest of the planet of....", "Return from the planet
of....", etc.

Rich Kann

Clif Bristol

unread,
Jan 10, 2006, 1:13:11 PM1/10/06
to jB...@googlegroups.com
Or maybe even the "Wrath of Kann"
Reply all
Reply to author
Forward
0 new messages