• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Error opening file for writing (var/log/messages)

igraf

Regular Pleskian
hello,
i have follow errors in /var/log warn& messages

syslog-ng[1427]: Error opening file for writing; filename='/usr/local/psa/var/log/maillog', error='Permission denied (13)'

/usr/local/psa/var/log/maillog
file size: 0KB
permission: 640 (-rw-r-----)

plesk 9.3
linux os 11.1 64bit

can you help me?
 
Check permissions, it should be:

# stat /usr/local/psa/var/log/maillog
File: `/usr/local/psa/var/log/maillog'
Size: 7250535 Blocks: 14192 IO Block: 4096 regular file
Device: 18h/24d Inode: 6703409 Links: 1
Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root)

# stat /usr/local/psa/var/log/
File: `/usr/local/psa/var/log/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 18h/24d Inode: 6703403 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 502/ psaadm) Gid: ( 502/ psaadm)
 
hi,
yes, i have the same permission as above

log folder: 755
file maillog: 640

There is still a source of error?

greets
 
Last edited:
Check the permissions, on our servers it is:

log folder : 755 user=root, group=root
file maillog: 640 user=root, group=adm
 
There is no user adm

at:!:25:
audio:x:17:
bin:x:1:daemon
cdrom:x:20:
console:x:21:
daemon:x:2:
dialout:x:16:d952,popuser,mhandlers-user,alias,qmaild,qmaill,qmailp,qmailq,qmailr,qmails,sw-cp-server,psaftp,psaadm,aroma,iverba,epets,lusosital,mateando,rvoegeli,celdoc,aw
disk:x:6:
floppy:x:19:
ftp:x:49:
games:x:40:
haldaemon:!:105:
kmem:x:9:
lp:x:7:
mail:x:12:
maildrop:!:59:
man:x:62:
messagebus:!:103:
modem:x:43:
news:x:13:
nobody:x:65533:
nogroup:x:65534:nobody
ntadmin:!:71:
ntp:!:101:
polkituser:!:104:
postfix:!:51:
public:x:32:
root:x:0:
shadow:x:15:
sshd:!:65:
suse-ncc:!:106:
sys:x:3:
trusted:x:42:
tty:x:5:
utmp:x:22:
uucp:x:14:
uuidd:!:102:
video:x:33:d952,popuser,mhandlers-user,alias,qmaild,qmaill,qmailp,qmailq,qmailr,qmails,sw-cp-server,psaftp,psaadm,aroma,iverba,epets,lusosital,mateando,rvoegeli,celdoc,aw
wheel:x:10:
www:x:8:
xok:x:41:
users:x:100:
sw-cp-server:!:1000:
mysql:!:107:
psaadm:!:1001:sw-cp-server
swkey-data:!:1002:psaadm
popuser:!:30:
qmail:!:2520:
nofiles:!:2020:
named:!:44:
psaftp:!:2521:
psaserv:!:2522:wwwrun,psaftp,psaadm
psacln:!:2523:
postgres:!:26:
mailman:!:67:
drweb:!:2524:
 
Hello

I need a program that list the errors at initializing the UNIX operating sitem , precisely OpenSuse.
Can you help me?
 
Back
Top