Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

TCPIP Services

Tim Pride
Advisor

TCPIP Services

Running TCPIP v5.4 eco6 on OVMS 7.3-2
No Services are running, FTP not but TELENET is ok.
TCPIP Config, Client and Server shows selected services enabled and started.
tcpip show service : Shows services disabled.
Sho system/network : No entries an empty list.
Started the BIND proces, but it informs that BIND has already started.
tcpip show host : all host are there.
tcpip show route : routs are correct.
try telent from other nodes - works
try FTP from other nodes ->
%TCPIP-E-FTP_NETERR, I/O error on network device
-SYSTEM-F-REJECTED, connect to network object rejected.
IS this a faulty piece of hardware, if so why does TELNET work?
DECNET functions ok.
Anybody with some ideas please ?
19 REPLIES
labadie_1
Honored Contributor

Re: TCPIP Services

You should have some more detailed info in sys$manager:operator.log (or in opc$logfile_name if this logical name has been used)

You can just do
$ reply/enable=netw
and do again a ftp from a remote site to trigger the error message.

Can you post the end of the ftp log file,
sys$sysdevice:[tcpip$ftp]tcpip$ftp_run.log

Duncan Morris
Honored Contributor

Re: TCPIP Services

Tim,

check the FTP server logfile -

Directory SYS$SYSDEVICE:[TCPIP$FTP]

TCPIP$FTP_RUN.LOG;96

and look for any errors. Also check ownership of the directory and any LOGIN.COM (including SYLOGIN) involved.

Common problems can often result from changes to SYLOGIN.COM which have not allowed for non-interactive logins (i.e doing "set term/inq").

You could also look at the accounting log to see what the final exit status of the TCPIP$FTP_1 process was.

Duncan
Hoff
Honored Contributor

Re: TCPIP Services

Probably the FTP client or FTP server needs to be started.

DECnet is unrelated to telnet and to FTP and to IP in general, though that it functions end-to-end does indicate that the controllers and driver stacks and the interstitial cloud are operational.

That telnet operates implies that TCP/IP Services itself is basically working.

For inbound telnet or FTP into a node, have the telnet or FTP server (daemon) is enabled and then restart TCP/IP Services. For outbound telnet or FTP, enable the associated client is enabled and then restart TCP/IP Services.

Do also ensure that telnet and/or FTP is started on both ends of the connection.

And once you get this all going and if you're not already familiar with and using it, see COPY/FTP; I've a write-up on that here http://64.223.189.234/node/136 and/or the details in the OpenVMS documentation set. COPY/FTP makes FTP easier to use, and easier to incorporate into DCL command procedures.
Tim Pride
Advisor

Re: TCPIP Services

Thanks for response:
TCPIP$FTP_RUN.log - just one entry as follows:

%DCL-E-OPENIN, error opening SYS$SYSROOT:[SYSMGR]INIT_JOURNAL.COM ; File exists SHO SEC :
dir : (s:rwe,o:rwe,g:re,w:re) ACL - empty
file : (s:rwe,o:rwe,g:re,w:) ACL - empty

Have tried restart of FTP makes no change, tried it by com file and via config appl.
The operator.log file has many entries : one is as follows INTERnet ACP Error durring process startup - FTP Server.
I cant post this file as FTP is us, ie internet not on my VMS network.
Heinz W Genhart
Honored Contributor

Re: TCPIP Services

Hi Tim

It's unusual, that you see the error message %DCL-E-OPENIN, error opening SYS$SYSROOT:[SYSMGR]INIT_JOURNAL.COM

Do a TCPIP SHO SERVICE FTP/FULL

There you should see the following:

Service: FTP
State: Enabled
Port: 21 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: TCPIP$FTP Process: TCPIP$FTP
Limit: 1000 Active: 0 Peak: 1

File: TCPIP$SYSTEM:TCPIP$FTP_RUN.COM
Flags: None

Socket Opts: Rcheck Scheck
Receive: 0 Send: 0

Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
File: SYS$SYSDEVICE:[TCPIP$FTP]TCPIP$FTP_RUN.LOG

Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0


The Commandfile SYS$COMMON:[SYSEXE]TCPIP$FTP_RUN.COM will executed if you start a FTP transfer. It may be that somebody changed the file for the FTP service from TCPIP$FTP_RUN.COM to SYS$SYSROOT:[SYSMGR]INIT_JOURNAL.COM, or somebody applied changes to TCPIP$FTP_RUN.COM
So first check the FTP Service and the file called by it.

Hope that helps

Regards

Geni

*** In your forum profile we can see the following:
I have assigned points to 0 of 19 responses to my questions.
It would be nice, if you can find the time to assign points to those people who helped you with their answers.........

Wim Van den Wyngaert
Honored Contributor

Re: TCPIP Services

I searched in the eco 6 files for init_journal : no entries.
I tried to set the file of ftp to init_journal.com. On 5.3 / 7.3. This resulted in a log file saying "error activating init_journal.exe (I set it to .com !!!).

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: TCPIP Services

You get DCL-EOPENIN.
Isn't there a part missing ? "as input" ?
Is it possible that someone modified the startup file to log something. It could be an open in dcl or a @init_journal.com or something like that.

Wim
Wim
Tim Pride
Advisor

Re: TCPIP Services

Hi Geni
TCPIP sho serv ftp/full gives just a few lines:
Port 21 that's ok, I know that, but :
state disabled, protocol tcp address 0.0.0.0
user name - undefined ?? process tcpip$ftp
Have tried to redefine FTP using CONFIG.
History, I have installed the system, setup DECNET and I thought TCPIP, have not changed any system files except sylogin.
labadie_1
Honored Contributor

Re: TCPIP Services

Follow the steps in this article

FTP-E-NETERR, SYSTEM-F-REJECT Errors Using Inbound FTP

http://h18000.www1.hp.com/support/asktima/communications/CHAMP_SRC960729007492.html
Tim Pride
Advisor

Re: TCPIP Services

ps.
How do I check the FTP Service and the file that is called?
Heinz W Genhart
Honored Contributor

Re: TCPIP Services

Hi Tim

it seems for me, that Ftp is not configured propperly.

If yoe enter

$ tcpip sho conf ena service

can you see FTP?

It could help to do the following (Be carefull in case this is a production machine and take care if this machine belongs to a cluster):

Remove the TCPIP$FTP Account from SYSUAF. Then use SYS$STARTUP:TCPIP$CONFIG to disable the Service ftp for the local node.
Finnaly use TCPIP$CONFIG to reenable the Service FTP. After this FTP should be configured propperly and should work.

Regards

Geni
Heinz W Genhart
Honored Contributor

Re: TCPIP Services

Hi Tim

*** How do I check the FTP Service and the file that is called? ***

$ TCPIP sho service ftp/full

on Line nr. 8 of the output you can see
File: TCPIP$SYSTEM:TCPIP$FTP_RUN.COM

If there is another file defined, then this could be your problem

Regards

Geni
Tim Pride
Advisor

Re: TCPIP Services

Hi Geni
Did user removal and the disable reenable, no difference, sho serv tcp/ip only shows 2 lines so I cannot find the file. Anyway the file exists and contains "run ftp_server.exe" but it looks as if it doesnt get called. As I said before in the config all services required are enabled started but show sys/net has zero lines and tcpip sho serv all required is disabled.
Also the INSTALL list/full tcpip$ftpc & ftpd are not found. I really dont want to re-install TCPIP, any other things I can look at?
Tim
Wim Van den Wyngaert
Honored Contributor

Re: TCPIP Services

ucx show config servi ftp

Wim
Wim
labadie_1
Honored Contributor

Re: TCPIP Services

Can you post
$ mc authorize sh tcpip$ftp
$ dir/sec sys$sysdevice:<000000>tcpip$ftp.dir
$ dir/sec sys$sysdevice:*.*;


DO you have a sys$manager:sylogin.com (or follow the logical sys$sylogin) with specific things inside ?

Can you login with the user tcpip$ftp if you change the password/acces restrictions ?
Heinz W Genhart
Honored Contributor

Re: TCPIP Services

Hi Tim

do you have a valid license for tcpip?
e.g. NET-APP-SUP-400

Regards

Geni
Tim Pride
Advisor

Re: TCPIP Services

Hi Geni,
I think so its : NET-APP-SUP-200 not 400 but does this make a difference.
tim
Tim Pride
Advisor

Re: TCPIP Services

Hi Guys,
Thanks, the problem was in the sylogin.com, there was incorrect logic and the startup/login of TCPIP services was falling in a black hole, thanks for all your help, I have gained a lot.
Tim
Tim Pride
Advisor

Re: TCPIP Services

SYLOGIN.COM Logic was corrected.
Thanks everybody.