Maintaining Files

  1. Select Maintain>Files in the J-Web user interface.

    The Files page appears. Table 259 explains the contents of this page.

    When you use an HTTPS connection in the Microsoft Internet Explorer browser to save a report from this page in the J-Web interface, the error message "Internet Explorer was not able to open the Internet site" is displayed. This problem occurs because the Cache-Control: no cache HTTP header is added on the server side and Internet Explorer does not allow you to download the encrypted file with the Cache-Control: no cache HTTP header set in the response from the server.

    As a workaround, refer to Microsoft Knowledge Base article 323308, which is available at this URL: http://support.microsoft.com/kb/323308. Also, you can alternatively use HTTP in the Internet Explorer browser or use HTTPS in the Mozilla Firefox browser to save a file from this page.

  2. Click Clean Up Files. The device rotates log files and identifies the files that can be safely deleted.

    The J-Web interface displays the files that you can delete and the amount of space that will be freed on the file system.

  3. Click one:
    • OK — Deletes the files and returns to the Files page.
    • Cancel — Cancels your entries and returns to the list of files in the directory.

Enter the information specified in Table 259 to maintain the secure router.

Table 259: Clean Up Files Maintenance Options

Field Function Action
Clean Up Files

Rotates log files

Indicates all information in the current log files is archived and fresh log files are created.

Deletes log files in /var/log

Indicates any files that are not currently being written to are deleted.

Deletes temporary files in /var/tmp

Indicates any files that have not been accessed within two days are deleted.

Deletes all crash files in /var/crash

Indicates any core files that the device has written during an error are deleted.

Deletes all software images (*.tgz files) in /var/sw/pkg

Indicates any software image copied to this directory during software upgrades are deleted.

Download and Delete Files

Log Files

Lists the log files located in the /var/log directory on the device.

The available options are:

  • Delete—Deletes files.
  • Download—Downloads files.

Select an option.

Temporary Files

Lists the temporary files located in the /var/tmp directory on the device.

The available options are:

  • Delete—Deletes files.
  • Download—Downloads files.

Select an option.

Jailed Temporary Files

Lists the jailed temporary files located in the /var/jail/tmp directory on the device.

The available options are:

  • Delete—Deletes files.
  • Download—Downloads files.

Select an option.

Old JUNOS Software

Lists the software images located in the /var/sw/pkg (*.tgz files) directory on the device.

The available options are:

  • Delete—Deletes files.
  • Download—Downloads files.

Select an option.

Crash (Core) File

Lists the core files located in the /var/crash directory on the device.

The available options are:

  • Delete—Deletes files.
  • Download—Downloads files.

Select an option.

Database Files

Lists the database files located in the /var/db directory on the device.

The available options are:

  • Delete—Deletes files.
  • Download—Downloads files.

Select an option.

Delete Backup JUNOS Package

Delete backup Junos package

Reviews the backup image information listed.

The available options are:

  • OK—Deletes the backup image and returns to the Files page.
  • Cancel—Cancels the deletion of the backup image and returns to the Files page.

Click Delete backup JUNOS package and then select an option.

Note: Delete backup option is hidden if the router is in dual-root partitioning scheme

Related Documentation