OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Applications => Topic started by: CDRWSel on 2011.01.30, 23:10:32

Title: ClamAVGUI news...
Post by: CDRWSel on 2011.01.30, 23:10:32
After jumping many problems dur to RPM/YUM package, I could make a WPI package of ClamAV including some new Dlls since 0.96.4 for my use. Starting from this release, viral database signature must be available under @unixroot\var\lib\clamav directory.

For those not having unixroot set under config.sys, you can set it to unixroot=your_clamav_installation_path

After install of new Dlls under a valid libpath and some studies and many work to change several parts of clamavgui code, I could make it compatible with new releases (package into WPI) or with older ClamAV release.

I added an experimental option under setting [ x ] RPM which is planned to be used by those having installed ClamAV through RPM/YUM (this part couldn't be tested...) which changes some other product paths to use those "imposed" by this tool.

Here is a screenshot of the V2.0.0 test build running under my system.
(I added some more information under my site )

Kind regards,
Remy    
Title: Re: ClamAVGUI news...
Post by: David McKenna on 2011.02.02, 00:35:17
Remy,

  Thanks for updating ClamAVGUI! I am using it with the RPM installed version of ClamAV and it seems to work well.

  A couple of small issues: Under 'Help', Clamscan, Clamdscan and Freshclam all start Lucide, but Lucide gives a 'File load error!' message. The pdf files are present in the ClamAVGUI directory. Also under 'Settings' in the ClamAV GUI dialog, 'ClamAV DB path' is set to 'c:\var\lib\clamav' and the database is there, but the red/green indicator to the right is red. Everything works fine anyway.

  One other thing... when I tried to install the WPI, it complained that ClamAV was not installed (it was). It would not allow me to install at all so I used wic.exe to extract manually.

Regards,

Dave McKenna
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.02, 09:07:47
Hi Dave,

Thanks having tested it with (clamav rpm/yum installed version)
I suppose you enabled the RPM checkbox. I'll check what happens about lucide errors.
About the red indicator, I check for a "main.cvd" file under the database directory. Do you have it ?
(Hum... through RPM/YUM, you must have it!)

If not, please run ClamAV DBupdate

About the WPI complain, it is normal due I have a required older clamav package into the script. I'm going to remove it... Thanks for your help

Cheers
Remy
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.02, 10:12:01
Hi Dave,

I just updated it.

   * (a) If lucide isn't under default supposed path, it is suggested to set a new path when needed
   * (a) provided PDF file must exist before lucide is called
   * (a) Database path wasn't correctly checked at settings open time to get green light (main.cvd should exist)
   * (a) Update WPI script to no more search for WPI installed ClamAV

Could you please take it again and check if it is ok now ?
* link is under (2.0.0) from my ClamAVGUI web site page.
Once installed, it will refer as 2.0.0b under about

note: script was updated too to no more search installed ClamAV through WPI

Cheers
Remy

Title: Re: ClamAVGUI news...
Post by: David McKenna on 2011.02.02, 14:30:59
Hi Remy,

  I just tried the update... now when I try to run the WPI I immediately get a message:

"Package "netlabs.org\ClamAV\Base" was referenced as a macro, but is not installed. Terminating." There is a 'Cancel' button...

Regards,

Dave McKenna
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.02, 15:25:33
Hum...

I'll check what I missed to change into my script   ::)

Cheers
Remy   
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.02, 20:26:20
I apology,
It was a stupid erro, I left clamv path into target path instead of default WPI installation path.
I replaced the package.

Cheers
Remy
Title: Re: ClamAVGUI news...
Post by: David McKenna on 2011.02.03, 00:29:02
Hi Remy,

  Thanks for the update! This time I ran the WPI and it seemed to install correctly (at least a bunch of files were installed and objects created in the ClamAV folder that was created by RPM!), but at the end I got the same error message again. I tried to install again and I notice that the WarpIn database did not recognize that I had already installed ClamAVGUI, so it must not have been updated during the first attempt. Same error the second time too...

  Now I can open the help PDF files - great! I think it didn't work before because I manually unpacked the WPI and the PDF's were not extracted into a 'Doc' folder - now they are there. The Red/Green indicator still is red... I do not have a main.cvd file, but I do have a main.cld file in /var/lib/clamav. I ran ClamAV DB update and it said everything was up to date... still have the red indicator though.

Regards,

Dave McKenna
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.03, 10:28:53
Hi Dave,

I'll check what could create the error.
Could you please tell me which package gives yous the error ?

You have a main.cld !
I always had main.cvd but like daily, it could be cvd or cld. This correction will be very quick...

Thanks
cheers
Remy

Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.03, 20:50:05
Hi Dave,

After my script review, I left a call to the setini.cmd file which is no more needed due ClamAV could be installed through WPI or not. This batch file was called with a wrong parm (reference to clamav). I apology

I updated ClamAVGUI to check for existing main.cvd and main.cld to have green led on.
This should be corrected too.
You can get the refreshed package v2.0.0 for test ( 2.0.0c under about ) 

Cheers
Remy     
Title: Re: ClamAVGUI news...
Post by: David McKenna on 2011.02.04, 00:07:38
Hi Remy,

  Thanks for your efforts! Everything seems to be working smoothly now with the latest version...

Regards,

Dave McKenna
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.04, 09:25:48
Hi Dave,

Thanks trying it and I'm happy it is ok now under your system under which you installed clamav through rpm/yum.

You are welcome.
Kind regards,
Remy 
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.09, 01:56:09
Hi,

I found a problem when using clamdscan
I updated the package to v2.0.0d

Cheers
Remy

Note: I'm working on next 2.1.0 which should have an integrated stop button for clamscan or clamdscan with clamavgui "verbose" mode on only   
 
Title: Re: ClamAVGUI news...
Post by: klipp on 2011.02.15, 20:59:53
Hi Remy, I'm having problems with version 2.1.0e which was installed using .wpi. I do a scan of a drive and/or directory and it seems to be scanning for a short while then ends with the following message:

Directories or files reported as having a problem follow...
Time 12.49.25 - Clamdscan.exe process ID not found, Current ClamavGUI process aborted!

Using the "Show PID's" option it says clamscan is running. I guess I've got something screwed up, but don't know what!
The databases got successfuly downloaded & installed.
Any Ideas?

thanks  klipp
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.15, 22:11:36
Hi klipp,

Do you installed ClamAV through RPM/YUM ?
If not, please get the just refreshed 0.96.4 WPI package. ClamaV.dll and Clamdscan are taken from 0.96.4.1 due 0.96.4.4 is not running but in the previous build, Clamdscan was left to 0.96.4.4 making it uncompatible with the clamav.dll. Now it is ok.

I would suggest you to get the refreshed v2.1.0 (same link) which refers as 2.1.0k under about now.
I corrected some problems in it.

From what you wrote, you have Clamdscan set as scan engine and this one is not available
Clamdscan needs Clamd (daemon) running to work. If it isn't enabled, a message is issued to start it.
If the Clamd was started, may be it crashed ! (if this is the case, you should have a remaining os/2 cmd windows of it with the crashing logs in it).

During normal ClamDscan run without "verbose" mode, you'll only have a (long wait) message due Clamdscan doesn't get back any information. The verbose option is an internal tips to force having final status but it needs some time may be seconds or 10th of seconds (seconds which depends on the amount of datas you plan to scan) to build the process list passed to clamdscan  

Start using clamscan first before switching to clamdscan (change it under settings -> ClamAV GUI)
and set Def_home this will start home directory scan when no value are entered into the input line and scan is pressed.

If ClamAVM is installed too, check the corresponding checkbox under ClamAV-GUI and you'll see which clam* processes are running including ClamAV-GUI

Hope this help.
Kind regards,
Remy
Title: Re: ClamAVGUI news...
Post by: klipp on 2011.02.17, 17:16:20
I got It working Remy, thanks for the help.
GREAT work (as usual!) on you're part.

thanks klipp
Title: Re: ClamAVGUI news...
Post by: CDRWSel on 2011.02.18, 02:02:59
V2.1.0
Refreshed (may be final v2.1.0 before release)