View previous topic :: View next topic |
Author |
Message |
iandoug l33t
Joined: 11 Feb 2005 Posts: 839 Location: Cape Town, South Africa
|
Posted: Tue Apr 28, 2020 8:12 am Post subject: elogind and cron jobs [SOLDVED] |
|
|
Hi
Since switching to elogind as required, it seems like my cron jobs which are not run as root user, no longer run.
Is this a known issue?
If I look in /var/log/messages, then I see things like:
Code: |
Apr 28 09:01:01 kla CROND[18228]: (root) CMD (run-parts /etc/cron.hourly)
Apr 28 09:02:01 kla kernel: crond[18260]: segfault at 6236 ip 0000000000006236 sp 00007ffdcf0d2818 error 14 in crond[56057189b000+e000]
Apr 28 09:10:01 kla CROND[18393]: (root) CMD ( test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr 28 09:20:01 kla CROND[18558]: (root) CMD ( test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr 28 09:30:01 kla CROND[19231]: (root) CMD ( test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr 28 09:40:01 kla CROND[19405]: (root) CMD ( test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr 28 09:50:01 kla CROND[19659]: (root) CMD ( test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr 28 09:59:01 kla CROND[19980]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)
Apr 28 10:00:01 kla CROND[19993]: (root) CMD ( test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Apr 28 10:00:01 kla run-crons[19997]: (root) CMD (/etc/cron.hourly/vnstat)
Apr 28 10:01:01 kla CROND[20047]: (root) CMD (run-parts /etc/cron.hourly)
Apr 28 10:02:01 kla kernel: crond[20068]: segfault at 6236 ip 0000000000006236 sp 00007ffdcf0d2818 error 14 in crond[56057189b000+e000]
|
The job at hh:02 is:
# monitor the disks and advise if problems
2 * * * * ian /home/ian/monitor-disks.sh
Does anyone have any ideas?
Thanks, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Last edited by iandoug on Sat May 16, 2020 5:49 pm; edited 1 time in total |
|
Back to top |
|
|
iandoug l33t
Joined: 11 Feb 2005 Posts: 839 Location: Cape Town, South Africa
|
Posted: Sat May 16, 2020 5:49 pm Post subject: |
|
|
I had to reboot the system (it hung, believe it or not) and after reboot things works normally again.
Odd
Marking as solved.
Cheers, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|