[sisyphus] service clamd status

Rafael Malikov malikov на ancor.ru
Ср Мар 31 09:19:20 UTC 2010


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

последний сизиф:
[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.


Подробная информация о списке рассылки Sisyphus