欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Postfix Permission denied

程序员文章站 2022-06-01 10:31:32
...
mail.err

May 31 05:31:43 ohdweb postfix/tlsmgr[29981]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:32:44 ohdweb postfix/tlsmgr[30004]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:33:45 ohdweb postfix/tlsmgr[30053]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:34:46 ohdweb postfix/tlsmgr[30077]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:35:47 ohdweb postfix/tlsmgr[30099]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:36:48 ohdweb postfix/tlsmgr[30123]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:37:49 ohdweb postfix/tlsmgr[30144]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:38:50 ohdweb postfix/tlsmgr[30167]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:39:51 ohdweb postfix/tlsmgr[30199]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:40:52 ohdweb postfix/tlsmgr[30325]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied


mail.info

May 31 05:43:56 ohdweb postfix/master[16399]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
May 31 05:44:56 ohdweb postfix/tlsmgr[30425]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:44:57 ohdweb postfix/master[16399]: warning: process /usr/lib/postfix/tlsmgr pid 30425 exit status 1
May 31 05:44:57 ohdweb postfix/master[16399]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
May 31 05:45:57 ohdweb postfix/tlsmgr[30446]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:45:58 ohdweb postfix/master[16399]: warning: process /usr/lib/postfix/tlsmgr pid 30446 exit status 1
May 31 05:45:58 ohdweb postfix/master[16399]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
May 31 05:46:58 ohdweb postfix/tlsmgr[30478]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 31 05:46:59 ohdweb postfix/master[16399]: warning: process /usr/lib/postfix/tlsmgr pid 30478 exit status 1
May 31 05:46:59 ohdweb postfix/master[16399]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling


解决方法

sudo chown postfix:postfix /var/lib/postfix/smtp_scache.db