08-28-2001
console messages
From your description, I assume you are getting
a constant stream of messages to the console
and therefore cannot login to the system.
If this is the case, You should bring the system
up in single user (maintenence) mode and first
disable the system program that is causing these
messages. For instance, some service deamon
is failing to start due to some error, you might
have to comment out an entry in /etc/inetd.conf
or somthing in the rc.d directory.At this point
you can then restart the system in multiuser
mode and troubleshoot the problem from the
command line.
It would help to "see" what messages
you are getting.
10 More Discussions You Might Find Interesting
1. Programming
I am writing a program that uses system() to pass commands to the command interpreter. Is there a way to read the output that the commands produce? (1 Reply)
Discussion started by: Blaster999
1 Replies
2. UNIX for Dummies Questions & Answers
I am running Shorewall firewall config program to utilize iptables on a Debian 3.3.5 system. This system is setup for a getway/router. I am getting a message:
Shorewall:bogons:Drop:IN=eth0 OUT= MAC+ mac address of eth0 SRC:someinternetIP DST=MYIPADD LEN=61 TOS+0x00 PREC=0x00 TTL=114 ID=6673... (3 Replies)
Discussion started by: pflink
3 Replies
3. Shell Programming and Scripting
kill -s KILL 0
-----------------------
-----------------------
i have used this command in a script...it is showing "killed" in output console.
i don't want that.plz help what to do.i have tried --kill -s KILL 0 >/dev/null
it is still showing "killed" in the output console...what to do? (1 Reply)
Discussion started by: arghya_owen
1 Replies
4. UNIX for Advanced & Expert Users
I want to change the appearance of a message I got in UNIX console.
Eg: In console: "no server running"
I need it as "****no server running*****".
Thanks in advance. (3 Replies)
Discussion started by: thomaa80
3 Replies
5. UNIX for Dummies Questions & Answers
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies
6. Solaris
Hey everyone
I have a sparc enterprise T2000 I'm trying to install solaris 10 on. The only way I can connect to it is the SER MGT console, but I'm not getting anything to display (in Hyper terminal, or PUTTY) when I boot it. Upon googleing, all I get back is "No output may have been generated.... (4 Replies)
Discussion started by: goodvikings
4 Replies
7. Shell Programming and Scripting
Hellos!
I want to have a unix script that will run grep on the console output. Here is what my script does:
1. Telnet into a remote server (I have done this part successfully)
2. On successful login, the remote server displays outputs information on the console. I need to run grep on that... (6 Replies)
Discussion started by: puneet1984
6 Replies
8. Shell Programming and Scripting
I have a menu based script where user will select different action via displayed menu.
I want to log all the action or say whatever displayed on screen to a log file and want to achieve with in the same script.
i tried named pipe as below..
logfile=mylogfile
mkfifo ${logfile}.pipe... (3 Replies)
Discussion started by: vidyadhar85
3 Replies
9. UNIX for Dummies Questions & Answers
Friends,
Below is the script which writes output to LOGFILE, however I want the entire log written to LOGFILE and also console.
Please suggest me the changes I need to do here.
#!/bin/ksh
x=${0##*/}
LOGFILE="x.log"
echo "CAUTION : Files once deleted cannot be restored"
printf 'Would... (8 Replies)
Discussion started by: fop4658
8 Replies
10. UNIX for Beginners Questions & Answers
Hi everyone, need some help if anyone can spare some of their knowledge.
I have a script i use and the script outputs some information of an action it performs.
It lists as text when it peforms this important step:
1 renew done
2 renew done
3 renew done
4 renew done
5 renew done
I had... (8 Replies)
Discussion started by: mr5ingh
8 Replies
LEARN ABOUT CENTOS
systemd-getty-generator
SYSTEMD-GETTY-GENERATOR(8) systemd-getty-generator SYSTEMD-GETTY-GENERATOR(8)
NAME
systemd-getty-generator - Generator for enabling getty instances on the console
SYNOPSIS
/usr/lib/systemd/system-generators/systemd-getty-generator
DESCRIPTION
systemd-getty-generator is a generator that automatically instantiates serial-getty@.service on the kernel console /dev/console if that is
not directed to the virtual console subsystem. It will also instantiate serial-getty@.service instances for virtualizer consoles, if
execution in a virtualized environment is detected. This should ensure that the user is shown a login prompt at the right place, regardless
of which environment the system is started in. For example, it is sufficient to redirect the kernel console with a kernel command line
argument such as console= to get both kernel messages and a getty prompt on a serial TTY. See kernel-parameters.txt[1] for more information
on the console= kernel parameter.
systemd-getty-generator implements the generator specification[2].
Further information about configuration of gettys you may find in systemd for Administrators, Part XVI: Gettys on Serial Consoles (and
Elsewhere)[3].
SEE ALSO
systemd(1), agetty(8)
NOTES
1. kernel-parameters.txt
https://www.kernel.org/doc/Documentation/kernel-parameters.txt
2. generator specification
http://www.freedesktop.org/wiki/Software/systemd/Generators
3. systemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere)
http://0pointer.de/blog/projects/serial-console.html
systemd 208 SYSTEMD-GETTY-GENERATOR(8)