LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   "init: Id "x" respawning too fast: disabled for 5 minutes." (https://www.linuxquestions.org/questions/linux-server-73/init-id-x-respawning-too-fast-disabled-for-5-minutes-895759/)

Gil@LQ 08-05-2011 11:16 AM

"init: Id "x" respawning too fast: disabled for 5 minutes."
 
First of all HHHIIIIIIIIIIIIIII to all of my new friends on linuxquestions.org. i started posting from today. wish me all the best.
i was installing all the servers and unistalling when i was practing but suddently i lost gui and only cmd line is working and getting the error "init: Id "x" respawning too fast: disabled for 5 minutes." for every 10 or fifteen min. please help me.

:newbie:

tommylovell 08-05-2011 12:19 PM

'init' is essentially the first process that runs on the system. If you do a display like 'ps- ef', it is PID 1.
Depending on what distro you are running and what level you are at, init uses a file /etc/inittab to start daemons at initialization or restart them if they crash (respawn).

'systemd' is a replacement for the traditional System V init. The man page for systemd (man systemd) says
Quote:

systemd is a system and service manager for Linux operating systems. When run as first process on boot (as PID 1), it
acts as init system that brings up and maintains userspace services.
Whether your system is using init or systemd, what has happened is that 'x', the Linux graphical environment has crashed, init (or systemd) is trying to restart it because it is defined with respawn, and it is repeatedly crashing. After it has crashed so many times in a short period, the system decides to disable the respawn mechanism for 5 minutes.

Has the system installed successfully and allowed you to boot and log into a graphical console? Or does this happen every time you install?

Gil@LQ 08-07-2011 08:44 AM

:confused:
Quote:

Originally Posted by tommylovell (Post 4434674)
'init' is essentially the first process that runs on the system. If you do a display like 'ps- ef', it is PID 1.
Depending on what distro you are running and what level you are at, init uses a file /etc/inittab to start daemons at initialization or restart them if they crash (respawn).

'systemd' is a replacement for the traditional System V init. The man page for systemd (man systemd) says


Whether your system is using init or systemd, what has happened is that 'x', the Linux graphical environment has crashed, init (or systemd) is trying to restart it because it is defined with respawn, and it is repeatedly crashing. After it has crashed so many times in a short period, the system decides to disable the respawn mechanism for 5 minutes.

Has the system installed successfully and allowed you to boot and log into a graphical console? Or does this happen every time you install?

istalled successfully and was working fine but when i was trying to install send mail squirrel mail suddenly i got this issue.


Thank you very much in adv

tommylovell 08-07-2011 10:00 AM

You have two options.

The first, assuming you have a maintenance contract with Red Hat, is to open a problem with them.

The second option would be to start a new thread that is titled "Squirrel Mail crashes X" and describe exactly what you are doing. (I think starting it in "Linux - Desktop" would be more appropriate, not Linux - Server, as most servers don't even run a GUI.)

Don't forget to mention your distro and version info (ie. RHELx.x). (This would not be considered a "duplicate post" as the topic is considerably different from this thread.) Hopefully someone with Squirrel Mail expertise will have some advice.

PTrenholme 08-07-2011 11:05 AM

The "respawning too fast" message is telling you that your X-server (or xorg.conf file) is miss-configured, and the X-server is crashing when it tries to start and trying to restart too fast or too often.

From the command line, look at /var/log/Xorg.0.log to see why the X-server crashed, and fix the problem.

Gil@LQ 08-08-2011 10:25 AM

Quote:

Originally Posted by tommylovell (Post 4435968)
You have two options.

The first, assuming you have a maintenance contract with Red Hat, is to open a problem with them.

The second option would be to start a new thread that is titled "Squirrel Mail crashes X" and describe exactly what you are doing. (I think starting it in "Linux - Desktop" would be more appropriate, not Linux - Server, as most servers don't even run a GUI.)

Don't forget to mention your distro and version info (ie. RHELx.x). (This would not be considered a "duplicate post" as the topic is considerably different from this thread.) Hopefully someone with Squirrel Mail expertise will have some advice.

Hi tommy you were right, squirrel mail crashed, so i googled and finally found that insalling xorg,gdm and gnome will cure it certainly it did. Thank you for you response by the way it was rhel 5 . cheers have a nice time.

Gil@LQ 08-08-2011 10:27 AM

Quote:

Originally Posted by PTrenholme (Post 4435999)
The "respawning too fast" message is telling you that your X-server (or xorg.conf file) is miss-configured, and the X-server is crashing when it tries to start and trying to restart too fast or too often.

From the command line, look at /var/log/Xorg.0.log to see why the X-server crashed, and fix the problem.

it was correct i installed xorg,gdm and gnome and it's done. thank's for your hint.

---------- Post added 08-08-11 at 10:27 AM ----------

thank you

anand4everurs 06-04-2013 03:49 AM

Solved
 
Hi there,

I had the same issue.

But I solved it .. yeayh

You said:
hevilp wrote:

initab
"x:5:respawn:/usr/bin/lxdm >/dev/null 2>&1"

I was missing a "s",
and you are, too.

It is not /usr/bin/lxdm
but /usr/sbin/lxdm

wrong

x:5:respawn:/usr/bin/lxdm >/dev/null 2>&1

right

x:5:respawn:/usr/sbin/lxdm >& /dev/null


cheers,
Anand Gupta


All times are GMT -5. The time now is 12:17 PM.