- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to purge FTP log file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2004 11:21 PM
тАО10-25-2004 11:21 PM
How to purge FTP log file
Before, in my SYS$SYSDEVICE:[UCX$FTP] directory, I have many few log files :
UCX$FTPD.LOG;15109 2 6-SEP-2004 03:47:17.11
UCX$FTPD.LOG;15108 4 6-SEP-2004 03:21:54.97
UCX$FTPD.LOG;15107 6 6-SEP-2004 03:10:06.10
UCX$FTPD.LOG;15106 4 6-SEP-2004 02:51:28.06
Now, I have only one big file :
UCX$FTPD.LOG;15110 258549 6-SEP-2004 03:59:45.37
who is locked by UCX$FTPD process.
My version ?
$ ucx sho vers
Digital TCP/IP Services for OpenVMS Alpha Version V4.2 - ECO 4
on a AlphaServer 4X00 5/533 4MB running OpenVMS V7.1-2
So, my question is : how can I come back to before, or for example, one file by day, if possible without stopping the process.
Thank's for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 12:04 AM
тАО10-26-2004 12:04 AM
Re: How to purge FTP log file
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.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 01:04 AM
тАО10-26-2004 01:04 AM
Re: How to purge FTP log file
Yes, I have many activity, but no more than before, for example, now :
$ sho sys /proc=*ftp*
OpenVMS V7.1-2 on node ADONIS 26-OCT-2004 14:44:59.03 Uptime 79 22:25:28
Pid Process Name State Pri I/O CPU Page flts Pages
2026FC66 UCX$FTPC_503683 HIB 5 320 0 00:00:00.27 759 247 N
203C4D74 UCX$FTPD LEF 9 32683651 0 02:51:51.64 289 258 N
202A7DAE UCX$FTPC_502004 HIB 5 1169 0 00:00:00.36 246 239 N
2025F9EA UCX$FTPC_449786 HIB 6 8381 0 00:00:07.71 258 272 N
202931FD UCX$FTPC_492246 HIB 6 6940 0 00:00:05.10 262 275 N
And the inactivity is already set to 5 :
$ ucx sho service ftp /FULL
Service: FTP
State: Enabled
Port: 21 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: UCX$FTP Process: UCX$FTPD
Limit: 50 Active: 7 Peak: 19
File: SYS$SYSDEVICE:[UCX$FTP]UCX$FTPD_STARTUP.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:[UCX$FTP]UCX$FTPD_STARTUP.LOG
Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
Another question, what's happend if I stop/start the FTPD process during activity with SYS$STARTUP:UCX$FTPD_SHUTDOWN.COM and UCX$FTPD_STARTUP.COM ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 02:03 AM
тАО10-26-2004 02:03 AM
Re: How to purge FTP log file
$ sho sys /proc=*ftp*
OpenVMS V7.1-2 on node ADONIS 26-OCT-2004 15:54:48.21 Uptime 79 23:35:17
Pid Process Name State Pri I/O CPU Page flts Pages
203C4D74 UCX$FTPD LEF 9 32727106 0 02:52:04.21 289 258 N
202A7DAE UCX$FTPC_502004 HIB 6 1490 0 00:00:00.43 246 239 N
2025F9EA UCX$FTPC_449786 HIB 6 8381 0 00:00:07.71 258 272 N
202931FD UCX$FTPC_492246 HIB 6 6940 0 00:00:05.10 262 275 N
So, why the client doesn't disconnect after the FTP transfert ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 03:11 AM
тАО10-26-2004 03:11 AM
Re: How to purge FTP log file
But on my 6.2 / ucx 4.2 the FTPD never dies and the client dies directly upon exit of ftp (no logical active). Strange.
In any case, stopping ftpd with stop/id (or by name) will stop the ftpd process and leaves the clients alive. It will restart on next arrival of an ftp request.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 05:23 AM
тАО10-26-2004 05:23 AM
Re: How to purge FTP log file
To purge the logs you have to stop the server - UCX$FTPD. There is no way around it.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 05:43 AM
тАО10-26-2004 05:43 AM
Re: How to purge FTP log file
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 available
error. 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.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 05:45 AM
тАО10-26-2004 05:45 AM
Re: How to purge FTP log file
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.
HTH
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 08:41 PM
тАО10-26-2004 08:41 PM
Re: How to purge FTP log file
Thank's for your reply, they help me. I don't know my clients, there are thousand computers in our computer rooms, but most are NT and Solaris.
VMS plate-form is a cluster with 2 nodes who centralize many files exchange (with FTP) between applications.
Regards.