init(8)
man page.
/etc/init
directory. Upstart is very well documented via man pages. Command overview is in init(8)
and job syntax is described in init(5)
.
/etc/inittab
file is deprecated, and is now used only for setting up the default runlevel via the initdefault line. Other configuration is done via upstart jobs in the /etc/init
directory.
/etc/sysconfig/init
, which is read by the /etc/init/start-ttys.conf
job. The default value is ACTIVE_CONSOLES=/dev/tty[1-6], which starts a getty on tty1 through tty6.
kudzu
, which would edit /etc/inittab
. In Red Hat Enterprise Linux 6, configuration of the primary serial console is handled by /etc/init/serial.conf
.
/etc/inittab
. For example, if a getty on ttyS1 is desired, the following job file (/etc/init/serial-ttyS1.conf
) would work:
# This service maintains a getty on /dev/ttyS1. start on stopped rc RUNLEVEL=[2345] stop on starting runlevel [016] respawn exec /sbin/agetty /dev/ttyS1 115200 vt100-nav
/etc/securetty
if you wish to allow root logins on this getty.
/etc/shutdown.allow
for defining who can shut the machine down.
vm.dirty_ratio = 40
kernel.sched_min_granularity_ns = 10000000 kernel.sched_wakeup_granularity_ns = 15000000 kernel.sched_tunable_scaling = 0 kernel.sched_latency_ns = 80000000Additionally, deactivating the Fair-Sleepers feature improves performance on a System z machine. To achieve this, set the following value in /etc/sysctl.conf
kernel.sched_features = 15834234
kernel.hung_task_timeout_secs = 0
service irqbalance statusIf the service is running, command will return a message similar to:
irqbalance (pid 1234) is running...However, if the message lists the service as
stopped
, execute the following commands as root to start the irqbalance service:
service irqbalance start chkconfig --level 345 irqbalance onIf the output of the
service irqbalance status
command lists irqbalance as an unrecognized service
, use yum to install the irqbalance package, and then start the service.
yum install irqbalance service irqbalance start
LOGLEVEL
parameter in /etc/sysconfig/init
to set the console loglevel is no longer supported. To set the console loglevel in Red Hat Enterprise Linux 6, pass loglevel=<number>
' as a boot time parameter.
ERROR: pam_pkcs11.c:334: no suitable token available'This message can be safely ignored.
/etc/dovecot.conf
has been split into /etc/dovecot/dovecot.conf
and /etc/dovecot/conf.d/*.conf
/etc/sysconfig/readahead
configuration file:
READAHEAD_COLLECT="no" READAHEAD_COLLECT_ON_RPM="no"Alternatively, the readahead package can be removed entirely.
lpstat -E -s
rhn_register
command to register a system with the Red Hat Network (RHN) might fail. When this issue is encountered, the rhn_register command will return an error similar to:
# rhn_register Segmentation fault (core dumped) or # rhn_register ***MEMORY-ERROR***: rhn_register[11525]: GSlice: assertion failed: sinfo->n_allocated > 0 Aborted (core dumped)To work around this issue, set the following environment variable, then run the rhn_register command again:
G_SLICE=always-malloc
DEFAULT CATCH!, exception-handler=fff00300If the path that locates the kernel and ramdisk is greater than 63 characters long, it will overflow a firmware buffer and the firmware will drop into the debugger.
Cannot load ramdisk.image.gz: Claim failed for initrd memory at 02000000 rc=ffffffffTo work around this issue, change real-base from to
c00000
. Real-base can be obtained from OpenFirmware prompt with the printenv
command and set with setenv
command.
No video available. Your server may be in an unsupported resolution/refresh rate.
video=SVIDEO-1:d radeon.svideo=0
# filecap /path/to/empty_file Segmentation fault (core dumped)To work around this, run filecap on the directory that contains the empty file, and search the results for the required information. For example:
filecap /path/to/ | grep empty_file