clamd Process is stopped

TARIMEHR

Verified User
Joined
Nov 19, 2012
Messages
22
Location
ایالت متحده مازندران
I installed clamav via customblild 2
but clamv and freshclam cant start.

I have the same error
ERROR: Can't open/parse the config file /etc/freshclam.conf
Can't open /etc/clamd.conf: No such file or directory.
Can't open /etc/clamd.conf: No such file or directory.
Can't open /etc/clamd.conf: No such file or directory.
Can't open /etc/clamd.conf: No such file or directory.
Can't open /etc/clamd.conf: No such file or directory.
Can't open /etc/freshclam.conf: No such file or directory.
Can't open /etc/freshclam.conf: No such file or directory.
Can't open /etc/freshclam.conf: No such file or directory.
Can't open /etc/freshclam.conf: No such file or directory.
Can't open /etc/freshclam.conf: No such file or directory.

or

Restarting freshclam.
Shutting down freshclam: [FAILED]
Starting freshclam: ERROR: Can't open/parse the config file /etc/freshclam.conf
[FAILED]
Restarting clamd.
Shutting down clamd: [FAILED]
Starting clamd: ERROR: Can't open/parse the config file /etc/clamd.conf
[FAILED]

How to fix or make uninstall clamav?
 
Are you sure "./build clamav" succeeeded? May you try it again?
 
Hi
when i run the ./build clean this error occurs
Code:
# ./build clean
mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini

run ./build update = good
run ./build clamav =
Code:
Restarting freshclam.
Shutting down freshclam:                                   [FAILED]
Starting freshclam: ERROR: Can't open/parse the config file /etc/freshclam.conf
                                                           [FAILED]
Restarting clamd.
Shutting down clamd:                                       [FAILED]
Starting clamd: ERROR: Can't open/parse the config file /etc/clamd.conf
                                                           [FAILED]
Restarting exim.
Shutting down exim:
Starting exim:
Done ClamAV.
 
Have a look in your /etc directory. There might be a freshclam.conf.sample instead. Same for camd.conf.
Do the following:
Code:
cp /etc/freshclam.conf.sample /etc/freshclam.conf
cp /etc/clamd.conf.sample /etc/clamd.conf
Then try the build clamav again.
 
Hi
when checked /edt dir not found clamd.conf & freshclam.conf
but files freshclam.conf.sample & clamd.conf.sample exists
runed the following:
cp /etc/freshclam.conf.sample /etc/freshclam.conf
cp /etc/clamd.conf.sample /etc/clamd.conf
then trying the build clamav.
Finally, the error message was received:
Code:
[COLOR="#FF0000"]ERROR: Please edit the example config file /etc/freshclam.conf
ERROR: Can't open/parse the config file /etc/freshclam.conf[/COLOR]
Restarting freshclam.
Shutting down freshclam:                                   [FAILED]
Starting freshclam: ERROR: Please edit the example config file /etc/freshclam.conf
ERROR: Can't open/parse the config file /etc/freshclam.conf
                                                           [FAILED]
Restarting clamd.
Shutting down clamd:                                       [FAILED]
Starting clamd: ERROR: Please edit the example config file /etc/clamd.conf
ERROR: Can't open/parse the config file /etc/clamd.conf
                                                           [FAILED]
Restarting exim.
Shutting down exim:
Starting exim:
Done ClamAV.
 
Are you sure you run the latest version of CustomBuild 2.0? Please try:
Code:
cd /usr/local/directadmin/custombuild
./build set downloadserver files1.directadmin.com
./build update
./build clamav

And please let me know if it does have the same problem. Good luck! :)
 
Are you sure you run the latest version of CustomBuild 2.0? Please try:
Code:
cd /usr/local/directadmin/custombuild
./build set downloadserver files1.directadmin.com
./build update
./build clamav

And please let me know if it does have the same problem. Good luck! :)

yes, im use custombild 2
im trying this command but last errors occaured
What do I do?
Access send to you?
 
Thank you for the access. I've logged into your server and it seems that you are not running CustomBuild 2.0. You upgraded CB 1.1 in a wrong way (just by changing that in the options.conf):
Code:
[root@s5 custombuild]# httpd -v
Server version: Apache/2.2.27 (Unix)
Server built:   May  2 2014 06:16:13
[root@s5 custombuild]# head options.conf
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2, 5.3 or 5.4
default_php=5
php5_ver=5.3
php4_cli=no
php4_cgi=no
php5_cli=no
php5_cgi=yes
ioncube=yes
zend=no

Please use http://forum.directadmin.com/showthread.php?t=44743. In your case I'd recommend:
Code:
cd /usr/local/directadmin
mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build

Then setup all of your needed settings in the options.conf file and run:
Code:
./build all d

That should solve your problems.
 
Recently we are daily getting about 30-40 mails saying that:

Time: Sun May 11 02:00:03 2014 -0400
Account: clamav
Resource: Process Time
Exceeded: 27685 > 1800 (seconds)
Executable: /usr/local/bin/freshclam
Command Line: /usr/local/bin/freshclam -d
PID: 30134 (Parent PID:30134)
Killed: No
 
That is CSF sending you these mails. Please add "exe:/usr/local/bin/freshclam" to /etc/csf/csf.pignore.
 
Back
Top