Re: Startup sequence OSR 5.0.6
From: Brian K. White (brian_at_aljex.com)
Date: 09/22/05
- Previous message: Kevin Fleming: "Re: cpio files to remote server"
- Maybe in reply to: Help for all: "Startup sequence OSR 5.0.6"
- Next in thread: SDS: "Re: Startup sequence OSR 5.0.6"
- Reply: SDS: "Re: Startup sequence OSR 5.0.6"
- Reply: SDS: "Re: Startup sequence OSR 5.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Sep 2005 19:14:36 -0400
----- Original Message -----
From: "Don Williams" <dwilli10@earthlink.net>
To: <brian@aljex.com>
Sent: Wednesday, September 21, 2005 4:47 PM
Subject: Re: Startup sequence OSR 5.0.6
> Well, as it turns out, I found the sections in rc2.d for some of the
> startup items but couldn't find them for others. To be more specific, I
> found
>
> rpc S84
> tcp S85
> ctstart (my program) not found
> nsf S89
> nlm not found
>
> These multi-user services have to start from somewhere but I really
> couldn't find them. I did find where I had modified the system to
> not start any windows on the console. I may once more use the
> windows interface, but it will be on a different machine and under
> OSR 6, still not installed on this system. I also examined these
> scripts by date and for the most part they had the same date, so that
> didn't help much. The ones with later dates had no reference to
> ctstart, nor to the nlm service.
>
> If you know of any other places to look let me know, but don't feel
> obligated. With Bella gone, there is no real support from SCO,
> although he does pop into the usenet from time to time.
I answered a very similar question just a post or 2 before yours.
There are various places and ways a program can get started at boot, but the
basics are:
/etc/rc
/etc/rc2
/etc/rc.d/*/*
/etc/rc2.d/*
/etc/inittab
try this - this looks at file names:
find /etc/rc* /etc/init* -name '*ctstart*'
and this - this looks inside the files:
find /etc/rc* /etc/init* -depth |xargs grep -l ctstart
It might be started indirectly though. Maybe some script reads a config file
which could be located anywhere on the system.
You just have to look for anything that isn't stock.
Try searching with the same commands above, but instead of "ctstart", try
other things like your initials, or some former emplyees initials, your
companies name, you customers companies name, anything you think might found
in comments in scripts or used as filenames or parts of filenames, etc.
Ultimately, the boot process starts with init, which reads /etc/inittab,
which tells it to start reading the rc scripts, which go on to read all
maner of things.
You could just drop back & punt and do it the brute force way. read
/etc/inittab and follow the same trail the system follows.
It's a pain but if you really can't find it, then that is the most "stop
guessing" garunteed approach.
any of these lines are suspect, and go from there.
awk -F : '!/^#/{if($3!="off") print $0}' /etc/inittab
In english that's any line that doesn't start with # and whose 3rd field is
anything but "off", is a possible starting point that might lead to the
script that starts your app.
Thy are all the lines that start anything at all.
also,
man init
man rc
Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
- Previous message: Kevin Fleming: "Re: cpio files to remote server"
- Maybe in reply to: Help for all: "Startup sequence OSR 5.0.6"
- Next in thread: SDS: "Re: Startup sequence OSR 5.0.6"
- Reply: SDS: "Re: Startup sequence OSR 5.0.6"
- Reply: SDS: "Re: Startup sequence OSR 5.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|