Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a SUSE Linux box setup running postfix to be a mail server.
There are scripts listed in /etc/init.d and symbolic links listed in /etc/init.d/rc3.d that issue a start for postfix as well as a pop3 and imap program. There are also similar entries in /etc/rc.d and /etc/rc.d/rc3.d.
These scripts were all installed when RPMs for these pieces of software were installed, I did not do them by hand. I had assumed that these would cause postfix and the other programs to start on bootup, but I always have to manually start them.
After doing some searching on Google, it appears that rc3.d should be run when the system execute runlevel 3.
I reviewed by most recent boot log and I see where it indicates that the system has entered runlevel 2, but I don't see where the system ever enters runlevel 3.
Can anyone give me some direction as to how to get these programs to start at boot up? Do I just put a reference to them in the rc2.d directory since the computer is booting into runlevel 2 instead of 3? Is booting into runlevel 2 an indication of a problem?
If you want to create your own script, there is a skeleton file in /etc/init.d/ to base your script on. There is also a README file with instructions.
Also, you might consider cheating a bit. Read through some of the scripts that exist. Make a copy of one that has the arguments you want and edit changes to the script and the header comments.
The commented header information are very important. Chkconfig can be thought of as a front ent to insserv. They use the header information to create the links and make sure that the order is correct. If your service is dependent on another service that information needs to be in the header.