Antony Stone wanted us to know:

>> /etc/pam.d/xdm
>> /etc/pam.d/xdm.rpmnew
>> /etc/logrotate.d/xdm
>> /etc/logrotate.d/xdm.rpmnew
>> so which one shal i eliminate?
>Rather than searching for xdm (which is what you want to leave in place) you 
>would have got a shorter output from a search for xdm.rpmnew (which is what 
>you want to delete).

Agreed.  Half of the battle with unix/linux is searching for what you
really want :-)

>I see no reason to leave either of the xdm.rpmnew files on your machine, so my 
>suggestion is:
>rm -f /etc/pam.d/xdm.rpmnew /etc/logrotate.d/xdm.rpmnew

Also agreed.

>> >> i am getting this message from my server every once in a while:
>> >> Cron <[EMAIL PROTECTED]> nice -n 19 run-parts /etc/cron.daily
>> >> run-parts: /etc/cron.daily/freshclam exited with return code 1
>> >> error: Ignoring xdm.rpmnew, because of .rpmnew ending

I'll also make the comment that those are two seperate lines.  If you
look in /etc/cron.daily, you'll see several files.  One of them is
freshclam, which exited with return code 1 when it was run.  Go run it
by hand and see if you can figure out what it's complaining about it.
Chances are it's a permissions problem because the default meaning of
"return code 1" is EPERM which is "Error Permissions" as indicated in
/usr/include/asm-generic/errno-base.h:

  #define EPERM            1      /* Operation not permitted */

So look at:
1) If the directory that it's trying to download the files to is owned
by the user freshclam runs as.
2) If the directory where it's logging is owned by the user freshclam
runs as.

The next line is from some other process that ran from the hourly cron
job.  It was a red herring in this case (means something that looked to
be related, but turned out to have nothing to do with the problem at
hand).  I do not know the origin of the phrase, but I bet google could
find it. :-)
-- 
Regards...              Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.       --Benjamin Franklin
Linux kernel 2.6.3-8mdkenterprise   2 users,  load average: 0.00, 0.03, 0.08


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to