Redhat Virtualization EN error : InitLogger main process terminated with status 1

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
Redhat Virtualization EN error : InitLogger main process terminated with status 1

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

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

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:
   $ cat /etc/init/serial.conf

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

stop on runlevel [S016]

instance $DEV


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


    $ cat /etc/init/tty.conf

    stop on runlevel [S016]


    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

Could someone please suggest to fix the issue?
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #30
Difficulty: Medium
Microsoft was founded in 1971.
True or False?

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
thr_exit(3C)                                               Standard C Library Functions                                               thr_exit(3C)

thr_exit - terminate the calling thread SYNOPSIS
cc -mt [ flag... ] file...[ library... ] #include <thread.h> void thr_exit(void *status); DESCRIPTION
The thr_exit() function terminates the calling thread, in a similar way that exit(3C) terminates the calling process. If the calling thread is not detached, then the thread's ID and the exit status specified by status are retained. The value status is then made available to any successful join with the terminating thread (see thr_join(3C)); otherwise, status is disregarded allowing the thread's ID to be reclaimed immediately. Any cancellation cleanup handlers that have been pushed and not yet popped are popped in the reverse order that they were pushed and then executed. After all cancellation cleanup handlers have been executed, if the thread has any thread-specific data, appropriate destructor functions will be called in an unspecified order. Thread termination does not release any application visible process resources,including, but not limited to, mutexes and file descriptors, nor does it perform any process level cleanup actions, including, but not limited to, calling any atexit() routines that might exist. If any thread, including the main() thread, calls thr_exit(), only that thread will exit. If main() returns or exits (either implicitly or explicitly), or any thread explicitly calls exit(), the entire process will exit. The behavior of thr_exit() is undefined if called from a cancellation cleanup handler or destructor function that was invoked as a result of either an implicit or explicit call to thr_exit(). After a thread has terminated, the result of access to local (auto) variables of the thread is undefined. Thus, references to local vari- ables of the exiting thread should not be used for the thr_exit() status parameter value. If any thread (except the main() thread) implicitly or explicitly returns, the result is the same as if the thread called thr_exit() and it will return the value of status as the exit code. The process will terminate with an exit status of 0 after the last non-daemon thread has terminated (including the main() thread). This behavior is the same as if the application had called exit() with a 0 argument at thread termination time. RETURN VALUES
The thr_exit() function cannot return to its caller. ERRORS
No errors are defined. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
exit(3C), thr_create(3C), thr_join(3C), thr_keycreate(3C), attributes(5), standards(5) NOTES
Although only POSIX implements cancellation, cancellation can be used with Solaris threads, due to their interoperability. The status argument should not reference any variables local to the calling thread. SunOS 5.10 27 Mar 2000 thr_exit(3C)

Featured Tech Videos