1

Topic: Logs file Empty since IredAPD

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail 0.9.9 MARIADB edition.
- Deployed with downloadable installer
- Ubuntu 18.04 64bit LTS
- Store mail accounts in which backend MySQL
- Web server Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Log is not properly running
====

Dear All,

I found mail.log,sieve.log,pop3.log,lda.log,imap.log and dovecot.log 0 size every time since I try to update iRedAPD iRedAPD-2.4 that i found from https://dl.iredmail.org/yum/misc/.

I got email as bellow :

/etc/cron.daily/logrotate:
Job for rsyslog.service failed.
See "systemctl status rsyslog.service" and "journalctl -xe" for details.
error: error running non-shared postrotate script for /var/log/php-fpm/php-fpm.log of '/var/log/php-fpm/*.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1

systemctl status rsyslog.service Result :
systemctl status rsyslog.service
● rsyslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset:
   Active: failed (Result: start-limit-hit) since Sun 2019-01-06 06:25:07 WIB; 2
     Docs: man:rsyslogd(8)
           http://www.rsyslog.com/doc/
  Process: 9270 ExecStart=/usr/sbin/rsyslogd -n (code=exited, status=0/SUCCESS)
Main PID: 9270 (code=exited, status=0/SUCCESS)

Jan 06 06:25:06 mail.myserver.com rsyslogd[9270]: imuxsock: Acquired UNIX socket
Jan 06 06:25:06 mail.myserver.com rsyslogd[9270]: rsyslogd's groupid changed to 1
Jan 06 06:25:06 mail.myserver.com rsyslogd[9270]: rsyslogd's userid changed to 10
Jan 06 06:25:06 mail.myserver.com rsyslogd[9270]:  [origin software="rsyslogd" sw
Jan 06 06:25:07 mail.myserver.com systemd[1]: Stopping System Logging Service...
Jan 06 06:25:07 mail.myserver.com rsyslogd[9270]:  [origin software="rsyslogd" sw
Jan 06 06:25:07 mail.myserver.com systemd[1]: Stopped System Logging Service.
Jan 06 06:25:07 mail.myserver.com systemd[1]: rsyslog.service: Start request repe
Jan 06 06:25:07 mail.myserver.com systemd[1]: rsyslog.service: Failed with result
Jan 06 06:25:07 mail.myserver.com systemd[1]: Failed to start System Logging Serv
...skipping...
● rsyslog.service - System Logging Service


run-parts /etc/cron.daily/logrotate
run-parts: failed to open directory /etc/cron.daily/logrotate: Not a directory
root@mail:/home/myserver#



I know almost nothing about linux, so any help will be highly appreciated

Regards

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Logs file Empty since IredAPD

Dear All,

It back normal after restarting rsyslogd.
Thanks You.