We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi something's not quite right with the half-hourly cronjob, or at least with my installation of it:
root 22030 818 0 13:00 ? 00:00:00 /usr/sbin/CROND -n minecra+ 22035 22030 0 13:00 ? 00:00:00 [msm] minecra+ 22346 22030 0 13:00 ? 00:00:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f minecraft minecra+ 22358 22346 0 13:00 ? 00:00:01 /usr/sbin/postdrop -r minecra+ 23075 1 0 13:00 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk minecra+ 23078 23075 0 13:00 ? 00:00:00 bash -c tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null minecra+ 23079 23078 0 13:00 ? 00:00:00 tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log minecra+ 23099 1 0 13:00 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk minecra+ 23102 23099 0 13:00 ? 00:00:00 bash -c tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null minecra+ 23103 23102 0 13:00 ? 00:00:00 tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log minecra+ 23286 1 0 13:00 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk minecra+ 23289 23286 0 13:00 ? 00:00:00 bash -c tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null minecra+ 23290 23289 0 13:00 ? 00:00:00 tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log root 23446 818 0 13:30 ? 00:00:00 /usr/sbin/CROND -n minecra+ 23450 23446 0 13:30 ? 00:00:00 [msm] minecra+ 23601 23446 0 13:30 ? 00:00:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f minecraft minecra+ 23609 23601 0 13:30 ? 00:00:00 /usr/sbin/postdrop -r minecra+ 24072 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk minecra+ 24075 24072 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/snapshot/logs/latest.log" 2>/dev/null minecra+ 24076 24075 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/snapshot/logs/latest.log minecra+ 24304 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk minecra+ 24308 24304 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null minecra+ 24309 24308 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log minecra+ 24329 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk minecra+ 24332 24329 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null minecra+ 24333 24332 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log root 24401 28895 0 nov26 pts/5 00:00:01 /bin/bash minecra+ 24517 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk minecra+ 24520 24517 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null minecra+ 24521 24520 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log
This doesn't happen when I run the cronjob myself using sudo:
[root@tux2 ~]# sudo -u minecraft /etc/init.d/msm all worlds todisk find: failed to restore initial working directory: Permission denied find: failed to restore initial working directory: Permission denied find: failed to restore initial working directory: Permission denied find: failed to restore initial working directory: Permission denied Disabling level saving... Done. Forcing save... Done. Synchronising worlds in RAM to disk... Done. Enabling level saving... Done. Disabling level saving... Done. Forcing save... Done. Synchronising worlds in RAM to disk... Done. Enabling level saving... Done. [root@tux2 ~]#
Any suggestions?
regards, Bent
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi something's not quite right with the half-hourly cronjob, or at least with my installation of it:
root 22030 818 0 13:00 ? 00:00:00 /usr/sbin/CROND -n
minecra+ 22035 22030 0 13:00 ? 00:00:00 [msm]
minecra+ 22346 22030 0 13:00 ? 00:00:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f minecraft
minecra+ 22358 22346 0 13:00 ? 00:00:01 /usr/sbin/postdrop -r
minecra+ 23075 1 0 13:00 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk
minecra+ 23078 23075 0 13:00 ? 00:00:00 bash -c tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null
minecra+ 23079 23078 0 13:00 ? 00:00:00 tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log
minecra+ 23099 1 0 13:00 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk
minecra+ 23102 23099 0 13:00 ? 00:00:00 bash -c tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null
minecra+ 23103 23102 0 13:00 ? 00:00:00 tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log
minecra+ 23286 1 0 13:00 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk
minecra+ 23289 23286 0 13:00 ? 00:00:00 bash -c tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null
minecra+ 23290 23289 0 13:00 ? 00:00:00 tail --pid=22035 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log
root 23446 818 0 13:30 ? 00:00:00 /usr/sbin/CROND -n
minecra+ 23450 23446 0 13:30 ? 00:00:00 [msm]
minecra+ 23601 23446 0 13:30 ? 00:00:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f minecraft
minecra+ 23609 23601 0 13:30 ? 00:00:00 /usr/sbin/postdrop -r
minecra+ 24072 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk
minecra+ 24075 24072 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/snapshot/logs/latest.log" 2>/dev/null
minecra+ 24076 24075 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/snapshot/logs/latest.log
minecra+ 24304 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk
minecra+ 24308 24304 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null
minecra+ 24309 24308 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log
minecra+ 24329 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk
minecra+ 24332 24329 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null
minecra+ 24333 24332 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log
root 24401 28895 0 nov26 pts/5 00:00:01 /bin/bash
minecra+ 24517 1 0 13:30 ? 00:00:00 /bin/bash /etc/init.d/msm all worlds todisk
minecra+ 24520 24517 0 13:30 ? 00:00:00 bash -c tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 "/data/msm/servers/terpcraft/server.log" 2>/dev/null
minecra+ 24521 24520 0 13:30 ? 00:00:00 tail --pid=23450 --follow=name --retry --lines=20 --sleep-interval=0.1 /data/msm/servers/terpcraft/server.log
This doesn't happen when I run the cronjob myself using sudo:
[root@tux2 ~]# sudo -u minecraft /etc/init.d/msm all worlds todisk
find: failed to restore initial working directory: Permission denied
find: failed to restore initial working directory: Permission denied
find: failed to restore initial working directory: Permission denied
find: failed to restore initial working directory: Permission denied
Disabling level saving... Done.
Forcing save... Done.
Synchronising worlds in RAM to disk... Done.
Enabling level saving... Done.
Disabling level saving... Done.
Forcing save... Done.
Synchronising worlds in RAM to disk... Done.
Enabling level saving... Done.
[root@tux2 ~]#
Any suggestions?
regards,
Bent
The text was updated successfully, but these errors were encountered: