Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have failed to update ClamAV program,and have recieved many such responses as below. Am newbie and have difficulty understanding the ways of the termial.
Thanks in advance for any help.
graeme@graeme-System-Product-Name:~$ freshclam -d
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
graeme@graeme-System-Product-Name:~$ crontab -e
no crontab for graeme - using an empty one
Select an editor. To change later, run 'select-editor'.
1. /bin/ed
2. /bin/nano <---- easiest
3. /usr/bin/vim.tiny
Thankyou, can you suggest where I could find a step by step discription of starting freshclam as boot. I guess that I must boot while starting up, but where do I go from there? I have Ubuntu 12.04 LTS, is the method the same for the whole Linus family?
You have misread my post. You have to start freshclam as root user (this has nothing to do with booting the system). On a default Ubuntu system you would run the same command as before, but prefixed with the sudo command:
Code:
sudo freshclam -d
This will ask for your password to authenticate that you have the privileges to start an action as root. You may want to read this to get a better idea about privileged and unprivileged users on Linux/UNIX: https://help.ubuntu.com/community/RootSudo
I pasted in sudo freshclam -d and then my password. Is that it? The terminal offered no response after, just repeated new entry text. Is it fixed now without response?
Ignorance is not bliss.
I just checked the manpage for freshclam and it states that the -d option (start freshclam as daemon in the background) requires that you also specify the -c option with a number that determines how often you want the daemon to check per day for updates. So you should try it with a command like
Code:
sudo freshclam -d -c 4
which will check 4 times per day for updates. The command returns no output, but you should see the freshclam daemon in the output of
Ok have done, but where does one see the freshclam daemon output code ps aux? Obviously not in the terminal, as you stated and I observed - no responce.
Did you know that Clamtk 5.0 is out, clamtk is the gui front end for clam (terminal command is "clamscan" ; terminal to open gui is "gksudo clamtk" = run as sudo root).
>commands are in quotes, do not type in quotes in command line<
you might want to go with the ubuntu old style before jumping into 5, also on your freshclam I would get your update B4 starting the daemon thing as that will stop alot of unnecessary warnings about out of date/old def's etc.
sudo freshclam, also if you see warnings or unwanted messages the sourceforge clam site has much more info.
Hi JT,
Thanks for the tips. I'll check out those info.sites. I assume that Clamtk 5.0 is an improved version.
With lots of luck Iĺl finally get a grip on terminal knowhow.
hantverkare (translated: meaning craftsman - in Swedish)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.