LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-16-2014, 02:42 PM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
upstart services are not working debian


hi all,

i wrote few upstart services for ubuntu and were working fine. But they are not wokring on Debian wheezy. First i found was there was no upstart , i installed.

when i tried to restart the service , it says "service not recognized" or some times "error: cannot run as root"

i don't understand why debian behaving weird. Can any one tell me how to setup upstart service.
when i was searching i also see sysvinit etc ... but plz help me to write upstart, why because i need to respawn the process if it dies which is why upstart other wise i would have put it in /etc/rc.local.

Thanks in advance,
 
Old 10-16-2014, 09:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,229
Blog Entries: 28

Rep: Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115Reputation: 6115
Debian historically has used SystemV, though it is moving to SystemD in testing and future releases. Debian has never used Upstart.

Upstart was written by Ubuntu and is unique to Ubuntu and its derivatives.

Debian is not acting weird. It's just being Debian.
 
Old 10-16-2014, 09:41 PM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,720

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
Hi,

Debian does have upstart as an init system, but it is not the default init system. You may have installed upstart, but are you sure your system is using it?

Evo2.
 
  


Reply


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
LXer: Debian May Be Leaning Towards Systemd Over Upstart LXer Syndicated Linux News 0 01-17-2014 04:30 PM
Upstart not working for Centos newbie14 Linux - Server 18 05-27-2012 01:09 PM
[SOLVED] rsyslog upstart script not working as expected grail Ubuntu 3 03-23-2011 08:47 PM
Upstart on Debian (Sid) Oops RodWC Debian 5 02-19-2010 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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