LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems starting runlevel 3 , redhat 7.3, "no more processes left in this runlevel" (https://www.linuxquestions.org/questions/linux-software-2/problems-starting-runlevel-3-redhat-7-3-no-more-processes-left-in-this-runlevel-735489/)

kiyoshi 06-25-2009 03:10 AM

Problems starting runlevel 3 , redhat 7.3, "no more processes left in this runlevel"
 
Hi All ! Thanks to stop by my thread !

I am going to get completely crazy with this error, I have read so many useful threads on the internet about similar problems but none of them solved my issue.

I have several servers with redhat 7.3. There was a power shortage during my holiday and when I came back, all but one servers were running fine.

This one server with the problem does not start properly at runlevel3 (which is the only runlevel I care about, we are not running level 5).

Here are the messages we get:
INIT: Entering runlevel : 3
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: Id "4" respawning too fast: disabled for 5 minutes
INIT: Id "5" respawning too fast: disabled for 5 minutes
INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel

These Ids are refering to simple tty lines:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

By commenting these lines, we remove the messages above except the last one, still no processes are started.

The strange thing is that when I do the following:
- I start the server on runlevel 1
- I use "mount /proc"
- I use "mount -o remount,rw /"
- I start every single Sxx of /etc/rc3.d
the server is running well. Not a single issue, everything is started OK and we have ssh access to the server, http is running fine on it, ...

So basically the problem is that the server does not seem to understand what to start or it is failing between starting and launching services of rc3.d. My knowledge of linux is too limited to understand what the server does before launching rc3.d services or what it needs to launch them. Basically what does this server do when it starts, what files it read,...

The server was working fine before this power failure but had not been restarted for a while (so may be one of the several things we did in between). I checked the history and tried to rollback everything as far as possible but still without help.

Any suggestion ?

Regards,

Kiyoshi

kiyoshi 06-25-2009 05:11 AM

Hi again !

I managed to find the solution.

On my server, this file had been modified: /etc/initscript by adding these lines:
export JAVA_HOME='/usr/local/jre1.5.0_06'
export PATH=$PATH:$JAVA_HOME/bin

I completely removed the file and the server rebooted properly.

Regards,

Kiyoshi


All times are GMT -5. The time now is 02:03 PM.