How do I debug problems in my startup scripts?

Updated -

Every runlevel change is performed by /etc/rc.d/rc script. It changes to the runlevel directory (/etc/rc.d/rc*.d/) where the Start and Stop Scripts are located (or linked). First it run the stop scripts in numeric order if necessary <<*>> and then run the start scripts in numerical order.

To log every step taken to run the scripts add the following ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content