On 2017-01-07 09:00, Andrei Borzenkov wrote:
07.01.2017 07:02, Carlos E. R. пишет:
DATE_START=$(date +'%F %T') /bin/kill -RTMIN+22 1 systemctl restart rsyslog.service /bin/kill -RTMIN+23 1
and show
journactl -S "$DATE_START"
cer@Telcontar:~> su - Password: Telcontar:~ # DATE_START=$(date +'%F %T') Telcontar:~ # systemctl restart rsyslog.service Please enter passphrase for disk ST2000DM001-1CH1 (cr_other) on /data/other! Telcontar:~ # /bin/kill -RTMIN+23 1 Telcontar:~ # journactl -S "$DATE_START" If 'journactl' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf journactl Telcontar:~ # journalctl -S "$DATE_START" -- Logs begin at Thu 2017-01-05 00:35:02 CET, end at Sat 2017-01-07 14:28:10 CET. -- Jan 07 14:27:46 Telcontar systemd[1]: Stopping System Logging Service... Jan 07 14:27:46 Telcontar systemd[1]: Stopped System Logging Service. Jan 07 14:27:46 Telcontar systemd[1]: Starting System Logging Service... Jan 07 14:27:46 Telcontar systemd[1]: Started System Logging Service. Jan 07 14:27:48 Telcontar systemd-cryptsetup[25297]: Set cipher aes, mode xts-plain64, key size 512 bits for device /dev/disk/by-uuid/334b5f7a-cd23- Jan 07 14:27:49 Telcontar systemd-cryptsetup[25297]: Invalid passphrase. Jan 07 14:27:49 Telcontar systemd-cryptsetup[25297]: Too many attempts; giving up. Jan 07 14:27:49 Telcontar systemd[1]: systemd-cryptsetup@cr_other.service: Main process exited, code=exited, status=1/FAILURE Jan 07 14:27:49 Telcontar systemd[1]: systemd-cryptsetup@cr_other.service: Unit entered failed state. Jan 07 14:27:49 Telcontar systemd[1]: systemd-cryptsetup@cr_other.service: Failed with result 'exit-code'. Jan 07 14:27:56 Telcontar systemd[1]: Received SIGRTMIN+23 from PID 20397 (kill). Jan 07 14:27:56 Telcontar systemd[1]: Setting log level to info. Jan 07 14:28:01 Telcontar cron[20402]: pam_unix(crond:session): session opened for user news by (uid=0) Jan 07 14:28:01 Telcontar systemd[1]: Created slice User Slice of news. Jan 07 14:28:02 Telcontar systemd[1]: Starting User Manager for UID 9... Jan 07 14:28:02 Telcontar systemd[20403]: pam_unix(systemd-user:session): session opened for user news by (uid=0) Jan 07 14:28:02 Telcontar systemd[1]: Started Session 4177 of user news. Jan 07 14:28:02 Telcontar systemd[1]: Started User Manager for UID 9. Jan 07 14:28:05 Telcontar fetchnews[20412]: nntp.opensuse.org: connected to 130.57.2.16:119, reply: 200 Jan 07 14:28:06 Telcontar fetchnews[20412]: nntp.opensuse.org: got 0 new newsgroups. Jan 07 14:28:06 Telcontar fetchnews[20412]: nntp.opensuse.org: reading server info from /var/spool/news/leaf.node/nntp.opensuse.org Jan 07 14:28:06 Telcontar fetchnews[20412]: news.aioe.org: connected to 46.165.242.91:119, reply: 200 Jan 07 14:28:06 Telcontar fetchnews[20412]: news.aioe.org: 0 articles posted. Jan 07 14:28:06 Telcontar fetchnews[20412]: news.aioe.org: got 0 new newsgroups. Jan 07 14:28:06 Telcontar fetchnews[20412]: news.aioe.org: reading server info from /var/spool/news/leaf.node/news.aioe.org Jan 07 14:28:06 Telcontar fetchnews[20412]: comp.os.linux.setup: no new articles Jan 07 14:28:06 Telcontar fetchnews[20412]: es.comp.os.linux.programacion: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: alt.comp.os.linux: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: comp.os.linux.hardware: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: comp.os.linux.misc: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: comp.os.linux.security: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: comp.os.linux.networking: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: es.ciencia.electronica: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: comp.mobile.android: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: es.ciencia.misc: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: alt.comp.linux: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: alt.os.linux.suse: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: comp.os.linux.x: no new articles Jan 07 14:28:07 Telcontar fetchnews[20412]: alt.os.linux: no new articles Jan 07 14:28:08 Telcontar fetchnews[20412]: es.comp.os.linux.misc: no new articles Jan 07 14:28:08 Telcontar fetchnews[20412]: comp.os.linux.embedded: no new articles Jan 07 14:28:08 Telcontar fetchnews[20412]: news.mixmin.net: connected to 144.76.182.167:119, reply: 200 Jan 07 14:28:08 Telcontar fetchnews[20412]: news.mixmin.net: 0 articles posted. Jan 07 14:28:08 Telcontar fetchnews[20412]: news.mixmin.net: got 0 new newsgroups. Jan 07 14:28:08 Telcontar fetchnews[20412]: news.mixmin.net: reading server info from /var/spool/news/leaf.node/news.mixmin.net Jan 07 14:28:08 Telcontar fetchnews[20412]: comp.os.linux.setup: no new articles Jan 07 14:28:08 Telcontar fetchnews[20412]: es.comp.os.linux.programacion: no new articles Jan 07 14:28:08 Telcontar fetchnews[20412]: alt.comp.os.linux: no new articles Jan 07 14:28:08 Telcontar fetchnews[20412]: es.comp.os.linux.instalacion: no new articles Jan 07 14:28:08 Telcontar fetchnews[20412]: comp.os.linux.hardware: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: comp.os.linux.misc: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: comp.os.linux.security: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: comp.os.linux.networking: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: es.ciencia.electronica: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: comp.mobile.android: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: es.ciencia.misc: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: alt.linux: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: alt.comp.linux: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: alt.os.linux.suse: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: es.comp.os.linux.redes: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: comp.os.linux.x: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: alt.os.linux: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: es.comp.os.linux.misc: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: comp.os.linux.announce: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: comp.os.linux.embedded: no new articles Jan 07 14:28:09 Telcontar fetchnews[20412]: wrote active file with 47531 lines Jan 07 14:28:09 Telcontar fetchnews[20412]: child has process ID 20418 Jan 07 14:28:09 Telcontar CRON[20402]: pam_unix(crond:session): session closed for user news Jan 07 14:28:10 Telcontar systemd[1]: Stopping User Manager for UID 9... Jan 07 14:28:10 Telcontar systemd[20407]: pam_unix(systemd-user:session): session closed for user news Jan 07 14:28:10 Telcontar systemd[1]: Stopped User Manager for UID 9. Jan 07 14:28:10 Telcontar systemd[1]: Removed slice User Slice of news. Huh, I forgot "/bin/kill -RTMIN+22 1" Telcontar:~ # systemctl restart rsyslog.service Telcontar:~ # Now doesn't happen. Why, what did you do? :-? Thanks :-) -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)