LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 12: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, 12:38 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
post your script
 
Old 07-18-2010, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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