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


Фото
- - - - -

Update Frequency


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

#1 BradZehr

BradZehr

    Newbie

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

Отправлено 11 Июль 2010 - 18:06

Hi, how does one modify the frequency of the virus signature updates?
I would like to decrease the frequency and turn off the email notifications.
Which file do I modify on a linux system?
Thanks!
Brad

#2 Stefan Dashich

Stefan Dashich

    Downshifter

  • Virus Hunters
  • 992 Сообщений:

Отправлено 12 Июль 2010 - 02:06

Tools > Settings > Updates/Notifications :)
"That's thirty minutes away. I'll be there in ten."

#3 BradZehr

BradZehr

    Newbie

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

Отправлено 12 Июль 2010 - 18:23

Tools > Settings > Updates/Notifications :lol:


Thanks Dashke,
If DrWeb is installed with the Plesk Control Panel, do you know how to change the update frequency?
Brad

#4 drumut

drumut

    Member

  • Members
  • 325 Сообщений:

Отправлено 12 Июль 2010 - 22:30

Hello,

Please look at this file, you will find drwebd setting in there.

/etc/drweb/drweb32.ini


OS : Debian Sid , all i have all i need!

#5 BradZehr

BradZehr

    Newbie

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

Отправлено 14 Июль 2010 - 08:09

Hello,

Please look at this file, you will find drwebd setting in there.

/etc/drweb/drweb32.ini


thanks, but I do not see the location.

This is the updater part I see.
Is it here or in a different file?

[Updater]
# =============================
# = Updater general settings. =
# =============================

# UpdatePluginsOnly = {Boolean}
# Possibility to update plug-ins only, without updating of Daemon and Scanner at
# the same time.
UpdatePluginsOnly = no

# Section = {Scanner|Daemon}
# Defines which component must be updated.
Section = Daemon

# ProgramPath = {FilePath}
# Path to program files.
ProgramPath = /opt/drweb/drwebd

# SignedReader = {FilePath}
# Path to program used by Updater to read signed files.
SignedReader = /opt/drweb/read_signed

# LzmaDecoderPath = {DirPath}
# Path to program used by Updater to unpack lzma-archives.
LzmaDecoderPath = /opt/drweb

# LockFile = {FilePath}
# Path to file used to prevent sharing of certain files during update.
LockFile = /var/drweb/run/update.lock

# CronSummary = {Boolean}
# Enables output of update session log to stdout.
CronSummary = yes

# DrlFile = {FilePath}
# Path to file with list of currently available update servers.
DrlFile = /var/drweb/bases/update.drl

# DrlDir = {DirPath}
# Path to directory containing signed files with lists of update servers for
# plug-ins.
DrlDir = /var/drweb/drl

# Timeout = {Digital}
# Timeout for updates to be downloaded.
Timeout = 90

# Tries = {Digital}
# Number of attempts Updater makes to download updated files.
Tries = 1

# ProxyServer = {Address}
# IP-address of a proxy server to be used during update process.
ProxyServer =

# ProxyLogin = {String}
# Proxy server authentication username.
ProxyLogin =

# ProxyPassword = {String}
# Proxy server authentication password.
ProxyPassword =

# LogFileName = {FilePath}
# Log filename.
LogFileName = syslog

# LogLevel = {Quiet|Error|Alert|Info|Debug|Verbose}
# Log verbosity level.
LogLevel = Verbose


....thanks for any and all help.
Brad

#6 BradZehr

BradZehr

    Newbie

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

Отправлено 14 Июль 2010 - 08:12

Hello,

Please look at this file, you will find drwebd setting in there.

/etc/drweb/drweb32.ini


thanks, but I do not see the location.

This is the updater part I see.
Is it here or in a different file?

[Updater]
# =============================
# = Updater general settings. =
# =============================

# UpdatePluginsOnly = {Boolean}
# Possibility to update plug-ins only, without updating of Daemon and Scanner at
# the same time.
UpdatePluginsOnly = no

# Section = {Scanner|Daemon}
# Defines which component must be updated.
Section = Daemon

# ProgramPath = {FilePath}
# Path to program files.
ProgramPath = /opt/drweb/drwebd

# SignedReader = {FilePath}
# Path to program used by Updater to read signed files.
SignedReader = /opt/drweb/read_signed

# LzmaDecoderPath = {DirPath}
# Path to program used by Updater to unpack lzma-archives.
LzmaDecoderPath = /opt/drweb

# LockFile = {FilePath}
# Path to file used to prevent sharing of certain files during update.
LockFile = /var/drweb/run/update.lock

# CronSummary = {Boolean}
# Enables output of update session log to stdout.
CronSummary = yes

# DrlFile = {FilePath}
# Path to file with list of currently available update servers.
DrlFile = /var/drweb/bases/update.drl

# DrlDir = {DirPath}
# Path to directory containing signed files with lists of update servers for
# plug-ins.
DrlDir = /var/drweb/drl

# Timeout = {Digital}
# Timeout for updates to be downloaded.
Timeout = 90

# Tries = {Digital}
# Number of attempts Updater makes to download updated files.
Tries = 1

# ProxyServer = {Address}
# IP-address of a proxy server to be used during update process.
ProxyServer =

# ProxyLogin = {String}
# Proxy server authentication username.
ProxyLogin =

# ProxyPassword = {String}
# Proxy server authentication password.
ProxyPassword =

# LogFileName = {FilePath}
# Log filename.
LogFileName = syslog

# LogLevel = {Quiet|Error|Alert|Info|Debug|Verbose}
# Log verbosity level.
LogLevel = Verbose


....thanks for any and all help.
Brad



Maybe this it the location that tells it 30 minutes to update?

# FileTimeout = {Digital}
# Maximum file scan time during single session.
FileTimeout = 30

#7 Mikhail Khokhlov

Mikhail Khokhlov

    Member

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

Отправлено 14 Июль 2010 - 12:08

Hello,

Please look at this file, you will find drwebd setting in there.

/etc/drweb/drweb32.ini


thanks, but I do not see the location.

This is the updater part I see.
Is it here or in a different file?

[Updater]
# =============================
# = Updater general settings. =
# =============================

# UpdatePluginsOnly = {Boolean}
# Possibility to update plug-ins only, without updating of Daemon and Scanner at
# the same time.
UpdatePluginsOnly = no

# Section = {Scanner|Daemon}
# Defines which component must be updated.
Section = Daemon

# ProgramPath = {FilePath}
# Path to program files.
ProgramPath = /opt/drweb/drwebd

# SignedReader = {FilePath}
# Path to program used by Updater to read signed files.
SignedReader = /opt/drweb/read_signed

# LzmaDecoderPath = {DirPath}
# Path to program used by Updater to unpack lzma-archives.
LzmaDecoderPath = /opt/drweb

# LockFile = {FilePath}
# Path to file used to prevent sharing of certain files during update.
LockFile = /var/drweb/run/update.lock

# CronSummary = {Boolean}
# Enables output of update session log to stdout.
CronSummary = yes

# DrlFile = {FilePath}
# Path to file with list of currently available update servers.
DrlFile = /var/drweb/bases/update.drl

# DrlDir = {DirPath}
# Path to directory containing signed files with lists of update servers for
# plug-ins.
DrlDir = /var/drweb/drl

# Timeout = {Digital}
# Timeout for updates to be downloaded.
Timeout = 90

# Tries = {Digital}
# Number of attempts Updater makes to download updated files.
Tries = 1

# ProxyServer = {Address}
# IP-address of a proxy server to be used during update process.
ProxyServer =

# ProxyLogin = {String}
# Proxy server authentication username.
ProxyLogin =

# ProxyPassword = {String}
# Proxy server authentication password.
ProxyPassword =

# LogFileName = {FilePath}
# Log filename.
LogFileName = syslog

# LogLevel = {Quiet|Error|Alert|Info|Debug|Verbose}
# Log verbosity level.
LogLevel = Verbose


....thanks for any and all help.
Brad



Maybe this it the location that tells it 30 minutes to update?

# FileTimeout = {Digital}
# Maximum file scan time during single session.
FileTimeout = 30


No, it is not.
30-minutes timeout for updater's work is in the cron job.
In linux-based distribs it is situated in /etc/cron.d/drweb-update file. Just edit it.
use
man cron
man crontab
for help

#8 BradZehr

BradZehr

    Newbie

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

Отправлено 15 Июль 2010 - 06:28

Thank you so much!
I did it and should be set now.

Here are my notes:
DrWeb Updates
Edit using SSH in super user (su -)
# vi /etc/cron.d/drweb-update
edit file using vi editor --> i to get insert, change text, then esc to get out of insert, then ZZ to save & exit
changed it to (once a week - and no emails)
30 * * * 1 drweb /opt/drweb/update.pl >/dev/null 2>&1

The no emails part (>/dev/null 2>&1) was talked about on a few other sites.

Brad


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

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