Red Hat / Fedora :: Chmod Command To Run To Restore The System To Its Original State?
Jun 15, 2011
we have a customer that ran a sudo chmod +x -R * command on his / filesystem by mistake and now the machine cannot be accessed on the network Has anyone any idea what chmod command to run to restore the system to its original state ?
I tried to install KDevelop4, decided I didn't want to use it, and now I am having trouble getting KDevelop3 working again. The only steps to installing kdevelop4 were installing a new version of kdevplatform and then kdevelop itself. I did this:
The problem is that there is something wrong with the menus (File, Edit, etc). There are many important items missing, as well as one of them says "No text!". This indicates that this is not the original packaged version with F11 because I used it for a year and it was certainly not like this. Is there a better way to get back to the original version than I showed here?
I installed F9 for a friend. She wasn't getting any sound. I ran aplay -l, but got no sound card listed. I ran lspci -v, but got no sound card listed. However,the output of lspci -v said the computer had a particular motherboard. I Googled for it and was told it had an onboard sound card. That led me to the package called realtek-linux-audiopack-4.06a, which I installed. It included an installation script, which I ran.
The script didn't work to compile various files it was supposed to, but it did work to delete various files from my friend's system. Here are the bits of the script that removed files:
echo "Remove old sound driver" if [ -d /lib/modules/$KERNEL_VER/kernel/sound ]; then rm -rf /lib/modules/$KERNEL_VER/kernel/sound/pci > /dev/null 2>&1
[code]....
In the result, the failure of the compilation didn't matter, because lspci -v lied. She didn't have the motherboard shown, but a different one without an onboard sound card. Of the files deleted by the script.
I was able to reinstall libasound.so.2 and libasound.so.2.0.0, but I haven't yet tried to reinstall the other ones deleted by the script. Now, I want her to buy a sound card, but I'm afraid it won't work unless all the deleted files are reinstalled. I'm looking for guidance as to how I can reinstall the files deleted by the bits of the script I set out above, without completely reinstalling Fedora.
I recently had a problem in Ubuntu 11.04. I had just installed GNOME 3, however, I didn't really like it as much so I decided to go back using GNOME 2,but then a whole bunch of things happened. I tried re-installing GNOME 2,but then I lost the Ubuntu enviorment and stuck only with GNOME and now I'm only left with a terminal whenever I log in. how to restore Ubuntu 11.04 back to its original state, like as if it had a fresh installation?
The top right panel item contains the shutdown, time, network icons, etc. I don't use the messaging icon so right-clicked and chose 'remove from panel'. The whole lot disappeared! How can I restore things to their original state?
I was in real doubt where to put this, so I hope I picked the right forum; otherwise, my apologies!
I want to build Roadsend PHP on my system. There seems to be no way to do this with the package manager, so I have to build it from source.
Turns out it depends on something called 'Bigloo'. Again no luck with the package manager, so I had to build this one from source too.
I took version 3.0c (Roadsend website recommends this version), did a
Code: ./configure && make && make install
, which did the job. Builing Roadsend worked, but I got a runtime error, which had to do with the Bigloo version.
No problem, I tought, then I'll just install Bigloo 3.1a. I did a "make uninstall" in the 3.0c dir, and tried to build 3.1a. This also worked, but now when I try to make Roadsend, I reports:
Code: *** ERROR:bigloo.heap: Release mismatch -- Heap is `3.0c', Bigloo is `3.1a'
So, somehow, there are still traces of 3.0c on my system. Maybe some file that didn't get deleted or some table entry that hasn't been undone?
My question is: How can I remove all traces of this version? Apparently, "make uninstall" is not thorough in this case.
And: Is there a general solution to remove everything when I did a "make install". So that my system is in the same state as it was before I ran the command?
I've got a CentOS 5.2 installation with broken package system. When I try to do "yum update" I get lots of "Missing Dependency" errors. How could I restore it to a usable state?
I recently had my laptop which ran windows xp, wiped and ubuntu installed in its place. I was told of all the grand benefits of ubuntu so I thought yeesss. Everything was running beautifully, everything was heavenly, until i encountered "a flash website ". This was strange because ..... worked fine.
Anyway ever since I encountered that site Ubuntu crashes on startup. I log in then crash. Its strange because sometimes it takes a while to crash e.g. when trying to open any application, or sometimes its instant.
1. How i diagnose this problem so it can be fixed, remember it may have to be before the log in. 2. Is there someway I can do a system restore to its original settings or something?
I'm having trouble with my sound on my new Fedora 12 machine. when I first installed F12 sound was working but it appears that I have messed up some settings somewhere and now alsa is no longer recognizing my sound card (integrated into my ASUS M4A79XTD EVO motherboard)
Code: $ aplay -l aplay: device_list:223: no soundcards found...
I'm sure that when I tried to fix it I probably messed it up worse. Is there an easy way to restore all of my sound settings and audio Drivers back to the F12 defaults without losing everything else?
Does anybody here use Foxit Reader 1.1 as PDF viewer? I did since it handles PDF ebook with complex layout better than Evince. No need to mention its smaller size and faster speed than Adobe Reader.
However, it seems that recently it's unable to restore the document state when the file was closed. I do not know which part goes run right now but quite sure in the late August it works well. It always jumped to the position when I stopped last time. Now it simply starts from the the first page. :-)
I looked through the Foxit Reader forum and found none similar problems reported. I posted here to see whether it is a Fedora specific problem or generalised one.
I have a Centos 5.3 desktop that I have a development board connected via a serial connection to. The permissions on /dev/ttyS0 are currently set crw--w---- 1 root root 4, 64 Nov 4 13:56 ttyS0
I have changed them so that they read crw-rw---- 1 root uucp 4, 64 Nov 4 13:56 ttyS0
But every time I initialize the dev board the permissions switch back to the original state. I have found lots about preventing the permissions switching back upon reboot but that doesn't appear to be the problem.
i am currently trying to do software raid 1 on a running ubuntu 9.10 system with mdadm. I might have done something wrong and im trying to go back from the beginning. Does anyone know how to remove all the raid info from a harddisk and get it back to its original state.
When i click the green frog head, things dont behave as before. When i moved my mouse from the Favorites to Applications or to Computer/Recently Used/Leave tabs, the desktop enviroment would automatically switch, without me having to click them. Another thing is if i want leave the green frog toolbar i have to click somewhere withing the green frog head window to close that window. Before i was able to get out of it by clicking on any window out of it, like a firefox window. Also when i go to desktop setup , the only themes remaining are Oxygen and Aya.There were more before. Finally similar programs on the taskbar are grouped together which i don't like. how i could over these problems without having to reinstall the OS , preferably using the opensuse dvd.
I have managed to delete my default openSUSE 11.3 KDE 4 desktop. I also ended up with this seemingly unchangeable desktop set up. How do I restore the original openSUSE 11.3 KDE 4 desktop ?
They were controlled by BIOS for start-up without problem.Just wiped out Fedora and installed Ubuntu 9.10 64bit. During installing GRUB I saved it on Master, IIRC.Now Ubuntu and Vista startup are controlled by boot loader. I have to start Ubuntu first and on kernel selection select (loader)(on/dev/sdb1).Then Vista starts.It works.How can I restore to its original setup?Their booting is controlled by BIOS.
A few days ago I installed my first Linux product, which is Debian 6.0, and I installed the GRUB booting device on my main boot record, as it was suggested that it was a harmless step to take. Unfortunately, some quirk in my system made GRUB believe that I had XP when in fact I have Vista, so the options I have now are to boot Debian or to boot XP which is not on my computer. In other words, I have to get rid of GRUB now, but I'm realizing that he's not such an easy customer to kick out. I have moved my Linux installation to another drive, but the old GRUB always stays in place, and my Vista is stuck there frozen for eternity. So after considering all kinds of possibilities, I have come to the conclusion that the easiest way to restore my original boot record would probably be to find its backup copy that I assume the installation program made, and to copy it back into the right address at the beginning of the disk. I don't have the Vista recovery CD, so I really have to do this manually. So now my questions are these: did the installation program make a copy of the boot track, and if so, where did he put it and under what name, and finally, what command can I use from within the Debian terminal, which is now my only tool left, to copy the content of thesaid file into the first 512 bytes of the hard drive? I know that would be a simple matter for any serious geek, I guess I must be a little rusty. Anybody feel up to it?
When booting into my slack12 fluxbox desktop today my fonts were so small they were hard to read. The same is true if I use kde. I didn't change anything that I can think of. I tried running fc-cache but it didn't change anything. My xorg.conf hasnt changed. Interestingly, my xterm font didn't change size, but the konsole font is tiny like my other desktop fonts.
Today I installed starDict in my Fedora LiveUSB, after I reboot machine. The system backtrack the original one, and then I update the kernel, the system also backtrack.
Why LiveUSB have this function. Can you explain theory about LiveUSB.
I have a weird problem that after increasing the screen resolution from 1024x786 (4:3) to 1280x900 something (also 4:3) that both top and bottom panels have disappeared. I am not familiar with the keyboard shortcuts to much but managed to get a terminal running so I should be able to do some command line stuff but as I am not too familiar where to edit perhaps someone can give me some pointers.
I guess first step is to restore the resolution to the original. Anyone any ideas?
Short Description: I wanted to see what would happen if I upgraded from Kubuntu 8.04 (32bit) to Ubuntu 10.4 (64bit) by copying my home directory then restoring it after the upgrade. It almost worked sans a few interesting problems that I'm hoping might teach me a bit more about how Ubuntu works.
Detailed Description:
1. I copied my home directory to another hard disk.
2. I let the installation disk for Ubuntu 10.4 (64bit) reformat and overwrite the disk that contained Kubuntu 8.04 (32bit) and chose to maintain the partition and swap size for that disk.
3. Once I worked out some bugs in the hardware and got the OS up and running smoothly, I "merged" my home directory with the backup I had created in step one. (Merge was an option given to me when I was attempting to paste the files copied from the backup disk.)
4. It should also be noted that I was trying for a while last night to install TrueCrypt. In order to do that I had to check its "sig" file. The GUI for the gpg installation was complaining that I didn't have gtk+-2.0 installed so I installed gtk (I think it might have been 2.4 or whatever the most recent one was) from source without any errors. It got late so I gave up on attempting to install TrueCrypt any further.
The Results: This morning the computer seemed to boot faster than it had been before, but I was left without a functioning Theme manager. It will open, and I can click on all of its features, but nothing seems to do anything. For example: If I right click on the desktop and choose "Change Desktop Background" Then select "Get more themes online", nothing happens. Also if I select the "theme" tab, there are only two themes listed when there used to be about 9 by default.
Questions: 1.) Is there a way to restore the files that are important for correct system operation (possibly all the files starting with a dot ".*") in my home directory to there default state like they would have been from a fresh install, but without doing a fresh install and without loosing any of the documents or archives in my home file?
2.) Is this even the correct approach or might this cause more problems? For example, if your computer had this problem would you try and restore the home directory, or would you troubleshoot each problem as it arises one at a time until everything became stable?
3.) What could I do next to continue troubleshooting the theme manager?
I'll keep researching and trying to find some links that can help while I wait for your responses. If I find anything that helps I'll post the fix here.
i'm wondering if it's possible to restore the original image file that you have hidden data in with steghide. The basic Idea is you have a photo using gpg sign it and then embed the signature. then remove the signature at a later time and check it with the signature. I hope another "inverse" algorithm doesn't need to be written to undo the first (if a "inverse algorithm is possible). This assume you already have the pass phrase or that there is no pass phrase. I already know how to retrieve the original file just want to remove the hidden data from the Image and restore it's attributes.
I have managed to write a bash script that moves files to the recylce bin instead of being deleted. Then (with a bit of assistance) wrote another bash script that deletes the files from the recycle bin. Now I need to write one that will restore the files preferably to their original location? I am very new to linux and stuggling with where to even begin...any ideas? There seems to be some advice about creating a cloning tree, but I've never heard of them?
when i powered on my pc today i saw that windows manger, cursor and some other things have disappeared. My hard disk has problems with bad sectors, so i guess that could cause it. How can i restore previous state? I have xubuntu 11.04
I have a laptop with ATI mobility 2400, and ralink wireless, I have not very experience with linux, I have tried many live-cds, ubuntu, opensuse, gentoo, fedora and all crash if I don't boot with the aditional option "clocksource=jiffies", i'm thinking of trying fedora 11 x64 but my main concern is about my ATI mobility VGA, in windows i need to install modded driver as original catalyst are not compatible with my system.
are there any sweeper / cleaner apps which can take back my installation as to when it was new. I know home directory could have config files etc..but that doesnt matter, i want all packages and applications reset to how it was when i had a clean install. I am using Natty
Is there a way in SuSE 11.1 to have the conventional desktop, instead the plasma desktop? I thought that installing KDE 3.5 will fix it, but I was wrong. I really don't want to download back SuSE 11.0, just to have my old desktop layout. SuSE developers should at least leave it as an option than to force people to install it