Topic: [RESOLVED]Job for rsyslog.service failed.
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloaded
- Linux/BSD distribution name and version: Ubuntu 18.04.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
hello, i previously encountered this problem but zhang told me no clue about this but again this problem occured. the problem is i got mail and this is what mail includes;
/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
the subject of the mail is : Cron <root@mail> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
As it mentioned int the mail "See "systemctl status rsyslog.service" and "journalctl -xe" for details." i applied the commands and here are the results. if these logs are not enough please can yu tell me where to chekc thank you.
root@mail:~# systemctl status rsyslog.service
● rsyslog.service - System Logging Service
Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Mon 2019-06-17 06:25:15 CEST; 16h ago
Docs: man:rsyslogd(8)
http://www.rsyslog.com/doc/
Process: 2281 ExecStart=/usr/sbin/rsyslogd -n (code=exited, status=0/SUCCESS)
Main PID: 2281 (code=exited, status=0/SUCCESS)
Jun 17 06:25:15 mail.xxxxxx.engineer rsyslogd[2281]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.32.0]
Jun 17 06:25:15 mail.xxxxxx.engineer rsyslogd[2281]: rsyslogd's groupid changed to 106
Jun 17 06:25:15 mail.xxxxxx.engineer rsyslogd[2281]: rsyslogd's userid changed to 102
Jun 17 06:25:15 mail.xxxxxx.engineer rsyslogd[2281]: [origin software="rsyslogd" swVersion="8.32.0" x-pid="2281" x-info="http://www.rsyslog.com"] start
Jun 17 06:25:15 mail.xxxxxx.engineer systemd[1]: Stopping System Logging Service...
Jun 17 06:25:15 mail.xxxxxx.engineer rsyslogd[2281]: [origin software="rsyslogd" swVersion="8.32.0" x-pid="2281" x-info="http://www.rsyslog.com"] exiting on signal 15.
Jun 17 06:25:15 mail.xxxxxx.engineer systemd[1]: Stopped System Logging Service.
Jun 17 06:25:15 mail.xxxxxx.engineer systemd[1]: rsyslog.service: Start request repeated too quickly.
Jun 17 06:25:15 mail.xxxxxx.engineer systemd[1]: rsyslog.service: Failed with result 'start-limit-hit'.
Jun 17 06:25:15 mail.xxxxxx.engineer systemd[1]: Failed to start System Logging Service.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
root@mail:~# journalctl -xe
Jun 17 22:45:11 mail.xxxxxx.engineer systemd[1]: Started User Manager for UID 1000.
-- Subject: Unit user@1000.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit user@1000.service has finished starting up.
--
-- The start-up result is RESULT.
Jun 17 22:45:11 mail.xxxxxx.engineer systemd[15570]: Reached target Default.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is RESULT.
Jun 17 22:45:11 mail.xxxxxx.engineer systemd[15570]: Startup finished in 116ms.
-- Subject: User manager start-up is now complete
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The user manager instance for user 1000 has been started. All services queued
-- for starting have been started. Note that other services might still be starting
-- up or be started at any later time.
--
-- Startup of the manager took 116584 microseconds.
Jun 17 22:45:22 mail.xxxxxx.engineer sudo[15697]: xxxxxx: TTY=pts/0 ; PWD=/home/xxxxxx; USER=root ; COMMAND=/bin/bash
Jun 17 22:45:22 mail.xxxxxx.engineer sudo[15697]: pam_unix(sudo:session): session opened for user root by xxxxxx(uid=0)
Jun 17 22:45:27 mail.xxxxxx.engineer dovecot[1235]: imap-login: Login: user=<postmaster@xxxxxx.engineer>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15717, secured, se
Jun 17 22:45:27 mail.xxxxxx.engineer dovecot[1235]: imap(postmaster@xxxxxxx.engineer): Logged out in=1279 out=675
Jun 17 22:45:52 mail.xxxxxx.engineer sshd[15927]: Connection closed by 13.234.111.170 port 41614 [preauth]
Jun 17 22:45:56 mail.xxxxxx.engineer postfix/pickup[14417]: 45SNXN2CcXz2yKB: uid=0 from=<root>
Jun 17 22:45:56 mail.xxxxxx.engineer postfix/cleanup[15965]: 45SNXN2CcXz2yKB: message-id=<45SNXN2CcXz2yKB@mail.xxxxxx.engineer>
Jun 17 22:45:56 mail.xxxxxx.engineer postfix/qmgr[2635]: 45SNXN2CcXz2yKB: from=<root@mail.xxxxxx.engineer>, size=14615, nrcpt=1 (queue active)
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/10025/smtpd[16025]: connect from localhost[127.0.0.1]
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/10025/smtpd[16025]: 45SNXQ64fvz2yK9: client=localhost[127.0.0.1]
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/cleanup[15965]: 45SNXQ64fvz2yK9: message-id=<45SNXN2CcXz2yKB@mail.xxxxxx.engineer>
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/qmgr[2635]: 45SNXQ64fvz2yK9: from=<root@mail.xxxxxx.engineer>, size=15182, nrcpt=1 (queue active)
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/10025/smtpd[16025]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 17 22:45:58 mail.xxxxxx.engineer amavis[2946]: (02946-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] <root@mail.xxxxxx.engineer> -> <root@mail.xxxxxx.engineer>,
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/amavis/smtp[16000]: 45SNXN2CcXz2yKB: to=<root@mail.xxxxxx.engineer>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=22,
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/qmgr[2635]: 45SNXN2CcXz2yKB: removed
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/cleanup[15965]: 45SNXQ6tdnz2yKB: message-id=<45SNXN2CcXz2yKB@mail.xxxxxx.engineer>
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/qmgr[2635]: 45SNXQ6tdnz2yKB: from=<root@mail.xxxxxx.engineer>, size=15345, nrcpt=1 (queue active)
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/local[16030]: 45SNXQ64fvz2yK9: to=<root@mail.xxxxxx.engineer>, relay=local, delay=0.14, delays=0.02/0.03/0/0.09, dsn=2.0.0, stat
Jun 17 22:45:58 mail.xxxxxx.engineer postfix/qmgr[2635]: 45SNXQ64fvz2yK9: removed
Jun 17 22:45:59 mail.xxxxxx.engineer dovecot[16041]: lda(postmaster@xxxxxx.engineer): sieve: from=root@mail.xxxxxx.engineer, envelope_sender=root@mail.xxxxxx
Jun 17 22:45:59 mail.xxxxxx.engineer postfix/pipe[16040]: 45SNXQ6tdnz2yKB: to=<postmaster@xxxxxx.engineer>, orig_to=<root@mail.xxxxxx.engineer>, relay=dovecot, delay
Jun 17 22:45:59 mail.xxxxxx.engineer postfix/qmgr[2635]: 45SNXQ6tdnz2yKB: removed
lines 1126-1174/1174 (END)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.