ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Cron  /usr/bin/freshclam --quiet --daemon-notify
@ 2010-06-08  4:01 alisher
  2010-06-08  5:56 ` Sergey
  0 siblings, 1 reply; 6+ messages in thread
From: alisher @ 2010-06-08  4:01 UTC (permalink / raw)
  To: community

После обновления получаю:
ERROR: Can't rename /var/lib/clamav/clamav-9f1841c6f150cc52f3f77896ed0b2bd9 to 
daily.cvd: Operation not permitted
Что сделать надо?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Cron  /usr/bin/freshclam --quiet --daemon-notify
  2010-06-08  4:01 [Comm] Cron /usr/bin/freshclam --quiet --daemon-notify alisher
@ 2010-06-08  5:56 ` Sergey
  2010-06-08  9:26   ` alisher
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey @ 2010-06-08  5:56 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Tuesday 08 June 2010, alisher wrote:

> После обновления получаю:
> ERROR: Can't rename /var/lib/clamav/clamav-9f1841c6f150cc52f3f77896ed0b2bd9 to 
> daily.cvd: Operation not permitted

Странно. У меня такого не вылезало.

> Что сделать надо?

Вообще, можно удалить всё в /var/lib/clamav/, кроме сокета, и запустить
freshclam.

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Cron  /usr/bin/freshclam --quiet --daemon-notify
  2010-06-08  5:56 ` Sergey
@ 2010-06-08  9:26   ` alisher
  2010-06-08 10:05     ` Sergey
  0 siblings, 1 reply; 6+ messages in thread
From: alisher @ 2010-06-08  9:26 UTC (permalink / raw)
  To: ALT Linux Community general discussions

В сообщении от Вторник 08 июня 2010 11:56:58 автор Sergey написал:
> On Tuesday 08 June 2010, alisher wrote:
> > После обновления получаю:
> > ERROR: Can't rename
> > /var/lib/clamav/clamav-9f1841c6f150cc52f3f77896ed0b2bd9 to daily.cvd:
> > Operation not permitted
> 
> Странно. У меня такого не вылезало.
> 
> > Что сделать надо?
> 
> Вообще, можно удалить всё в /var/lib/clamav/, кроме сокета, и запустить
> freshclam.
reshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check 
permissions!).
ERROR: Problem with internal logger (UpdateLogFile = 
/var/log/clamav/freshclam.log).

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Cron  /usr/bin/freshclam --quiet --daemon-notify
  2010-06-08 10:05     ` Sergey
@ 2010-06-08 10:04       ` alisher
  2010-06-08 11:26         ` Sergey
  0 siblings, 1 reply; 6+ messages in thread
From: alisher @ 2010-06-08 10:04 UTC (permalink / raw)
  To: ALT Linux Community general discussions

В сообщении от Вторник 08 июня 2010 16:05:20 автор Sergey написал:
> On Tuesday 08 June 2010, alisher wrote:
> > > Вообще, можно удалить всё в /var/lib/clamav/, кроме сокета, и запустить
> > > freshclam.
> > 
> > reshclam
> > ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check
> 
> Значит и тут грохнуть. Или права выставить правильно.
> Это, явно, кто-то с правами руками поигрался. Или пользователя пересоздал,
> возможно. Не должно такого просто так случаться.
> 
> apt-get install clamav --reinstall
> 
> Да и /var/log/clamav/ очистить тоже предварительно.
freshclam от рута запускать?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Cron  /usr/bin/freshclam --quiet --daemon-notify
  2010-06-08  9:26   ` alisher
@ 2010-06-08 10:05     ` Sergey
  2010-06-08 10:04       ` alisher
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey @ 2010-06-08 10:05 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Tuesday 08 June 2010, alisher wrote:

> > Вообще, можно удалить всё в /var/lib/clamav/, кроме сокета, и запустить
> > freshclam.

> reshclam
> ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check 

Значит и тут грохнуть. Или права выставить правильно.
Это, явно, кто-то с правами руками поигрался. Или пользователя пересоздал,
возможно. Не должно такого просто так случаться.

apt-get install clamav --reinstall

Да и /var/log/clamav/ очистить тоже предварительно.

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Cron  /usr/bin/freshclam --quiet --daemon-notify
  2010-06-08 10:04       ` alisher
@ 2010-06-08 11:26         ` Sergey
  0 siblings, 0 replies; 6+ messages in thread
From: Sergey @ 2010-06-08 11:26 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Tuesday 08 June 2010, alisher wrote:

> > Да и /var/log/clamav/ очистить тоже предварительно.

> freshclam от рута запускать?

Да. У него в конфиге написано, какие права на базу ставить потом:

# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
DatabaseOwner mail

В общем-то, в /etc/cron.d/freshclam всё написано.

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-08 11:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-08  4:01 [Comm] Cron /usr/bin/freshclam --quiet --daemon-notify alisher
2010-06-08  5:56 ` Sergey
2010-06-08  9:26   ` alisher
2010-06-08 10:05     ` Sergey
2010-06-08 10:04       ` alisher
2010-06-08 11:26         ` Sergey

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git