👤
Home Man
Search
Today's Posts
Register

Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

INIT: cannot execute "/etc/X11/prefdm"

👤 Login to reply

 
Thread Tools Search this Thread
# 1  
Old 10-12-2010
INIT: cannot execute "/etc/X11/prefdm"

Quote:
INIT: cannot execute "/etc/X11/prefdm"
INIT: ld "x" respawning too fast: disabled for 5 min
Hi

I tried the following but no joy!

Inserted the linux installation cd.. ( rescue mode)...

tried chroot /mnt/sysimage but I get chroot: cannot execute /bin/sh
Checked the permission on /bin and it was set to ?r--rw-rx tried to do chmod –R 755 but got error operation not permitted ...

Already had backup of /bin so Untar’d the /bin/bin.tar and tried to over write the /bin but got this error: can not overwrite non directory /bin with directory bin ...

For some strange reason /bin is not own by root:root both the owner and group name are numeric , So i tried chown –R root but keep getting user root does not exist!
can someone advice please.

Last edited by halacil; 10-12-2010 at 11:05 AM..
# 2  
Old 10-12-2010
Have you tried an fsck of the corrupt filesystem using the rescue CD ?
# 3  
Old 10-13-2010
I cant get into single user mode( i dnt get bootloader screen). is it safe to run fsck in normal mode? do I have to unmount any partitions first?

Code:
# ls -l /mnt/sysimage | grep bin
drwxr-xr-x 2 root root 12288 Sep 29 11:23 sbin
?r--rw-x 41112 16694 1305152 0 Feb 10 2055 bin


Last edited by halacil; 10-13-2010 at 06:29 AM..
# 4  
Old 10-13-2010
Boot from a rescue medium like a USB drive or a CD/DVD. There, you can still fsck the underlying disk.
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using "mailx" command to read "to" and "cc" email addreses from input file asjaiswal UNIX for Dummies Questions & Answers 2 10-11-2014 09:32 PM
[Solved] putty+x11:How do I pass X11 display rights to "su"? dkarr UNIX for Advanced & Expert Users 2 01-26-2012 06:16 PM
INIT: Id "x" respawning too fast maooah Red Hat 5 04-05-2011 02:48 AM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 08:59 AM
X11 and "Cannot Open Display" errors bluescreen Solaris 1 02-18-2011 12:06 PM
How to resolve error "INIT: Cannot stat /etc/inittab, errno: 2" surbhit4u Solaris 14 05-24-2010 07:03 AM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 12:52 AM
Doubt regarding "init q" soorajmu UNIX for Dummies Questions & Answers 2 06-18-2003 11:03 AM


All times are GMT -4. The time now is 01:32 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password