Operating System - OpenVMS
1753519 Members
4196 Online
108795 Solutions
New Discussion юеВ

Re: FTP Fails to Connect (Alpha-4100)

 
SOLVED
Go to solution
Ian Miller.
Honored Contributor

Re: FTP Fails to Connect (Alpha-4100)

It looks like for ucx v4.2 the ftp service is defined so that when a incoming connection to the ftp service is recived then a ftp server process is started by creating a detached process running UCX$FTPD_STARTUP.COM

I guess it should be started by the aux server normally but you are currently running it in a interactive process.
____________________
Purely Personal Opinion
Volker Halle
Honored Contributor

Re: FTP Fails to Connect (Alpha-4100)

Vince,

it looks like there is no 'startup' procedure for FTP. The FTP service will automatically execute SYS$SYSDEVICE:[UCX$FTP]UCX$FTPD_STARTUP.COM (and create the UCX$FTPD detached process), when a connect to port 21 comes in.

You're now running FTP in a non-standard way, which may also cause unexpected problems. This detached process will probably go away after 10 minutes (timeout).

Volker.

Re: FTP Fails to Connect (Alpha-4100)

I agree and have experienced the results of
starting up in dec window. Not good.

This is what I get from windows-pc ftp:
200 PORT command successful.
425-Cannot create data socket.
425 insufficient privilege or object protection violation

If I close DEC window (of ftp-startup)and check UCX, sho service, FTP is disabled. If I - enable service ftp - updates to being enabled.

If I go back to windows pc and try ftp,
> ftp: connect :Unknown error number

also cannot ftp localhost

I feel like I am in vicious circle w/o a
reboot. I am trying to avoid if possible.
Volker Halle
Honored Contributor
Solution

Re: FTP Fails to Connect (Alpha-4100)

Vince,

looks like the UCX$FTPD_SHUTDOWN.COM at least de-installed the FTP images and cleaned up other stuff. But without a real UCX$FTP startup, you're somehow stuck.

You could try to manually execute parts of UCX$SERVICE_SETUP.COM, which are related to FTP - this may work. But the cleanest way to recover is still a reboot.

More recent versions of UCX (now called TCPIP) provide correct start and stop procedures for the various TCPIP services.

Volker.

Re: FTP Fails to Connect (Alpha-4100)

Volker,

I agree. I found a reference on this website that implies, in general and not by
UCX version, that UCX itself has to be
started and stopped as a whole. Reference
and decription below:

http://www.sysworks.com.au/disk$axpdocdec972/network/dy9maa11.p142.bkb

12.1.2 Enabling and Disabling FTP
After FTP is configured during the UCX configuration procedure, activate FTP. You can:
Enable FTP during system startup (suggested).
Enable FTP interactively with a UCX management command.
Disable FTP interactively.
Disabling the FTP Server means that it does not establish any new connections.
Enable or disable FTP in the permanent Configuration Database.

- Every time UCX is started up, FTP is enabled or disabled.
- This action does not take effect until the next UCX startup.

Thanks again,
Vince