Re: How to purge FTP log file

You need to stop the ftpd process.But why is the process always present ?

Doing ftp all the time or is the timeout set on service ftp put on a very high value ? If you set the timeout e.g. to 5 minutes the process will stop without intervention when there is no activity during 5 minutes.

Re: How to purge FTP log file

If the FTP server component is defined and started, this log-file will be created and as long as the server is running, the file will be locked. Under quiet circumstances the server won't do anything but listening to port 21.

To purge the logs you have to stop the server - UCX$FTPD. There is no way around it.

Re: How to purge FTP log file

Hi,

Seems that ftp clients can hang on this and previous versions of UCX. I see such hangs when I try to ftp from a linux system to an VMS 6.2 UCX V4.1 - ECO 4 (from VMS to linux works properly).Also some other services tends to not see when the network partner exited.You can stop these processes (first see if they are enough "old" issuing a SHOW PROCESS/ID= /ACCOUNTING command).

Stoping FTPD on the V4.1 causes also the clients to abort with a:421 Service not availableerror. Next ftp session will reestablish the FTPD process. But all clients (FTPC) must be also stoped, because the new FTPD create clients with numbers in sequence and when encouters a process with an equal name the client dies with:530 Failed to create child process. Login rejected.So be careful when stoping processes.

Re: How to purge FTP log file

Hello Biessy,from me Welcom to VMS :-)

Who is your client? I guess some your client has activate keepalive functionality so server never die.To workaround keepalive you must set time out less little than keepalive refresh time; you can try with a very little value than increase it until server never die.