-1

I am trying to use Upstart to daemonize a script. So, I made a .conf file under /etc/init/. Now to check the conf file I did

init-checkconf /etc/init/ping_me.conf

And it says

ERROR: version of /sbin/init too old

My linux kernel version is 3.19.0-20-generic.

The Upstart is unable to configure the service. Hence service ping_me start is not working. So, if init can be updated, how can I update it?

1
  • 2
    To be noted that 15.04 uses systemd, not Upstart.
    – muru
    Dec 1, 2015 at 19:15

1 Answer 1

1

sudo apt-get install upstart-sysv, after installing init-checkconf work's good. You can activate debug mode in /usr/bin/init-checkconf.

2
  • 1
    Make a huge note: 15.04 and later use SystemD, and NOT Upstart.
    – Thomas Ward
    Dec 1, 2015 at 19:22
  • Is the procedure same for using SystemD? Just creating the .conf file inside /etc/init should be enough? In my case it's not working. It says Failed to start ping_me.service: Unit ping_me.service failed to load: No such file or directory. after doing service ping_me start. Dec 1, 2015 at 20:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .