Results 1 to 16 of 16

Thread: error with DrWeb after upgrade

  1. #1

    Default error with DrWeb after upgrade

    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
    just don't do it ! ask before !



  2. #2
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

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

    # stat /var/drweb/run/
    File: `/var/drweb/run/'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: 18h/24d Inode: 21094221 Links: 2
    Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 2524/ drweb)



  3. #3

    Default 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!
    just don't do it ! ask before !



  4. #4
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    I'm not sure, but seems you can buy it from Parallels. I can suggest you contact your sales representative regarding this question.



  5. #5
    Mega Poster
    Join Date
    Mar 2008
    Posts
    109

    Default

    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. #6
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    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. #7
    Kilo Poster
    Join Date
    Feb 2010
    Posts
    44

    Default

    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:
    /etc/init.d/drwebd: line 32: 17354 Killed $PROGRAM
    drwebmng: Service /etc/init.d/drwebd failed to start

    System error 2: No such file or directory
    /usr/local/psa/admin/bin/drwebmng[17352]: Unable to start drweb antivirus daemon
    2010-05-15 04:08:28: (log.c.135) server stopped
    2010-05-15 04:08:29: (log.c.75) server started
    2010-05-15 04:08:29: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting min_procs = max_procs
    2010-05-15 04:08:29: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting min_procs = max_procs
    2010-05-15 04:38:51: (log.c.135) server stopped
    2010-05-15 04:39:00: (log.c.75) server started
    2010-05-15 04:39:00: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting min_procs = max_procs
    2010-05-15 04:39:00: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting min_procs = max_procs
    /etc/init.d/drwebd: line 32: 13278 Killed $PROGRAM
    drwebmng: Service /etc/init.d/drwebd failed to start

    System error 2: No such file or directory
    /usr/local/psa/admin/bin/drwebmng[13276]: Unable to start drweb antivirus daemon
    /var/log/messages shows:
    May 15 07:00:01 plesk2 psmon[14612]: Forking second background daemon, process 14613.
    May 15 07:00:01 plesk2 update.pl[14592]: Dr.Web (R) Updater ($Revision: 1.7.2.32.2.5 $) started ...
    May 15 07:00:01 plesk2 update.pl[14592]: Path to bases : /var/drweb/bases/
    May 15 07:00:01 plesk2 update.pl[14592]: Path to URL list : /var/drweb/bases/
    May 15 07:00:01 plesk2 update.pl[14592]: Path to blacklists : /var/drweb/dws/
    May 15 07:00:01 plesk2 update.pl[14592]: Path to lzma: /opt/drweb/lzma
    May 15 07:00:01 plesk2 update.pl[14592]: md5sum found in: /usr/bin/md5sum
    May 15 07:00:02 plesk2 update.pl[14592]: custom URL list isn't defined
    May 15 07:00:02 plesk2 update.pl[14592]: try using Dr.Web URL list (/var/drweb/bases/update.drl)
    May 15 07:00:02 plesk2 update.pl[14592]: exec(/opt/drweb/read_signed drl /var/drweb/bases/update.drl) ...
    May 15 07:00:02 plesk2 update.pl[14592]: exec(/opt/drweb/read_signed drl /var/drweb/bases/update.drl) exits with error #137
    May 15 07:00:02 plesk2 update.pl[14592]: no custom update servers
    May 15 07:00:02 plesk2 update.pl[14592]: main update servers:
    May 15 07:00:02 plesk2 update.pl[14592]: drldir not found: "/var/drweb/drl", assuming there are no plugins to update
    May 15 07:00:02 plesk2 update.pl[14592]: Finish Success: 2010-05-15 07:00:02
    May 15 07:00:02 plesk2 update.pl[14592]: Socket path is /var/drweb/run/updateSock
    Because we had updated openssl, we had to follow the Plesk fix at http://kb.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.
    [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: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 2526/ drweb)
    Access: 2010-05-15 07:15:16.000000000 +0100
    Modify: 2010-05-15 13:30:04.000000000 +0100
    Change: 2010-05-15 13:30:04.000000000 +0100
    [root@plesk2 ~]#
    I do hope that someone can help.
    Last edited by coolemail; May 15, 2010 at 07:54 AM. Reason: extra bit added



  8. #8
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    Try to reset default permissions for all files from drweb packages with --setugids and --setperms rpm options.



  9. #9
    Kilo Poster
    Join Date
    Feb 2010
    Posts
    44

    Default

    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. #10
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    First of all fins all drweb related packages with

    rpm -qa | grep drweb

    For example:

    # rpm -qa | grep drweb
    drweb-updater-5.0.1-0plesk
    drweb-common-5.0.1-0plesk
    drweb-bases-5.0.1-0
    drweb-base-5.0.1-0
    drweb-daemon-5.0.1-0plesk
    psa-drweb-configurator-9.5.2-cos5.build95100504.12
    Then update defaule permissions for each package with:

    # rpm --setugids drweb-updater
    # rpm --setperms drweb-updater
    .....



  11. #11
    Kilo Poster
    Join Date
    Feb 2010
    Posts
    44

    Default

    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?
    [root@plesk2 ~]# rpm -qa | grep drweb
    drweb-common-5.0.1-0plesk.i386
    drweb-daemon-5.0.1-0plesk.i386
    psa-drweb-configurator-9.2.3-cos5.build92091016.19.x86_64
    drweb-updater-5.0.1-0plesk.i386
    drweb-bases-5.0.1-0.i386
    drweb-base-5.0.1-0.i386
    [root@plesk2 ~]# rpm --setugids drweb-common
    [root@plesk2 ~]# rpm --setperms drweb-common
    [root@plesk2 ~]# rpm --setugids drweb-daemon
    [root@plesk2 ~]# rpm --setperms drweb-daemon
    [root@plesk2 ~]# rpm --setugids psa-drweb-configurator
    [root@plesk2 ~]# rpm --setperms psa-drweb-configurator
    [root@plesk2 ~]# rpm --setugids drweb-updater
    [root@plesk2 ~]# rpm --setperms drweb-updater
    [root@plesk2 ~]# rpm --setugids drweb-bases
    chown: cannot access `/var/drweb/bases/drw50025.vdb': No such file or directory
    chgrp: cannot access `/var/drweb/bases/drw50025.vdb': No such file or directory
    chown: cannot access `/var/drweb/bases/drw50026.vdb': No such file or directory
    chgrp: cannot access `/var/drweb/bases/drw50026.vdb': No such file or directory
    chown: cannot access `/var/drweb/bases/drw50027.vdb': No such file or directory
    chgrp: cannot access `/var/drweb/bases/drw50027.vdb': No such file or directory
    chown: cannot access `/var/drweb/bases/drw50028.vdb': No such file or directory
    chgrp: cannot access `/var/drweb/bases/drw50028.vdb': No such file or directory
    chown: cannot access `/var/drweb/bases/drw50029.vdb': No such file or directory
    chgrp: cannot access `/var/drweb/bases/drw50029.vdb': No such file or directory
    [root@plesk2 ~]# rpm --setperms drweb-bases
    chmod: cannot access `/var/drweb/bases/drw50025.vdb': No such file or directory
    chmod: cannot access `/var/drweb/bases/drw50026.vdb': No such file or directory
    chmod: cannot access `/var/drweb/bases/drw50027.vdb': No such file or directory
    chmod: cannot access `/var/drweb/bases/drw50028.vdb': No such file or directory
    chmod: cannot access `/var/drweb/bases/drw50029.vdb': No such file or directory

    [root@plesk2 ~]# rpm --setugids drweb-base
    [root@plesk2 ~]# rpm --setperms drweb-base
    [root@plesk2 ~]#
    still getting this when we try to start if from Plesk CP:
    Error: Unable to make action: Unable to manage service by drwebmng: drwebmng: Service /etc/init.d/drwebd failed to start

    System error 2: No such file or directory ('--start', 'drweb')



  12. #12
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    What about

    # /etc/init.d/drwebd start
    ?



  13. #13
    Kilo Poster
    Join Date
    Feb 2010
    Posts
    44

    Default

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

    [root@plesk2 ~]# /etc/init.d/drwebd start
    Starting Dr. Web daemon...
    /etc/init.d/drwebd: line 32: 29768 Killed $PROGRAM
    [root@plesk2 ~]#
    [root@plesk2 ~]# cat /etc/init.d/drwebd
    #!/bin/sh
    #
    # Dr.Web (R) init script
    # $Revision: 1.10.14.7 $
    #

    # chkconfig: 2345 20 80
    # description: drwebd is a Dr.Web (R) daemon
    # processname: drwebd
    # config: /etc/drweb/drweb32.ini
    # pidfile: /var/drweb/run/drwebd.pid
    BIN="drwebd"
    PROGRAM="/opt/drweb/$BIN"
    PIDFILE="/var/drweb/run/drwebd.pid"

    RUNFILE=/etc/drweb/daemons.run
    if test -f $RUNFILE ; then
    . $RUNFILE
    if test "$RUN_DRWEBD" != "1" ; then
    echo "DrWeb Daemon is disabled according to $RUNFILE"
    exit 0
    fi
    fi

    check_pidfile()
    {
    pid=`head -1 $PIDFILE` || { echo "cannot read PID file"; exit 1; }
    [ "$pid" != "" ] && [ "$pid" -lt 100000 ] || { echo "invalid PID file for $PIDFILE"; exit 1; }
    }


    case "$1" in
    stop)
    echo "Shutting down Dr. Web daemon..."
    if [ -f $PIDFILE ] ; then
    check_pidfile;
    kill `head -1 $PIDFILE`
    fi
    ;;
    reload)
    echo "Reloading Dr. Web daemon..."
    if [ -f $PIDFILE ] ; then
    check_pidfile;
    kill -HUP `head -1 $PIDFILE`
    fi
    ;;
    restart)
    echo "Restarting Dr. Web daemon..."
    if [ -f $PIDFILE ] ; then
    check_pidfile;
    kill `head -1 $PIDFILE`
    fi
    sleep 3
    $PROGRAM
    ;;
    start)
    echo "Starting Dr. Web daemon..."
    $PROGRAM
    ;;
    status)
    if test -f "$PIDFILE"
    then
    echo "Dr.Web daemon started"
    exit 0
    else
    echo "Dr.Web daemon not started"
    exit 1
    fi
    ;;
    *)
    echo "Usage: $0 {start|stop|restart|reload|status}"
    ;;
    esac



  14. #14
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    Try to remove DrWeb completely with

    # rpm -e drweb-updater drweb-common drweb-bases drweb-base drweb-daemon psa-drweb-configurator
    and then install it back with autoinstaller (/usr/local/psa/admin/sbin/autoinstaller)



  15. #15
    Kilo Poster
    Join Date
    Feb 2010
    Posts
    44

    Default

    [root@plesk2 ~]# rpm -e drweb-updater drweb-common drweb-bases drweb-base drweb-daemon psa-drweb-configurator
    warning: /etc/drweb/users.conf saved as /etc/drweb/users.conf.rpmsave
    Trying to Reconfigure watchdog... Cleaning up init scripts...
    Shutting down Dr. Web daemon...
    warning: /etc/drweb/drweb32.ini saved as /etc/drweb/drweb32.ini.rpmsave
    [root@plesk2 ~]#
    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:
    Welcome to the Parallels Installation and Upgrade Wizard!
    ================================================== =============================

    This wizard will guide you through the installation or upgrade process. Before
    installing or upgrading Parallels products, be sure to back up your data.



  16. #16
    Kilo Poster
    Join Date
    Feb 2010
    Posts
    44

    Default

    I did uninstall Dr Web with
    # rpm -e drweb-updater drweb-common drweb-bases drweb-base drweb-daemon psa-drweb-configurator
    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????



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •