User Tools

Site Tools


Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:version_9:issue:9512_another_backup_job_is_still_running_backup_skipped_cbs

[V9] ISSUE: Terminate Run On Server (Agentless) Backups

Article ID: 9512
Reviewed: 2022-04-26

Product Version:
AhsayCBS: 9.1 to 9.x
OS: All platforms

Problem Description

In situations where a Run on Server backup job encounters errors/warnings, becomes unresponsive or appears to be “stuck”, shows as Skipped (Another backup jobs is still running), or even crashes; the following methods can be used to terminate the problematic backup job.

Resolution

Terminate a Run on Server backup job in this order:

  1. From CBS Console:



    NOTE: This will only work for manually triggered backup job.


  2. Create an empty "stop" file in %CBSUSERHOMEPATH%/%USERNAME%/ipc/BackupSet/%BACKUPSETID%/ if "running" is found.

    In AhsayCBS for Windows:


    In AhsayCBS for Linux/FreeBSD:
    # touch /usr/local/cbs/user/ROSUser/ipc/BackupSet/1593753612991/stop

    In AhsayUBS:
    # touch /ubs/mnt/esfmfw/obsr/system/obsr/user/jbl/ipc/BackupSet/1594198116726/stop


  3. Use the Windows Task Manager to end task, or kill in Linux

    In AhsayCBS for Windows:



    In AhsayCBS for Windows, the following command can be used to check the Run on Server backup Java process: wmic process where caption=”java.exe” get commandline,processid

    Each Run on Server backup process starts with the %APPLICATION_HOME% path.

    In the example below, there are three backup jobs running. Look for the User and Backup Set that needs to end,

    C:\Users\Administrator> wmic process where caption="java.exe" get commandline,processid

    "C:\Program Files\AhsayCBS\java\bin\java" -Xms512m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlignDirectMemory=true -Xrs -Djava.library.path=lib/WinX64 -cp "C:\Program Files\AhsayCBS\lib\cbs.jar;C:\Program Files\AhsayCBS\lib\*;C:\Program Files\AhsayCBS\lib;C:\Program Files\AhsayCBS\tomcat\lib\*" -Dcom.ahsay.obcs.sch.scheduler=false -Dcom.ahsay.obcs.sch.serverinit=false "-Dcatalina.base=C:\Program Files\AhsayCBS" RunBackupSet "C:\Program Files\AhsayCBS" 1593767006824 ALL "Cloud File" QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0u1zfJhC2cJPReetUm29xImsRXNzhxQPMICIBgMMXzanlAFb9mtmknrvGtkzdbfNAU= I false 2020-07-07-15-54-05 ROSUser QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0sscTUDZdSAWnOeERkREuIxRdd0cLm1Hi0/5OvZMzZhDJ3Q/rucQQFR5WBU+KpFgv/3/r2PJx2pmC7XcfJu+cplgczq1qkcb4jTI3AIXqWEoA== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0voJhU2PJUcvVdhX9RRqMqfFqf8QvBb5kBYA9B8rSVDM6XlfsUaZnNNijIkqhDiMJo= QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0vASWCtVmPYioVybBxBenAD QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0v1S0NsRs2pazhxGk4KIxvhC0SrP78Dmh7twmLK6Sf7HA== OBM
    2572    <--- this is the ProcessID (PID)

    "C:\Program Files\AhsayCBS\java\bin\java" -Xms512m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlignDirectMemory=true -Xrs -Djava.library.path=lib/WinX64 -cp "C:\Program Files\AhsayCBS\lib\cbs.jar;C:\Program Files\AhsayCBS\lib\*;C:\Program Files\AhsayCBS\lib;C:\Program Files\AhsayCBS\tomcat\lib\*" -Dcom.ahsay.obcs.sch.scheduler=false -Dcom.ahsay.obcs.sch.serverinit=false "-Dcatalina.base=C:\Program Files\AhsayCBS" RunBackupSet "C:\Program Files\AhsayCBS" 1593765511356 ALL "Office 365 Exchange Online" QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0u1zfJhC2cJPReetUm29xImsRXNzhxQPMICIBgMMXzanlAFb9mtmknrvGtkzdbfNAU= I false 2020-07-07-15-54-13 ROSUser QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0sscTUDZdSAWnOeERkREuIxRdd0cLm1Hi0/5OvZMzZhDJ3Q/rucQQFR5WBU+KpFgv/3/r2PJx2pmC7XcfJu+cplgczq1qkcb4jTI3AIXqWEoA== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0voJhU2PJUcvVdhX9RRqMqfFqf8QvBb5kBYA9B8rSVDM6XlfsUaZnNNijIkqhDiMJo= QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0vASWCtVmPYioVybBxBenAD QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0v1S0NsRs2pazhxGk4KIxvhC0SrP78Dmh7twmLK6Sf7HA== OBM
    2188

    "C:\Program Files\AhsayCBS\java\bin\java" -Xms512m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlignDirectMemory=true -Xrs -Djava.library.path=lib/WinX64 -cp "C:\Program Files\AhsayCBS\lib\cbs.jar;C:\Program Files\AhsayCBS\lib\*;C:\Program Files\AhsayCBS\lib;C:\Program Files\AhsayCBS\tomcat\lib\*" -Dcom.ahsay.obcs.sch.scheduler=false -Dcom.ahsay.obcs.sch.serverinit=false "-Dcatalina.base=C:\Program Files\AhsayCBS" RunBackupSet "C:\Program Files\AhsayCBS" 1593765066840 ALL "Cloud File" QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0u1zfJhC2cJPReetUm29xImsRXNzhxQPMICIBgMMXzanlAFb9mtmknrvGtkzdbfNAU= I false 2020-07-07-15-54-21 AnotherROSUser QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0sscTUDZdSAWnOeERkREuIxRdd0cLm1Hi0/5OvZMzZhDJ3Q/rucQQFR5WBU+KpFgv/3/r2PJx2pmC7XcfJu+cplgczq1qkcb4jTI3AIXqWEoA== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0voJhU2PJUcvVdhX9RRqMqfFqf8QvBb5kBYA9B8rSVDM6XlfsUaZnNNijIkqhDiMJo= QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0vASWCtVmPYioVybBxBenAD QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0v1S0NsRs2pazhxGk4KIxvhC0SrP78Dmh7twmLK6Sf7HA== OBM
    1544





    In AhsayCBS for Linux:

    Type ps -aux|grep RunBackupSet command to locate the process ID of the backup job ($JAVAHOME -Xms%XMX% -Xmx%XMX% -XX:MaxDirectMemorySize=1024) that you want to stop.

    Locate the process ID of the backup job that you want to stop. Check the details of the Java process to make sure that you are terminating the correct backup job.

    Then use the kill command.

    Example:
    # ps -aux|grep RunBackupSet
    root 6491 4.3 2.8 4799704 226524 pts/3 Sl 22:15 0:03 /usr/local/cbs/java-linux-x64/bin/java -Xms512m –Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlignDirectMemory=true -Xrs -Djava.library.path=/usr/local/cbs/lib/LinX64 -cp /usr/local/cbs/lib/cbs.jar:/usr/local/cbs/lib/*:/usr/local/cbs/lib:/usr/local/cbs/tomcat/lib/* -Dcom.ahsay.obcs.sch.scheduler=false -Dcom.ahsay.obcs.sch.serverinit=false -Dcatalina.base=/usr/local/cbs RunBackupSet /usr/local/cbs 1593776649249 ALL Cloud File QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0uvzIAFFlBJq1ZNFwlLKxfODe8gZiYInGbCqIX/97xW/A== F true 2020-07-03-22-15-42 ROSUser QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0t9RweXikmaghJq5Aic6cADx3k7FY2lmwUjWGKgrlxTlqfC6A6I8VTVW5GlSJ/5iOZ2ruA/FXcgG+sGwJLXFBrlAJNvRgI+8c7t8nMukIBAJA== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0voJhU2PJUcvVdhX9RRqMqfFqf8QvBb5kBYA9B8rSVDM6XlfsUaZnNNijIkqhDiMJo= QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0vASWCtVmPYioVybBxBenAD QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0v1S0NsRs2pazhxGk4KIxvhC0SrP78Dmh7twmLK6Sf7HA== OBM
    # kill -9 6491



    In AhsayCBS for FreeBSD:

    Use the ps -aux|grep java command to locate the process ID of the backup job ($JAVAHOME -Xms%XMX% -Xmx%XMX% -XX:MaxDirectMemorySize=1024) that you want to stop.

    Check the details of the Run on Server backup Java process to make sure that you are terminating the correct backup job by using the procstat –c [process ID] command.

    Then use the kill command.

    Example:
    # ps -aux|grep java
    root 68150 144.9 0.5 2455244 21896 2 S 17:20 0:12.39 /usr/local/cbs/jvm/jre/bin/java -Xms512m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlign
    # procstat -c 68150
    PID COMM ARGS
    68150 java /usr/local/cbs/jvm/jre/bin/java -Xms512m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlignDirectMemory=true -Xrs -Djava.library.path=/usr/local/cbs/lib/FbdX64 -cp /usr/local/cbs/lib/cbs.jar:/usr/local/cbs/lib/*:/usr/local/cbs/lib:/usr/local/cbs/tomcat/lib/* -Dcom.ahsay.obcs.sch.scheduler=false -Dcom.ahsay.obcs.sch.serverinit=false -Dcatalina.base=/usr/local/cbs RunBackupSet /usr/local/cbs 1594037087130 ALL Cloud File QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0uvzIAFFlBJq1ZNFwlLKxfODe8gZiYInGbCqIX/97xW/A== I true 2020-07-07-17-20-06 ROSUser QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0s89Y0XStiERf9PjB9NZu/iqbTHxSAA5l1w6nKgeWtBZqUnoT0hgp5X7PQTqTcvX1WcOHdUHHHUUnnRwBYWnCH5rY+qkScYei6KtEg4yB0wlQ== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0voJhU2PJUcvVdhX9RRqMqfFqf8QvBb5kBYA9B8rSVDM6XlfsUaZnNNijIkqhDiMJo= QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0uzvzj1uNHq9X3XpxeAQo7ljqISMlnwlTgT9xva+0YL4A== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0v1S0NsRs2pazhxGk4KIxvhC0SrP78Dmh7twmLK6Sf7HA== OBM
    # kill -9 68150



    In AhsayUBS:

    Use the ps -aux|grep java command to locate the process ID of the backup job ($JAVAHOME -Xms%XMX% -Xmx%XMX% -XX:MaxDirectMemorySize=1024) that you want to stop.

    Check the details of the Run on Server backup Java process to make sure that you are terminating the correct backup job by using the procstat –c [process ID] command.

    Then use the kill command.

    Example:
    # ps -aux|grep java
    root 2057 71.3 10.2 2754428 408560 - I 09:10 0:24.95 /ubs/mnt/esfmfw/obsr/system/obsr/java-freebsd-x64/bin/java -Xms512m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlignDirectMemory=true -Xrs -Djava.library.path=/u
    # procstat -c 2057
    PID COMM ARGS
    2057 java /ubs/mnt/esfmfw/obsr/system/obsr/java-freebsd-x64/bin/java -Xms512m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Dsun.nio.PageAlignDirectMemory=true -Xrs -Djava.library.path=/ubs/module/obsr/system/obsr/lib/FbdX64 -cp /ubs/mnt/esfmfw/obsr/system/obsr/lib/cbs.jar:/ubs/mnt/esfmfw/obsr/system/obsr/lib/*:/ubs/mnt/esfmfw/obsr/system/obsr/lib:/ubs/mnt/esfmfw/obsr/system/obsr/tomcat/lib/* -Dcom.ahsay.obcs.sch.scheduler=false -Dcom.ahsay.obcs.sch.serverinit=false -Dcatalina.base=/ubs/mnt/esfmfw/obsr/system/obsr RunBackupSet /ubs/mnt/esfmfw/obsr/system/obsr 1594198338872 ALL Cloud File QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0uPoAT6LpXuDZrAlUZ/Au6qhWmk1cZY7WQ2wa4GkkmyONIiKV0f/0wq9C6ToKx0NP8= I true 2020-07-08-09-10-47 ROSUser QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0uZXCgNt4YiXna4J32rj9iA2qKp+k2HoRYeH1AIFiIE6tbJjIvq/f+bO8VfjpUUbfgiYHKaf7vR1nHNKajxnhTVkdSlEIFc5IKC44IxeoTNkQ== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0vFc//x+ToY40LvcH0lMLc19hIVvmHepWoPe1QDujrHQMlhaSVFMO8g8OH9PJnLwDI= QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0tG9XdRUhlc95GxYUziti5jfpmwFgg3l7eYCg9UriFvyA== QgsSo/AkSjvTlOOVjcF/W9dcqxQKiFnVqI/A9Le/N0v1S0NsRs2pazhxGk4KIxvhC0SrP78Dmh7twmLK6Sf7HA== OBM
    # kill -9 2057

Note:
When a backup job is started manually or automatically at the scheduled time, a 'running' file will be created within the ipc directory to indicate that a backup job is in-progress. Under normal circumstances, the file will be removed automatically when the backup job is completed.

However, for cases where the previous backup job was ended abruptly (e.g. server crash, client application crash), the 'running' file may not be properly cleared. When the next backup job is started, the client agent will detect that the 'running' file exists, misinterpreting that a previous backup job is still in progress.


Additional Resources
AhsayCBS v8.3.4.0 Run on Server (Agentless) backup for Office 365 and Cloud File

Keywords

skip, job, missed, agentless, runonserver

public/version_9/issue/9512_another_backup_job_is_still_running_backup_skipped_cbs.txt · Last modified: 2022/04/26 13:33 by kirk.lim

Page Tools