Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I made a mistake and erased some of the /usr and /var files, and now kde wont start.
I´m using Mandrake 9.1.
Can anybody help me with this problem I´m a new Linux user.
I get messages like the following:
* xfs startup failed
* apmd startup failed
* crond: crond startupfailed
* localhost partmon:touch:cannot touch ´/var/lock/subsys/partmon´:
no such file or directory
* bash: tty: command not found
* bash: dircolors:command not found
* Locale: Cannot set LC_CTYPE to default locale: no such file or directory
Take a look at http://e2undel.sourceforge.net/. I've used it before with success. However, try to limit your disk activity, since you don't want the disk blocks being used by those files to be taken up by other files.
Can you get in to KDE as root?
Do you have a separate partition for your /home?
If you can get in to kde as root, the local user files are the only ones that are hosed.
You can create a new user, chown all the files you need and move them to your current user's folders.
Can you get in to KDE as root?
Do you have a separate partition for your /home?
If you can get in to kde as root, the local user files are the only ones that are hosed.
You can create a new user, chown all the files you need and move them to your current user's folders.
If all else fails and you have a separate /home partition, throw the MD disk in and let it "upgrade" your system. That should fix any problems.
The kde interface just wont load.
I just read that the /usr contains the files needed for the X server to start.
I messed up this directory as well as the /var directory and lost the Linux graphical interface. I cannot get into kde as root neither as a regular user.
I guess what I should do is just copy back the erased files. (use one of those recovery programs)
I also tried updating my MD 9.1 to 10.0 but the setup constantly warned me:
Could not copy file "x" right now i dont remember which files.
I guess I´ll have to re-install the OS.
Thanks for your reply anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.