PDA

View Full Version : Clam-update.log


pascal
07-10-2004, 10:01 AM
Hello

I do
# freshclam --quiet -l /var/log/clam-update.log

And I have this error :
ERROR: Can't open /var/log/clam-update.log in append mode.
ERROR: Problem with internal logger.

Any idea ?

Thanks

IWorx-Paul
07-10-2004, 02:55 PM
Does that /var/log/clam-update.log file exist? Is it writable by the clamd user?

burn420
08-26-2004, 09:13 AM
Hello,
I have had the same problem. It is writeable and it is there and owned by clamav. It should work this is the only box I had this problem on. Of course I installed qmail on the other boxes. Any other ideas? Funny I googled my question and it sent me here!

B

pascal
08-26-2004, 12:32 PM
Yep funny.

Do you have an interworx box ?

I still have the pbm so if somebody know :-p


Pascal

burn420
08-26-2004, 02:29 PM
Yes I have an interworx box with fedora core 2. Someone in another forum suggested it was the config file being different then the command. I checked that and it did not make a difference. Maybe we are missing a package/rpm? Help please!

IWorx-Chris
08-26-2004, 04:04 PM
I'd do the following (as root):


chmod 751 /var/log
touch /var/log/clam-update.log
chown root.<clam user> /var/log/clam-update.log
chmod 660 /var/log/clam-update.log


Chris

pascal
08-26-2004, 04:55 PM
Héhé Chris your the best ;)

It uses to work

I'm Waiting for the cron job this night just to confirm that all is fine (as I do not remember if I had this error by launching this cmd directly)

:-p

Another quick question :
Now I can't access directly to cmd in /sbin/xxx ou /usr/sbin
Do i miss something ?

For example for iptables I have to write the full link /sbin/iptables same for others as hwclock or etc....

My server was reboot few days ago

Do I have to change the $PATH ? don't remember how ?

Thanks again

Pascal

IWorx-Chris
08-26-2004, 05:12 PM
Another quick question :
Now I can't access directly to cmd in /sbin/xxx ou /usr/sbin
Do i miss something ?

For example for iptables I have to write the full link /sbin/iptables same for others as hwclock or etc....

My server was reboot few days ago

Do I have to change the $PATH ? don't remember how ?


What user are you when doing so? root? Make sure when you 'su' to root that you include the "-" arg:

i.e.

su - root

Chris

pascal
08-26-2004, 05:28 PM
erfff some times I lost my brain :mad:

of course I have to use -

grrrrr squalito :cool:

Thanks again

burn420
08-27-2004, 07:18 AM
That worked perfectly. Thank you