Modifying System Configuration File Inittab - 3Com MSR 50 Series Configuration Manual

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

796
C
52: FEP I
HAPTER
NSTALLATION AND
Modifying System
Configuration File
inittab
C
ONFIGURATION
[root@redhat root]# ulimit -a
core file size
data seg size
file size
max locked memory
max memory size
open files
pipe size
stack size
cpu time
max user processes
virtual memory
1 Check whether the pseudo terminal has been configured in the inittab
configuration file.
Take the device ttypa as an example. Edit the file /etc/inittab and check whether
this file contains the following line:
pa:3456:respawn:/usr/sbin/getty ttypa 9600
If the line is absent, add it. In the sample line, pa is the identifier of the line. Each
line in file inittab must have a unique identifier consisting of no more than four
characters. In system configuration file inittab, the third column of a line is
"respawn" for an active terminal and "off" for a dumb terminal.
The available pseudo terminals include ttyxy, where the value of "x" ranges from a
to e and p to z and that of "y" ranges from hexadecimal 0 to f. Examples are
ttyp6, ttypa, ttyz1, and ttyz9.
2 Bring the configuration into effect after the addition.
# init q
3 Start ttyd before the system starts the file /etc/inittab.
To start ttyd before the system starts the file /etc/inittab, you must edit the file
/etc/rc.d/rc.sysinit; otherwise, the system will prompt a message similar to "" INIT:"
Id "v0" respawning too fast, disabled for 5 minutes" and it may take a while
before the login window appears. No such problems will occur if all these devices
present in the file inittab have been opened by ttyd. Append the following
contents to line 30 in the file /etc/rc.d/rc.sysinit:
......
# Start the graphical boot, if necessary
if [ "$BOOTUP" = "graphical" ]; then
if [ -x /usr/bin/rhgb ]; then
/usr/bin/rhgb
else
export BOOTUP=color
fi
fi
#start ttyd
(blocks, -c) 0
(kbytes, -d) unlimited
(blocks, -f) unlimited
(kbytes, -l) 4
(kbytes, -m) unlimited
(-n) 2048
(512 bytes, -p) 8
(kbytes, -s) 10240
(seconds, -t) unlimited
(-u) 4096
(kbytes, -v) unlimited

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents