• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Dr Web: drwebmng failed

ear

New Pleskian
Hello,

When I want to activate the anti-virus on a mailbox, I have this message:
drwebmng failed: /usr/local/psa/admin/bin/drwebmng[3344]: Unable to update drweb antivirus service state: not all changes might be applied
drwebmng: Some errors occured in handlers actions
System error 2: No such file or directory

I uninstalled and installed the Plesk anti-virus; same problem.
I tried with this solution Resolved - Cannot start Odin Premium Anti-Virus
I have this message when I try start/restart DrWeb(/etc/init.d/drwebd restart)
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.
Plesk authorization failed: HTTP request error [35]
Error: Plesk Software not running.
and the folder /var/drweb/log is empty

I have 3 mailbox on 2 domains (domain1: 2 mailbox and domain2: 1 mailbox)

Do you have an idea of the problem ?

thank you
 
Are you sure that sw-cp-server process is up and running? Check it with

# telnet localhost 8443

The DrWeb package that comes with the Plesk distributive is configured to work with Plesk and cannot be run standalone. It searches the Plesk on localhost:8443 for authorization and if this attempt fails, the error listed above occurs.

Check also that you have line

127.0.0.1 localhost localhost.localdomain

in /etc/hosts. And make sure that there is no firewall running on the server blocking port 8443.
 
Hello,

I had the same problem when migrating from plesk 12.0.18 to Plesk 17.5.3

Code:
Plesk restore report problem:
Internal server error: <cli><failure>drwebmng failed: /usr/local/psa/admin/bin/drwebmng[6560]: Unable to update drweb antivirus service state: not all changes might be applied
drwebmng: Some errors occured in handlers actions
System error 2: No such file or directory</failure></cli>

I checked the line 127.0.0.1 localhost localhost.localdomain and it was ok.

If I use the new server without antivirus, will subscirptions work coorectly even with this error ?

Thank you
 
If I use the new server without antivirus, will subscirptions work coorectly even with this error ?
Yes, it will. But I'd suggest to remove antivirus component in this case in Plesk installer.
 
Hello, I had the same problem, the following solution worked fine for me with plesk onyx:
First check if TLS-Versions are enabled:
Code:
grep ssl_protocols /etc/sw-cp-server/conf.d/ssl.conf
Make sure that TLSv1 is enabled.

After this I found that the /etc/sw-cp-server/conf.d/ssl.conf contains custom ssl_ciphers:
Code:
$ grep ssl_ciphers /etc/sw-cp-server/conf.d/ssl.conf
Code:
ssl_ciphers EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EECDH+CHACHA20:EDH+AESGCM+AES128:EDH+AESGCM+AES256:EDH+CHACHA20;
To solve the issue, the following was done:
1. I created the backup of the /etc/sw-cp-server/conf.d/ssl.conf file:
Code:
# cp /etc/sw-cp-server/conf.d/ssl.conf{,.bck}
2. Opened
Code:
/etc/sw-cp-server/conf.d/ssl.conf
file and set the default ssl_ciphers:
Code:
EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EECDH+CHACHA20:EDH+AESGCM+AES128:EDH+AESGCM+AES256:EDH+CHACHA20:EECDH+SHA256+AES128:EECDH+SHA384+AES256:EDH+SHA256+AES128:EDH+SHA256+AES256:EECDH+SHA1+AES128:EECDH+SHA1+AES256:EDH+SHA1+AES128:EDH+SHA1+AES256:EECDH+HIGH:EDH+HIGH:AESGCM+AES128:AESGCM+AES256:CHACHA20:SHA256+AES128:SHA256+AES256:SHA1+AES128:SHA1+AES256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK:!KRB5:!aECDH;
3. After that I reloaded sw-cp-server and successfully started drwebd service:
Code:
$service sw-cp-server reload
Code:
Reloading sw-cp-server configuration (via systemctl):      [  OK ]

Code:
$ service drwebd start
Total virus records: 10035436
Daemon is installed, active interfaces:  /var/drweb/run/.daemon  127.0.0.1:3000

Code:
$ service drwebd status
Dr.Web drwebd is running
 
Back
Top