Compress Shares logs in Linux for delivery to Aspera

Description

Aspera support uses servers based on Faspex to receive and collect your logs. In cases when an Aspera engineer requests the logs from your Shares server running on Linux, please follow the steps below to compress the logs and send them to Aspera.

Instructions

Tar up and compress the logs

Create a compressed file (such as a zip or gz) that includes all relevant logs.

You can use a program like tar on Linux and Mac OS Xto compress your files. In the following example the gz file is named “shares-logs-backup” followed by the current date and time:

tar czvf /tmp/shares-logs-backup-`date "+%Y-%m-%d-%H-%M-%S"`.tar.gz \
/opt/aspera/shares/u/shares/log/production.log* \
/opt/aspera/shares/var/log/shares-background-0/current \
/opt/aspera/shares/var/log/shares-background-0/*.s \
/opt/aspera/shares/u/stats-collector/logs/statscollector.*log* \ ;

 

On Windows, you can use a program like 7-Zip to compress your files.

For a reference of the Shares logs locations, see the Shares log locations article.

Send the logs to Aspera

The preferred method of sending logs to Aspera is through a link to Aspera's private log server as described in this article (How to send your log files to Aspera).

If you do not have a link to the server, ask the support engineer handling your ticket for one.

If you prefer not to use the above method for sending logs, it is also possible to upload your logs to a common log server via ascp as below, where the password is demoaspera:

ascp -dQT your-log-files.gz support@asperasoft.com:/your-ticket-number

Password: demoaspera

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk