Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Missing start-stop-daemon

Mario_B_
Beginner
1,280 Views

Hi,

I've been struggling since the beggining with this, every init scrip containing 'start-stop-daemon' fails to start. First it happened with 'ntp' now with 'busybox-syslog'

Starting syslogd/klogd: /etc/rc3.d/S20syslog: line 57: start-stop-daemon: command not found.

Here a sample of syslog.busybox

case "$1" in
  start)
        echo -n "Starting syslogd/klogd: "
        start-stop-daemon --start -b -n syslogd -a /sbin/syslogd -n $SYSLOG_ARGS                      start-stop-daemon --start -b -n klogd -a /sbin/klogd -n
        echo "done"
        ;;
  stop)
        echo -n "Stopping syslogd/klogd: "
        start-stop-daemon -K -n syslogd
        start-stop-daemon -K -n klogd
        echo "done"
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)

 

start-stop-daemon is not under /sbin or any other place. I run linux image 1.0.4 on Galileo Gen 2.

How should I do to install 'start-stop-daemon' ? Thanks in advance!

0 Kudos
2 Replies
Matthias_H_Intel
Employee
1,280 Views

I'd suggest comparing other init scripts. Or you move to the Intel IoT devkit SD card image which is on systemd and uses systemd services rather than init scripts.

Pls note that this forum has been deprecated in favor of https://communities.intel.com/community/makers. In order to get full attention pls ask on the latter

0 Kudos
Matthias_H_Intel
Employee
1,280 Views

just found your other post https://communities.intel.com/thread/67180 on the makers forum.

So let's continue there 

0 Kudos
Reply