1834715 Members
2062 Online
110069 Solutions
New Discussion

Re: Run level 5

 
Trng
Super Advisor

Run level 5

Hi,

i am new to this forum.

1)pls let me know what for run level 5 is using in HPUX .
2)supppose one scripts failed in during startup(s99gcstartup),how will analyse what is the reason for failure and loc of error log?.
administrator
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: Run level 5

The RC logs are: /etc/rc.log*
Sunny Jaisinghani
Trusted Contributor

Re: Run level 5

hello Suresh,

You can find the startup and shutdown logs in /etc/rc.log.

And as far as i know there isn't any runlevel 5 in HP-UX

Trng
Super Advisor

Re: Run level 5

Hi sunny,

run level 5 is there,but it is for user application,that only confusing me.i need an explanation on this
administrator
Sivakumar TS
Honored Contributor

Re: Run level 5

Hi Suresh,

The run-level 5-6 states are available for user-defined operations.

HTH,

Siva
Nothing is Impossible !
Sunny Jaisinghani
Trusted Contributor

Re: Run level 5

Hi Suresh

thanks for the valuable information. if i find ant information Runlevel 5 i'll post it.

sunny

Trng
Super Advisor

Re: Run level 5

Hi shivakumar,

thanks for the reply,but i need more clari on 5-6 for user defined..what it means actually??.and how user will define..

rgds
administrator
Steven E. Protter
Exalted Contributor

Re: Run level 5

Shalom,

There is no run level 6 in HP-UX.

By default run level 4 and 5 are not configured in /etc/inittab

I use them to test auto start scripts without effecting running apps. If I want oracle to start and the start script is running I can go init 4 init 5 to my hearts content until I've debugged the startup script.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Run level 5

Hi:

> Steven wrote: There is no run level 6 in HP-UX.

Sorry, that's not true. It is perfectly legal to define a runlevel of five (5) OR six (6), although neither is currently used by standard setup of HP-UX, nlor have they been since at least 10.0.

The manapges for 'rc(1M)' and for 'init(1M)' clearly document this.

As for where to define the system runlevel, see the line in '/etc/inittab' with the label 'initdefault'. Usually this is the first line of the '/etc/initab' file and is set to run-level three (3) like this:

init:3:initdefault:

See the 'inittab(4)' manpages for more information.

Regards!

...JRF...