CentOS Start Error: PREFDM main process terminated with status 1

Source: Internet
Author: User

Today, our department has a powerful feedback server (CentOS 6.0) can not log on the crash, reboot after this guy will not start, error, such as:


PREFDM main process (1235) terminated with status 1

Information, the error screenshot is as follows:

It looks like the INIT program was executed during the boot process, and then Init called PREFDM the error.

Current network server, how to do, how to catch the urgent ah ... Finally finished, record the processing process.

First of all, we tried a single user can login Ah, how to do not say, yes can log in, think of the hard disk is not the problem, fsck repaired the next or not. Google it.

From the information of the error, it is called PREFDM when there is a problem, then what is this one thing? Online query, this is the start of the X desktop Dongdong, is a shell script, live in/ETC/X11/PREFDM.


Under the single user can log on normally, not single-user mode when but not. And looked at the configuration of the RunLevel is 5, and a reference to a blog, we changed the next 3 found that there is no problem, OK, you can start normal, the problem solved, that is because of what the reason, and then look for.


So I looked at what was written in the/ETC/X11PREFDM script and found two lines of key code:


EXEC GDM "$@" >/dev/null 2>&1/dev/null 2>&1

found that the GDM command did not. Yum Install gdm-y installation.

There should be no problem with the installation.


On the Internet can also report other mistakes, here record the spare

Error message:

AIT avahi-daemon[1102]: Service "localait" (/services/ssh.service) successfully established.
Aug 17:45:41 localait kdm[1193]: X Server "/usr/bin/x" cannot be executed
Aug 17:45:41 localait kdm[1174]: X server for display:0 cannot is started, session disabled
is because x cannot be executed.

X11 Server System Execution order is: priority to use STARTX--no use of ~/.XSERVERRC--no more execution/ETC/X11/XINIT/XSERVERRC--not yet that's the last step, execute/usr/bin/x.

Know the principle to see if X11 server installed, no words installed under: yum-y install xorg-x11-server-xorg

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.