Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 11071  / 1 Year ago, fri, december 2, 2022, 2:22:44

I have recently installed postfix and while configuring the server have run into an issue. At one point I received the error from my syslog,



fatal: open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied


I am logged in as root.
On another forum I had the recommendation to remove the file master.lock and to run an apt-get update, then restart.
I did these and log back in to find that my directory is empty.



ls -l /var/lib/postfix/
total 0


I have then tried to purge the program by doing apt-get purge postfix as root and reinstalling the program.
No matter what I do, I cannot get the files back under /var/lib/postfix/.


More From » permissions

 Answers
1

The file /var/lib/postfix/master.lock is used to ensure that only one copy of Postfix's "master" process is active. If Postfix shuts down cleanly, all /var/lib/postfix/*.lock files will be deleted. If Postfix does not shut down cleanly, some *.lock files will be left over.


[#32483] Saturday, December 3, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
theurn

Total Points: 30
Total Questions: 110
Total Answers: 111

Location: Bahrain
Member since Fri, Sep 16, 2022
2 Years ago
theurn questions
Tue, Apr 5, 22, 14:18, 2 Years ago
Mon, Feb 14, 22, 16:29, 2 Years ago
Sat, Apr 8, 23, 05:26, 1 Year ago
Tue, Jan 10, 23, 23:59, 1 Year ago
Fri, Apr 8, 22, 01:36, 2 Years ago
;