• 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

11.5.30 - Dr.Web Updater: Failed to delete file

mfgo_parusr

New Pleskian
Hello,

I have a strange problem every 30 min:

ERROR: Dr.Web Updater: Failed to delete file: /var/drweb/updater/drweb/data/1 (Permission denied) at /opt/drweb/update.pl line 4399.
!
Can not open file '/var/drweb/updater/last_try_cache' for writing: (Permission denied) at /opt/drweb/update.pl line 4051.

CloudLinux Server 6.4
11.5.30 Update #6


Does anyone know a solution for this?
 
Please post output of:

# ls -ldZ /var/drweb/updater/drweb/data/1 /var/drweb/updater/drweb/data /var/drweb/updater/drweb /var/drweb/updater /var/drweb /var ; ls -lZ /var/drweb/updater/last_try_cache
 
drwxr-xr-x. root root system_u:eek:bject_r:var_t:s0 /var
drwxr-xr-x drweb drweb ? /var/drweb
drwxr-xr-x drweb drweb ? /var/drweb/updater
drwxr-xr-x root root ? /var/drweb/updater/drweb
drwxr-xr-x root root ? /var/drweb/updater/drweb/data
-rw-r--r-- drweb root ? /var/drweb/updater/drweb/data/1
-rw-r--r-- root root ? /var/drweb/updater/last_try_cache
 
Did you launch /opt/drweb/update.pl previously manually? As a quick fix you may recursively chmod /var/drweb/updater files to drweb:drweb.
 
Hi there,

i have a similar problem with dr. web updater since i updated the panel from 11.0.9 to 11.5.30

when i run /opt/drweb/update.pl manually i get following output

Thu Aug 22 13:06:35 2013 {W} [4099] Dr.Web Updater ($Id: fbb3ca1734c5e75ae3008acef02c2f1032ac44cf $) started ...
Thu Aug 22 13:06:35 2013 {D} [4099] Dr.Web Updater ($Id: fbb3ca1734c5e75ae3008acef02c2f1032ac44cf $) script path is /opt/drweb/update.pl
Thu Aug 22 13:06:35 2013 {D} [4099] ParseSection(updater,;#) has been called ...
Thu Aug 22 13:06:35 2013 {D} [4099] ParseSection(updater,;#) return( 0 )
Thu Aug 22 13:06:35 2013 {D} [4099] ParseSection(daemon,;#) has been called ...
Thu Aug 22 13:06:35 2013 {D} [4099] ParseSection(daemon,;#) return( 0 )
Thu Aug 22 13:06:35 2013 {E} [4099] failed to load parameters - section [daemon] not found in /etc/drweb/drweb32.ini
ERROR: Dr.Web Updater: failed to load parameters - section [daemon] not found in /etc/drweb/drweb32.ini !
Thu Aug 22 13:06:35 2013 {I} [4099] Saving last update cache data...
Thu Aug 22 13:06:35 2013 {I} [4099] Nothing to save into last update cache!

when i run the command
ls -ldZ /var/drweb/updater/drweb/data/1 /var/drweb/updater/drweb/data /var/drweb/updater/drweb /var/drweb/updater /var/drweb /var ; ls -lZ /var/drweb/updater/last_try_cache

i get following output
ls: cannot access /var/drweb/updater/drweb/data/1: No such file or directory
ls: cannot access /var/drweb/updater/drweb/data: No such file or directory
ls: cannot access /var/drweb/updater/drweb: No such file or directory
drwxr-xr-x 19 root root ? 4.0K Jul 19 2012 /var
drwxr-xr-x 13 drweb drweb ? 4.0K Aug 20 21:04 /var/drweb
drwxr-xr-x 2 drweb drweb ? 4.0K Nov 2 2012 /var/drweb/updater
ls: cannot access /var/drweb/updater/last_try_cache: No such file or directory

OS: Debian 6.0.7
Panel: 11.5.30 #12

so whats wrong ? Any ideas ?
 
Hi!

@JeromeW, I have exactly the same error!!!

In my case, the update is called by a daily cronjob and I get this error :

Code:
Fri Feb 13 06:32:19 2015 {W} [16099] Dr.Web Updater ($Id: fbb3ca1734c5e75ae3008acef02c2f1032ac44cf $) started ...
Fri Feb 13 06:32:19 2015 {D} [16099] Dr.Web Updater ($Id: fbb3ca1734c5e75ae3008acef02c2f1032ac44cf $) script path is /opt/drweb/update.pl
Fri Feb 13 06:32:19 2015 {D} [16099] ParseSection(updater,;#) has been called ...
Fri Feb 13 06:32:19 2015 {D} [16099] ParseSection(updater,;#) return( 0 )
Fri Feb 13 06:32:19 2015 {D} [16099] ParseSection(daemon,;#) has been called ...
Fri Feb 13 06:32:19 2015 {D} [16099] ParseSection(daemon,;#) return( 0 )
Fri Feb 13 06:32:19 2015 {E} [16099] failed to load parameters - section [daemon] not found in /etc/drweb/drweb32.ini
ERROR: Dr.Web Updater: failed to load parameters - section [daemon] not found in /etc/drweb/drweb32.ini !
Fri Feb 13 06:32:19 2015 {I} [16099] Saving last update cache data...
Fri Feb 13 06:32:19 2015 {I} [16099] Nothing to save into last update cache!
run-parts: /etc/cron.daily/drweb-update exited with return code 30

And the result of the command :

Code:
drwxr-xr-x 19 root  root  ?   4096 nov.  20 09:55 /var
drwxr-xr-x 13 drweb drweb ?   4096 nov.  20 09:51 /var/drweb
drwxr-xr-x  4 drweb drweb ?   4096 nov.  21 06:29 /var/drweb/updater
drwxr-xr-x  3 root  root  ?   4096 févr. 10 06:53 /var/drweb/updater/drweb
drwxr-xr-x  2 root  root  ?   4096 févr. 10 06:53 /var/drweb/updater/drweb/data
-rw-r--r--  1 drweb root  ? 391986 févr. 10 06:53 /var/drweb/updater/drweb/data/1
-rw-r--r-- 1 root root ? 0 févr. 10 06:53 /var/drweb/updater/last_try_cache

Any idea?!?
 
Ok so... I checked my drweb32.ini and it was (almost) empty.

I replaced it by the drweb32.ini template (in the same directory) and it seems to work correctly.
 
Back
Top