Why unlock_entity.sh script fails with "./dbfunctions.sh: No such file or directory"?
Issue
- Trying to unlock a locked vm and its images in RHEV-3.1 using unlock_entity.sh script fails with below error message.
# /usr/share/ovirt-engine/dbscripts/unlock_entity.sh -t vm -i dev1.dev -d
engine -u postgres -r
/usr/share/ovirt-engine/dbscripts/unlock_entity.sh: line 3: ./dbfunctions.sh: No such file or directory
/usr/share/ovirt-engine/dbscripts/unlock_entity.sh: line 4: ./dbcustomfunctions.sh: No such file or directory
/usr/share/ovirt-engine/dbscripts/unlock_entity.sh: line 7: set_defaults: command not found
Caution, this operation may lead to data corruption and should be used with care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
/usr/share/ovirt-engine/dbscripts/unlock_entity.sh: line 65: unlock_entity: command not found
Environment
- Red Hat Enterprise Virtualization v3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
