P4DTI issue job000638

Title"p4dti subsystem is locked" message from startup script
Statussuspended
Priorityoptional
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionAfter installing the P4DTI RPM on Linux, running "/etc/rc.d/init.d/p4dti start" generated the error message "p4dti subsystem is locked" [1]. We cannot reproduce this except by user error, but the RPM packaging could be improved to prevent such an error.
AnalysisThis message means that the lock file /var/lock/subsys/p4dti already exists. This file is used by the startup script itself but not otherwise by the P4DTI. Neither Ravenbrook nor Perforce can reproduce this problem except by not stopping the P4DTI properly when uninstalling, or by running the startup script twice. [2]
Uninstalling (rpm -e) should be changed to delete this file if it is present.
How foundcustomer
Evidence[1] <http://info.ravenbrook.com/mail/2002/11/28/00-57-42/0.txt>
[2] <http://info.ravenbrook.com/mail/2002/12/17/19-54-16/0.txt>
Observed in1.5.1
Introduced in1.0.0
Created byNick Barnes
Created on2002-12-11 16:46:32
Last modified byNick Barnes
Last modified on2018-07-05 17:28:06
History2002-12-11 NB Created.
2002-12-18 NB Updated following testing of 1.5.3.
       2018-07-05 NB Suspended because the P4DTI is obsolete.