Operating System - OpenVMS
1757563 Members
2872 Online
108862 Solutions
New Discussion юеВ

Re: ftp to vms box no longer succeeds

 
SOLVED
Go to solution
Willem Grooters
Honored Contributor

Re: ftp to vms box no longer succeeds

Two answers:
Stop and start FTP:

Stopping thte server:
$ @sys$startup:tcpip$ftp_shutdown

Starting the server:
$ @sys$startup:tcpip$ftp_startup

Stopping the client (never user this but you could try):
$ @sys$startup:tcpip$ftp_client_shutdown

and starting up:
$ @sys$startup:tcpip$ftp_client_startup

Logical "user":
Just an example. If you can login and access files in your home directory, it's no problem - references are Ok. But check S$S$MANAGER:SYLOGIN.COM, see if there is no redefinition or deassign of USER$DISK2 for network access (F$MODE is "NETWORK").
Willem Grooters
OpenVMS Developer & System Manager
Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

There is no file call sys$startup:tcpip$ftp_startup

Only the sys$startup:tcpip$ftp_shutdown is in there.

I do have a TCPIP$FTP_SETVER.LOG in my home directory.

Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

At the moment, it would be great if someone could tell me how I can startup the ftp server again.
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

@SYS$MANAGER:TCPIP$CONFIG

3 - Server components

5 - FTP

3 - Stop Service on this node

E - exit

5 - FTP

3 - Enable & Start service on this node

E

E

Hope this helps.

Volker.
Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

Volker,

Did not help.
Ftp server is not getting started.
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

any error messages during enable/start ? Anything in SYS$SYSDEVICE:[TCPIP$FTP]TCPIP$FTP_RUN.LOG ?

Does SHO SYS/PROC=TCPIP$F* show any processes ?

Does TCPIP SHO DEV/PORT=21 or /PORT=20 show anything ?

TCPIP SHOW SERV FTP/FULL ?

Volker.
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Does the TCPIP$FTP user account exist in SYSUAF ?

$ set def sys$system
$ mc authorize show tcpip$ftp

Volker.
Willem Grooters
Honored Contributor

Re: ftp to vms box no longer succeeds

Volker,
IIRC, that will use TCPIP$FTP_STARTUP.COM...

Carlo,
$ TCPIP SHO SERV/PORT=21/FULL should read:
Service: FTP
State: Enabled
Port: 21 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: TCPIP$FTP Process: TCPIP$FTP
Limit: 10 Active: 0 Peak: 6

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

Cheack state (enabled?) and SYS$SYSDEVICE:[TCPIP$FTP]TCPIP$FTP_RUN.LOG. It may give a clue as well.
For a further clue, take a look in Accounting:
$ acc/user=tcpip$ftp/full/since=
Look for the final status code and -text.
Willem Grooters
OpenVMS Developer & System Manager
Willem Grooters
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

Issue output of:

$ SHO LOG SYS$* /FULL
$ DIR SYS$STARTUP:TCPIP$*.COM
$ TCPIP SHO VERSION


Willem Grooters
OpenVMS Developer & System Manager
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Willem,

if TCPIP$FTP_STARTUP.COM is gone, I would have expected an error message from ENABLE+START...

Maybe it's time to restore that file from the last good backup of the system disk or copy it from another system running the SAME version of TCPIP.

Volker.