Xe-toolstack-restart Fails with Error "Cannot Lock /dev/shm/xe_toolstack_restart.lock. Is an Instance of /opt/xensource/bin/xe-toolstack-restart Running Already? "

Xe-toolstack-restart Fails with Error "Cannot Lock /dev/shm/xe_toolstack_restart.lock. Is an Instance of /opt/xensource/bin/xe-toolstack-restart Running Already? "

book

Article ID: CTX212539

calendar_today

Updated On:

Description

When trying to restart toolstack, following error is displayed:

"cannot lock /dev/shm/xe_toolstack_restart.lock. Is an instance of /opt/xensource/bin/xe-toolstack-restart running already? "

Resolution

1.Cd to /dev/shm and then copy the file xe_toolstack_restart.lock
2.Remove the original file using the command #rm -rf xe_toolstack_restart.lock
3.Now perform xe-toolstack restart and that should work.
 

Problem Cause

Root file system usage reached 100% and prevented the lock file from getting released

Issue/Introduction

At times xe-toolstack-restart fails with error "cannot lock /dev/shm/xe_toolstack_restart.lock. Is an instance of /opt/xensource/bin/xe-toolstack-restart running already? Issue might be due to root file system usage more than 90%