I’ve removed directory which asterisk used for logs, and now asterisk logger can’t access any log files, Permission denied.
I recreated directory /var/log/asterisk and set owner to asterisk.
But it doesn’t help/
Please, give me some advise
Run
amportal chown
Thank you for reply, do as you tell
It doesn’t help(
What is the output of
ls -al /var/log/asterisk
drwxrwxrwx 2 asterisk asterisk 4096 Oct 15 20:28 .
drwx------ 6 root root 4096 Oct 15 03:47 …
From bash
rasterisk -x ‘logger rotate’
should do it.
1 Like
The second line is the problem - /var/log is only accessible by root.
chmod 755 /var/log
Will fix it…
Ooh, thank you very much!
chmoding /var/log is solution!