application icons for menu

Asked by john

I recently installed hp deskjet 2360, and am able to use it successfully, but where is the icon for the printer. Where too are the icons for dj tools and hptools which I am told are installed on the system, and useful to the management of the printer. The same installed but unfound applies to the clam antivirus. How can I find these applications?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Saša Bodiroža
Solved:
Last query:
Last reply:

This question was reopened

  • by john
Revision history for this message
john (jaytee1937) said :
#1

By the way I am using Ubuntu 7.04

Revision history for this message
Saša Bodiroža (jazzva) said :
#2

You can find the printer in System -> Administration -> Printing.
I'm not sure about djtools and hptools. You can access printer settings through System -> Administration -> Printing.
Clam antivirius is a command-line program, which means there is no icon in the Applications menu for it. It is supposed to be launched from the command-line interface.

Revision history for this message
john (jaytee1937) said :
#3

I understand about access to the printer. Please give me the command
line for the clam applications, which I presume go in Terminal.

Revision history for this message
Saša Bodiroža (jazzva) said :
#4

I suppose you will find this useful:
https://help.ubuntu.com/community/ClamAV

Revision history for this message
john (jaytee1937) said :
#5

I have tried the commands, but none seem to work. On one occasion I was told the update the antivirus since the last update was seven days ago. I have not been able to do this. As a 'newbie', I am in need of a 'how to' explanation.

Revision history for this message
Saša Bodiroža (jazzva) said :
#6

If you enter some of the ClamAV commands in the terminal and the output is "command not found" it means that it isn't installed. If this is the case install it by typing "sudo apt-get install clamav clamav-daemon" in the terminal. The first package is for manual scanning and the second for automated scanning, the "daemon" will reside in memory and other applications will be able to use it (such as e-mail applications).

If it was installed then just run following commands in the terminal...

"freshclam" - updates virus definitions
"clamscan -r -i <directory>" - Scan all files in <directory> (for example: /, /home/user, /bin) and display only infected files

You can use the daemon, just run "clamdscan" instead of "clamscan". Lots of programs, especially e-mail servers, can connect to a ClamAV daemon. This speeds up virus scanning as the program is always in memory.

Note that if you're using the proxy server to connect to the internet, you need to edit /etc/clamav/freshclam.conf and add:

HTTPProxyServer serveraddress
HTTPProxyPort portnumber

to the end of the file. Replace "serveraddress" with the address of your proxy and "portnumber" by the port number.

Revision history for this message
john (jaytee1937) said :
#7

"freshclam" command did not update virus definitions.

clamascan -r -i /home/user brought the following response: LibClamWarning: The virus data base is more than seven days old. Please update immediately. But how?

With clamdscan, there were frequent directory error relating to not being able to open files such as address book searches. What do I do next?

Revision history for this message
Saša Bodiroža (jazzva) said :
#8

What is the output that freshclam produces? Are you connected to the Internet through a proxy?

Revision history for this message
john (jaytee1937) said :
#9

the following output was given to "freshclam"

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).

As far as I know I am connected directly to internet through a BT router.

Revision history for this message
Saša Bodiroža (jazzva) said :
#10

Try to run freshclam with root privileges. Enter "sudo freshclam" in terminal.

Revision history for this message
john (jaytee1937) said :
#11

The result of sudo freshclam is this:

Update failed. Your network may be down or none of the mirrors listed in
freshclam.conf is working. Check
http://www.clamav.net/support/mirror-problem for possible reasons.

I have checked but am not sure I understand some of the terminology.

John

Revision history for this message
Saša Bodiroža (jazzva) said :
#12

I installed Clam AV and tried to update the base and everything went well. On Clam's website it is said that it is possible that all local mirrors were down at the time when you tried to update. Try to update it again and see if it works. If it doesn't update again, try to reconfigure clamav-freshclam. To do that run "sudo dpkg-reconfigure clamav-freshclam". You can select the default, first mirror that is listed.

Revision history for this message
john (jaytee1937) said :
#13

your suggestion brings this

> Please choose the method for virus database updates. ↑
> │ ▮
> │ daemon : freshclam is running as a daemon all the time. You should ▒
> │ choose ▒
> │ this option if you have a permanent network connection. ▒
> │ ifup.d : freshclam will be running as a daemon as long as your
> Internet ▒
> │ connection is up. Choose this one if you have a dialup ▒
> │ Internet ▒
> │ connection and don't want freshclam to initiate new ▒
> │ connections. ▒
> │ cron : freshclam is started from cron. Choose if you want full ▒
> │ control ▒
> │ of when the database is updated. ▒
> │ manual : No automatic invocation of freshclam. This is not recommended,
Where do I make the choose, say, for daemon?

Revision history for this message
Saša Bodiroža (jazzva) said :
#14

I would suggest you to select one from the first two options, based on your Internet connection. If you are permanently connected, then choose the first option, in other case choose the second option.

Revision history for this message
john (jaytee1937) said :
#15

I understand the choice, my problem is to locate the window that allows me to make it.

Revision history for this message
Saša Bodiroža (jazzva) said :
#16

Oh, that... Click on the terminal window to be sure it's active and then use the up/down buttons on your keyboard :). When you choose the option you want press Tab to switch to Ok button.

Revision history for this message
john (jaytee1937) said :
#17

Have done that, and tried the update - in fact all previous instructions that you have kindly and patiently given me, but still I am not able to get an update on command - the mirrors are not read. One one scan I am told yet again that the virus database is more than 7 days old and needs to be updated immediately. That is something I am still not able to do, somehow.

Revision history for this message
Saša Bodiroža (jazzva) said :
#18

Hmm, I really don't know what else can be a problem. Here is my (default) /etc/clamav/freshclam.conf. I hope it will help you. Make a backup of your configuration file:
sudo cp /etc/clamav/freshclam.conf /etc/clamav/freshclam.conf.backup

And then open the clamav for editing:
gksudo gedit /etc/clamav/freshclam.conf

Paste this instead of contents of your freshclam.conf:
DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav/
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
ScriptedUpdates yes
NotifyClamd /etc/clamav/clamd.conf
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net

Revision history for this message
john (jaytee1937) said :
#19

Thanks for you patient and persistent help to my queries. All instructions completed. We have gone as far as we can.

Revision history for this message
Saša Bodiroža (jazzva) said :
#20

Have you tried updating the virus database with "sudo freshclam" after that?

Revision history for this message
john (jaytee1937) said :
#21

Yes I have. Sadly, I got this message:

Can't read main.cvd header from database.clamav.net (IP: )
Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.

So in some sense we are still where we began. From time to time the update programme does updates, but we should be able to get an update on demand, yes?

Revision history for this message
Saša Bodiroža (jazzva) said :
#22

Please check the following:

 - make sure that the /var/lib/clamav/ is owned by clamav. To do that open your file browser (Nautilus, Konqueror) and go to /var/lib. Find "clamav" directory, right-click on it and click on "Properties". Select "Permissions" tab and make sure that clamav is set as Owner.

 - make sure that /var/log/freshclam.conf exists and is owned by clamav. Again, open file browser and go to /var/log. Find "freshclam.conf" file. If it exists, right-click on it and click on "Properties". Select "Permissions" tab and make sure that clamav is set as Owner.

 - make sure that there is enough free space in /var/. To do that open your file browser and go to /var. In your status bar you should see something like "Free space: ...". I suppose couple hundred of megabytes should be enough.

Revision history for this message
john (jaytee1937) said :
#23

1 clamav directory exists. The owner is clamav.

2 /var/log/freshclam.conf does not exist.

3 space available in /var/ is 17.2 GB

Revision history for this message
Saša Bodiroža (jazzva) said :
#24

> 2 /var/log/freshclam.conf does not exist.

I think I made a mistake: it's not /var/log/freshclam.conf, it's
/etc/clamav/freshclam.conf.

Revision history for this message
john (jaytee1937) said :
#25

Have followed your instructions and have established that freshclam.conf
file exists and its owner is clamav.

Revision history for this message
john (jaytee1937) said :
#26

The file icon looks like a page: it is not a folder.

Revision history for this message
Best Saša Bodiroža (jazzva) said :
#27

I'm sorry I didn't answer you earlier. I'm really not sure what else can be a problem with clamav. Looking at this:

"Can't read main.cvd header from database.clamav.net (IP: )
Giving up on database.clamav.net..."

it sounds like it's a network problem (see that even the IP address of database.clamav.net wasn't found). Maybe you could open a new question for ClamAV problem that you have. Be sure to paste the output of "sudo freshclam".

I'm sorry I can't help you.

Revision history for this message
john (jaytee1937) said :
#28

Thanks. We will call it problem solved

Revision history for this message
Paolo (plpgn) said :
#29

I had similar problems and error messages with freshclam.
I think my problems were due to the firewall (firestarter)
After disabling the firewal,l "sudo freshclam" worked fine

Revision history for this message
DrPaulaner (dr-paulaner) said :
#30

have the same with 12.04 last version