LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-05-2007, 07:46 AM   #1
maxvonseibold
Member
 
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41

Rep: Reputation: 15
init script link clashes, debian, update-rc.d, /etc/rc2.d


Hello,

I am running Debian 4 and needed to install NIS and autofs.

Both of these were installed fine through apt-get however they had problems initialising.

an ls of /etc/rc2.d showed

Code:
my_machine_name:/etc/rc2.d# ls
README       S19hplip           
S10sysklogd  S19nis             
S11klogd     
S18portmap   
S19autofs
As you can see, several script links all have the number 19 ...

Is it normal for Debian to give init script links identical numbers or should I try to change this?

If so is this a case of just changing them by hand or should I be using some kind of automated tool like 'update-rc.d'?


Many Thanks,



Max.
 
Old 12-05-2007, 08:36 AM   #2
ktgajowniczek
LQ Newbie
 
Registered: Oct 2007
Location: Warsaw, Poland
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by maxvonseibold View Post
Hello,

[...]

As you can see, several script links all have the number 19 ...

Is it normal for Debian to give init script links identical numbers or should I try to change this?

If so is this a case of just changing them by hand or should I be using some kind of automated tool like 'update-rc.d'?

[...]
hi,

This is normal, I have plenty of 20s for example.

Certainly, you can edit those numbers. Moreover you can do it, whichever way you like.

Question is: what for?

I don't think changing order of those scripts will help, unless you proved that already by running them manually. I suspect some configuration or network problems, rather than just wrong order.

What kind of error do you get running them?


--
KTG

Last edited by ktgajowniczek; 12-05-2007 at 08:51 AM.
 
Old 12-07-2007, 03:07 AM   #3
maxvonseibold
Member
 
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 41

Original Poster
Rep: Reputation: 15
Hello,

I was not getting any actual error messages per se. However, NIS (ypbind) absolutely needs to be started before autofs it seems and in the initial configuration this was not happening. When I manually changed the link making autofs a greater number than (hence starting after) nis it worked fine.

I am not certain this is a Debian problem as I was simultaneously setting this up of Fedora which had a similar problem of the domainname variable not being set properly. It seems that whilst NIS and and autofs and easy to install, they need some tweaking to interact correctly post installation.


Many Thanks.



Max.
 
  


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
Suse 10.0 update kernel to 2.6.20-rc2 for soundcard CMI9761 stuartornum SUSE / openSUSE 1 02-04-2007 05:28 AM
LXer: Debian Installer RC2 kick-off LXer Syndicated Linux News 0 01-30-2007 01:21 PM
RC2 Delta ISO's - How to update from RC1 1kyle SUSE / openSUSE 0 04-22-2006 03:36 AM
New Debian net-installer RC2 is out! macondo Debian 2 12-17-2004 02:22 PM
New Debian-Installer pre-RC2 is out macondo Debian 5 10-02-2004 08:42 PM

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

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