ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] service clamd status
@ 2010-03-31  9:19 Rafael Malikov
  2010-03-31 14:50 ` Sergey
  2010-04-01  3:34 ` Ildar Mulyukov
  0 siblings, 2 replies; 7+ messages in thread
From: Rafael Malikov @ 2010-03-31  9:19 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Доброго времени суток.

последний сизиф:
[root@raflinux ~]# rpm -qa | grep clam
clamav-freshclam-0.95.3-alt1.1
libclamav-0.95.3-alt1.1
clamav-db-20100226-alt1
clamav-0.95.3-alt1.1

[root@raflinux ~]# uname -a
Linux raflinux 2.6.27-ovz-smp-alt12 #1 SMP Fri Jan 29 23:11:37 UTC 2010 
x86_64 GNU/Linux

[root@raflinux ~]# service clamd start
Starting clamd service: 
 
[ DONE ]

[root@raflinux ~]# service clamd status
clamd is dead, but stale PID file exists

при этом в логах никаких ошибок:
[root@raflinux ~]# cat /var/log/clamav/clamd.log
Wed Mar 31 12:51:12 2010 -> +++ Started at Wed Mar 31 12:51:12 2010
Wed Mar 31 12:51:12 2010 -> clamd daemon 0.95.3-exp (OS: linux-gnu, 
ARCH: x86_64, CPU: x86_64)
Wed Mar 31 12:51:12 2010 -> Running as user root (UID 0, GID 0)
Wed Mar 31 12:51:12 2010 -> Log file size limit disabled.
Wed Mar 31 12:51:12 2010 -> Reading databases from /var/lib/clamav
Wed Mar 31 12:51:12 2010 -> Not loading PUA signatures.
Wed Mar 31 12:51:14 2010 -> Loaded 720932 signatures.
Wed Mar 31 12:51:14 2010 -> LOCAL: Unix socket file 
/var/lib/clamav/clamd.socket
Wed Mar 31 12:51:14 2010 -> LOCAL: Setting connection queue length to 15
Wed Mar 31 12:51:15 2010 -> Limits: Global size limit set to 104857600 
bytes.
Wed Mar 31 12:51:15 2010 -> Limits: File size limit set to 26214400 bytes.
Wed Mar 31 12:51:15 2010 -> Limits: Recursion level limit set to 16.
Wed Mar 31 12:51:15 2010 -> Limits: Files limit set to 10000.
Wed Mar 31 12:51:15 2010 -> Limits: Core-dump limit is 0.
Wed Mar 31 12:51:15 2010 -> Archive support enabled.
Wed Mar 31 12:51:15 2010 -> Algorithmic detection enabled.
Wed Mar 31 12:51:15 2010 -> Portable Executable support enabled.
Wed Mar 31 12:51:15 2010 -> ELF support enabled.
Wed Mar 31 12:51:15 2010 -> Mail files support enabled.
Wed Mar 31 12:51:15 2010 -> OLE2 support enabled.
Wed Mar 31 12:51:15 2010 -> PDF support enabled.
Wed Mar 31 12:51:15 2010 -> HTML support enabled.
Wed Mar 31 12:51:15 2010 -> Self checking every 600 seconds.
Wed Mar 31 12:51:15 2010 -> Listening daemon: PID: 6504
Wed Mar 31 12:51:15 2010 -> MaxQueue set to: 100
Wed Mar 31 12:51:28 2010 -> Reading databases from /var/lib/clamav
Wed Mar 31 12:51:31 2010 -> Database correctly reloaded (750458 signatures)
Wed Mar 31 13:01:35 2010 -> SelfCheck: Database status OK.
Wed Mar 31 13:11:38 2010 -> SelfCheck: Database status OK.
Wed Mar 31 13:18:02 2010 -> Reading databases from /var/lib/clamav


[root@raflinux ~]# lsof | grep clam
clamd      6504       root  cwd       DIR               8,19       4096 
          2 /
clamd      6504       root  rtd       DIR               8,19       4096 
          2 /
clamd      6504       root  txt       REG               8,19     134296 
     516111 /usr/sbin/clamd
clamd      6504       root  mem       REG               8,19      48048 
     369124 /usr/lib64/libclamunrar.so.6.0.5
clamd      6504       root  mem       REG               8,19      10232 
     369136 /usr/lib64/libclamunrar_iface.so.6.0.5
clamd      6504       root  mem       REG               8,19      51600 
    1499397 /lib64/libnss_files-2.11.1.so
clamd      6504       root  mem       REG               8,19      14592 
    1499387 /lib64/libdl-2.11.1.so
clamd      6504       root  mem       REG               8,19      92528 
    1499181 /lib64/libz.so.1.2.3
clamd      6504       root  mem       REG               8,19      74928 
    1499168 /lib64/libbz2.so.1.0.3
clamd      6504       root  mem       REG               8,19    1379624 
    1499345 /lib64/libc-2.11.1.so
clamd      6504       root  mem       REG               8,19     126300 
    1499406 /lib64/libpthread-2.11.1.so
clamd      6504       root  mem       REG               8,19     912168 
     369122 /usr/lib64/libclamav.so.6.0.5
clamd      6504       root  mem       REG               8,19     135146 
    1499425 /lib64/ld-2.11.1.so
clamd      6504       root    0r      CHR                1,3        0t0 
       3553 /dev/null
clamd      6504       root    1w      CHR                1,3        0t0 
       3553 /dev/null
clamd      6504       root    2w      CHR                1,3        0t0 
       3553 /dev/null
clamd      6504       root    3w      REG               8,19       1698 
    4448280 /var/log/clamav/clamd.log
clamd      6504       root    4u     unix 0xffff8800c38e9180        0t0 
    1878237 socket
clamd      6504       root    5u     unix 0xffff8800c38e8380        0t0 
    1878274 /var/lib/clamav/clamd.socket
clamd      6504       root    6r     FIFO                0,6        0t0 
    1878277 pipe
clamd      6504       root    7w     FIFO                0,6        0t0 
    1878277 pipe
clamd      6504       root    8r     FIFO                0,6        0t0 
    1878278 pipe
clamd      6504       root    9w     FIFO                0,6        0t0 
    1878278 pipe

вроде как все запущено, все работает... так почему же статус кривой?

-- 
Rafael Malikov,
System administrator.


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

* Re: [sisyphus] service clamd status
  2010-03-31  9:19 [sisyphus] service clamd status Rafael Malikov
@ 2010-03-31 14:50 ` Sergey
  2010-04-01  3:34 ` Ildar Mulyukov
  1 sibling, 0 replies; 7+ messages in thread
From: Sergey @ 2010-03-31 14:50 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Wednesday 31 March 2010, Rafael Malikov wrote:

> [root@raflinux ~]# service clamd status
> clamd is dead, but stale PID file exists
 
# service clamd status
clamd is running

# rpm -qa|grep clamav
clamav-freshclam-0.95.3-alt0.M51.1
libclamav-0.95.3-alt0.M51.1
clamav-0.95.3-alt0.M51.1

Сборки в 5.1 и Sisyphus идентичны...

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


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

* Re: [sisyphus] service clamd status
  2010-03-31  9:19 [sisyphus] service clamd status Rafael Malikov
  2010-03-31 14:50 ` Sergey
@ 2010-04-01  3:34 ` Ildar Mulyukov
  2010-04-01  4:01   ` Rafael Malikov
  1 sibling, 1 reply; 7+ messages in thread
From: Ildar Mulyukov @ 2010-04-01  3:34 UTC (permalink / raw)
  To: sisyphus

On 31.03.2010 15:19:20, Rafael Malikov wrote:
> вроде как все запущено, все работает... так почему же статус кривой?
# service clamd stop
# killall clamd
# service clamd start

?
-- 
Ildar  Mulyukov,  free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar.mulyukov@gmail.com
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================


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

* Re: [sisyphus] service clamd status
  2010-04-01  3:34 ` Ildar Mulyukov
@ 2010-04-01  4:01   ` Rafael Malikov
  2010-04-01  8:04     ` Sergey
  2010-04-01  8:56     ` Sergey Shilov
  0 siblings, 2 replies; 7+ messages in thread
From: Rafael Malikov @ 2010-04-01  4:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Ildar Mulyukov wrote:
> On 31.03.2010 15:19:20, Rafael Malikov wrote:
>> вроде как все запущено, все работает... так почему же статус кривой?
> # service clamd stop
> # killall clamd
> # service clamd start
> 
> ?
[root@raflinux ~]# service clamd stop
Service clamd is not running. 
 
      [PASSED]
[root@raflinux ~]# killall clamd
[root@raflinux ~]# service clamd start
Starting clamd service: 
                                                            [ DONE ]
[root@raflinux ~]# service clamd status
clamd is dead, but stale PID file exists

Может быть это как нибуть связано с тем что у меня OVZ ядро?

-- 
Rafael Malikov,
System administrator.


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

* Re: [sisyphus] service clamd status
  2010-04-01  4:01   ` Rafael Malikov
@ 2010-04-01  8:04     ` Sergey
  2010-04-01  8:56     ` Sergey Shilov
  1 sibling, 0 replies; 7+ messages in thread
From: Sergey @ 2010-04-01  8:04 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Thursday 01 April 2010, Rafael Malikov wrote:
                                                             [ DONE ]
> [root@raflinux ~]# service clamd status
> clamd is dead, but stale PID file exists
> 
> Может быть это как нибуть связано с тем что у меня OVZ ядро?
 
Да нет, у меня и с  2.6.27-ovz-smp-alt11 показывает нормально.

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


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

* Re: [sisyphus] service clamd status
  2010-04-01  4:01   ` Rafael Malikov
  2010-04-01  8:04     ` Sergey
@ 2010-04-01  8:56     ` Sergey Shilov
  2010-04-02  3:57       ` [sisyphus] [JT]Re: " Rafael Malikov
  1 sibling, 1 reply; 7+ messages in thread
From: Sergey Shilov @ 2010-04-01  8:56 UTC (permalink / raw)
  To: sisyphus

В сообщении от Четверг 01 апреля 2010 07:01:11 автор Rafael Malikov написал:
> [root@raflinux ~]# service clamd start
> Starting clamd service:
>                                                             [ DONE ]
> [root@raflinux ~]# service clamd status
> clamd is dead, but stale PID file exists
> 
> Может быть это как нибуть связано с тем что у меня OVZ ядро?
Такое может быть если --expect-user в инитскрипте ( /etc/init.d/clamd ) не 
совпадает пользователем от имени которого  запущен демон (см. User в 
/etc/clamav/clamd.conf)
 
---
V.B.R
S.Shilov

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

* [sisyphus] [JT]Re:  service clamd status
  2010-04-01  8:56     ` Sergey Shilov
@ 2010-04-02  3:57       ` Rafael Malikov
  0 siblings, 0 replies; 7+ messages in thread
From: Rafael Malikov @ 2010-04-02  3:57 UTC (permalink / raw)
  To: hsvhome, ALT Linux Sisyphus discussions

Sergey Shilov wrote:
> В сообщении от Четверг 01 апреля 2010 07:01:11 автор Rafael Malikov написал:
>> [root@raflinux ~]# service clamd start
>> Starting clamd service:
>>                                                             [ DONE ]
>> [root@raflinux ~]# service clamd status
>> clamd is dead, but stale PID file exists
>>
>> Может быть это как нибуть связано с тем что у меня OVZ ядро?
> Такое может быть если --expect-user в инитскрипте ( /etc/init.d/clamd ) не 
> совпадает пользователем от имени которого  запущен демон (см. User в 
> /etc/clamav/clamd.conf)

Оно

-- 
Rafael Malikov,
System administrator.


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

end of thread, other threads:[~2010-04-02  3:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-31  9:19 [sisyphus] service clamd status Rafael Malikov
2010-03-31 14:50 ` Sergey
2010-04-01  3:34 ` Ildar Mulyukov
2010-04-01  4:01   ` Rafael Malikov
2010-04-01  8:04     ` Sergey
2010-04-01  8:56     ` Sergey Shilov
2010-04-02  3:57       ` [sisyphus] [JT]Re: " Rafael Malikov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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