.htaccess.lock

6 posts / 0 new
Last post
#1 Tue, 08/07/2018 - 20:40
jimdunn

.htaccess.lock

Has anyone seen a file like this before in their /public_html/ or /httpdocs/ folder?

.htaccess.lock

It is owned by root, appeared right after I created the virtual server (domain) from scratch.

Tue, 08/07/2018 - 21:27
andreychek

Howdy,

Hmm, does it have anything in it.. perhaps a number? I'd be curious if some process attempted to open that file, and then somehow got stuck.

-Eric

Wed, 08/08/2018 - 18:31
jimdunn

Yep, each one has a number... turns out I had one in EVERY /httpdocs/ folder. These had been "Restored" from a backup to a new box.

I also had a /home/example.com/.backup.lock in the root of every domain as well.

Thu, 08/09/2018 - 09:09
andreychek

If you look at the number in that file -- do you see a running process with that particular PID? If so, what process is it?

-Eric

Thu, 08/09/2018 - 10:37
jimdunn

Nope... must've been processes from the old server (pre-migration).

Thu, 08/09/2018 - 11:04
andreychek

Gotcha -- it should be safe to delete those .lock files then.

Topic locked