Archive for the ‘Drweb’ category

Plesk – 10, 8, 9 Turn off Dr.Web Cron Notifications

April 6th, 2011

A few, or a lot, of us have received these notifications. They are annoying and have wondered how to turn them off. Well here are 3 methods.

For Plesk 8

set

UpdateNotify = no

in file

/etc/drweb/drweb32.ini

for plesk 9

set

CronSummery = no

in the file

/etc/drweb/drweb32.ini

Plesk 10 (but also works for 9 and 8 )

go to:

 /etc/cron.d

edit the file

drweb-update

and at the end of the line add the following:

 2>&1> /dev/null

It should look like this:

*/30 * * * * drweb /opt/drweb/update.pl 2>&1> /dev/null
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Plesk and DrWeb will not start

April 2nd, 2010

On a test server of mine i found that Plesk and Drweb would not start. I was getting the following start

/etc/init.d/psa start
Starting xinetd service...                                            done
Starting named service...                                             done
Starting mysqld service...                                            done
Starting postgresql service...                                        done
Starting psa-spamassassin service...                                  done
Plesk: Starting Mail Server... already started
Starting mail handlers tmpfs storage
Starting Plesk...                                                     failed
Starting drwebd service...                                            failed

When checking the error_log i found:

tail -f /var/log/sw-cp-server/error_log
2010-03-30 20:26:36: (log.c.75) server started
2010-03-30 20:26:36: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:29:55: (log.c.75) server started
2010-03-30 20:29:55: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:29:55: (log.c.75) server started
2010-03-30 20:29:55: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:37:57: (log.c.75) server started
2010-03-30 20:37:57: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-30 20:37:57: (log.c.75) server started
2010-03-30 20:37:57: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)

It turns out that Plesk has an issue with a new openssl version, the exact version is

openssl-0.9.8e-12.el5_4.6

If you run:

rpm -qa | grep openssl

And find that the result is the above SSL

rpm -qa | grep openssl
openssl-0.9.8e-12.el5_4.6

downgrade the open ssl to 4.1 (IMPORTANT: if you see any psa/plesk packages listed in teh dependency youll need to use a different method, look at the end of the page for details)

yum downgrade openssl-0.9.8e-12.el5_4.1

This should fix it and Plesk will start

Method 2:

If you find that tring to run yum downgrade openssl-etc… lists some psa/plesk dependencies then you will need to do the following:

# wget -c http://mirrors.kernel.org/centos/5/updates/x86_64/RPMS/
{openssl-0.9.8e-12.el5_4.1.x86_64.rpm,mod_ssl-2.2.3-31.el5.centos.2.x86_64.rpm,httpd-
2.2.3-31.el5.centos.2.x86_64.rpm}

# rpm -Uvh --oldpackage {openssl-0.9.8e-12.el5_4.1.x86_64.rpm,mod_ssl-
2.2.3-31.el5.centos.2.x86_64.rpm,httpd-2.2.3-31.el5.centos.2.x86_64.rpm}

# /etc/init.d/sw-cp-server start
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz

Plesk – DrWeb notifications failed to deliver drweb@…

February 6th, 2010

If you are getting emails with the following error message you have probably recently updated plesk.

Hi. This is the qmail-send program at panel.host.name.
I’m afraid I wasn’t able to deliver your message to the following addresses.
This is a permanent error; I’ve given up. Sorry it didn’t work out.


This issue exists since ‘drweb-updater’ package sets up cron task for update.pl – Dr.Web 4/5 affected.According to plesk, this issue will be fixed in future update of Parallels Panel that will be released after version 9.2.3.Currently their are 2 work around resolutions :

1. Disable mail sending to ‘drweb@’ by cron. From drweb/doc/updater/readme.update:

CronSummary = {Yes | No}
If “Yes” value is specified, Dr.Web Updater will output statistics on
each session to stdout. This mode can be used to send administrator
notifications by email, if Updater is run by the cron daemon.
Default value:
Yes

Set CronSummary to ‘No‘ in section [Updater] in /etc/drweb/drweb32.ini.
Open the configuration file and find option CronSummary in section [Updater]. Change value to ‘No‘:

/etc/drweb/drweb32.ini
;—————————————————————
[Updater]

;CronSummary = { Yes | No }
;        The Dr.Web Updater prints out a result of update session to stdout if
;        this option is set to “yes”. This feature can be used for an adminstrator
;        notification by e-mail if the updater is executed by cron.
CronSummary = No

2. Create ‘drweb@’ alias to admin email. This may be done with following command:

~# cp /var/qmail/alias/.qmail-drweb-daemon /var/qmail/alias/.qmail-drweb

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz