-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with the startclamd.sh #5
Comments
It seems my program was not able to determine the location of "clamd". The line should look something like: /usr/local/sbin/clamd 2> /home/dco3lh0/.clamav-gui/clamd.log -c /home/dco3lho/.clamav-gui/clamd.conf Please have a look at the "Setup Tab" and tell me what path is indicated for "clamd". If this field is empty or displays a "n/a" than we got a problem there. This could have two reasons:
I use "whereis" for finding "clamd". Could you please send me the output from "whereis clamd". The result should be like this: "clamd: /usr/local/bin/clamd" |
no you are totally right, i completely forgot to install clamd, and i manually added '/usr/local/sbin/clamd' to the line on the startclamd.sh script and i think it will work now, thanks! |
now what is clamonacc? how it works it is the only think remaining deactivated on the gui. |
clamonacc is a monitoring application that monitors given folders at realtime. Means, if you add e.g. the Download folder for monitoring and try to download an infected file from the internet the application will - depending on the selected settings - give out a warning or even blocks you to download or open the infected file. |
just tried here after, now on a different distro i'm on now lmfao, broke my previous yesterday. I've looked on how to start clamonacc and did added the folders and all. This updated the startclamd.sh line to this.
the problem is that it is not launching clamonacc, only clamd, i think not only the program but if i place the script at autostart at login, still doesn´t work, maybe they aren´t interpreting ´&&´ correctly, i think, so its not starting., but if i manually execute the script than it launches and it needs to be with sudo, but the clamav-gui is launching here without sudo permissions. |
The application uses pkexec or kdesu for starting scripts as root. I found a bug in the determination process which app is installed and should be used. I fixed this. If your distro offers pkexec you should install this. It seems it is actually the application of choise for this kind of work. But kdesu should (know) work as well. |
i checked and yes i have pkexec installed, lets see if it works now, thanks! |
didn´t work so i tried creating a startup desktop file at `~/.config/autostart/startclamd.desktop' with these lines, i think autostart will run as root or not, will i need to add pkexec sh -c before the command, i've tried and it worked but it asked the password at login.
|
when i press at start clamd button, it becomes yellow 'starting up' and never finishes, so i close the program and reopens and its red 'is down' as like the clamd never started to begin with. |
tried going by another method, I've tried going to /usr/lib/systemd/system/clamav-daemon.service and clamav-clamonacc.service and pasting the commands of startclamd.sh each separately in each of the services, enabling the service and starting, yet clamonacc is saying the log file is locked
|
Hi, i've found your GUI really practical, but i can't get it to work because of clamd, when i try to launch clamd inside the program, it invokes this script and gives me a error, can you give me some light on how to solve this?
And i can't comprehend this script since the only line is this:
by the way, both files clamd.log and clamd.conf is present on the same folder, so i don't get it why doesn't launch it, it gives me this error here.
/home/dco3lh0/.clamav-gui/startclamd.sh: line 2: -c: command not found
The text was updated successfully, but these errors were encountered: