Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-03-2010, 03:27 AM   #1
Registered: Dec 2004
Location: Sydney, AU
Distribution: CentOS 5.x, Backtrack
Posts: 72

Rep: Reputation: 16
service bla start not working on CentOS

I've just compiled and installed some software (coova-chilli).

I usually control this as a service so immediately after install I tried

service chilli start

I got the following error:

Starting chilli: which: no start-stop-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)

If i run

which chilli

I get:


I've tried 'updatedb' and a reboot but no luck.

I remember a few months ago I was playing with chilli before and I this was happening. I had to run a simple command to update something or other and it fixed the issue. Of course, I can't remember what that command was.

Any ideas?
Old 08-04-2010, 02:54 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
The message is telling you that you don't have a start/stop script (a/k/a an init script) called chili.

The command /sbin/chili is NOT the same as the init script.

Essentially you have to create a script in /etc/rc.d/init.d (this directory is also linked as /etc/init.d). You then have to link the stop and start scripts in run level directories /etc/rc.d/rc0.d through /etc/rc.d/rc6.d (depending on which run levels you want it to start or stop at.

Looking at the existing files in the above directories should give you a good idea on how to build your own.

The reason this wasn't done automatically is that you didn't install an RPM (RedHat Package Manager) package - you built the package yourself by compiling it. There's nothing wrong with doing that generally but this is one of the consequences. It is usually best to use the Repositories for CentOS (using yum) to install software if possible. For some packages there isn't anything in the repository. You can find other packages using the rpmfind web site and install those with the rpm command but sometimes you won't find it in either repository or other sites so must build it yourself. (Some folks prefer to build everything themselves.)


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
msyql service won't start on CentOS 4.4 dbyy Linux - Server 10 04-14-2007 02:25 AM
TC + PPP0 waiting for device to become free, usage count bla bla bla tunasashimi Linux - Networking 0 06-13-2005 06:17 PM
WINE, trobule running small game [fixme:ole:CoRegister...bla bla.. etc..] brynjarh Linux - Newbie 0 08-18-2004 07:18 PM
ext2, ext3, resiser's. BLA BLA BLA!! Kjetil4455 Linux - Software 4 08-19-2003 02:41 PM
DNS, BLA BLA BLA Email Gear_freak2000 Linux - Networking 3 06-03-2003 08:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:59 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