Igor AC
Igor AC

Reputation: 55

Cannot open lockfile /var/spool/cron/atjobs/.SEQ

I currently made a feature that makes use of the ATD service in a php 7.3 image with the Debian 10 operating system.

ATD works fine in development, but when I upload the image to the rancher and try to schedule the job with ATD using apache (www-data) it gives me this error Cannot open lockfile /var/spool/cron /atjobs/.SEQ

I searched the internet about this problem, but none of them solve my problem.

Note:

The user www-data is inside at.allow

The .SEQ file is already owned by deamon:daemon

Upvotes: -1

Views: 1199

Answers (2)

Georges Guinchard
Georges Guinchard

Reputation: 1

I had a similar problem after deleting an .SEQ file in the spool directory. What helped me was to change file permission to 777 and then stop and start the ATD Service.

Upvotes: -1

Jenson
Jenson

Reputation: 7

Added full permission to cron folder under a /var/spool. it is working fine.

/var/spool# chmod 777 cron/

Upvotes: -1

Related Questions