Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 10-10-2009, 05:25 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 19

Rep: Reputation: 0
starting clamd daemon after system boot


i am trying to start clamd (a daemon of clamav anti-virus software) after boot up process.

i created the following script file:

/usr/local/sbin/clamd start &

i placed the file in :
1) /etc/rc.d/init.d (where are the startup scripts located in my system Fedora) but it did not start.
2) runlevel 5 directory -the graphical mode- /erc/rc.d/rc.5 it did not work.
3) GNOME System > preferences > session it did not work.

Q) where is the correct place to put the script file?
Q) is there another method of making the daemon start after boot process?

Old 10-10-2009, 05:53 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,479

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Since you're running clamd from /usr/local/sbin, I assume that you have installed clamav from source. clamd is a binary that starts the clamd daemon, so it does not use the "start" option. Also as it's a daemon, it will run in background, so no need for "&" also.
What you can do is to put your command in rc.local, so it will be executed on system startup.
If you have used a rpm package you could use "service clamd start"
Old 10-12-2009, 04:24 AM   #3
LQ Newbie
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Arrow hellow

Thank you if you want to know more details here....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System Hangs during boot (starting HAL daemon ) on FC 6 32 bit with pentium D karthik_arnold1 Linux - Hardware 1 04-21-2008 12:05 PM
system stalls on boot at devfs daemon sk8guitar Mandriva 1 01-21-2005 02:50 PM
Starting daemon at boot up Buto Slackware 2 09-07-2004 08:44 PM
Starting daemon during boot up chuck77 Linux - General 3 03-27-2002 06:47 AM
Starting system log daemon problem trub Linux From Scratch 1 02-19-2002 12:11 PM

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration