Operating System - OpenVMS
1823057 Members
3129 Online
109645 Solutions
New Discussion юеВ

How to log FTP Server activity on OpenVMS

 
Heinz W Genhart
Honored Contributor

How to log FTP Server activity on OpenVMS

Hi

we are using OpenVMS 7.3-2 with TCPIP 5.4 ECO 4 and we would like to log the activity of a FTP server. Does anyone know how we can do this ? Are there logical names we can use to turn on and off this ?
5 REPLIES 5
Mike Reznak
Trusted Contributor

Re: How to log FTP Server activity on OpenVMS

Hi,
FTP activity should be logged ,as I believe, by default. Check $ TCPIP SHOW SERVICE FTP /FULL. You should see 'Log Opts:' and log file defined there. Log file is usually in SYS$LOGIN dir of FTP account. For TCPIP$FTP it's usually SYS$SYSDEVICE:[TCPIP$FTP] and you should find there TCPIP$FTP_RUN.LOG .
To change log_options see
$ TCPIP HELP SET SERVICE /LOG_OPTIONS

Mike
...and I think to myself, what a wonderful world ;o)
Willem Grooters
Honored Contributor

Re: How to log FTP Server activity on OpenVMS

It is already logged unless it has been set off explicitly (not recommended ;-)).
Default location is SYS$SYSDEVICE:[TCPIP$FTP]FTP_RUN.LOG. If you have enabled anonymous FTP, you will have additional separate logging in TCPIP$FTP_ANONYMOUS.LOG in the same location.
There is also a LOGIN.COM in that directory that is empty but for a single comment line. I have not tried to put anything in it but it might be possible to add specific comments in there.
Willem Grooters
OpenVMS Developer & System Manager
Arch_Muthiah
Honored Contributor

Re: How to log FTP Server activity on OpenVMS

Hi,

When you configure VMS TCPIP, the LOG files for all services will be created automatically, such as

FTP server activity log will be in
sys$manager:tcpip$ftp_server.log

Other FTP RUN activities will be available in the following file and locations...

sys$sysdevice:[TCPIP$FTP]TCPIP$FTP_ANAYMOUS.LOG
and
sys$sysdevice:[TCPIP$FTP]TCPIP$FTP_RUN.LOG

if you have TCPWare, then the all the FTP transactions occured between Client and Server will be logged in the login directory in SYS$LOGIN:FTPServer_DTP.LOG

also
you can create your own FTP log file to trace any specific activities using the following cmnd....
$ SET SERVICE FTP /LOG_OPTIONS=(FILE=SYS$SYSDEVICE:[TCPIP$FTP]myftplog.log, accept, activate, address, connetc, deactivate, error, exit_cleanup, login, logout, modify, reject)

Archunan
Regards
Archie
Arch_Muthiah
Honored Contributor

Re: How to log FTP Server activity on OpenVMS

Hi,

FTP server activity log will be in
sys$manager:tcpip$ftp_server.log
Regards
Archie
Heinz W Genhart
Honored Contributor

Re: How to log FTP Server activity on OpenVMS

The comments have been helpfull. We solved the problem. Thanks a lot

Heinz