Page 1 of 2

XFProt virus scanner fix for Puppy 431

Posted: Mon 25 Jan 2010, 17:00
by tasmod
I posted this in the Stardust 006 thread also.

In Puppy 431 the XFProt application errors out, it has a defective gui and missing directory.

So I put together this pet with a fixed gui and a further directory.

It will work either way, if you've not downloaded f-prot or if you have and it doesn't work. This will fix it.

Posted: Wed 27 Jan 2010, 19:36
by tazoc
Thank you Rob, it works great and I included the fix in Lighthouse Pup 4.43 Final. :D
TazOC

bugfix doesn't seem to work

Posted: Tue 16 Feb 2010, 23:07
by yorkiesnorkie
I gave it a try but I get the same error as usual. xf prot can't find the version. I get past the installation, I install to the defaults, I download the updates, but it won't run.

I ran the pet before the installation, and then afterward when I got the error message. I also tried rebooting.

I'm running Puppy 4.3.1 with the add on pet that updates it.

Yorkiesnorkie
:-)

Posted: Fri 02 Apr 2010, 09:21
by ttuuxxx
hi tasmod yorkiesnorkie mentioned an error, will that happen if I install the pet? or is it a one-off ?
ttuuxxx

Posted: Fri 02 Apr 2010, 09:26
by tasmod
I think it must be a one off. I tried it in your 432-v2 and it worked OK.

works pefectly

Posted: Fri 02 Apr 2010, 18:55
by amsk98
works pefectly

& up to date

thanks

Puppy 4.31 Full

Posted: Wed 07 Apr 2010, 02:51
by rokytnji
hi tasmod yorkiesnorkie mentioned an error, will that happen if I install the pet? or is it a one-off ?

I think it must be a one off. I
I guess it is a 2 off(sorta, my message is binary not found). As I experience the same problem as Yorkie. Screenshot of running xfprot in terminal below.

Posted: Wed 07 Apr 2010, 08:06
by tasmod
That appears to be an installation error.

Does this appear if you try from the menu entry or does it run correctly?

There are numerous files and directories installed in a correct installation, check for these.

There are two directories in /usr/local

One is xfprot with run scripts

Other is f-prot with virus definitions, updater, licence and first run install script.

Two important files:-

/usr/local/bin/xfprot ----- ----- this is the exec file run from menu, it calls up a GUI where the choices for xfprot are run.

/usr/local/xfprot/xfprot-gtk ---the gtk gui script.

Posted: Sun 11 Apr 2010, 13:29
by rokytnji
Does this appear if you try from the menu entry or does it run correctly?
No it did not run from the menu and yes the warning banner came up when using the menu. That was why I tried running from terminal. No error message in terminal other than the banner though.

Also. No need to waste time with me tazmod. I went and tried installing avast rpm instead. This all started when I ran Kazehakase browser and got a can't connect to paypal popup when I was not even trying to connect to paypal. So in a late night fit of paranoia I started on this trek.

Long story short. I broke my Puppy 4.31 full install when Avast froze up halfway through scan. Lost X. Tried using my saved sfs files in etc/X11/xorg.conf and that startup file in /root/home (Can't remember the exact name but it was like .inixtrc ) and still wouldn't give me a desktop and xorgwizard would just go in circles as far as if you didn't get X run Xorgwizard. I finally gave up. So 4.31 is gone. I use my other partition with MacPup Foxy 3 which has xfprot working just fine. Used the same steps to install in Macpup as I did in 4.31. So it is a wonderment. But since Puppy 4.31 is gone. The point is moot.
/usr/local/bin/xfprot ----- ----- this is the exec file run from menu, it calls up a GUI where the choices for xfprot are run.

/usr/local/xfprot/xfprot-gtk ---the gtk gui script.
I investigated and all files were present. That was why I head scratched, then tried avira, which was just adding fuel to the fire to burn down Puppy.

Posted: Mon 12 Apr 2010, 00:34
by rjbrewer
rokytnji wrote:
Does this appear if you try from the menu entry or does it run correctly?
No it did not run from the menu and yes the warning banner came up when using the menu. That was why I tried running from terminal. No error message in terminal other than the banner though.

Also. No need to waste time with me tazmod. I went and tried installing avast rpm instead. This all started when I ran Kazehakase browser and got a can't connect to paypal popup when I was not even trying to connect to paypal. So in a late night fit of paranoia I started on this trek.

Long story short. I broke my Puppy 4.31 full install when Avast froze up halfway through scan. Lost X. Tried using my saved sfs files in etc/X11/xorg.conf and that startup file in /root/home (Can't remember the exact name but it was like .inixtrc ) and still wouldn't give me a desktop and xorgwizard would just go in circles as far as if you didn't get X run Xorgwizard. I finally gave up. So 4.31 is gone. I use my other partition with MacPup Foxy 3 which has xfprot working just fine. Used the same steps to install in Macpup as I did in 4.31. So it is a wonderment. But since Puppy 4.31 is gone. The point is moot.
/usr/local/bin/xfprot ----- ----- this is the exec file run from menu, it calls up a GUI where the choices for xfprot are run.

/usr/local/xfprot/xfprot-gtk ---the gtk gui script.
I investigated and all files were present. That was why I head scratched, then tried avira, which was just adding fuel to the fire to burn down Puppy.
I use full installs almost exclusively. When I "break" one, I load the
live cd and run full install again. This time just use "upgrade", skip
the grub install, and in most cases it fixes original install.

Posted: Mon 03 May 2010, 12:58
by yorkiesnorkie
I still can't get this to work. I still get the cannot detct f-prot version error message.

I tried re-installing 4.3.0, running it from the menu, so the updates are downloaded, then installing the pet to fix it. No joy.

I downloaded f-prot and installed it from the website. I re-compiled xfprot from source and installed it. No joy.

I'm going to verify that f-prot will work from the command line. I'm going to check for the missing directories you mention. Also f-prot has i686 in it's tar.gz filename. I've got a pentium-mmx, so I'm wondering if that might be a factor, and/or if I should upgrade my puppy to 4.3.1

y.

Posted: Wed 05 May 2010, 03:31
by KusaNoKaito
I'm going to verify that f-prot will work from the command line. I'm going to check for the missing directories you mention. Also f-prot has i686 in it's tar.gz filename. I've got a pentium-mmx, so I'm wondering if that might be a factor, and/or if I should upgrade my puppy to 4.3.1
Perhaps you should, It works great of 431.

fport for Puppy 4.3.1

Posted: Sat 19 Jun 2010, 19:35
by tomaszek
Dear All,

Do I have to compile fport from source? I can not find fport in repos.

Regards,

tomasz

Posted: Sun 20 Jun 2010, 10:20
by muggins
Hello Tomaszek,

it's available here.

fpscan works from the command line

Posted: Sun 04 Jul 2010, 11:10
by yorkiesnorkie
Hi,

I finally got back to this. I can't get xfprot to work but f-prot will work from the command line. I opened up a terminal and entered:

Code: Select all

fpscan -a | tee report.txt

I send the content of the rxvt to a log file for review

you can get help with the application

Code: Select all

fpscan -h
Interestingly it found a virus on a windows parition, so f-prot is working! :) No luck with the xfprot GUI though.

Y.

Posted: Sun 04 Jul 2010, 12:31
by tasmod
OK, especially for you I re-installed 431 and tried again.

I loaded f-prot and then ran my pet.

It all worked ok.

So, what Puppy are you using?

Do you have an 'xfprot' directory in /user/local

What does it contain ?

If you have, what happens when you try to run xfprot-gtk ?

f-prot xfprot

Posted: Sun 04 Jul 2010, 16:01
by yorkiesnorkie
Hi Tasmod,

Thanks for going to all that trouble. I'm running puppy 4.3.1. I have it installed on two different machines, one is an old Compaq Presario and this one is an IBM 380. Neither will run the GUI.

I just re-installed 4.3.1 to the laptop the other day and ran the xfprot "installer" from the menu. I do have the /usr/local/f-prot and /usr/local/xfprot folders after the installation. I just tried to open a terminal at /usr/local/f-prot and run fpscan on the laptop, and I get the following error:

Code: Select all

# fpscan
Illegal instruction
When I run xfprot from the menu on the laptop: Menu/Utility/X-prot virus scanner, I get the you are running as root message, followed by the cannot detect version message and the gui stops.

Now, on the Compaq I can run xfprot from the command line, and it works.

The XFprot directory on the laptop contains:
a directory called icons
copying
eicar.com
xfprot-gtk
Xfprot_scan
Xfprot_update

When I open a terminal window there and run xfprot-gtk from the command line:

Code: Select all

# xfprot-gtk 
bash: xfprot-gtk: command not found
Note I have not applied your patches to either pc, however I'm wondering if fpscan should be working first as a pre-requisite.

Y.[/code]

Posted: Sun 04 Jul 2010, 17:02
by tasmod
Try

./xfprot-gtk

If you get the "running as root" then "version" messages then you are there but need to run my pet, then it should continue on.

Still No Joy

Posted: Mon 05 Jul 2010, 11:04
by yorkiesnorkie
Hi Rob,

thanks for the help! Well, ./xfprot-gtk does open the gui, but sadly I get no further than I do when I run it from the menu on the laptop. Basically, I end up with the can't detect the version message and the only option quits, even with your patch applied.

There's something deeper going on here with regard to f-prot itself since it won't run from the comand line. Since I"m using frugal, I'm going to replace the sfs file and take another run at the install.

Y.

Re: f-prot xfprot

Posted: Mon 13 Sep 2010, 03:04
by Kanyimbe
This is my experience too.
yorkiesnorkie wrote:
When I run xfprot from the menu on the laptop: Menu/Utility/X-prot virus scanner, I get the you are running as root message, followed by the cannot detect version message and the gui stops.

Y.[/code]