dave-theunsub / clamtk

An easy to use, light-weight, on-demand virus scanner for Linux systems
https://gitlab.com/dave_m/clamtk/wikis/home
Other
349 stars 44 forks source link

Application hangs without Internet access #107

Closed apas-iut closed 5 years ago

apas-iut commented 5 years ago

I've just installed clamtk-5.26-1.el7.noarch.rpm on Centos7.4 machine which does not have Internet access and updated antivirus database from local mirror.

clamscan works fine but when I try to run clamtk it hangs for 5 minutes. Debug with strace clamtk shows that application tries to connect to 18.234.32.157:443 and only after timeout error application starts.

connect(3, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("18.234.32.157")}
dave-theunsub commented 5 years ago

Hi,

Try this: open a text editor, and use it to open /home/you/.clamtk/prefs . (Obviously replace you with your name :). Anyway, change the line GUICheck=1 to GUICheck=0. See if that gets it going.

Thanks, Dave M

apas-iut commented 5 years ago

That helped! Thank you Dave!