Re: "clamav-unofficial-sigs" error message

2017-06-26 Thread Marko Njezic

On 2017-06-26 13:26, Carmel NY wrote:

On Mon, 26 Jun 2017 11:37:29 +0200, Marko Njezic stated:


On 2017-06-25 18:16, Carmel NY wrote:

On Sun, 25 Jun 2017 17:17:44 +0200, Martin Waschbüsch stated:


From what I can see, the clamav-unofficial-sigs port works. It
determines if there are updates or whether you have checked
recently, so that you do not inadvertently dos the signature
servers. What is NOT working, apparently, is clamav. Did you
install clamav via ports? If it is installed, what is the
clamscan_bin variable set to
in /usr/local/etc/clamav-unofficial-sigs/master.conf file? It needs
to be set to the correct path, for
instance /usr/local/bin/clamscan. The correct path on your setup
can be determined using 'which clamscan'


From the "master.conf" file:

# Custom Command Paths, these are detected with the which command
when not set.

Clamscan was commented out; however, the default setting was
to /usr/bin/clamscan

From what I can figure out, the "which" command worked fine outside
of a CRON job, but was failing when clamav-unofficial-sigs.sh was
run via CRON. I uncommented the "clamscan" setting and set it to
point to the correct location. Now it works correctly.

This is probably a bug, but I am not going to waste my time reporting
it. The ports version of this program is very old. There have been
five newer versions since its release. No doubt this problem has been
corrected.


The error message that you're getting has nothing to do with the
version of the script that's available from the ports collection.

Contrary to what you think, you would get the same error message with
the latest version of the script (clamscan binary detection has
remained exactly the same). You obviously did not set up PATH variable
correctly for script invoking by cron daemon.


This is the default setting:

# Custom Command Paths, these are detected with the which command when
not set
# uname_bin="/usr/bin/uname"
# clamscan_bin="/usr/bin/clamscan"
# rsync_bin="/usr/bin/rsync"
# wget_bin="/usr/bin/wget"
# curl_bin="/usr/bin/curl"
# gpg_bin="/usr/bin/gpg"

I only needed to uncomment and change the "clamscan_bin" setting to get
it working correctly when run via CRON. Since the other settings are
not correct for a FreeBSD system, yet still work, I do believe it is a
bug of some sorts. However, it is not worth arguing about.


You did not set up PATH variable correctly in your crontab. This is not 
a bug in the script. Also, master.conf and os.conf files should not be 
modified, or you will end up with old versions of those files when 
updating to a new version of the port. All user changes should be placed 
in user.conf (this is mentioned in both pkg-message and ports/UPDATING).



On a side note, you mentioned that you edited "master.conf" file. As I
wrote in pkg-message, all user configuration changes should go in file
"user.conf" file, in order to make updating the script easier.

As far as updating the port to the latest version is concerned, the
development of the script appeared to be on halt since there were no
updates from august last year until march this year and now it is
quiet once again. The original script ended up being abandoned and I'm
more cautious this time, so that I don't end up wasting my time.


I am not sure what that is supposed to mean. The postfix "stable"
version is only updated approximately once a year. A program does not
have to be updated every "X" number of days to be actively developed.
In any case, there have been five new versions released since the one
in the ports system was released. Certainly that would seem to indicate
that something was happening with the application.


That means exactly what I wrote. I don't want to waste my time, if 
forked version also ends up being abandoned.


--
Regards,
Marko Njezic - mr.maX @ MAX Interactive corp.
Personal: http://www.markonjezic.com/
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: "clamav-unofficial-sigs" error message

2017-06-26 Thread Carmel NY
On Mon, 26 Jun 2017 11:37:29 +0200, Marko Njezic stated:

>On 2017-06-25 18:16, Carmel NY wrote:
>> On Sun, 25 Jun 2017 17:17:44 +0200, Martin Waschbüsch stated:
>>   
>>> From what I can see, the clamav-unofficial-sigs port works. It
>>> determines if there are updates or whether you have checked
>>> recently, so that you do not inadvertently dos the signature
>>> servers. What is NOT working, apparently, is clamav. Did you
>>> install clamav via ports? If it is installed, what is the
>>> clamscan_bin variable set to
>>> in /usr/local/etc/clamav-unofficial-sigs/master.conf file? It needs
>>> to be set to the correct path, for
>>> instance /usr/local/bin/clamscan. The correct path on your setup
>>> can be determined using 'which clamscan'  
>> 
>> From the "master.conf" file:
>> 
>> # Custom Command Paths, these are detected with the which command
>> when not set.
>> 
>> Clamscan was commented out; however, the default setting was
>> to /usr/bin/clamscan
>> 
>> From what I can figure out, the "which" command worked fine outside
>> of a CRON job, but was failing when clamav-unofficial-sigs.sh was
>> run via CRON. I uncommented the "clamscan" setting and set it to
>> point to the correct location. Now it works correctly.
>> 
>> This is probably a bug, but I am not going to waste my time reporting
>> it. The ports version of this program is very old. There have been
>> five newer versions since its release. No doubt this problem has been
>> corrected.  
>
>The error message that you're getting has nothing to do with the
>version of the script that's available from the ports collection.
>
>Contrary to what you think, you would get the same error message with 
>the latest version of the script (clamscan binary detection has
>remained exactly the same). You obviously did not set up PATH variable
>correctly for script invoking by cron daemon.

This is the default setting:

# Custom Command Paths, these are detected with the which command when
not set
# uname_bin="/usr/bin/uname"
# clamscan_bin="/usr/bin/clamscan"
# rsync_bin="/usr/bin/rsync"
# wget_bin="/usr/bin/wget"
# curl_bin="/usr/bin/curl"
# gpg_bin="/usr/bin/gpg"

I only needed to uncomment and change the "clamscan_bin" setting to get
it working correctly when run via CRON. Since the other settings are
not correct for a FreeBSD system, yet still work, I do believe it is a
bug of some sorts. However, it is not worth arguing about.

>On a side note, you mentioned that you edited "master.conf" file. As I 
>wrote in pkg-message, all user configuration changes should go in file 
>"user.conf" file, in order to make updating the script easier.
>
>As far as updating the port to the latest version is concerned, the 
>development of the script appeared to be on halt since there were no 
>updates from august last year until march this year and now it is
>quiet once again. The original script ended up being abandoned and I'm
>more cautious this time, so that I don't end up wasting my time.

I am not sure what that is supposed to mean. The postfix "stable"
version is only updated approximately once a year. A program does not
have to be updated every "X" number of days to be actively developed.
In any case, there have been five new versions released since the one
in the ports system was released. Certainly that would seem to indicate
that something was happening with the application.

-- 
Carmel


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: "clamav-unofficial-sigs" error message

2017-06-26 Thread Marko Njezic

On 2017-06-25 18:16, Carmel NY wrote:

On Sun, 25 Jun 2017 17:17:44 +0200, Martin Waschbüsch stated:


From what I can see, the clamav-unofficial-sigs port works. It
determines if there are updates or whether you have checked recently,
so that you do not inadvertently dos the signature servers. What is
NOT working, apparently, is clamav. Did you install clamav via ports?
If it is installed, what is the clamscan_bin variable set to
in /usr/local/etc/clamav-unofficial-sigs/master.conf file? It needs to
be set to the correct path, for instance /usr/local/bin/clamscan. The
correct path on your setup can be determined using 'which clamscan'


From the "master.conf" file:

# Custom Command Paths, these are detected with the which command when
not set.

Clamscan was commented out; however, the default setting was
to /usr/bin/clamscan

From what I can figure out, the "which" command worked fine outside of
a CRON job, but was failing when clamav-unofficial-sigs.sh was run via
CRON. I uncommented the "clamscan" setting and set it to point to the
correct location. Now it works correctly.

This is probably a bug, but I am not going to waste my time reporting
it. The ports version of this program is very old. There have been five
newer versions since its release. No doubt this problem has been
corrected.


The error message that you're getting has nothing to do with the version 
of the script that's available from the ports collection.


Contrary to what you think, you would get the same error message with 
the latest version of the script (clamscan binary detection has remained 
exactly the same). You obviously did not set up PATH variable correctly 
for script invoking by cron daemon.


On a side note, you mentioned that you edited "master.conf" file. As I 
wrote in pkg-message, all user configuration changes should go in file 
"user.conf" file, in order to make updating the script easier.


As far as updating the port to the latest version is concerned, the 
development of the script appeared to be on halt since there were no 
updates from august last year until march this year and now it is quiet 
once again. The original script ended up being abandoned and I'm more 
cautious this time, so that I don't end up wasting my time.


--
Regards,
Marko Njezic - mr.maX @ MAX Interactive corp.
Personal: http://www.markonjezic.com/
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: "clamav-unofficial-sigs" error message

2017-06-25 Thread Carmel NY
On Sun, 25 Jun 2017 17:17:44 +0200, Martin Waschbüsch stated:

>From what I can see, the clamav-unofficial-sigs port works. It
>determines if there are updates or whether you have checked recently,
>so that you do not inadvertently dos the signature servers. What is
>NOT working, apparently, is clamav. Did you install clamav via ports?
>If it is installed, what is the clamscan_bin variable set to
>in /usr/local/etc/clamav-unofficial-sigs/master.conf file? It needs to
>be set to the correct path, for instance /usr/local/bin/clamscan. The
>correct path on your setup can be determined using 'which clamscan'

From the "master.conf" file:

# Custom Command Paths, these are detected with the which command when
not set.

Clamscan was commented out; however, the default setting was
to /usr/bin/clamscan

From what I can figure out, the "which" command worked fine outside of
a CRON job, but was failing when clamav-unofficial-sigs.sh was run via
CRON. I uncommented the "clamscan" setting and set it to point to the
correct location. Now it works correctly.

This is probably a bug, but I am not going to waste my time reporting
it. The ports version of this program is very old. There have been five
newer versions since its release. No doubt this problem has been
corrected.

-- 
Carmel
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: "clamav-unofficial-sigs" error message

2017-06-25 Thread Martin Waschbüsch

> Am 25.06.2017 um 12:24 schrieb Carmel NY :
> 
> I recently installed clamav-unofficial-sigs via the ports system. The
> port version is quite old,v5.3.2, while the current version is v5.6.2.
> In any case, I am receiving the following error message repeatedly: 
> 
> Jun 24 15:45:00 ERROR: clamscan binary (clamscan_bin) not found
> 
> This is the full log from the last 12 hours or so:
> 
> Jun 24 15:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 16:38:57 Preparing Databases
> Jun 24 16:38:58 Sanesecurity Database File Updates
> Jun 24 16:38:58 2 hours have not yet elapsed since the last sanesecurity 
> update check
> Jun 24 16:38:58 No update check was performed at this time
> Jun 24 16:38:58 Next check will be performed in approximately 0 hour(s), 53 
> minute(s)
> Jun 24 16:38:58 SecuriteInfo Database File Updates
> Jun 24 16:38:58 4 hours have not yet elapsed since the last SecuriteInfo 
> update check
> Jun 24 16:38:58 No update check was performed at this time
> Jun 24 16:38:58 Next check will be performed in approximately 2 hour(s), 53 
> minute(s)
> Jun 24 16:38:58 linuxmalwaredetect Database File Updates
> Jun 24 16:38:58 6 hours have not yet elapsed since the last linux malware 
> detect update check
> Jun 24 16:38:58 No update check was performed at this time
> Jun 24 16:38:58 Next check will be performed in approximately 4 hour(s), 53 
> minute(s)
> Jun 24 16:38:58 MalwarePatrol Database File Update
> Jun 24 16:38:58 24 hours have not yet elapsed since the last MalwarePatrol 
> download
> Jun 24 16:38:58 No database download was performed at this time
> Jun 24 16:38:58 Next download will be performed in approximately 22 hour(s), 
> 53 minute(s)
> Jun 24 16:38:58 Setting permissions and ownership
> Jun 24 16:38:58 No updates detected, ClamAV databases were not reloaded
> Jun 24 16:38:58 Issue tracker : 
> https://github.com/extremeshok/clamav-unofficial-sigs/issues
> Jun 24 16:38:59 New version : v5.6.2 @ 
> https://github.com/extremeshok/clamav-unofficial-sigs
> Jun 24 16:38:59   Powered By https://eXtremeSHOK.com  
> Jun 24 16:41:07 Preparing Databases
> Jun 24 16:41:08 Sanesecurity Database File Updates
> Jun 24 16:41:08 2 hours have not yet elapsed since the last sanesecurity 
> update check
> Jun 24 16:41:08 No update check was performed at this time
> Jun 24 16:41:08 Next check will be performed in approximately 0 hour(s), 50 
> minute(s)
> Jun 24 16:41:08 SecuriteInfo Database File Updates
> Jun 24 16:41:08 4 hours have not yet elapsed since the last SecuriteInfo 
> update check
> Jun 24 16:41:08 No update check was performed at this time
> Jun 24 16:41:08 Next check will be performed in approximately 2 hour(s), 50 
> minute(s)
> Jun 24 16:41:08 linuxmalwaredetect Database File Updates
> Jun 24 16:41:08 6 hours have not yet elapsed since the last linux malware 
> detect update check
> Jun 24 16:41:08 No update check was performed at this time
> Jun 24 16:41:08 Next check will be performed in approximately 4 hour(s), 50 
> minute(s)
> Jun 24 16:41:08 MalwarePatrol Database File Update
> Jun 24 16:41:08 24 hours have not yet elapsed since the last MalwarePatrol 
> download
> Jun 24 16:41:08 No database download was performed at this time
> Jun 24 16:41:08 Next download will be performed in approximately 22 hour(s), 
> 50 minute(s)
> Jun 24 16:41:08 Setting permissions and ownership
> Jun 24 16:41:08 No updates detected, ClamAV databases were not reloaded
> Jun 24 16:41:08 Issue tracker : 
> https://github.com/extremeshok/clamav-unofficial-sigs/issues
> Jun 24 16:41:08 New version : v5.6.2 @ 
> https://github.com/extremeshok/clamav-unofficial-sigs
> Jun 24 16:41:08   Powered By https://eXtremeSHOK.com  
> Jun 24 16:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 17:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 18:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 19:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 20:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 21:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 22:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 24 23:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 25 00:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 25 01:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 25 02:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 25 03:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 25 04:45:00 ERROR: clamscan binary (clamscan_bin) not found
> Jun 25 05:45:00 ERROR: clamscan binary (clamscan_bin) not found

>From what I can see, the clamav-unofficial-sigs port works. It determines if 
>there are updates or whether you have checked recently, so that you do not 
>inadvertently dos the signature servers.
What is NOT working, apparently, is clamav. Did you install clamav via ports? 
If it is installed, what is the clamscan_bin variable 

"clamav-unofficial-sigs" error message

2017-06-25 Thread Carmel NY
I recently installed clamav-unofficial-sigs via the ports system. The
port version is quite old,v5.3.2, while the current version is v5.6.2.
In any case, I am receiving the following error message repeatedly: 

Jun 24 15:45:00 ERROR: clamscan binary (clamscan_bin) not found

This is the full log from the last 12 hours or so:

Jun 24 15:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 16:38:57 Preparing Databases
Jun 24 16:38:58 Sanesecurity Database File Updates
Jun 24 16:38:58 2 hours have not yet elapsed since the last sanesecurity update 
check
Jun 24 16:38:58 No update check was performed at this time
Jun 24 16:38:58 Next check will be performed in approximately 0 hour(s), 53 
minute(s)
Jun 24 16:38:58 SecuriteInfo Database File Updates
Jun 24 16:38:58 4 hours have not yet elapsed since the last SecuriteInfo update 
check
Jun 24 16:38:58 No update check was performed at this time
Jun 24 16:38:58 Next check will be performed in approximately 2 hour(s), 53 
minute(s)
Jun 24 16:38:58 linuxmalwaredetect Database File Updates
Jun 24 16:38:58 6 hours have not yet elapsed since the last linux malware 
detect update check
Jun 24 16:38:58 No update check was performed at this time
Jun 24 16:38:58 Next check will be performed in approximately 4 hour(s), 53 
minute(s)
Jun 24 16:38:58 MalwarePatrol Database File Update
Jun 24 16:38:58 24 hours have not yet elapsed since the last MalwarePatrol 
download
Jun 24 16:38:58 No database download was performed at this time
Jun 24 16:38:58 Next download will be performed in approximately 22 hour(s), 53 
minute(s)
Jun 24 16:38:58 Setting permissions and ownership
Jun 24 16:38:58 No updates detected, ClamAV databases were not reloaded
Jun 24 16:38:58 Issue tracker : 
https://github.com/extremeshok/clamav-unofficial-sigs/issues
Jun 24 16:38:59 New version : v5.6.2 @ 
https://github.com/extremeshok/clamav-unofficial-sigs
Jun 24 16:38:59   Powered By https://eXtremeSHOK.com  
Jun 24 16:41:07 Preparing Databases
Jun 24 16:41:08 Sanesecurity Database File Updates
Jun 24 16:41:08 2 hours have not yet elapsed since the last sanesecurity update 
check
Jun 24 16:41:08 No update check was performed at this time
Jun 24 16:41:08 Next check will be performed in approximately 0 hour(s), 50 
minute(s)
Jun 24 16:41:08 SecuriteInfo Database File Updates
Jun 24 16:41:08 4 hours have not yet elapsed since the last SecuriteInfo update 
check
Jun 24 16:41:08 No update check was performed at this time
Jun 24 16:41:08 Next check will be performed in approximately 2 hour(s), 50 
minute(s)
Jun 24 16:41:08 linuxmalwaredetect Database File Updates
Jun 24 16:41:08 6 hours have not yet elapsed since the last linux malware 
detect update check
Jun 24 16:41:08 No update check was performed at this time
Jun 24 16:41:08 Next check will be performed in approximately 4 hour(s), 50 
minute(s)
Jun 24 16:41:08 MalwarePatrol Database File Update
Jun 24 16:41:08 24 hours have not yet elapsed since the last MalwarePatrol 
download
Jun 24 16:41:08 No database download was performed at this time
Jun 24 16:41:08 Next download will be performed in approximately 22 hour(s), 50 
minute(s)
Jun 24 16:41:08 Setting permissions and ownership
Jun 24 16:41:08 No updates detected, ClamAV databases were not reloaded
Jun 24 16:41:08 Issue tracker : 
https://github.com/extremeshok/clamav-unofficial-sigs/issues
Jun 24 16:41:08 New version : v5.6.2 @ 
https://github.com/extremeshok/clamav-unofficial-sigs
Jun 24 16:41:08   Powered By https://eXtremeSHOK.com  
Jun 24 16:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 17:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 18:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 19:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 20:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 21:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 22:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 24 23:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 25 00:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 25 01:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 25 02:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 25 03:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 25 04:45:00 ERROR: clamscan binary (clamscan_bin) not found
Jun 25 05:45:00 ERROR: clamscan binary (clamscan_bin) not found

I have no idea what the problem is.

-- 
Carmel
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"