I really should remember to check my LJ
configuration tag when I can't remember how I fixed stuff in previous installs.
I should also remember to record those little fixes, like this one for
avast! antivirus:
Solved - An error occured in avast! engine: Invalid argument
by crunchedd
If you have installed Avast on your Ubuntu Operating system. Once you have updated it, you will get an error, An error occurred in avast! engine: Invalid argument. In order to solve this error, all you have to do is the following, - Go to the Terminal and type,
sudo gedit /etc/sysctl.conf - This should open up sysctl.conf as the root, and you should be able to make and save changes to the file sysctl.conf.
- Once the file sysctl.conf is open. Add the following line to it at the end,
kernel.shmmax = 128000000 - Reboot your computer.
This should get your Avast anti-virus up and working again in Ubuntu.
Alternatively, you can run this command from Terminal as well, but you would have to do it every time you start your computer. So instead, it’s a better idea to make the change in the sysctl.conf file. Here is the Terminal command,
sudo sysctl -w kernel.shmmax=128000000
kernel.shmmax = 128000000
(Per my browser history, I originally found this fix in
http://forum.avast.com/index.php?topic=57812.0, but they're down right now, and this other page was available.)
Also, do not do weird shit to configure xscreensaver under KDE. Just install it, and after rebooting the modules should be available in System Settings -> Hardware -> Display and Monitor -> Screen Saver -> Miscellaneous -> Clock. If all else fails, install
Clock screensaver for GNOME. However, comma, you still need to go to System Settings -> Hardware -> Power Management -> Energy Saving Settings -> On AC Power tab, and uncheck Screen Energy Saving. (Switch screen off when AC power is on? Really, Ubuntu? Really???)