Sponsored Content
Full Discussion: console output messages
Top Forums UNIX for Dummies Questions & Answers console output messages Post 6037 by rwb1959 on Tuesday 28th of August 2001 06:32:36 PM
Old 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

Reading console output

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

Eleminating output to console

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

output console problem

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

Changing the appearance of an Output in console

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

Command display output on console and simultaneously save the command and its output

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

No Console Output

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

Grep on console output

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

Output to console and to log

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

Changes to write output to logfile and console

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

Console output then comparison check help

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
DebianNet(3pm)						     Linux Programmer's Manual						    DebianNet(3pm)

NAME
DebianNet.pm - create, remove, enable or disable entry in /etc/inetd.conf SYNOPSIS
require DebianNet; DebianNet::add_service($newentry, $group); DebianNet::remove_service($entry); DebianNet::enable_service($service, $pattern); DebianNet::disable_service($service, $pattern); DESCRIPTION
You can use the functions in DebianNet.pm to to add, remove, enable or disable entries in the /etc/inetd.conf file. After the /etc/inetd.conf file has been changed, a SIGHUP signal will be sent to the inetd process to make sure that inetd will use the new /etc/inetd.conf file. The functions can also be used to add entries that are commented out by default. They will be treated like normal entries. That also means that if you already have an entry that is commented out you can't add an entry for the same service without remov- ing the old one first. The DebianNet functions treat entries that are commented out by a single '#' character as entries that have been commented out by a user. It won't change such entries. For shell scripts you can also use the update-inetd command. See update-inetd(8) for further information. VARIABLES
$DebianNet::inetdcf = "FILENAME"; Use FILENAME instead of /etc/inetd.conf (e.g. for testing purposes). $DebianNet::sep = "#<off># "; "#<off># " will be used as the default comment characters. You can use this option to specify different comment characters. This is only necessary if you have to deal with two (or more) services of the same name. $DebianNet::multi = "true"; If you want to disable/remove more than one entry at a time you should use this option. If you try to remove more than one entry at a time without using this option the program will show a warning and asks the user if he want to continue. $DebianNet::verbose = "true"; Explain what is being done. FUNCTIONS
DebianNet::add_service($newentry, $group); Add $newentry to the group $group of the /etc/inetd.conf file. If the entry already exist it will be enabled (it will also detect entries with different program options). Using $group is optional (the default group is the group OTHER). If the group does not exist the entry will be placed at the end of the file. DebianNet::remove_service($entry); Remove $entry from /etc/inetd.conf . You can use a regular expression to remove the entry. DebianNet::enable_service($service, $pattern); Enable $service (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional. It can be used to select a service. You only need this option if you have two (or more) services of the same name. An example: you have three ftp entries in the /etc/inetd.conf file (all disabled by default) and you want to enable the entry which uses the wu-ftpd daemon. To do this, use the pattern "wu-ftpd" (or any other regular expression that matches this entry). DebianNet::disable_service($service, $pattern); Disable SERVICE (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional (see above). AUTHORS
Peter Tobias, <tobias@et-inf.fho-emden.de> Ian Jackson <iwj10@cus.cam.ac.uk> Linux 21 September 1995 DebianNet(3pm)
All times are GMT -4. The time now is 01:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy