个人工具

“UbuntuHelp:XFProt”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/XFProt}} {{Languages|UbuntuHelp:XFProt}} #title F-Prot Antivirus [http://www.f-prot.com/products/home_use/linux/ F-Prot for Linux] is a free comma...)
 
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/XFProt}}
 
{{From|https://help.ubuntu.com/community/XFProt}}
 
{{Languages|UbuntuHelp:XFProt}}
 
{{Languages|UbuntuHelp:XFProt}}
 +
<<Include(Tag/NeedsExpansion)>>
 
#title F-Prot Antivirus
 
#title F-Prot Antivirus
[http://www.f-prot.com/products/home_use/linux/ F-Prot for Linux] is a free command line antivirus scanner. A couple of frontends have been written to go with it, providing more user-friendly GUIs (e.g. [http://www.kde-apps.org/content/show.php?content=10381 QtFProt] and [http://web.tiscali.it/sharp/xfprot XFprot]). F-Prot and QtFprot can be downloaded using Synaptic/Adept. [[UbuntuHelp:XFProt|XFProt]] can be downloaded from [http://web.tiscali.it/sharp/xfprot the developer's web site].
+
[http://www.f-prot.com/products/home_use/linux/ F-Prot for Linux] is a free command line antivirus scanner. A couple of frontends have been written to go with it, providing more user-friendly GUIs (e.g. [http://www.kde-apps.org/content/show.php?content=10381 QtFProt] and [http://web.tiscali.it/sharp/xfprot XFprot]). F-Prot and QtFprot can be downloaded using Synaptic/Adept. XFProt can be downloaded from [http://web.tiscali.it/sharp/xfprot the developer's web site].
 
== The Problem ==
 
== The Problem ==
We compile [[UbuntuHelp:XFProt|XFProt]]
+
We compile XFProt
<pre><nowiki> tar -zxvf xfprot-xx.tar.gz    (xx being the file version we downloaded)  
+
<pre><nowiki>
 +
tar -zxvf xfprot-xx.tar.gz    (xx being the file version we downloaded)  
 
sudo ./configure  
 
sudo ./configure  
 
sudo make  
 
sudo make  
第12行: 第14行:
 
<code><nowiki> xfprot </nowiki></code>
 
<code><nowiki> xfprot </nowiki></code>
 
in the command line, at which point we get the following error message:
 
in the command line, at which point we get the following error message:
<pre><nowiki> xfprot: starting...
+
<pre><nowiki>
 +
xfprot: starting...
 
xfprot: process is not dumpable
 
xfprot: process is not dumpable
 
xfprot: private dir found
 
xfprot: private dir found
第24行: 第27行:
 
xfprot: dialog_window() </nowiki></pre>
 
xfprot: dialog_window() </nowiki></pre>
 
and
 
and
<pre><nowiki> /usr/local/f-prot/f-prot
+
<pre><nowiki>
 +
/usr/local/f-prot/f-prot
 
File not found!
 
File not found!
 
Aborting... </nowiki></pre>
 
Aborting... </nowiki></pre>
 
== The Reason ==
 
== The Reason ==
Ubuntu installs F-Prot for Linux by default in '''/usr/lib/f-prot/''' but [[UbuntuHelp:XFProt|XFProt]] looks for it in '''/usr/local/f-prot'''
+
Ubuntu installs F-Prot for Linux by default in '''/usr/lib/f-prot/''' but XFProt looks for it in '''/usr/local/f-prot'''
 
== The Solution ==
 
== The Solution ==
 
Create a symbolic link:
 
Create a symbolic link:
第37行: 第41行:
 
Hope it works for you!
 
Hope it works for you!
 
----
 
----
[[category:CategorySoftware]] [[category:CategorySecurity]] [[category:CategoryCleanup]]
+
[[category:CategorySoftware]] [[category:CategorySecurity]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 21:21的最新版本

<<Include(Tag/NeedsExpansion)>>

  1. title F-Prot Antivirus

F-Prot for Linux is a free command line antivirus scanner. A couple of frontends have been written to go with it, providing more user-friendly GUIs (e.g. QtFProt and XFprot). F-Prot and QtFprot can be downloaded using Synaptic/Adept. XFProt can be downloaded from the developer's web site.

The Problem

We compile XFProt

 tar -zxvf xfprot-xx.tar.gz     (xx being the file version we downloaded) 
sudo ./configure 
sudo make 
sudo make install (or checkinstall) 

and then try to launch the program by typing xfprot in the command line, at which point we get the following error message:

 xfprot: starting...
xfprot: process is not dumpable
xfprot: private dir found
xfprot: good...private dir is not a link
xfprot: set_dir_properties_and_cd_in()
xfprot: setting permissions of private dir to 0700
xfprot: setting owner of private dir
xfprot: chdir to private dir
xfprot: check_for_bin()
xfprot: access(): /usr/local/f-prot/f-prot: No such file or directory
xfprot: dialog_window() 

and

 /usr/local/f-prot/f-prot
File not found!
Aborting... 

The Reason

Ubuntu installs F-Prot for Linux by default in /usr/lib/f-prot/ but XFProt looks for it in /usr/local/f-prot

The Solution

Create a symbolic link: sudo ln -s /usr/lib/f-prot/ /usr/local and try again sudo xfprot (NB Run it as superuser if you want the scan engine to have access to restricted folders during the analysis) Hope it works for you!