[newbie] anacron problem
When I start PC for the day, I get Aug 20 04:21:10 lvghomepc anacron[1423]: Job `cron.daily' terminated (exit status: 1) (mailing output) but I couldn't see any error log in /var/log/cron or mail in /var/log/mail [EMAIL PROTECTED] cron]# l total 10 drwxr-xr-x2 root root 120 Aug 19 02:51 ./ drwxr-xr-x 13 root root 1128 Aug 20 19:11 ../ -rw-r-1 root root0 Aug 19 02:51 errors -rw-r-1 root root 4431 Aug 20 19:12 info -rw-r-1 root root0 Aug 19 02:51 warnings [EMAIL PROTECTED] mail]# l total 2 drwxr-xr-x2 root root 120 Aug 19 02:51 ./ drwxr-xr-x 13 root root 1128 Aug 20 19:11 ../ -rw-r-1 root root0 Aug 19 02:51 errors -rw-r-1 root root0 Aug 19 02:51 info -rw-r-1 root root0 Aug 19 02:51 warnings But I get a message while halting saying pid of anacron doesn't exist. How to avoid these? -- L.V.Gandhi 203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017 MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] anacron problem
On Wednesday 20 Aug 2003 2:51 pm, L.V.Gandhi wrote: When I start PC for the day, I get Aug 20 04:21:10 lvghomepc anacron[1423]: Job `cron.daily' terminated (exit status: 1) (mailing output) but I couldn't see any error log in /var/log/cron or mail in /var/log/mail [EMAIL PROTECTED] cron]# l total 10 drwxr-xr-x2 root root 120 Aug 19 02:51 ./ drwxr-xr-x 13 root root 1128 Aug 20 19:11 ../ -rw-r-1 root root0 Aug 19 02:51 errors -rw-r-1 root root 4431 Aug 20 19:12 info -rw-r-1 root root0 Aug 19 02:51 warnings [EMAIL PROTECTED] mail]# l total 2 drwxr-xr-x2 root root 120 Aug 19 02:51 ./ drwxr-xr-x 13 root root 1128 Aug 20 19:11 ../ -rw-r-1 root root0 Aug 19 02:51 errors -rw-r-1 root root0 Aug 19 02:51 info -rw-r-1 root root0 Aug 19 02:51 warnings But I get a message while halting saying pid of anacron doesn't exist. How to avoid these? have you looked in /var/log/syslog ? Also AFAIK anacron will mail to root, so enter 'mail' to read it. (If you are running a Postfix mail server you should have root's mail redirected to a user account) HTH derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] anacron
If you stop anacron/cron then your system will not be able to perform essential maintenance. Your log files will fill up up to infinity, your temporary files will not be erased, and your system will not perform any security checks. What is the problem with having it running? derek On Tuesday 05 Nov 2002 7:20 am, Noah Hicks wrote: I need to know how to get anacron to stop running as often as it seems to be. I have found the task file in the /etc dir but I can't see how to modify it and the man page is hard for me to understand. Could anyone tell me how to do this? Unless there is some task I need it to do, I would like to get it to cease completely. Can I just remove the cron.daily and cron.weekly files? This is what I have now: [noahlocalhost etc]$ cat anacrontab # /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # These entries are useful for a Mandrake system. 1 5 cron.daily run-parts /etc/cron.daily 7 10 cron.weekly run-parts /etc/cron.weekly 30 15 cron.monthlyrun-parts /etc/cron.monthly Thanks Noah Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] anacron
You can see the daily jobs in /etc/cron.daily Whenever you install an RPM which needs 'maintenance' a file gets dropped in here for the daily processing. For example logrotate will compress your old logs and delete the oldest entries. It will cause a bit of hard drive activity, but not a vast amount (unless you have big logs) The weekly job slocate.cron will cause a lot of harddrive activity, because it compiles a database of every file on your hard drive for use by the slocate command. (If you have it installed) The daily msec job is checking on the file permissions of all your system files, so that could cause a bit of activity. If you find the daily job annoying, why not set it to run at a more convenient time? It is only a matter of editing the /etc/crontab file. For instance in this line 56 10 * * * root nice -n 19 run-parts /etc/cron.daily All the scripts in location /etc/cron.daily are scheduled to run at 10:56 every day If you want a nice GUI to setup cron jobs, then there is one in webmin. derek On Tuesday 05 Nov 2002 6:15 pm, Noah Hicks wrote: Well the only problem I'm having is that when it's running, it slows the system down. There's a lot of HD activity and the programs I'm running slow down significatly. This can last for a good 3-4 min. I find it kind of irritating. Seems like it only does it once a day though. I'm just running a laptop for webbrowsing, word processing and data analysis with a few simple console apps. How high do my security settings need to be? Thanks for helping me figure this out -Noah BTW is there something wrong with the list server? I got your reply but I didn't get my own message. On Tuesday 05 November 2002 11:24, Derek Jennings wrote: If you stop anacron/cron then your system will not be able to perform essential maintenance. Your log files will fill up up to infinity, your temporary files will not be erased, and your system will not perform any security checks. What is the problem with having it running? derek On Tuesday 05 Nov 2002 7:20 am, Noah Hicks wrote: I need to know how to get anacron to stop running as often as it seems to be. I have found the task file in the /etc dir but I can't see how to modify it and the man page is hard for me to understand. Could anyone tell me how to do this? Unless there is some task I need it to do, I would like to get it to cease completely. Can I just remove the cron.daily and cron.weekly files? This is what I have now: [noahlocalhost etc]$ cat anacrontab # /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # These entries are useful for a Mandrake system. 1 5 cron.daily run-parts /etc/cron.daily 7 10 cron.weekly run-parts /etc/cron.weekly 30 15 cron.monthlyrun-parts /etc/cron.monthly Thanks Noah Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] anacron
On Wed, 2002-11-06 at 05:15, Noah Hicks wrote: Well the only problem I'm having is that when it's running, it slows the system down. There's a lot of HD activity and the programs I'm running slow down significatly. This can last for a good 3-4 min. I find it kind of irritating. Seems like it only does it once a day though. I'm just running a laptop for webbrowsing, word processing and data analysis with a few simple console apps. How high do my security settings need to be? Thanks for helping me figure this out -Noah Sounds like it could be updatedb or maybe tripwire running in the background? When updatedb runs, there is quite a bit of disk activity, and the larger the disks, the more the activity... When it happens, why not open up a term and type ps -Ae and see what's the last in the PID list...that might start to point to the villian... -- Wed Nov 6 09:30:00 EST 2002 |____ | | / \ /| |'-. | | .\__/ || | | | | _ / `._ \|_|_.-' | | | / \__.`=._) (_ |kuhn media australia | |/ ._/ || |http://kma.0catch.com | |'. `\ | | |stephen kuhn | ;/ / | | |email: [EMAIL PROTECTED] | smk ) /_/| |.---.| |mobile: 0410-728-389 | ' `-`' | You tried it just for once, found it alright for kicks, but now you find out you have a habit that sticks, you're an orgasm addict, you're always at it, and you're an orgasm addict. -- The Buzzcocks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] anacron
Ok thanks Derek, that helps my understanding alot. I got that line in crontab. It shouldn't be as much of a problem. I wonder if anyone could make this program run in smaller parts over the course of a whole day. Wouldn't that make it much more inconspicuous on the system? oh well thanks for the tips -Noah On Tuesday 05 November 2002 14:16, Derek Jennings wrote: You can see the daily jobs in /etc/cron.daily Whenever you install an RPM which needs 'maintenance' a file gets dropped in here for the daily processing. For example logrotate will compress your old logs and delete the oldest entries. It will cause a bit of hard drive activity, but not a vast amount (unless you have big logs) The weekly job slocate.cron will cause a lot of harddrive activity, because it compiles a database of every file on your hard drive for use by the slocate command. (If you have it installed) The daily msec job is checking on the file permissions of all your system files, so that could cause a bit of activity. If you find the daily job annoying, why not set it to run at a more convenient time? It is only a matter of editing the /etc/crontab file. For instance in this line 56 10 * * * root nice -n 19 run-parts /etc/cron.daily All the scripts in location /etc/cron.daily are scheduled to run at 10:56 every day If you want a nice GUI to setup cron jobs, then there is one in webmin. derek On Tuesday 05 Nov 2002 6:15 pm, Noah Hicks wrote: Well the only problem I'm having is that when it's running, it slows the system down. There's a lot of HD activity and the programs I'm running slow down significatly. This can last for a good 3-4 min. I find it kind of irritating. Seems like it only does it once a day though. I'm just running a laptop for webbrowsing, word processing and data analysis with a few simple console apps. How high do my security settings need to be? Thanks for helping me figure this out -Noah BTW is there something wrong with the list server? I got your reply but I didn't get my own message. On Tuesday 05 November 2002 11:24, Derek Jennings wrote: If you stop anacron/cron then your system will not be able to perform essential maintenance. Your log files will fill up up to infinity, your temporary files will not be erased, and your system will not perform any security checks. What is the problem with having it running? derek On Tuesday 05 Nov 2002 7:20 am, Noah Hicks wrote: I need to know how to get anacron to stop running as often as it seems to be. I have found the task file in the /etc dir but I can't see how to modify it and the man page is hard for me to understand. Could anyone tell me how to do this? Unless there is some task I need it to do, I would like to get it to cease completely. Can I just remove the cron.daily and cron.weekly files? This is what I have now: [noahlocalhost etc]$ cat anacrontab # /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # These entries are useful for a Mandrake system. 1 5 cron.daily run-parts /etc/cron.daily 7 10 cron.weekly run-parts /etc/cron.weekly 30 15 cron.monthlyrun-parts /etc/cron.monthly Thanks Noah Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] anacron: is this error critical
i tried to run this command from bash service -s and the first line gave me this error on anacron anacron dead but subsys locked is this harmless? or is there something i should do about it? thanks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com