Перейти к содержимому


Фото
- - - - -

Dr.Web Daemon для Linux берет настройки с ESS и drweb32.ini

ESS drweb32.ini samba

  • Please log in to reply
18 ответов в этой теме

#1 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 07 Декабрь 2011 - 14:01

Доброго времени!
Согласно документации drweb-file-servers-602-unix-ru.pdf,

Затем каждый раз при запуске какого-либо из компонентов Агент запрашивает и получает конфигурацию от ES-сервера.

Но при запуске Dr.Web Daemon для Linux берет настроики и с ESS и с drweb32.ini. Например, на сервере задано:
Прикрепленный файл  drweb-daemon.png   14,83К   4 Скачано раз
а в drweb32.ini:
# Socket = {MultiString} (/var/drweb/run/.daemon,3000, localhost)
# Description of socket used for communication with Daemon.
Socket = /var/drweb/run/.daemon
при этом, демон запускается на обоих сокетах:
Dec  7 14:46:42 debian drwebd.real: Total virus records: 2890925
Dec  7 14:46:42 debian drwebd.real: Daemon is installed, active interfaces:  /var/drweb/run/.daemon  /var/drweb/ipc/.daemon
Dec  7 14:46:43 debian drwebd.real: SIGHUP received, reloading...
Какой смысл тогда в Enterprise режиме и настройках на Enterprise сервере, если приходится и drweb32.ini тоже редактировать?
Двойная работа какая-то...

#2 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 07 Декабрь 2011 - 14:16

И еще какая-то непонятная строчка в логе при старте :

Dec  7 15:06:47 debian drweb-agent: [963] agent.main INFO [Main] Command line: /opt/drweb/drweb-agent.real -c /etc/drweb/agent.conf
Dec  7 15:06:47 debian drweb-agent: [96a] agent.server-1 ERROR [Server] cannot read config for comp="drwebd" for Linux (ID=9), pid=2413: No config for app 9 and comp "drwebd"
Dec  7 15:06:47 debian drwebd.real: Shell version: 6.0.2.02020 <API:2.2>
Dec  7 15:06:47 debian drwebd.real: Engine version: 5.0.2.3300 <API:2.2>
Dec  7 15:06:49 debian drwebd.real: Shell version: 6.0.2.02020 <API:2.2>
Dec  7 15:06:49 debian drwebd.real: Engine version: 5.0.2.3300 <API:2.2>
вот эта
agent.server-1 ERROR [Server] cannot read config for comp="drwebd" for Linux (ID=9), pid=2413: No config for app 9 and comp "drwebd"
не пойму, о чем она?

#3 ele_fant

ele_fant

    Newbie

  • Posters
  • 7 Сообщений:

Отправлено 07 Декабрь 2011 - 14:49

вот эта
agent.server-1 ERROR [Server] cannot read config for comp="drwebd" for Linux (ID=9), pid=2413: No config for app 9 and comp "drwebd"
не пойму, о чем она?


эта строка о том, что агент не смог забрать с сервера конфиг для демона.
посему очень сомнительно, что конфиги "складываются". скорее имеет место быть некая ошибка из другой оперы.
просьба включить в агенте лог в дебаг-режим и прислать полный лог агента с момента старта

#4 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 07 Декабрь 2011 - 16:24

Вот лог...
Такое ощущение, что демон сначала сам пытается запуститься в стандэлон, а потом через интерпрайз:

Прикрепленные файлы:

  • Прикрепленный файл  syslog.txt   44,78К   10 Скачано раз


#5 Margarita Pavlichenko

Margarita Pavlichenko

    Newbie

  • Dr.Web Staff
  • 13 Сообщений:

Отправлено 07 Декабрь 2011 - 18:22

Такое ощущение, что демон сначала сам пытается запуститься в стандэлон, а потом через интерпрайз:


Нет, демон просто раньше, чем агент, стартует, и, не найдя агента, выходит.
У вас демон инит-скриптом запускается? Если да, уберите, пожалуйста.
Демон в Enterprise режиме должен запускаться специальным компонентом drweb-monitor. Как раз в вашем случае так и происходит похоже.

То, что демон слушает на двух сокетах (из локального конфига и от полученного ЕС), это ошибка в демоне. Мы поправим в багфиксе. Спасибо.

Сообщение было изменено Margarita Pavlichenko: 07 Декабрь 2011 - 18:22


#6 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 07 Декабрь 2011 - 21:09

Согласно документации, я отключил запуск демона в:
root@debian:~# cat /etc/default/drwebd
# Set it to "1" to enable the daemon.
ENABLE=0
но не сделал
update-rc.d drwebd remove
После выполнения update-rc.d демон совсем не стартует, хотя какие-то настройки подхватывает...
root@debian:~# netstat -nap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address		   Foreign Address		 State	   PID/Program name
tcp		0	  0 0.0.0.0:22			  0.0.0.0:*			   LISTEN	  1067/sshd
tcp		0	  0 127.0.0.1:25			0.0.0.0:*			   LISTEN	  1091/exim4
tcp		0	  0 10.0.0.250:59027		10.0.0.4:445			ESTABLISHED 1108/winbindd
tcp		0	  0 10.0.0.250:58471		10.0.0.6:2193		   ESTABLISHED 1193/drweb-agent.re
tcp		0	  0 10.0.0.250:37757		10.0.0.4:49155		  ESTABLISHED 1108/winbindd
tcp		0	  0 10.0.0.250:22		   10.0.0.20:53706		 ESTABLISHED 1098/sshd: root@not
tcp		0	 52 10.0.0.250:22		   10.0.0.20:53719		 ESTABLISHED 1129/0
tcp6	   0	  0 :::22				   :::*					LISTEN	  1067/sshd
tcp6	   0	  0 ::1:25				  :::*					LISTEN	  1091/exim4
tcp6	   0	  0 :::445				  :::*					LISTEN	  767/smbd
tcp6	   0	  0 :::139				  :::*					LISTEN	  767/smbd
udp		0	  0 10.0.0.250:123		  0.0.0.0:*						   985/ntpd
udp		0	  0 127.0.0.1:123		   0.0.0.0:*						   985/ntpd
udp		0	  0 0.0.0.0:123			 0.0.0.0:*						   985/ntpd
udp		0	  0 10.0.255.255:137		0.0.0.0:*						   691/nmbd
udp		0	  0 10.0.0.250:137		  0.0.0.0:*						   691/nmbd
udp		0	  0 0.0.0.0:137			 0.0.0.0:*						   691/nmbd
udp		0	  0 10.0.255.255:138		0.0.0.0:*						   691/nmbd
udp		0	  0 10.0.0.250:138		  0.0.0.0:*						   691/nmbd
udp		0	  0 0.0.0.0:138			 0.0.0.0:*						   691/nmbd
udp6	   0	  0 fe80::a00:27ff:fe6b:123 :::*								985/ntpd
udp6	   0	  0 ::1:123				 :::*								985/ntpd
udp6	   0	  0 :::123				  :::*								985/ntpd
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags	   Type	   State		 I-Node   PID/Program name	Path
unix  2	  [ ACC ]	 STREAM	 LISTENING	 3838	 1100/winbindd	   /tmp/.winbindd/pipe
unix  2	  [ ACC ]	 STREAM	 LISTENING	 3045	 722/acpid		   /var/run/acpid.socket
unix  2	  [ ACC ]	 STREAM	 LISTENING	 3840	 1100/winbindd	   /var/run/samba/winbindd_privileged/pipe
unix  2	  [ ]		 DGRAM					1845	 189/udevd		   @/org/kernel/udev/udevd
unix  10	 [ ]		 DGRAM					2958	 661/rsyslogd		/dev/log
unix  2	  [ ACC ]	 STREAM	 LISTENING	 3305	 784/dbus-daemon	 /var/run/dbus/system_bus_socket
unix  2	  [ ACC ]	 STREAM	 LISTENING	 4691	 1190/drweb-monitor. /var/drweb/ipc/.monitor
unix  2	  [ ACC ]	 STREAM	 LISTENING	 4732	 1193/drweb-agent.re /var/drweb/ipc/.agent
unix  3	  [ ]		 STREAM	 CONNECTED	 4754	 1193/drweb-agent.re /var/drweb/ipc/.agent
unix  3	  [ ]		 STREAM	 CONNECTED	 4753	 1190/drweb-monitor.
unix  3	  [ ]		 STREAM	 CONNECTED	 4705	 1190/drweb-monitor. /var/drweb/ipc/.monitor
unix  3	  [ ]		 STREAM	 CONNECTED	 4704	 1193/drweb-agent.re
unix  2	  [ ]		 DGRAM					4702	 1193/drweb-agent.re
unix  2	  [ ]		 DGRAM					4685	 1190/drweb-monitor.
unix  3	  [ ]		 STREAM	 CONNECTED	 4632	 1100/winbindd	   /var/run/samba/winbindd_privileged/pipe
unix  3	  [ ]		 STREAM	 CONNECTED	 4631	 1118/login
unix  2	  [ ]		 DGRAM					4626	 1118/login
unix  2	  [ ]		 DGRAM					4108	 1129/0
unix  3	  [ ]		 STREAM	 CONNECTED	 3843	 1100/winbindd
unix  3	  [ ]		 STREAM	 CONNECTED	 3842	 1108/winbindd
unix  2	  [ ]		 DGRAM					3830	 1100/winbindd
unix  2	  [ ]		 DGRAM					3558	 985/ntpd
unix  2	  [ ]		 DGRAM					3412	 767/smbd
unix  3	  [ ]		 STREAM	 CONNECTED	 3313	 784/dbus-daemon
unix  3	  [ ]		 STREAM	 CONNECTED	 3312	 784/dbus-daemon
unix  2	  [ ]		 DGRAM					3042	 722/acpid
unix  3	  [ ]		 DGRAM					1850	 189/udevd
unix  3	  [ ]		 DGRAM					1849	 189/udevd
лог во вложении

Прикрепленные файлы:

  • Прикрепленный файл  syslog2.txt   47,03К   2 Скачано раз


#7 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 07 Декабрь 2011 - 21:21

Нет, демон просто раньше, чем агент, стартует, и, не найдя агента, выходит.
У вас демон инит-скриптом запускается? Если да, уберите, пожалуйста.
Демон в Enterprise режиме должен запускаться специальным компонентом drweb-monitor. Как раз в вашем случае так и происходит похоже.

То, что демон слушает на двух сокетах (из локального конфига и от полученного ЕС), это ошибка в демоне. Мы поправим в багфиксе. Спасибо.

Да, в дополнение к сказанному...

У вас демон инит-скриптом запускается? Если да, уберите, пожалуйста.

при загрузке изначально запускался инит-скриптом, но т.к. в
root@debian:~# cat /etc/default/drwebd
# Set it to "1" to enable the daemon.
ENABLE=0
то тут же выходил...
Далее запускался drweb-monitor'ом, но выдавались ошибки, как в логе syslog.txt из поста.
То есть в посте приведен лог запуска с момента выполнения (вручную) команды
root@debian:~# service drweb-monitor start
Starting Dr.Web drweb-monitor...
до полного запуска.
Это я к чему говорю... к тому, что это не старт машины и daemon запускается до agent'а из-за выполнения drweb-monitor start, то есть можно предположить, что где-то в стартовых конфигурациях monitor'a в Enterprise-режме что-то некорректно...

#8 ele_fant

ele_fant

    Newbie

  • Posters
  • 7 Сообщений:

Отправлено 08 Декабрь 2011 - 08:10

судя по присланному логу ошибка в RunAppList конфига монитора.

Application "DAEMON" (9)
Dec 7 17:11:47 debian drweb-agent: [b4d] agent.main DEBUG Components
Dec 7 17:11:47 debian drweb-agent: [b4d] agent.main DEBUG drwebd Daemon

нет такого компонента drwebd. есть DAEMON. исправьте конфиг

и еще, если у вас на сервере отмечен в мониторе компонентов чекбокс демона, а монитор находится в режиме ес (EnterpriseMode=yes), то в RunAppList достаточно оставить значение AGENT. демон поднимется при старте монитора

Сообщение было изменено ele_fant: 08 Декабрь 2011 - 08:15


#9 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 08 Декабрь 2011 - 08:14

поправлять-то, собственно, нечего....
Прикрепленный файл  drwebd.png   66,07К   0 Скачано раз

Сообщение было изменено mc-sim: 08 Декабрь 2011 - 08:14


#10 ele_fant

ele_fant

    Newbie

  • Posters
  • 7 Сообщений:

Отправлено 08 Декабрь 2011 - 08:16

тогда конфиги монитора и агента - в студию

#11 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 08 Декабрь 2011 - 08:38

агент:
root@debian:~# cat /etc/drweb/agent.conf
# Dr.Web (R) Control Agent configuration file
# $Revision: 1.22 $

[Logging]
# ============================
# = Agent logging parameters =
# ============================
# Level = {debug|info|alert|error|quiet}
# Agent log verbosity level.
Level = info
# IPCLevel = {debug|info|alert|error|quiet}
# Log verbosity level of IPC library.
IPCLevel = error
# SyslogFacility = {
#	Mail|
#	User|
#	Kern|
#	 Local7|
#	 Local6|
#	 Local5|
#	 Local4|
#	 Local3|
#	 Local2|
#	 Local1|
#	 Local0|
#	Daemon
# }
# Syslog facility type generating notifications on Dr.Web events if syslogd is
# used for logging of activity of Dr.Web and its components.
SyslogFacility = Daemon
# FileName = {String}
# Path to log file.
FileName = syslog
[Agent]
# ==============================================
# = Main parameters regulating agent operation =
# ==============================================
# MetaConfigDir = {DirPath}
# Path to directory where meta-configuration files of drweb-agent reside.
MetaConfigDir = /etc/drweb/agent/
# UseMonitor = {Boolean}
# Enables joint operation with drweb-monitor.
UseMonitor = yes
# MonitorAddress = {Address}
# Socket used by Agent to interact with Monitor.
MonitorAddress = local:/var/drweb/ipc/.monitor
# MonitorResponseTime = {Digital}
# Maximum time to get a response from drweb-monitor module.
MonitorResponseTime = 5
# PidFile = {FilePath}
# Filename where Agent's PID is written when the Agent is started.
PidFile = /var/drweb/run/drweb-agent.pid
[Server]
# ======================================================
# = Parameters specifying interaction betwen agent and =
# = other anti-virus modules						   =
# ======================================================
# Address = {Address}
# Socket used by Agent to interact with other modules of software complex.
Address = local:/var/drweb/ipc/.agent
# Threads = {Digital}
# Number of drweb-agent synchronous threads.
Threads = 2
# Timeout = {Digital}
# Maximum time for establishing connection between Agent and other Dr.Web
# modules.
Timeout = 15
[EnterpriseMode]
# ============================================================
# = Parameters specifying agent operation in Enterprise mode =
# ============================================================
# UseEnterpriseMode = {Boolean}
# Enables or disables Enterprise mode.
UseEnterpriseMode = yes
# ComputerName = {String}
# Computer name in the ES network.
ComputerName = debian
# VirusbaseDir = {DirPath}
# Path to directory where virus databases are located.
VirusbaseDir = /var/drweb/bases
# PublicKeyFile = {FilePath}
# Path to file with public key to access ES server.
PublicKeyFile = /opt/drweb/drwcsd.pub
# ServerHost = {Address}
# ES server IP address.
ServerHost = drweb.sag.local
# ServerPort = {Digital}
# Port number to access ES server.
ServerPort = 2193
# CryptTraffic = {no|possible|yes}
# Encryption of traffic between ES server and Agent.
CryptTraffic = possible
# CompressTraffic = {no|possible|yes}
# Compression of traffic between ES server and Agent.
CompressTraffic = possible
# CacheDir = {DirPath}
CacheDir = /var/drweb/agent
[StandaloneMode]
# ============================================================
# = Parameters specifying agent operation in standalone mode =
# ============================================================
# StatisticsServer = {Address}
# URL of the virus statistics server.
StatisticsServer = stat.drweb.com:80/update
# StatisticsUpdatePeriod = {Digital}
# Update rate of statistical information.
StatisticsUpdatePeriod = 10
# StatisticsProxy = {Address}
# IP address or domain name  of the virus statistics proxy-server.
StatisticsProxy =
# StatisticsProxyAuth = {String}
# Login and password for basic authentication on proxy server.
StatisticsProxyAuth =
# UUID = {String}
# Unique user identifier for virus statistics server.
UUID =
# LicenseFile = {FilePath}
# Location of Dr.Web license key files or demo key files.
LicenseFile = /opt/drweb/drweb32.key
# ProtectedEmails = {Lookups}
# List of protected e-mail addresses.
ProtectedEmails = file:/etc/drweb/email.ini
[Update]
# =================================================================
# = In this section parameters related to the updating process of =
# = Dr.Web application via Dr.Web Enterprise Suite are collected. =
# =================================================================
# CacheDir = {DirPath}
# Directory where Agent temporarily stores downloaded updates.
CacheDir = /var/drweb/agent/cache
# RegFile = {FilePath}
# Path to the file with information about already installed updates.
RegFile = /var/drweb/agent.reg
# Timeout = {Digital}
# Maximum time for the Agent to process downloaded updates.
Timeout = 120
# RootDir = {DirPath}
# Path to the root directory.
RootDir = /
# UpdaterFile = {FilePath}
UpdaterFile = /opt/drweb/update.pl



#12 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 08 Декабрь 2011 - 08:39

монитор

root@debian:~# cat /etc/drweb/monitor.conf
# Dr.Web (R) Monitor configuration file
# $Revision: 1.5.8.3 $

[Logging]
# ================================
# = Monitor's logging parameters =
# ================================
# Level = {debug|info|alert|error|quiet}
# Detail level of logging
Level = error
# IPCLevel = {debug|info|alert|error|quiet}
# Detail level of process interaction module
IPCLevel = error
# SyslogFacility = {
#	Mail|
#	User|
#	Kern|
#	Local7|
#	Local6|
#	Local5|
#	Local4|
#	Local3|
#	Local2|
#	Local1|
#	Local0|
#	Daemon
# }
# Type of facility, which generates a notification message on event
# when using syslogd system service.
SyslogFacility = Daemon
# FileName = {String}
# Log file name. You may specify "syslog" as name, the report will be
# logged by means of syslogd system service. Using syslog, pay
# attention to SyslogFacility, Level and IPCLevel options.
FileName = syslog
[Monitor]
# ==================================================
# = Main parameters regulating monitor's operation =
# ==================================================
# RunForeground = {Boolean}
# Run monitor in "Daemon" mode after launch
RunForeground = no
# User = {String}
# User rights defining monitor's operation
User = drweb
# Group = {String}
# User group rights defining monitor's operation
Group = drweb
# PidFileDir = {DirPath}
# Pid file directory, where component's PID is written at launch.
PidFileDir = /var/drweb/run/
# ChDir = {DirPath}
# Change of active directory when monitor is launched.
ChDir = /
# MetaConfigDir = {DirPath}
# Directory with meta configuration files.
MetaConfigDir = /etc/drweb/monitor/
# Address = {Address}
# Socket through which monitor interacts with other anti-virus modules.
Address = local:/var/drweb/ipc/.monitor
# Timeout = {Digital}
# Timeout for establishing connection between components.
Timeout = 5
# TmpFileFmt = {FilePath}
# Name format for monitor's temporary files .
TmpFileFmt = /var/drweb/msgs/tmp/monitor.XXXXXX
# RunAppList = {String}
# List of applications, run by monitor. When enumerated, modules are divided by
# a comma.
RunAppList = AGENT
# UseEnterpriseMode = {Boolean}
# read RunAppList from agent
UseEnterpriseMode = yes
# RecoveryTimeList = {List}
# Time interval between tries to restart stalled applications.
RecoveryTimeList = 0,30,60
# InjectCmd = {String}
# Command for report sending
InjectCmd = "/usr/sbin/sendmail -t"
# AgentAddress = {Address}
# Socket, through which monitor interacts with agent.
AgentAddress = local:/var/drweb/ipc/.agent
# AgentResponseTime = {Digital}
# Maximum response time period for agent.
AgentResponseTime = 5



#13 ele_fant

ele_fant

    Newbie

  • Posters
  • 7 Сообщений:

Отправлено 08 Декабрь 2011 - 09:43

закомментируйте в конфиге демона параметр ControlAgent. тк. он получается агентом от монитора

#14 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 08 Декабрь 2011 - 10:02

Не помогло...
Во вложении лог.

Прикрепленные файлы:

  • Прикрепленный файл  syslog3.txt   38,13К   2 Скачано раз


#15 Paul Graphov

Paul Graphov

    Newbie

  • Dr.Web Staff
  • 6 Сообщений:

Отправлено 08 Декабрь 2011 - 10:49

По крайней мере исчез этот ERROR

Dec 7 15:06:47 debian drweb-agent: [96a] agent.server-1 ERROR [Server] cannot read config for comp="drwebd" for Linux (ID=9), pid=2413: No config for app 9 and comp "drwebd"


Судя по тому, что между появлением демона в логе и его прерыванием прошло примерно 30 секунд, монитор не дождался демона.
Попробуйте заменить 30 на 90 в файле /etc/drweb/monitor/daemon.mmc (столбец maxStartTime)

#16 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 08 Декабрь 2011 - 11:12

так запустился...
Спасибо.

Сообщение было изменено mc-sim: 08 Декабрь 2011 - 11:13


#17 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 10 Декабрь 2011 - 18:10

Продолжаю бороться демоном drweb. До этого эксперименты были на тестовой машине. Попробовал установить drweb-file-servers и перенести конфиги на боевой сервер, но в этот раз не стал трогать drweb32.ini и комментировать строки:
FILES ~ # grep Sock /etc/drweb/drweb32.ini
# Socket = {MultiString} (/var/drweb/run/.daemon,3000, localhost)
Socket = /var/drweb/run/.daemon
Socket = 3000, localhost
# SocketTimeout = {Digital}
А так же, перенес все UDS в каталог /spooler:
FILES ~ # grep spoo /etc/drweb/agent.conf
MonitorAddress = local:/spooler/.monitor
Address = local:/spooler/.agent
FILES ~ # grep spoo /etc/drweb/monitor.conf
Address = local:/spooler/.monitor
AgentAddress = local:/spooler/.agent
FILES ~ # grep spoo /etc/drweb/monitor/daemon.mmc
		drwebd  "-a=local:/spooler/.agent --foreground=yes"  90			  10			  MAIL	drweb:drweb
Но при запуске демон запускается на 3х сокетах (2 из drweb32.ini и 1 из ESS):

FILES ~ #  netstat -nap | grep dr
Proto Recv-Q Send-Q Local Address		   Foreign Address		 State	   PID/Program name
tcp		0	  0 127.0.0.1:3000		  0.0.0.0:*			   LISTEN	  9635/drwebd.real
tcp		0	  0 10.0.0.2:60651		  10.0.0.6:2193		   ESTABLISHED 9622/drweb-agent.re
unix  2	  [ ACC ]	 STREAM	 LISTENING	 1561690  9635/drwebd.real	/var/drweb/run/.daemon
unix  2	  [ ACC ]	 STREAM	 LISTENING	 1563675  9619/drweb-monitor. /spooler/.monitor
unix  2	  [ ACC ]	 STREAM	 LISTENING	 1561691  9635/drwebd.real	/spooler/.daemon
unix  2	  [ ACC ]	 STREAM	 LISTENING	 1562789  9622/drweb-agent.re /spooler/.agent
unix  3	  [ ]		 STREAM	 CONNECTED	 1561699  9635/drwebd.real
unix  3	  [ ]		 STREAM	 CONNECTED	 1561698  9640/drwebd.real
unix  2	  [ ]		 DGRAM					1561689  9635/drwebd.real
unix  3	  [ ]		 STREAM	 CONNECTED	 1561686  9622/drweb-agent.re /spooler/.agent
unix  3	  [ ]		 STREAM	 CONNECTED	 1563688  9635/drwebd.real
unix  3	  [ ]		 STREAM	 CONNECTED	 1563686  9622/drweb-agent.re /spooler/.agent
unix  3	  [ ]		 STREAM	 CONNECTED	 1561684  9619/drweb-monitor.
unix  3	  [ ]		 STREAM	 CONNECTED	 1561683  9619/drweb-monitor. /spooler/.monitor
unix  3	  [ ]		 STREAM	 CONNECTED	 1561340  9622/drweb-agent.re
unix  2	  [ ]		 DGRAM					1561339  9622/drweb-agent.re
unix  2	  [ ]		 DGRAM					1561328  9619/drweb-monitor.
В результате возвращаемся к исходному вопросу:

Какой смысл тогда в Enterprise режиме и настройках на Enterprise сервере, если приходится и drweb32.ini тоже редактировать?
Двойная работа какая-то...

Лог старта при этом прилагается...

Прикрепленные файлы:

  • Прикрепленный файл  syslog4.txt   82,32К   0 Скачано раз


#18 mc-sim

mc-sim

    Newbie

  • Posters
  • 64 Сообщений:

Отправлено 12 Декабрь 2011 - 10:16

кроме того, не отправляется статистика по сканированным объектам агенту, при этом в логе вот такие ошибки:

Dec 10 14:45:04 files drweb_samba[8920]: [2011/12/10 14:45:04.826016,  0] drweb_samba.c:1913(dwsmb_close)
Dec 10 14:45:04 files drweb_samba[8920]:   smb_spider: failed to get filename on close
Dec 10 14:45:04 files drweb_samba[8920]: failed to get filename on close
Dec 10 14:45:04 files drweb_samba[8920]: [2011/12/10 14:45:04.836307,  0] drweb_samba.c:1913(dwsmb_close)
Dec 10 14:45:04 files drweb_samba[8920]:   smb_spider: failed to get filename on close
Dec 10 14:45:35 files drweb_samba[8920]: send stat to agent: Error while connecting to agent
Dec 10 14:45:36 files drweb_samba[8920]: send stat to agent: Error while connecting to agent


#19 Margarita Pavlichenko

Margarita Pavlichenko

    Newbie

  • Dr.Web Staff
  • 13 Сообщений:

Отправлено 21 Декабрь 2011 - 10:13

Насчет проблемы с демоном я Ва ответила выше.

Dec 10 14:45:04 files drweb_samba[8920]: smb_spider: failed to get filename on close

Какая у вас самба? /usr/local/samba/sbin/smbd -V что говорит?

Dec 10 14:45:35 files drweb_samba[8920]: send stat to agent: Error while connecting to agent

Самба-спайдер не может с агентом соединиться. У вас в настройках самба-спайдера сокет агента правильно указан?

Сообщение было изменено Margarita Pavlichenko: 21 Декабрь 2011 - 10:13




Also tagged with one or more of these keywords: ESS, drweb32.ini, samba

Читают тему: 1

0 пользователей, 1 гостей, 0 скрытых