Starting processes automatically on bootup


 
Thread Tools Search this Thread
Operating Systems SCO Starting processes automatically on bootup
# 8  
Old 10-30-2008
. run-level 2 Oct 17 17:03 2 0 S


Here is the inittab:

bchk::sysinit:/etc/bcheckrc </dev/console >/dev/console 2>&1
ifor::sysinit:/etc/ifor_pmd </dev/null >/usr/adm/pmd.log 2>&1
tcb::sysinit:/etc/smmck </dev/console >/dev/console 2>&1
ck:234:bootwait:/etc/asktimerc </dev/console >/dev/console 2>&1
ack:234:wait:/etc/authckrc </dev/console >/dev/console 2>&1
is:S:initdefault:
r0:056:wait:/etc/rc0 1> /dev/console 2>&1 </dev/console
r1:1:wait:/etc/rc1 1> /dev/console 2>&1 </dev/console
r2:2:wait:/etc/rc2 1> /dev/console 2>&1 </dev/console
r3:3:wait:/etc/rc3 1> /dev/console 2>&1 </dev/console
sd:0:wait:/etc/uadmin 2 0 >/dev/console 2>&1 </dev/console
fw:5:wait:/etc/uadmin 2 2 >/dev/console 2>&1 </dev/console
rb:6:wait:/etc/uadmin 2 1 >/dev/console 2>&1 </dev/console
co:2345:respawn:/etc/getty tty01 sc_m
co1:1:respawn:/bin/sh -c "sleep 20; exec /etc/getty tty01 sc_m"
c02:234: off:/etc/getty tty02 sc_m
c03:234:respawn:/etc/getty tty03 sc_m
c04:234:respawn:/etc/getty tty04 sc_m
c05:234:respawn:/etc/getty tty05 sc_m
c06:234:respawn:/etc/getty tty06 sc_m
c07:234:respawn:/etc/getty tty07 sc_m
c08:234:respawn:/etc/getty tty08 sc_m
c09:234:respawn:/etc/getty tty09 sc_m
c10:234:respawn:/etc/getty tty10 sc_m
c11:234:respawn:/etc/getty tty11 sc_m
c12:234:respawn:/etc/getty tty12 sc_m
sdd:234:respawn:/tcb/files/no_luid/sdd
tcp::sysinit:/etc/tcp start < /dev/null > /dev/null 2>&1
Se1A:234: off:/etc/getty -t60 tty1A mhw
Se2a:234: off:/etc/getty tty2a m
Se2A:234: off:/etc/getty -t60 tty2A 3
Se1a:234:respawn:/etc/getty tty1a 2400
http::sysinit:/etc/scohttp start
scl: b: once:/etc/rc2.d/P86scologin start no_switch
sclb:2:bootwait:/etc/scologin init
r001:23:respawn:/etc/getty ttyr001 n
R001:23: off:/etc/getty ttyR001 19200
r002:23:respawn:/etc/getty ttyr002 n
R002:23: off:/etc/getty ttyR002 n
r003:23:respawn:/etc/getty ttyr003 n
R003:23: off:/etc/getty ttyR003 n
r004:23:respawn:/etc/getty ttyr004 n
R004:23: off:/etc/getty ttyR004 n
r005:23:respawn:/etc/getty ttyr005 n
R005:23: off:/etc/getty ttyR005 n
r006:23:respawn:/etc/getty ttyr006 n
R006:23: off:/etc/getty ttyR006 n
r007:23:respawn:/etc/getty ttyr007 n
R007:23: off:/etc/getty ttyR007 n
r008:23:respawn:/etc/getty ttyr008 n
R008:23: off:/etc/getty ttyR008 n
r009:23:respawn:/etc/getty ttyr009 n
R009:23: off:/etc/getty ttyR009 n
r010:23:respawn:/etc/getty ttyr010 n
R010:23: off:/etc/getty ttyR010 n
r011:23:respawn:/etc/getty ttyr011 n
R011:23: off:/etc/getty ttyR011 n
r012:23:respawn:/etc/getty ttyr012 n
R012:23: off:/etc/getty ttyR012 n
r013:23:respawn:/etc/getty ttyr013 n
R013:23: off:/etc/getty ttyR013 n
r014:23:respawn:/etc/getty ttyr014 n
R014:23: off:/etc/getty ttyR014 n
r015:23: off:/etc/getty ttyr015 n
R015:23: off:/etc/getty ttyR015 n
r016:23: off:/etc/getty ttyr016 n
R016:23: off:/etc/getty ttyR016 n
r017:23:respawn:/etc/getty ttyr017 19200
R017:23: off:/etc/getty ttyR017 19200
r018:23:respawn:/etc/getty ttyr018 19200
R018:23: off:/etc/getty ttyR018 19200
r019:23:respawn:/etc/getty ttyr019 19200
R019:23: off:/etc/getty ttyR019 19200
r020:23:respawn:/etc/getty ttyr020 19200
r021:23:respawn:/etc/getty ttyr021 19200
R021:23: off:/etc/getty ttyR021 19200
r022:23:respawn:/etc/getty ttyr022 19200
R022:23: off:/etc/getty ttyR022 19200
r023:23: off:/etc/getty ttyr023 19200
R023:23: off:/etc/getty ttyR023 19200
r024:23: off:/etc/getty ttyr024 19200
R024:23: off:/etc/getty ttyR024 19200
r025:23: off:/etc/getty ttyr025 19200
R025:23: off:/etc/getty ttyR025 19200
r026:23: off:/etc/getty ttyr026 19200
R026:23: off:/etc/getty ttyR026 19200
r027:23: off:/etc/getty ttyr027 19200
R027:23: off:/etc/getty ttyR027 19200
r028:23: off:/etc/getty ttyr028 19200
R028:23: off:/etc/getty ttyR028 19200
r029:23: off:/etc/getty ttyr029 19200
R029:23: off:/etc/getty ttyR029 19200
r030:23: off:/etc/getty ttyr030 n
R030:23: off:/etc/getty ttyR030 n
r031:23: off:/etc/getty ttyr031 k
R031:23: off:/etc/getty ttyR031 k
r032:23: off:/etc/getty ttyr032 xxx
R032:23: off:/etc/getty ttyR032 xxx
brlm: 234: once:/u/blmgr/BasisRunLM; # start BASIS License Manager
inittab: END
# 9  
Old 10-30-2008
From what I see
You finish booting process at level 2...
So it doesnt make much sence to try at level 8, and I always thought it stopped at 4 (well 6...then the rest are very special options...)
If you want to change the level (like I do...) so that what you configured after standard OS install be launched, you must specify so in another file:
the DEFAULT_LEVEL entry in /etc/default/boot

But its ages since I last touched a SCO... and cant remember much...
# 10  
Old 10-30-2008
# 11  
Old 10-30-2008
Thank you! I found the /etc/default/boot which I will possibly change so that this level will boot. I am now looking at the other document as well. You've given me valuable information. I will most likely make the changes after hours tomorrow and see how things work. I'll let you know later. Thank you so much for all your information, help and tips.
# 12  
Old 10-30-2008
Well, the /etc/default/boot file has the following:

DEFBOOTSTR=hd(40)unix swap=hd(41) dump=hd(41) root=hd(42)
AUTOBOOT=YES
FSCKFIX=YES
MULTIUSER=YES
PANICBOOT=NO
MAPKEY=YES
SERIAL8=NO
SLEEPTIME=0
BOOTMNT=RO
apm.connect=no

I don't know enough about this file and where to make the changes to include the boot levels. Can you explain or tell me anything from seeing what I listed?
# 13  
Old 10-30-2008
There is a file in /etc/default/mapkey which shows:

# default/mapkey - monitor screen mapping: mapkey(M)
#
tty01
tty02
tty03
tty04
tty05
tty06
tty07
tty08
tty09
tty10
tty11
tty12

Not sure if this is related???
# 14  
Old 10-31-2008
Read carefully the man pages:
http://docsrv.sco.com:507/en/man/html.M/init.M.html
http://docsrv.sco.com:507/en/man/html.F/inittab.F.html

All is there

I will add: the init level s,S is not referenced in inittab EXCEPT IN SCO UNIX,which is its default boot level... And so should not be modified...

in /etc/default/boot,you would add if it doesnt exist DEFAULT_LEVEL entry
If not present it take 2 as default...

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

2. UNIX and Linux Applications

Autosys job not starting automatically

hi I have created autosys job but its not auto starting , also tried job control > start job but doesn't start that way only way it starts is force_startjob. why ? :( thanks (0 Replies)
Discussion started by: user0489
0 Replies

3. AIX

init not starting processes from inittab

Hello, I'm having a problem starting the cron daemon automatically from inittab, let me provide the details below: We are having five equally installed machines. One of them was upgraded in the past, one we upgraded recently, both from 5300-05-06 to 5300-07-01-0748. On the upgraded... (6 Replies)
Discussion started by: hybr1d
6 Replies

4. Solaris

Stopping NFS from starting at bootup - Solaris 10

Does anyone know how I stop nfs/lockd and all of the associated services from starting at bootup? There's nothing in the /etc/rc*.d files to rename. That was my first idea. I also tried renaming /etc/init.d/nfs.server to something else, but that did not work either. Any ideas would be greatly... (2 Replies)
Discussion started by: amheck
2 Replies

5. UNIX for Dummies Questions & Answers

starting processes with timeout?

Does anyone know it it is possible to start a program with a timeout, so that it is automatically killed if the timeout expires? If yes, how? (6 Replies)
Discussion started by: soheil.samii
6 Replies

6. UNIX for Dummies Questions & Answers

Why not automatic bootup

Evry time I start up my mavhine ,have to type in unix at Boot : Is there a way unix should bootup automatically? Asif (2 Replies)
Discussion started by: asif iqbal
2 Replies

7. UNIX for Dummies Questions & Answers

Bootup Error

Hi all The following error was displayed when a sco server (5.0.5) was booted. What should be done to overcome the problem. Replies appreciated. Bios 03.0 0130688 KB memory good 01 processor(s) in system remote console dialing on, please wait connect fail : modem off cpu clock... (6 Replies)
Discussion started by: raguramtgr
6 Replies

8. UNIX for Advanced & Expert Users

bootup script

Hello there I need to run a script whenever i reboot or startup my HP-UX server. This script adds some routes to the route table, and it start third party aplications like "Star Manager". I thought i could do this simply putting the script in "/sbin/init.d, and a link to the script in... (7 Replies)
Discussion started by: vascobrito
7 Replies

9. UNIX for Dummies Questions & Answers

Triple bootup

Hi guys, May I know how to install Solaris 8 in the way that I can triple boot it with my the other two OS: WIndows ME and Windows 2000 Pro. Can you all please kindly advise me on how to setup the triple boot process inorder to allow Windows ME to be the default OS when being ask to choose... (1 Reply)
Discussion started by: cia
1 Replies

10. UNIX for Dummies Questions & Answers

Starting Processes

I am currently running SCO OpenServer. When the machine is restart it automatically intitiates processes that allow me to use the ARCserv backup software... Recently, these process were killed and I would like to restart them. The problem is I dont know the name or location of the files invoked... (1 Reply)
Discussion started by: LowOrderBit
1 Replies
Login or Register to Ask a Question