Created attachment 350230
jabberd logrotate script with fixed user issue
We need to run logrotate from jabber user or get error:
error: skipping "/var/log/jabber/c2s.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/jabber/s2s.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/jabber/sm.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping "/var/log/jabber/router.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
run-parts: /etc/cron.daily/logrotate.cron exited with return code 1
Job /bin/run-parts /etc/cron.daily 1> /dev/null terminated (exit status: 1) (mailing output)
Created attachment 350230
jabberd logrotate script with fixed user issue
We need to run logrotate from jabber user or get error:
error: skipping "/var/log/ jabber/ c2s.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. jabber/ s2s.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. jabber/ sm.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. jabber/ router. log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. daily/logrotate .cron exited with return code 1
error: skipping "/var/log/
error: skipping "/var/log/
error: skipping "/var/log/
run-parts: /etc/cron.
Job /bin/run-parts /etc/cron.daily 1> /dev/null terminated (exit status: 1) (mailing output)
Please mark attachment 267511 as obsolete.