On one system I am missing /etc/log/rpmpkgs
I believe that this file is updated by some cron job, and maybe I just have not had this system powered up at the right time for the job to run. Though I had thought that if a job was scheduled for a time the computer was off, it would run sometime soon (with some definition of 'soon') once the system was on again.
On another system, I have /etc/log/rpmpkgs, but a rpm I installed from the karan testing repo is shown installed in /etc/log/yum.log but not in rpmpkgs.
Robert Moskowitz wrote:
On one system I am missing /etc/log/rpmpkgs
/etc/log? Are you sure that you don't mean /var/log/rpmpkgs?
That one is updated via /etc/cron.daily/rpm, which belongs to the rpm package. So if you do have rpm installed, you should have a) the cron job and b) the log file.
Ralph
Ralph Angenendt wrote:
Robert Moskowitz wrote:
On one system I am missing /etc/log/rpmpkgs
/etc/log? Are you sure that you don't mean /var/log/rpmpkgs?
oops. Yes /var/log
Again too many systems running on too many sides of the project.
That one is updated via /etc/cron.daily/rpm, which belongs to the rpm package. So if you do have rpm installed, you should have a) the cron job and b) the log file.
I see...
Well, rpm is on the system. /etc/cron.daily/rpm exists but no /var/log/rpmpkgs
Does the system have to be one at some time during the night to run the daily crons?
Robert Moskowitz wrote:
Ralph Angenendt wrote:
That one is updated via /etc/cron.daily/rpm, which belongs to the rpm package. So if you do have rpm installed, you should have a) the cron job and b) the log file.
I see...
Well, rpm is on the system. /etc/cron.daily/rpm exists but no /var/log/rpmpkgs
Does the system have to be one at some time during the night to run the daily crons?
Yes. See /etc/crontab
Ralph
On Monday 08 December 2008 18:27:42 Ralph Angenendt wrote:
Robert Moskowitz wrote:
Ralph Angenendt wrote:
That one is updated via /etc/cron.daily/rpm, which belongs to the rpm package. So if you do have rpm installed, you should have a) the cron job and b) the log file.
I see...
Well, rpm is on the system. /etc/cron.daily/rpm exists but no /var/log/rpmpkgs
Does the system have to be one at some time during the night to run the daily crons?
Yes. See /etc/crontab
Which is why many of us install anacron from day 1. It checks to see whether the housekeeping has been done at the required time, and if it hasn't it does it.
Anne
Anne Wilson wrote:
On Monday 08 December 2008 18:27:42 Ralph Angenendt wrote:
Robert Moskowitz wrote:
Ralph Angenendt wrote:
That one is updated via /etc/cron.daily/rpm, which belongs to the rpm package. So if you do have rpm installed, you should have a) the cron job and b) the log file.
I see...
Well, rpm is on the system. /etc/cron.daily/rpm exists but no /var/log/rpmpkgs
Does the system have to be one at some time during the night to run the daily crons?
Yes. See /etc/crontab
Which is why many of us install anacron from day 1. It checks to see whether the housekeeping has been done at the required time, and if it hasn't it does it.
More now understood.
Thanks Anne.
On Mon, Dec 8, 2008 at 1:27 PM, Ralph Angenendt ra+centos@br-online.de wrote:
Robert Moskowitz wrote:
<snip>
Does the system have to be one at some time during the night to run the daily crons?
Yes. See /etc/crontab
There is another service you can run, if the box is not powered on at the time the task is scheduled: anacron
Here's the description: "Run cron jobs that were left out due to downtime"
Lanny Marcus wrote:
On Mon, Dec 8, 2008 at 1:27 PM, Ralph Angenendt ra+centos@br-online.de wrote:
Robert Moskowitz wrote:
<snip>
Does the system have to be one at some time during the night to run the daily crons?
Yes. See /etc/crontab
There is another service you can run, if the box is not powered on at the time the task is scheduled: anacron
Here's the description: "Run cron jobs that were left out due to downtime"
So something else to add as a needed piece of the puzzle.
Robert Moskowitz rgm@htt-consult.com wrote:
On one system I am missing /etc/log/rpmpkgs
I believe that this file is updated by some cron job, and maybe I just have not had this system powered up at the right time for the job to run. Though I had thought that if a job was scheduled for a time the computer was off, it would run sometime soon (with some definition of 'soon') once the system was on again.
On another system, I have /etc/log/rpmpkgs, but a rpm I installed from the karan testing repo is shown installed in /etc/log/yum.log but not in rpmpkgs.
Are you using slackware or gentoo? The logs are located in /var/log/ unless you are using some other non-redhat distro.
Regards, Vandaman.