Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Redhat Virtualization EN error : InitLogger main process terminated with status 1 Post 303032226 by Paras Pandey on Thursday 14th of March 2019 03:21:44 AM
Old 03-14-2019
Redhat Virtualization EN error : InitLogger main process terminated with status 1

My server has /var/log/messages with
Code:
 'init: initLogger main process (608798)

terminated with status 1' errors. I researched about the error and also followed the steps from stackexchange :

Code:
157059/error-init-ttys0-dev-ttys0-main-process-1612-terminated-with-status-1]linux - ERROR: init: ttyS0 (/dev/ttyS0) main process (1612) terminated with status 1

Below is my serial.conf/inittab/tty.conf:
Code:
   $ cat /etc/init/serial.conf

start on fedora.serial-console-available DEV=* and stopped rc RUNLEVEL=[2345]

stop on runlevel [S016]

instance $DEV

respawn

pre-start exec /sbin/securetty $DEV

exec /sbin/agetty /dev/$DEV $SPEED vt100-nav

post-stop exec /sbin/initctl emit --no-wait fedora.serial-console-available DEV=$DEV SPEED=$SPEED

usage 'DEV=ttySX SPEED=Y - where X is console id and Y is baud rate'



$ cat /etc/inittab

id:4:initdefault:



    $ cat /etc/init/tty.conf

    stop on runlevel [S016]

    respawn

    instance $TTY

    exec /sbin/mingetty $TTY

    usage 'tty TTY=/dev/ttyX - where X is console id'


    $ ps -ef | grep agetty
    root 609065 1 0 20:19 ttyS0 00:00:00 /sbin/agetty /dev/ttyS0 115200 vt100-nav
    admusr 609241 608554 0 20:20 pts/0 00:00:00 grep agetty

    # initctl status serial DEV=ttys0
    initctl: Unknown instance: ttys0

    # initctl stop serial DEV=ttys0
    initctl: Unknown instance: ttys0

    # grep ttyS0 /etc/securetty
    ttyS0

Could someone please suggest to fix the issue?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to supress a "Killed" message when a process is terminated?

Does anyone know how I can supress the "Killed" message that's produced when I kill a process? I've got a script that performs a "tail -f" on a database error log and pipes the output into an awk script which looks for certain error messages and forwards any that qualify to my pager. The problem... (2 Replies)
Discussion started by: kenwolff
2 Replies

2. AIX

Process got terminated automatically

Hi, I am elango. I am working with UNIX AIX version 5. I am facing tow problem whenever I am trying to run a script. 1. The moment I run the script 3 more jobs are getting started automatically. I used PS -ef command to check the running Jobs, I found totally 4 jobs are running for... (4 Replies)
Discussion started by: Elango
4 Replies

3. Red Hat

Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58

I have successfully installed RedHat 8.0 onto a Dell PowerEdge SC1425 today. This server has two SATA hard drives, and an IDE DVD-ROM drive. Using the following kernel parameters, i successfully installed across both hard drives from CD: ide0=0x1f0,0x3f6,14 vga=791 resolution=1024x768 expert... (5 Replies)
Discussion started by: fishsponge
5 Replies

4. UNIX for Advanced & Expert Users

start time of a terminated process

Hi, I have a shell script which i am running. I want it's starting time (the time when the execution of the shell script started) in another shell script. Note that the process has already terminated when i need it's starting time.... else i could have used ps -f | cut -d" " -f5... But that's... (2 Replies)
Discussion started by: k_chaaya
2 Replies

5. Programming

Can SIGTERM to main process kill the detached threads?

Hi, I am stuck up with a strange problem. I am writing an application - a kinda tracker that reads data from memcache and invokes theads to process each record of the memcache. I dont want to join all my threads because my tracker should poll the cache in regular intervals say sum 300... (2 Replies)
Discussion started by: deepti_v25
2 Replies

6. UNIX for Dummies Questions & Answers

PID - Getting the processname of terminated/old Process

Hi all! I'm using CentOS 5.2 with KDE. Is it possible to get a processname/cmd of a terminated process (= PID not present with PS-command) ? Are the processnames/scriptnames logged somewhere? (I did not find them in /var/log/messages) (5 Replies)
Discussion started by: JohnMurdoch
5 Replies

7. UNIX for Dummies Questions & Answers

calling process and going back to the main loop

hi everyone , i want to read an option and depending on the option call the program .For ex #! /bin/ksh export JAVA_HOME=/home/oracle/jdk1.6.0_20 echo " Please enter mod-modeler, dev - sqldeveloper" read choice if ; then echo ' SQL DEVELOPER IS STARTING NOW ... ' cd... (0 Replies)
Discussion started by: kdev
0 Replies

8. UNIX for Dummies Questions & Answers

How to get the start time for a JAVA Main running process

I have a script that executes a MAIN JAVA FILE It does check if the process is already running or not by using this code w_pid=`ps -efx | grep -v grep | grep "FileTransactionArchiveMain dvlp"|awk '{print $11}'` if then #echo 'Another instance is running.' exit fi Now I... (1 Reply)
Discussion started by: akabir77
1 Replies

9. UNIX for Dummies Questions & Answers

Process getting terminated after sleep iterations

Hello All, I have a script which has a functionality to sleep for 300 seconds after it does some processing, so in the logs if i check after the 3 iteration of sleep it didn't write saying "sleeping for 300 seconds". I suspect putty would automatically terminate session as i cannot access it any... (1 Reply)
Discussion started by: Ariean
1 Replies

10. Red Hat

Redhat Virtualization 2.2

Hi Friends, Is there any one who is working on Redhat Virtualization (RHEV -- KVM)? Regards, Arumon (4 Replies)
Discussion started by: arumon
4 Replies
WAIT(2) 							System Calls Manual							   WAIT(2)

NAME
wait - wait for process to terminate SYNOPSIS
wait(status) int *status; wait(0) DESCRIPTION
Wait causes its caller to delay until a signal is received or one of its child processes terminates. If any child has died since the last wait, return is immediate; if there are no children, return is immediate with the error bit set (resp. with a value of -1 returned). The normal return yields the process ID of the terminated child. In the case of several children several wait calls are needed to learn of all the deaths. If (int)status is nonzero, the high byte of the word pointed to receives the low byte of the argument of exit when the child terminated. The low byte receives the termination status of the process. See signal(2) for a list of termination statuses (signals); 0 status indi- cates normal termination. A special status (0177) is returned for a stopped process which has not terminated and can be restarted. See ptrace(2). If the 0200 bit of the termination status is set, a core image of the process was produced by the system. If the parent process terminates without waiting on its children, the initialization process (process ID = 1) inherits the children. SEE ALSO
exit(2), fork(2), signal(2) DIAGNOSTICS
Returns -1 if there are no children not previously waited for. ASSEMBLER
(wait = 7.) sys wait (process ID in r0) (status in r1) The high byte of the status is the low byte of r0 in the child at termination. WAIT(2)
All times are GMT -4. The time now is 10:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy