error with DrWeb after upgrade

Discussion in 'Parallels Plesk Panel 9.x for Linux Problems, Suggested Fixes, and How-To' started by kadoudal, Jan 24, 2010.

  1. kadoudal

    kadoudal New Member

    Messages:
    244
    I upgraded to 9.3 , running well but got some error in the log with DrWeb ( I had it w 9.2.3 previously too...)
    how can I correct the DrWeb Install to get rid of these errors ?
    thanks for your suggestions..

    --log ----
    Setting up psa-mail-driver-common (9.3.0-debian5.0.build93091230.07) ...
    mv: cannot stat `/var/qmail/control/spf*': No such file or directory
    Trying to executing mail_restore to synchronize mail server settings and Plesk Database... drwebmng: Service /etc/init.d/drwebd failed to start

    System error 2: No such file or directory
    /opt/psa/admin/bin/drwebmng execution failed:
    drwebmng: Service /etc/init.d/drwebd failed to start

    System error 2: No such file or directory
    /opt/psa/admin/bin/drwebmng[23848]: Unable to start drweb antivirus daemon
    /opt/psa/admin/bin/drwebmng execution failed:
    drwebmng: Service /etc/init.d/drwebd failed to start

    System error 2: No such file or directory
    /opt/psa/admin/bin/drwebmng[23848]: Unable to start drweb antivirus daemon
    done
  2. IgorG

    IgorG Parallels Team

    Messages:
    16,041
    Make sure that you have following permissions and owners for /var/drweb/run/ directory:

  3. kadoudal

    kadoudal New Member

    Messages:
    244
    Dr Web running ... valid license key file was not specified

    thanks a lot..
    it's seems to be running now, but I noticed a request for a valid licence key file to be given in /opt/drweb/drweb32.key ... I suppose it's not my Plesk licence key...
    is it included in the package or should I buy a licence from DrWeb ?

    --log ....

    /etc/init.d/drwebd start
    Starting Dr. Web daemon...
    Dr.Web (R) daemon for Linux/Plesk Edition v5.0.0 (Jun 4 2009)
    Copyright (c) Igor Daniloff, 1992-2009
    Doctor Web, Moscow, Russia
    Support service: http://support.drweb.com
    To purchase: http://buy.drweb.com
    Shell version: 5.0.0.10060 <API:2.2>
    Engine version: 5.0.1.12222 <API:2.2>
    Loading /var/drweb/bases/drwtoday.vdb - Ok, virus records: 58
    …….
    Loading /var/drweb/bases/drwnasty.vdb - Ok, virus records: 28348
    Total virus records: 969408
    Key file: /opt/drweb/drweb32.key - Key file was not found! (No such file or directory)
    A path to a valid license key file was not specified.
    Daemon is enabled for protecting 7 e-mail`s:
    … [all 7 email addresses listed …]
    Interface binding error (/var/drweb/run/.daemon - Address already in use)!
    Interface binding error (127.0.0.1:3000 - Address already in use)!
    No valid sockets created!
  4. IgorG

    IgorG Parallels Team

    Messages:
    16,041
    I'm not sure, but seems you can buy it from Parallels. I can suggest you contact your sales representative regarding this question.
  5. Superkikim

    Superkikim New Member

    Messages:
    112
    Hi Igor,

    According to the license I get (Powerpack) drweb is supposed to be included. Therefore, how can I get a valid license file for it ? or should I say, why does it ask for one ?
  6. IgorG

    IgorG Parallels Team

    Messages:
    16,041
    Sorry, but I'm not familiar with license questions. I recommend you contact your sales representative with all licenses and money related questions. It will be much more effectively.
  7. coolemail

    coolemail New Member

    Messages:
    44
    IgorG,
    I think my permissions are slightly different:
    [root@plesk2 ~]# stat /var/drweb/run/
    File: `/var/drweb/run/'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: fd00h/64768d Inode: 14778837 Links: 2
    Access: (0755/drwxr-xr-x) Uid: ( 111/ drweb) Gid: ( 2526/ drweb)
    Access: 2010-05-15 04:56:38.000000000 +0100
    Modify: 2010-05-15 07:00:02.000000000 +0100
    Change: 2010-05-15 07:00:02.000000000 +0100
    [root@plesk2 ~]#
    [root@plesk2 ~]#
    [root@plesk2 ~]# ls -l /var/drweb/run/
    total 0
    -rw------- 1 drweb drweb 0 May 14 17:01 drwebd.bsy.10751
    -rw------- 1 drweb drweb 0 May 14 17:05 drwebd.bsy.10752
    -rw------- 1 drweb drweb 0 May 14 17:00 drwebd.bsy.10753
    -rw------- 1 drweb drweb 0 May 14 17:03 drwebd.bsy.10754
    -rw------- 1 drweb drweb 0 May 14 17:03 drwebd.bsy.13773
    -rw------- 1 drweb drweb 0 May 14 17:05 drwebd.bsy.13774
    -rw------- 1 drweb drweb 0 May 14 17:05 drwebd.bsy.14174
    -rw------- 1 drweb drweb 0 May 14 17:05 drwebd.bsy.14211
    -rw------- 1 drweb drweb 0 May 14 17:06 drwebd.bsy.15350
    -rw------- 1 drweb drweb 0 May 14 17:10 drwebd.bsy.15446
    -rw------- 1 drweb drweb 0 May 14 17:18 drwebd.bsy.20103
    -rw------- 1 drweb drweb 0 May 14 17:17 drwebd.bsy.20104
    -rw------- 1 drweb drweb 0 May 14 17:23 drwebd.bsy.20105
    -rw------- 1 drweb drweb 0 May 14 17:22 drwebd.bsy.20106
    -rw------- 1 drweb drweb 0 May 14 17:22 drwebd.bsy.20450
    -rw------- 1 drweb drweb 0 May 14 17:24 drwebd.bsy.20637
    -rw------- 1 drweb drweb 0 May 14 17:23 drwebd.bsy.21297
    -rw------- 1 drweb drweb 0 May 14 17:24 drwebd.bsy.21322
    -rw------- 1 drweb drweb 0 May 14 17:37 drwebd.bsy.21383
    -rw------- 1 drweb drweb 0 May 14 17:28 drwebd.bsy.21424
    -rw------- 1 drweb drweb 0 May 14 17:30 drwebd.bsy.21425
    [root@plesk2 ~]#

    Do I need to change permissions for that whole directory?

    /var/log/sw-cp-server/error_log shows the following:
    /var/log/messages shows:
    Because we had updated openssl, we had to follow the Plesk fix at http://kb.sp.parallels.com/en/8338 if that gives any clue.

    Can anyone help me get this back working? Many thanks in advance.

    EDIT. I changed the permissions but still no joy in getting Dr Web started.
    I do hope that someone can help.
    Last edited: May 15, 2010
  8. IgorG

    IgorG Parallels Team

    Messages:
    16,041
    Try to reset default permissions for all files from drweb packages with --setugids and --setperms rpm options.
  9. coolemail

    coolemail New Member

    Messages:
    44
    THANK YOU. Forgive my ignorance, IgorG, but can you give me the full command to run from shell to do this? Are you suggesting something like
    chown -r root:drweb /var/drweb/run --setugids

    I think that could be wrong and would like your guidance.

    many thanks in advance
  10. IgorG

    IgorG Parallels Team

    Messages:
    16,041
    First of all fins all drweb related packages with

    rpm -qa | grep drweb

    For example:

    Then update defaule permissions for each package with:

  11. coolemail

    coolemail New Member

    Messages:
    44
    Thank you IgorG,
    That was very clear. One error as follows with drweb-bases. Does that give any clue as to why we cannot start DrWeb? What should we do next?
    still getting this when we try to start if from Plesk CP:
  12. IgorG

    IgorG Parallels Team

    Messages:
    16,041
    What about

    ?
  13. coolemail

    coolemail New Member

    Messages:
    44
    That isn't working either. I've listed the result and the file content.

  14. IgorG

    IgorG Parallels Team

    Messages:
    16,041
    Try to remove DrWeb completely with

    and then install it back with autoinstaller (/usr/local/psa/admin/sbin/autoinstaller)
  15. coolemail

    coolemail New Member

    Messages:
    44
    If I run the autoinstaller, it looks like it is about to re-install the whole of Plesk. Is that the case, because I just want to install the Dr Web and for now leave Plesk on 9.2.3. I will upgrade Plesk when I'm really happy that Plesk 9.5 is compatible with ASL and I think there are still issues being caused with it. I just got warried with:
  16. coolemail

    coolemail New Member

    Messages:
    44
    I did uninstall Dr Web with
    but when I run the autoinstaller, can you confirm that I am not in fact doing a complete Plesk install & update. I want to leave all clients/domains etc. and the current Plesk version as it is for now. I did put in a submission but it appears that this has not yet been moderated by Plesk administrators.

    Also, since doing that, I am now not convinced that outgoing emails are being sent.

    Just done a test to a hotmail test account and got:

    May 17 14:51:13 plesk2 qmail: 1274104273.010233 new msg 14814573
    May 17 14:51:13 plesk2 qmail: 1274104273.010288 info msg 14814573: bytes 8115 from <me@myhosteddomain.com> qp 8036 uid 2020
    May 17 14:51:13 plesk2 qmail: 1274104273.026206 starting delivery 2603: msg 14814573 to remote me@hotmail.com
    May 17 14:51:13 plesk2 qmail: 1274104273.026237 status: local 0/10 remote 1/20
    May 17 14:51:13 plesk2 qmail-remote-handlers[8037]: Handlers Filter before-remote for qmail started ...
    May 17 14:51:13 plesk2 qmail-remote-handlers[8037]: from=me@myhosteddomain.com
    May 17 14:51:13 plesk2 qmail-remote-handlers[8037]: to=me@hotmail.com
    May 17 14:51:13 plesk2 qmail-remote-handlers[8037]: hook_dir = '/usr/local/psa/handlers/before-remote'
    May 17 14:51:13 plesk2 qmail-remote-handlers[8037]: Unable to stat entry '/usr/local/psa/handlers/info/20-drweb-lNayym/executable' or it is not link: No such file or directory
    May 17 14:51:13 plesk2 qmail-remote-handlers[8037]: call_handlers: stop call handlers from dir '/usr/local/psa/handlers/before-remote/sender/me@myhosteddomain.com'
    May 17 14:51:13 plesk2 qmail: 1274104273.027910 delivery 2603: failure: handlers_permanentfail/
    May 17 14:51:13 plesk2 qmail: 1274104273.028030 status: local 0/10 remote 0/20

    HELP!! Having deleted DrWeb, is nothing going out at all????

Share This Page