User Tools

Site Tools


wiki:logs1

This is an old revision of the document!


root@localhost [ ~ ]# cat /etc/applmgmt/appliance/software_update_state.conf
{
    "state": "UP_TO_DATE"
}root@localhost [ ~ ]# python3 -c "import json; print(json.load(open('/etc/applmgmt/appliance/software_update_state.conf')))"
{'state': 'UP_TO_DATE'}
root@localhost [ ~ ]# ps -ef | grep -E "18301|18345|18413|18414"
root       18301       1  0 08:07 ?        00:00:00 /bin/bash /usr/lib/applmgmt/vcenter/bin/invoke_precheck.sh
root       18345   18301  0 08:07 ?        00:00:00 /bin/bash -l /bin/upgrade-prechecks
root       18413   18345  0 08:08 ?        00:00:06 python3 bootstrap_scripts/run-preupgrade-checks.py --outputFile=/var/log/vmware/upgrade/prechecks.json --locale=en
root       18414   18345  0 08:08 ?        00:00:00 tee -a /var/log/vmware/upgrade/bootstrap.log
root       21225   18238  0 08:23 pts/0    00:00:00 grep --color=auto -E 18301|18345|18413|18414
root@localhost [ ~ ]# kill -9 18301 18345 18413 18414
root@localhost [ ~ ]# ps -ef | grep -i invoke_precheck
root       21286   18238  0 08:24 pts/0    00:00:00 grep --color=auto -i invoke_precheck
root@localhost [ ~ ]# ps -ef | grep -i precheck
root       21290   18238  0 08:24 pts/0    00:00:00 grep --color=auto -i precheck
root@localhost [ ~ ]# ls -la /etc/vmware/deploy/lifecycle.global.mutex.upgradeLock
total 8
drwxr-xr-x 2 root root 4096 Sep  4 08:07 .
drwxr-xr-x 3 root root 4096 Sep  4 08:07 ..
root@localhost [ ~ ]# rm -f /etc/vmware/deploy/lifecycle.global.mutex.upgradeLock
rm: cannot remove '/etc/vmware/deploy/lifecycle.global.mutex.upgradeLock': Is a directory
root@localhost [ ~ ]# service-control --start applmgmt
Operation not cancellable. Please wait for it to finish...
Performing start operation on service applmgmt...
Error executing start on service applmgmt. Details {
    "detail": [
        {
            "id": "install.ciscommon.service.failstart",
            "translatable": "An error occurred while starting service '%(0)s'",
            "args": [
                "applmgmt"
            ],
            "localized": "An error occurred while starting service 'applmgmt'"
        }
    ],
    "componentKey": null,
    "problemId": null,
    "resolution": null
}
Service-control failed. Error: {
    "detail": [
        {
            "id": "install.ciscommon.service.failstart",
            "translatable": "An error occurred while starting service '%(0)s'",
            "args": [
                "applmgmt"
            ],
            "localized": "An error occurred while starting service 'applmgmt'"
        }
    ],
    "componentKey": null,
    "problemId": null,
    "resolution": null
}
root@localhost [ ~ ]#
wiki/logs1.1788510389.txt.gz · Last modified: by wagner.jer

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki