Перейти к содержимому


Фото
- - - - -

Dr.Web Commands Linux Centos 7 64bits


  • Please log in to reply
14 ответов в этой теме

#1 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 17 Май 2016 - 08:56

I don´t know that product & version have installed.

Dr Web is included with the purchase of Parallels Plesk.

 

What are the console commands for Linux Centos 7, 64 bits ?
It has graphical environment for Linux Centos 7, 64 bits ?

  • OS: ‪CentOS Linux 7.2.1511 (Core)‬
  • Plesk version: 12.5.30 Update #30

Сообщение было изменено juanam: 17 Май 2016 - 08:57


#2 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 17 Май 2016 - 23:09

Edit:

I have installed Dr.Web Daemon.

What command is used to quick scan files and directories manually ?



#3 Danil Biruykov-Romanov

Danil Biruykov-Romanov

    Member

  • Dr.Web Staff
  • 180 Сообщений:

Отправлено 18 Май 2016 - 12:49

Hello!

Try this command:

 

drweb-ctl -h

If its show help:

drweb-ctl -h
Using: drweb-ctl [options] <command> [args] [options]
To get detailed help on command enter: drweb-ctl <command> -h
To show version enter: drweb-ctl -v
...

You can scan files and directories using this command:

drweb-ctl scan something

where something - path to file or directory





 


Оптимальное соотношение сигнал/шум в музыке noise.


#4 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 18 Май 2016 - 13:12

Hello!

Try this command:

 

drweb-ctl -h

If its show help:

drweb-ctl -h
Using: drweb-ctl [options] <command> [args] [options]
To get detailed help on command enter: drweb-ctl <command> -h
To show version enter: drweb-ctl -v
...

You can scan files and directories using this command:

drweb-ctl scan something

where something - path to file or directory





 

[root@vps7777 ~]# drweb-ctl scan /
-bash: drweb-ctl: no se encontró la orden

Not found this command.

 



#5 Danil Biruykov-Romanov

Danil Biruykov-Romanov

    Member

  • Dr.Web Staff
  • 180 Сообщений:

Отправлено 18 Май 2016 - 13:12

If drweb-ctl -h show

 

Command not found

you have installed version 6.0.X, and you can scan files by this command:

drwebdc file


And you can scan all files in directory:

for file in $(find directory -type f); do drwebdc $file; done


Сообщение было изменено Danil Biruykov-Romanov: 18 Май 2016 - 13:14

Оптимальное соотношение сигнал/шум в музыке noise.


#6 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 18 Май 2016 - 13:14

If drweb-ctl -h show

 

Command not found

you have installed version 6.0.X, and you can scan files by this command:

drwebdc file

 

 

Do not you can scan full directories ?



#7 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 18 Май 2016 - 16:11

If drweb-ctl -h show

 

Command not found

you have installed version 6.0.X, and you can scan files by this command:

drwebdc file


And you can scan all files in directory:

for file in $(find directory -type f); do drwebdc $file; done

 

 

I try:

for file in $(find / -type f); do drwebdc $file; done

Returns:
 

File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean

......................................

 

 

How do I scan full contents of the hard disk from the root?



#8 Danil Biruykov-Romanov

Danil Biruykov-Romanov

    Member

  • Dr.Web Staff
  • 180 Сообщений:

Отправлено 18 Май 2016 - 18:27

 

If drweb-ctl -h show

 

Command not found

you have installed version 6.0.X, and you can scan files by this command:

drwebdc file


And you can scan all files in directory:

for file in $(find directory -type f); do drwebdc $file; done

 

 

I try:

for file in $(find / -type f); do drwebdc $file; done

Returns:
 

File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean

......................................

 

 

How do I scan full contents of the hard disk from the root?

 

 

for file in $(find / -type f); do drwebdc $file; done

 

Will scan _all_ files.

You can save report by:

 

 

for file in $(find / -type f ); do drwebdc $file; done > report

 

But this will scan faster:

 

 

for file in $(find / -type f ! -empty); do drwebdc $file; done > report

 

It`s skip empty files



 

 


Оптимальное соотношение сигнал/шум в музыке noise.


#9 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 18 Май 2016 - 18:57

 

 

If drweb-ctl -h show

 

Command not found

you have installed version 6.0.X, and you can scan files by this command:

drwebdc file


And you can scan all files in directory:

for file in $(find directory -type f); do drwebdc $file; done

 

 

I try:

for file in $(find / -type f); do drwebdc $file; done

Returns:
 

File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean
File is empty (file size is 0), passed as clean

......................................

 

 

How do I scan full contents of the hard disk from the root?

 

 

for file in $(find / -type f); do drwebdc $file; done

 

Will scan _all_ files.

You can save report by:

 

 

for file in $(find / -type f ); do drwebdc $file; done > report

 

But this will scan faster:

 

 

for file in $(find / -type f ! -empty); do drwebdc $file; done > report

 

It`s skip empty files


 

 

 

 

Works! :)

 

But, many files results permission denied or

 

Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib

........

 

How can you fix permissions denied or  this error?



#10 Danil Biruykov-Romanov

Danil Biruykov-Romanov

    Member

  • Dr.Web Staff
  • 180 Сообщений:

Отправлено 18 Май 2016 - 19:07

Works! :)

 

 

But, many files results permission denied or

 

Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib

........

 

How can you fix permissions denied or  this error?

 


Hmmm....

Lets try this:

 

for file in $(find / -type f ! -empty); do echo $file; drwebdc $file; done > report

And we can see problem files

 


Оптимальное соотношение сигнал/шум в музыке noise.


#11 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 18 Май 2016 - 19:22

Lets try this:

 

for file in $(find / -type f ! -empty); do echo $file; drwebdc $file; done > report

And we can see problem files

 

Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/remove> : Permission denied
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/rescan> : Permission denied
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/pci_bus/0000:05/rescan> : Permission denied

 

 

It seems that everything is due to the denied permissions , does not show me other information ..



#12 Danil Biruykov-Romanov

Danil Biruykov-Romanov

    Member

  • Dr.Web Staff
  • 180 Сообщений:

Отправлено 18 Май 2016 - 19:57

 

Lets try this:

 

for file in $(find / -type f ! -empty); do echo $file; drwebdc $file; done > report

And we can see problem files

 

Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/remove> : Permission denied
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/rescan> : Permission denied
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/pci_bus/0000:05/rescan> : Permission denied

 

 

It seems that everything is due to the denied permissions , does not show me other information ..

 


for file in $(find / -type f ! -empty | grep -v '/sys' | grep -v '/proc' ); do echo $file; drwebdc $file; done > report

We do not need to scan /sys or /proc

 


Оптимальное соотношение сигнал/шум в музыке noise.


#13 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 18 Май 2016 - 20:45

 

 

 

Lets try this:

 

for file in $(find / -type f ! -empty); do echo $file; drwebdc $file; done > report

And we can see problem files

 

Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/remove> : Permission denied
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/rescan> : Permission denied
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/pci_bus/0000:05/rescan> : Permission denied

 

 

It seems that everything is due to the denied permissions , does not show me other information ..

 

for file in $(find / -type f ! -empty | grep -v '/sys' | grep -v '/proc' ); do echo $file; drwebdc $file; done > report

We do not need to scan /sys or /proc

 

 

 

 

Thank you a lot, now is working perfectly!



#14 juanam

juanam

    Newbie

  • Posters
  • 12 Сообщений:

Отправлено 18 Май 2016 - 21:44

 

 

 

Lets try this:

 

for file in $(find / -type f ! -empty); do echo $file; drwebdc $file; done > report

And we can see problem files

 

Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/remove> : Permission denied
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/rescan> : Permission denied
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
Error -3, on file passed to lib
dwlib: scanfile: cannot open file </sys/devices/pci0000:00/0000:00:15.2/pci_bus/0000:05/rescan> : Permission denied

 

 

It seems that everything is due to the denied permissions , does not show me other information ..

 

for file in $(find / -type f ! -empty | grep -v '/sys' | grep -v '/proc' ); do echo $file; drwebdc $file; done > report

We do not need to scan /sys or /proc

 

 

 

 

Thank you a lot, now is working perfectly!

 

 

EDIT:

[root@vps7777 ~]# for file in $(find / -type f ! -empty | grep -v '/sys' | grep -v '/proc' ); do echo $file; drwebdc $file; done > report

Result:

 

find: ‘/proc/4402’: No existe el fichero o el directorio
find: ‘/proc/4403/task/4403/fdinfo/6’: No existe el fichero o el directorio
find: ‘/proc/4403/fdinfo/6’: No existe el fichero o el directorio

 

..............................................
 



#15 amorozov

amorozov

    Newbie

  • Posters
  • 73 Сообщений:

Отправлено 19 Май 2016 - 12:44

find: ‘/proc/4402’: No existe el fichero o el directorio
find: ‘/proc/4403/task/4403/fdinfo/6’: No existe el fichero o el directorio
find: ‘/proc/4403/fdinfo/6’: No existe el fichero o el directorio

Try this:
 find / \( -path /sys -o -path /proc \) -prune -o -type f ! -empty -exec echo {} \; -exec drwebdc {} \; > report



Читают тему: 1

0 пользователей, 1 гостей, 0 скрытых