Job Management Partner 1/File Transmission Server/FTP Description, Reference and Operator's Guide
If you use the ftsutil command to change the maximum number of concurrent transmissions and then start the JP1/FTP daemon, JP1/FTP will reset (initialize) the log information to the initial status.
Depending on the amount of log information, it might take a while for the JP1/FTP daemon to start. The log information deletion tool that is associated with changing the maximum number of concurrent transmissions can be used in advance to perform this initialization processing. By using this tool before you start the JP1/FTP daemon, it will not take any extra time for the JP1/FTP daemon to start.
The log information deletion tool deletes the log files listed below. For details about the log files, see A. List of Files and Directories.
- Log file
- Protocol trace
- Module trace
- Log management information
- Organization of this section
- (1) Executing the tool
- (2) Notes
(1) Executing the tool
Tool name: ftsprestart.sh
Path: /opt/jp1_fts/lib/script
Example:
# /opt/jp1_fts/lib/script/ftsprestart.sh Is it OK to delete the log information files? y# Deletion will now start. Do not start the JP1/FTS server until deletion has ended. Deletion has ended.
- #
- To continue, enter y. If any other value is entered, the tool is canceled.
(2) Notes
- Execute this tool as a superuser.
- Make sure that the JP1/FTP daemon has terminated before you use this tool.
- Do not start the JP1/FTP daemon while the tool's deletion processing is underway.
- The deletion processing might take quite a while, depending on the sizes of the files to be deleted.
- Once this tool has executed, the deleted log information cannot be recovered. If necessary, make backups of the log files before executing the tool. For details about making a backup, see 3.7 Saving and recovering JP1/FTP settings.
All Rights Reserved. Copyright (C) 2010, Hitachi, Ltd.