Doesn't your Avast work? Let's see your wrapper-script.sh.
From the same directory you can >> gzip wrapper-script.sh
Avast-1.3.0 Antivirus software
1. My avast-1.3.0 fails at the point after I enter the license_key and choose to download the database.
At the end of the database download, Avast fails.
I gzip'd the wrapper-script.sh file.
Will attempt to upload wrapper-script.sh.gz here.
OK, that uploaded, so I unpacked it back as is was before.
At the end of the database download, Avast fails.
I gzip'd the wrapper-script.sh file.
Will attempt to upload wrapper-script.sh.gz here.
OK, that uploaded, so I unpacked it back as is was before.
- Attachments
-
- wrapper-script.sh.gz
- (1.62 KiB) Downloaded 264 times
When I run the avast command in a terminal, it is reported that the key cannot be found inside file /root/.avast/avastrc and yet I can see the key code in that file.
The terminal window avast command reports failure in detail, and asks me to enter the code, and when I do it rejects it as invalid.
And yet I've successfully used that key for years.
I have it stored within my "Acerose Password Vault", and use copy-and-paste to enter it into the Avast key window.
I've checked the key used with the key in the Pasword Vault, and they are identical.
Here's what I get at the 2nd attempt using the avast command in a terminal.
The terminal window avast command reports failure in detail, and asks me to enter the code, and when I do it rejects it as invalid.
And yet I've successfully used that key for years.
I have it stored within my "Acerose Password Vault", and use copy-and-paste to enter it into the Avast key window.
I've checked the key used with the key in the Pasword Vault, and they are identical.
Here's what I get at the 2nd attempt using the avast command in a terminal.
Code: Select all
# avast
avast: can not initialize avast! engine: Invalid argument
#
@Sylvander
Attached are my wrapper-script.sh try to replace it with yours.
As riguards the key code I know that has a time limit try request another code for free version to Avast.
Hope that helps.
Attached are my wrapper-script.sh try to replace it with yours.
As riguards the key code I know that has a time limit try request another code for free version to Avast.
Hope that helps.
- Attachments
-
- wrapper-script.sh.gz
- Avast wrapper-script.sh
- (1.67 KiB) Downloaded 253 times
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
1. I downloaded wrapper-script.sh.gz, unpacked it, renamed the old version with an "old" ending, and replaced it with the new version.
Tried to run the installed avast-1.3.0 using the menu entry, and nothing happened.
Entered the avast command in a URXVT terminal, and got the following:
/usr/bin/avast is only a link to /usr/lib/avast4workstation/bin/wrapper-script.sh
Checked the properties->permissions on wrapper-script.sh, and found none of the 3 had execute permissions, so I gave execute permission to all 3.
2. Re-ran the avast command and got:
There was no /root/.avast/avastrc file, nor was there ANY avastrc file existing anywhere in my filesystem.
So, I made an avastrc file with the key included, and the [terminal command version of the] avast program ran and scanned, and found zero infection.
3. Used the menu entry for avast to run the program.
Took a while, but eventually appeared on screen.
Clicked "Update database", and it completed OK.
Scanned the /mnt/home directory.
Problem listed:
/mnt/home/00/Teamviewer_latest/teamviewer_linux.tar.gz/teamviewer_linux.tar
"Error while scanning - GZIP archive is corrupted"
Link to this Teamviewer archive was supplied in a PM to me by semme!
What say you semme?
Might this be why Teamviewer wouldn't work?
4. SUCCESS!
Avast-1.3.0 is working!
I've tried over the years to get this version working, and this is the 1st time I succeeded.
My thanks to all who assisted.
Tried to run the installed avast-1.3.0 using the menu entry, and nothing happened.
Entered the avast command in a URXVT terminal, and got the following:
Code: Select all
# avast
bash: /usr/bin/avast: Permission denied
#
Checked the properties->permissions on wrapper-script.sh, and found none of the 3 had execute permissions, so I gave execute permission to all 3.
2. Re-ran the avast command and got:
Code: Select all
# avast
kernel.shmmax = 256000000
Couldn't find a registration key in ~/.avast/avastrc file!
Please register avast! at http://www.avast.com/i_kat_207.php?lang=ENG
to get the key.
NOTE: if avast! rejects the key, remove ~/.avast/avastrc file and
run this script again with a valid key.
Please enter the key here:
So, I made an avastrc file with the key included, and the [terminal command version of the] avast program ran and scanned, and found zero infection.
3. Used the menu entry for avast to run the program.
Took a while, but eventually appeared on screen.
Clicked "Update database", and it completed OK.
Scanned the /mnt/home directory.
Problem listed:
/mnt/home/00/Teamviewer_latest/teamviewer_linux.tar.gz/teamviewer_linux.tar
"Error while scanning - GZIP archive is corrupted"
Link to this Teamviewer archive was supplied in a PM to me by semme!
What say you semme?
Might this be why Teamviewer wouldn't work?
4. SUCCESS!
Avast-1.3.0 is working!
I've tried over the years to get this version working, and this is the 1st time I succeeded.
My thanks to all who assisted.
I've managed to get AVAST running here as well.
Setting a value of 128000000 resulted in "An error occured in avast! engine: Invalid argument"
Setting a value of 256000000 resulted in an unable to allocate memory.
Slowly started incrementing the numbers and found the program would run when I reached 224000000.
Here is my rc.local:
#this file called from rc.sysinit
#you can edit this file
#When firewall is installed, will append lines to this file...
if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
mkdir -p /mnt/sdb; mount -t ntfs /dev/sdb /mnt/sdb #pmount
/sbin/sysctl -w kernel/shmmax=224000000
And here are the last few lines from my wrapper-script.sh:
SHMMAX=`sysctl -n kernel.shmmax`
[ $SHMMAX -lt 224000000 ] && sysctl -w kernel.shmmax=224000000
AVAST4DATADIR=$HOME/.avast
export AVAST4DATADIR
$AVAST_PREFIX/bin/$programname "$@"
Setting a value of 128000000 resulted in "An error occured in avast! engine: Invalid argument"
Setting a value of 256000000 resulted in an unable to allocate memory.
Slowly started incrementing the numbers and found the program would run when I reached 224000000.
Here is my rc.local:
#this file called from rc.sysinit
#you can edit this file
#When firewall is installed, will append lines to this file...
if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
mkdir -p /mnt/sdb; mount -t ntfs /dev/sdb /mnt/sdb #pmount
/sbin/sysctl -w kernel/shmmax=224000000
And here are the last few lines from my wrapper-script.sh:
SHMMAX=`sysctl -n kernel.shmmax`
[ $SHMMAX -lt 224000000 ] && sysctl -w kernel.shmmax=224000000
AVAST4DATADIR=$HOME/.avast
export AVAST4DATADIR
$AVAST_PREFIX/bin/$programname "$@"