Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to ensure Listener starts when Unix box reboots?
Thanks for the reply, and for detailing the components of the answer. It
looks like I need one more piece of information, because there's no single
/etc/rc file, and within the /etc/rc* directories, there are many files,
none of which is an obvious candidate. What follows is a listing of those
directories; if you wouldn't mind giving them a lookover and pointing to any
file that is an obvious condidate, I'd appreciate it.
Thanks,
Christopher
p.s. Sorry about the funky formatting that may overtake the listing that follows. If you're viewing this message in a fixed font, the listing will probably look nice and orderly.
K00ANNOUNCE K42audit K57sendmail K70cron K85rpc K10dbora K47asppp K66nfs.server K73volmgt K10dtlogin K50utmpd K69autofs K75nfs.client K20lp K55syslog K69xntpd K76nscd rc1.d: K00ANNOUNCE K47asppp K65nfs.server K70cron S01MOUNTFSYS K10dtlogin K50utmpd K67rpc K76nscd K20lp K55syslog K68autofs K80nfs.client K42audit K57sendmail K69xntpd K85power rc2.d: K20spc S69inet S75cron S92rtvc-config K60nfs.server S70uucp S76nscd S92volmgt K76snmpdx S71rpc S80PRESERVE S93cacheos.finish K77dmi S71sysid.sys S80lp S96agent.be README S72autoinstall S80spc S99audit S01MOUNTFSYS S72inetsvc S85lmgrd S99dbora S05RMTMPFILES S73cachefs.daemon S85power S99dtlogin S20sysetup S73nfs.client S88sendmail S99z_ds S21perf S74autofs S88utmpd S30sysid.net S74syslog S89bdconfig S47asppp S74xntpd S91leoconfig rc3.d: README S15nfs.server S76snmpdx S77dmi rcS.d: K65pcmcia S33keymap.sh S50drvconfig README S35cacheos.sh S60devlinks S10initpcmcia S40standardmounts.sh S65pcmcia S30rootusr.sh S41cachefs.root S70buildmnttab.sh%
Theo <theo.horn_at_za.unisys.com> wrote in message
news:7n5l4q$bge$1_at_nnrp1.deja.com...
> Hi,
>
> Just add the line : su - oracle -c 'lsnrctl start' in one of your UNIX
> startup files; /etc/rc file or /etc/rc2.d directories.
>
> 'su' - switches user to oracle, the '-' ensures that the right
> environment is loaded and the -c is the command you want executed.
>
> HTH
> Theo
>
> PS. I can send you a sample Oracle startup file for UNIX if you like.
>
> In article <AVql3.703$HF.19471_at_dfiatx1-snr1.gtei.net>,
> "Christopher Allen" <progplusSPAMBEGONE_at_gte.net> wrote:
> > When our UNIX server is restarted, the Oracle database on it also
> restarts,
> > including the three instances defined. But the Listener doesn't
> start. I
> > have to manually run the LSNRCTL STATUS command to get the Listener
> running.
> >
> > What do I modify in the UNIX config so that the Listener is started
> > automatically?
> >
> > Thanks.
> >
> >
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Received on Wed Jul 21 1999 - 19:20:55 CDT