38017: Acronis Linux Products: Collecting Asamba Verbose Logs in Linux and MacOS

Also read in:

use Google Translate

Operating Systems: 

    Last update: 21-01-2021

    This article applies to:

    • Acronis Agent for Linux
    • Acronis Agent for Mac
    • Acronis linux-based bootable Media
    • Acronis Virtual Appliance

    Solution

    Asamba should not be straced but can produce the log output by itself. However, it should be done only on developer request.

    Agent for Linux

    Open terminal windows and issue the following command:
    #vi /usr/sbin/acronis_mms

    Enter editing mode by pressing i

    Find the line ulimit -s 2048 and add the following line after it export ASAMBA_LOG=1

    Hit Esc to exit editing mode

    To exit the editor and save changes, issue the following command:wq

    Restart MMS to apply changes

    #/etc/init.d/acronis_mms restart

    All logs will be collected in var/log/asamba

    Agent for MAC

    Open terminal windows and issue the following command:
    #vi /Library/Application\ Support/BackupClient/Acronis/Backup\ Agent.app/Contents/Library/sbin/acronis_mms.conf

    Enter editing mode by pressing i

    Find the line ulimit -s 2048 and add the following line after it export ASAMBA_LOG=1

    Hit Esc to exit editing mode

    To exit the editor and save changes, issue the following command :wq

    Restart MMS to apply changes:

    # sudo launchctl stop acronis_mms
    # sudo launchctl start acronis_mms

    All logs will be collected in var/log/asamba

    Bootable Media and Virtual Appliance

    Asamba should not be straced but can produce the log output by itself. However, it should be done only on developer request.
    Logging is enabled in the following way:

    Switch to shell by pressing Shift+Ctrl+Alt+Space+F1, then Alt+F2 (Virtual Appliance) or Actions -> Start shell (Bootable Media).

    Issue these commands:
    #insmod cifs
    #echo 7 > /proc/fs/cifs/cifsFYI
    #export ASAMBA_LOGLEVEL=10

    Close the shell, by pressing Alt+F2 (Virtual Appliance) or issuing /bin/product (Bootable Media)

    Reproduce the problem.

    All logs will be collected in /tmp/asamba.log

    You can collect them by using the WinSCP utility.

    More information

    See also:

     

    Tags: