Visit Our UNIX and Linux User Community


Unix Boot Sequence


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Unix Boot Sequence
# 1  
Old 09-26-2002
Unix Boot Sequence

Hello all Unix fans.

What files are involved in the Unix boot sequence,
i guess there is alot of them but some must be the main files?

For example the service SENDMAIL starts on our Unix machine
where should i edit so that it will not start at BOOT.
initd.conf? rc2.d?

I hope you understand my question and i know this is really basic but i hope you have time to help me out.

/Nick
# 2  
Old 09-26-2002
To disable sendmail so that it does not start at bootup,

rename /etc/rc2.d/S88sendmail to

/etc/rc2.d/s88sendmail_disable

this will prevent sendmail from start at bootup

Note
/etc/rc2.d/s88sendmail_disable

s88sendmail_disable is all lower case, it most be
lower case to disable sendmail or any other daemon
in rc
# 3  
Old 09-26-2002
System startup

you might want to take a look here: http://userpages.umbc.edu/~jack/ifsm...ulti-user.html
best regards, eNTer
# 4  
Old 09-26-2002
This also depends very much on which Unix variant you are using. On a Linux system, it also depends on your distribution! For example, HP-UX 9, HP-UX 10.20, Slackware Linux, Redhat Linux all have their own quirks... The two HP-UX variants do it differently (changed in version), and the Linux variants do it differently (one uses a more BSD rc and the other uses SYSV style...).

So... The whole point of this is to please post all you can about your system!
# 5  
Old 10-02-2002
.... for Solaris

All scripts and links are executed from the /etc/rc[n].d/ directories. Many of these may be files located in these locations or links to files or scripts in /etc/init.d/. Usually you can stop and start any service (if the script allows) by issuing a request from the command line.

# /etc/rc2.d/S80sshd stop

... as an example, to stop the SSH daemon.

If the file begins with an 'S' then it is utilised when the system comes up, if it starts with a 'K' it stops processes when the system goes down.

We disable these scripts by renaming them with lowercase 's' and 'k' - this way they are never run whenthe machine comes up.

Hope this helps
# 6  
Old 10-02-2002
On FreeBSD,

you can edit the /etc/rc.conf to stop sendmail, like so:

sendmail_enable="NONE"

As already said, it depends upon which version of Unix you are using Smilie
# 7  
Old 10-09-2002
sajjan2,

Here's a decent overview of the startup sequence:

http://docs.rinet.ru:8080/UNIXs/ch16.htm


Biker
Systems/Network Administrator
LiveFire Labs - Hands-On Technical e-Learning
www.LiveFireLabs.com

Previous Thread | Next Thread
Test Your Knowledge in Computers #252
Difficulty: Easy
Network computer devices that originate, route and terminate the data are called server-only devices.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find common entries and match the number with long sequence and cut that sequence in output

Hi all, I have a file like this ID 3BP5L_HUMAN Reviewed; 393 AA. AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3; DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot. DT 05-JUL-2004, sequence version 1. DT 05-SEP-2012, entry version 71. FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies

2. Filesystems, Disks and Memory

Boot Sequence changed After Image Restore

Hello All, I backed up my RHEL 4 as an image. Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4. The messages that are shown when the system boots are something like- " ..... EXT3-fs:... (2 Replies)
Discussion started by: shamik
2 Replies

3. Shell Programming and Scripting

Unix script for Checking sequence

Hello, I need Unix script for Checking sequence and get output in a file for missing sequences information. We are moving archive log to a server for DR .if any files miss from sequence DR will fails. so we need script to monitor sequence of files which are FTP from the Production servers .... (2 Replies)
Discussion started by: Rata_raj
2 Replies

4. UNIX for Dummies Questions & Answers

creating sequence numbers in unix

Hi, Is there a way to create sequence numbers in unix i have a set of batches(which contain records) and i want to assign a number to every batch. how can i do that? (1 Reply)
Discussion started by: dnat
1 Replies

5. Solaris

how to change the boot sequence?

Hi all, I have solaris and xp installed... Usually solaris occupies the first boot slot. So i wanted to know if it is possible to change the boot sequence to xp first and then solaris? (5 Replies)
Discussion started by: wrapster
5 Replies

6. Linux

linux 2.4 boot up sequence

I am running linux red hat and I need to know the command to view the boot up process.... (that is the driver initialization, drive mount, etc).... Does anyone know this command? (7 Replies)
Discussion started by: Franco
7 Replies

7. UNIX for Dummies Questions & Answers

Wierd boot-up sequence

Hi, I have two machines, one is a E3500 and the other one is a V490; I face a strange issue with both of them. The boot up sequence gives the output of the devalias command. Has anybody faced this?? Please do let me know what needs to be done o resolve this. Regards, NP (1 Reply)
Discussion started by: nitinp82
1 Replies

8. UNIX for Dummies Questions & Answers

Script in boot sequence

Hi , I have some problems with my library when the sytem boot : When HPUX is booting, HPUX and STAPE claim the drive initially. HPUX assigns an instance number. The instance number is tied to the hardware path. Near the end of the boot, the ATDD driver claims the drive from STAPE based... (1 Reply)
Discussion started by: delphine
1 Replies

9. UNIX for Dummies Questions & Answers

Boot Sequence

Hi everybody, I have to create a script and put it in the boot up sequence . Can you give me the path where i can put it? Sorry it's my first script. DElphine (3 Replies)
Discussion started by: delphine
3 Replies

10. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

Featured Tech Videos