Comment 4 for bug 1021355

Revision history for this message
Daniel Marrable (marrabld) wrote : Re: [Bug 1021355] Re: App fails to launch

okay yes doing sudo service clamav-deamon start then starting clamour
worked. No that I have done that the first time, I can get it to start even
after a reboot now.

Now if I try and scan any files and folders it reports that Couldn't scan
<my file or folder> lstat() failed: Permission denied

even if I scan stuff in my home folder or usb device.

Would you like me to submit another bug for this?

On 6 July 2012 01:59, Thomas Kluyver <email address hidden> wrote:

> Yep, replying works.
>
> You shouldn't have to run clamd yourself - it should be running as a
> service. Look for it in the process list in system monitor. If it's
> not there, try the command:
>
> sudo service clamav-daemon start
>
> I'm just about to go away, so I won't have time to test for you before
> the app contest ends. I suspect I won't have time to submit this as
> part of the app contest, either - but hopefully I can finish polishing
> it later.
>
> Thanks!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1021355
>
> Title:
> App fails to launch
>
> Status in Clamour:
> New
>
> Bug description:
> Running from Unity causes crash report with error:
>
> clamour crashed with ScanError in __init_socket__():Could not reach
> clamd using unix socket (/var/run/clamav/clamd.ctl)
>
> running from the command line gives :
>
> marrabld@laptop:~$ clamour
> /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning:
> g_object_set_property: construct property "type" for object `Window' can't
> be set after construction
> Gtk.Window.__init__(self, type=type, **kwds)
> Traceback (most recent call last):
> File "/usr/bin/clamour", line 34, in <module>
> clamour.main()
> File "/usr/lib/python2.7/dist-packages/clamour/__init__.py", line 35,
> in main
> window = ClamourWindow.ClamourWindow()
> File "/usr/lib/python2.7/dist-packages/clamour_lib/Window.py", line
> 36, in __new__
> new_object.finish_initializing(builder)
> File "/usr/lib/python2.7/dist-packages/clamour/ClamourWindow.py", line
> 52, in finish_initializing
> pyclamd.init_unix_socket('/var/run/clamav/clamd.ctl')
> File "/usr/lib/pymodules/python2.7/pyclamd.py", line 152, in
> init_unix_socket
> ping()
> File "/usr/lib/pymodules/python2.7/pyclamd.py", line 211, in ping
> s = __init_socket__()
> File "/usr/lib/pymodules/python2.7/pyclamd.py", line 494, in
> __init_socket__
> (clamd_SOCKET))
> pyclamd.ScanError: Could not reach clamd using unix socket
> (/var/run/clamav/clamd.ctl)
>
>
> Ubuntu 12.04 AMD64
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/clamour/+bug/1021355/+subscriptions
>

--
Daniel Marrable

Ph.D Candidate
Remote Sensing and Satellite Research Group
Department of Imaging and Applied Physics
Curtin University of Technology