LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-03-2012, 12:06 AM   #1
vicky007aggrwal
Member
 
Registered: Aug 2012
Posts: 95

Rep: Reputation: Disabled
nis start order issue


I have NIS servive (i.e ypbind service) which is configured to run at start level 27 & i have tomcat server startup script which is configured to run at start level 99, this script start the tomcat with an user account "adm" which
is defined in NIS server.For this script to work ideally the YPBIND services should start first.

I am having an issue in which i am getting the following error in /var/adm/messages,in which it shows the init script "startTOmcat" cannot be started as the required NIS user doesnt exist. My NIS service is getting invoked after the "startTomcat" script. Is there any way by which i can change this start order of NIS service as currently it is configured to run at order 27.please help
When i checked the /var/log/messages , i found the following errors :-
++++++++++++++++++++++++=
Nov 20 15:30:34 adm startTomcat: /bin/su user adm doesnt exist
+++++++++++++++++++++++++
 
Old 12-03-2012, 02:07 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Just a few points that occur to me

1. normally we use the word 'level' to refer to init levels (0-6) and start number for individual scripts in a given init level dir eg rc3.d

2. given that 27 < 99, that should work; it sounds like you've got a problem in your NIS setup or maybe firewall.
http://www.linuxhomenetworking.com/w...onfiguring_NIS

3. generally /var/adm/messages => Solaris, /var/log/messages => Linux.
Can you clarify exactly which Unix/Linux we are talking about (inc version/release num)
 
Old 12-03-2012, 05:37 AM   #3
vicky007aggrwal
Member
 
Registered: Aug 2012
Posts: 95

Original Poster
Rep: Reputation: Disabled
I mean start order of YPBIND service is 27 & that of "startTomcat" script is 99.When my machine boots the tomcat script didnt starts & when i check the Linux (Red hat) /var/log/messages file i found that
NIS Bind is getting started afterwards my "startTomcat" script inspite its start order is 27.
When the machine boot up completes i am able to execute the "startTomcat" script manually.

Please suggest what can be the issue.


Thanks for your help
 
Old 12-03-2012, 09:55 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
What system are you using?

It might also help to have a listing of the rc3.d directory (single column).
 
  


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
Services start order kopper27 Linux - Newbie 1 08-07-2012 06:49 PM
how the NIS information will propagate fron NIS master to NIS slave & vicevarsa? dezavu Linux - Server 5 10-14-2011 04:08 AM
NIS db issue HeReigns Linux - Networking 0 12-09-2003 02:33 PM
Start-up module order? phishman3579 Slackware 1 07-03-2003 02:18 PM
Daemon start order josephswagner Linux - Software 1 03-13-2003 05:49 PM


All times are GMT -5. The time now is 10:43 AM.

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