CSF lock files

1 post Page 1 of 1
xwnh
Junior Member
Posts: 1
Joined: 13 Mar 2019, 22:14


Hello,

CSF does not load, I could not restart it.


There are numerous CSF lock files

=================================
[16:05:20 server45 root@11620285 ~]xyzz# ls -lahtr /var/lib/csf/lock/
total 72K
drw------- 2 root root 4.0K May 1 2018 ./
-rw------- 1 root root 10 Mar 4 22:32 ST_ENABLE_report.lock
-rw------- 1 root root 7 Mar 4 23:13 command.lock
-rw------- 1 root root 10 Mar 12 23:23 LF_CSF.lock
-rw------- 1 root root 10 Mar 13 15:18 ST_IPTABLES.lock
-rw------- 1 root root 10 Mar 13 15:33 LF_DIRWATCH.lock
-rw------- 1 root root 10 Mar 13 15:41 list.lock
-rw------- 1 root root 10 Mar 13 15:41 CC_LOOKUPS.lock
-rw------- 1 root root 10 Mar 13 15:41 LF_INTEGRITY.lock
-rw------- 1 root root 10 Mar 13 15:41 LF_MODSECIPDB_ALERT.lock
drw------- 9 root root 4.0K Mar 13 15:41 ../
-rw------- 1 root root 10 Mar 13 15:48 CT_INTERVAL.lock
-rw------- 1 root root 10 Mar 13 16:26 LF_QUEUE_INTERVAL.lock
-rw------- 1 root root 10 Mar 13 16:26 LF_EXPLOIT.lock
-rw------- 1 root root 10 Mar 13 16:27 ST_SYSTEM.lock
-rw------- 1 root root 10 Mar 13 16:27 AT_INTERVAL.lock
-rw------- 1 root root 10 Mar 13 16:27 PT_INTERVAL.lock
-rw------- 1 root root 10 Mar 13 16:27 PT_LOAD.lock
=================================


I tried moving the lock files out of the way to /root/xyzz/11620285/:

=================================
[16:56:32 server45 root@11620285 ~]cPs# mkdir -vp /root/xyzz/11620285/
mkdir: created directory `/root/xyzz'
mkdir: created directory `/root/xyzz/11620285/'
[16:57:19 server45 root@11620285 ~]xyzz# mv -v /var/lib/csf/lock/*.lock $_
`/var/lib/csf/lock/AT_INTERVAL.lock' -> `/root/xyzz/11620285/AT_INTERVAL.lock'
`/var/lib/csf/lock/CC_LOOKUPS.lock' -> `/root/xyzz/11620285/CC_LOOKUPS.lock'
`/var/lib/csf/lock/command.lock' -> `/root/xyzz/11620285/command.lock'
`/var/lib/csf/lock/CT_INTERVAL.lock' -> `/root/xyzz/11620285/CT_INTERVAL.lock'
`/var/lib/csf/lock/LF_CSF.lock' -> `/root/xyzz/11620285/LF_CSF.lock'
`/var/lib/csf/lock/LF_DIRWATCH.lock' -> `/root/xyzz/11620285/LF_DIRWATCH.lock'
`/var/lib/csf/lock/LF_EXPLOIT.lock' -> `/root/xyzz/11620285/LF_EXPLOIT.lock'
`/var/lib/csf/lock/LF_INTEGRITY.lock' -> `/root/xyzz/11620285/LF_INTEGRITY.lock'
`/var/lib/csf/lock/LF_MODSECIPDB_ALERT.lock' -> `/root/xyzz/11620285/LF_MODSECIPDB_ALERT.lock'
`/var/lib/csf/lock/LF_QUEUE_INTERVAL.lock' -> `/root/xyzz/11620285/LF_QUEUE_INTERVAL.lock'
`/var/lib/csf/lock/list.lock' -> `/root/xyzz/11620285/list.lock'
`/var/lib/csf/lock/PT_INTERVAL.lock' -> `/root/xyzz/11620285/PT_INTERVAL.lock'
`/var/lib/csf/lock/PT_LOAD.lock' -> `/root/xyzz/11620285/PT_LOAD.lock'
`/var/lib/csf/lock/ST_ENABLE_report.lock' -> `/root/xyzz/11620285/ST_ENABLE_report.lock'
`/var/lib/csf/lock/ST_IPTABLES.lock' -> `/root/xyzz/11620285/ST_IPTABLES.lock'
`/var/lib/csf/lock/ST_SYSTEM.lock' -> `/root/xyzz/11620285/ST_SYSTEM.lock'
=================================

How could I solve this problem?

Thanks you.
1 post Page 1 of 1