LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-24-2008, 11:58 AM   #1
thompsoa
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Cool ypbind init script -eq 100 flag


OS = Fedora 8
ypserver configured and working
to bind a new client I have experienced ypbind failing
checking config all files – see no problem
to run commands
service ypbind start
I get
Setting NIS domain: [ OK ]
Starting NIS service: [ OK ]
Binding NIS service: [ FAILED ]

so in starting ypbind with command
/etc/init.d/ypbind start or restart
I see the same failure
with the ypwhich command
I get a yp in not bind error (not exact error terminology),
below I have entered the tail end of the /etc/init.d/ypbind init script
please look at line numbered 141
so the question is “what do the flags -eq 100 mean”?
Also is this “&& stop” shutting down the ypbind service?
I have found if I comment this line out ypbind does work but
reports FAILED during boot up and using the command
service ypbind start or restart.
I have researched and cam up empty.
Thanks in advance for any insight.

137 # See how we were called.

138 case "$1" in

139 start)

140 start

141 [ $? -eq 100 ] && stop

142 ;;

143 stop)

144 stop

145 ;;

146 status)

147 status ypbind

148 RETVAL=$?

149 ;;

150 restart|reload)

151 restart

152 ;;

153 condrestart)

154 [ -f /var/lock/subsys/ypbind ] && restart || :

155 ;;

156 *)

157 echo $"Usage: $0 {start|stop|status|restart|condrestart}"

158 exit 1

159 esac

160

161 exit $?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
script init.d anna611 Linux - Newbie 9 11-28-2007 12:22 PM
I got a error flag "init: /dev/initctl: no such file" mst700 Linux - Newbie 4 10-28-2007 08:00 AM
need help with init script batymahn Linux - Server 1 08-23-2007 11:12 AM
How to add C-Flag to configure script merlin23 Linux - Newbie 1 01-13-2005 08:03 AM
could use some help with my init.d script.... BrianK Linux - General 3 10-31-2002 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01: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
Open Source Consulting | Domain Registration