LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2010, 01:34 PM   #1
bboopathi
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
service start script doesn't show OK or FAILED


Please help me!
I have written a init.d script but, when do '/sbin/service scriptd start' it does not indicate OK or FAILED
What could I be missing?
 
Old 07-17-2010, 01:38 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,252

Rep: Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559
post your script
 
Old 07-18-2010, 02:41 AM   #3
bboopathi
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Keith
i have solved this myself.
I must use daemon and killproc functions from /etc/init.d/functions then it prints the status OK or FAILED
 
  


Reply

Tags
script, service, status


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
http service failed to start eboy98 Linux - Server 7 04-02-2010 12:58 PM
vnc service failed to start gives the error message. akram Linux - Newbie 1 03-03-2010 03:19 AM
postgresql service failed to start or stop purohit.mayur Linux - Newbie 5 01-07-2010 04:36 AM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
PPP service failed to start tradewind Linux - Networking 0 06-28-2004 02:13 AM


All times are GMT -5. The time now is 06:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration