How do I ensure that my home partition does not get deleted the next time I reinstall Ubuntu, as I can see there is a choice between formatting the whole drive and manually partition it, but if I reinstall won't I delete the home partition as well?
After moving a website folder on my local development machine to another drive, then moving it back, I got a 403 error. Most of this problem had probably to do with rights that got messed up. After deleting the code and restoring it from SVN, the rights seemed allright. The error stayed however.
The setup is a bit complex, as follows:
I have Ubuntu 10.4 as development machine, trying to mimic the server as much as possible We use Eclipse + SVN and I create all projects in a local folder under my user account In /var/www-vhosts I create folders for each vhost, like this one: test.localhost test.local/index.php: includes the index file of the project test.local/.htaccess is a dynamic link to the htaccess file in a project subfolder
I get the following error in the apache error log:
The problem seems to be the .htaccess file, or the link to it. When I empty the htaccess, nothing changes When I remove the link, the index-include produces some output (in the apache error log) When I remove the link and replace it with the actual file, I get another error:
Two month ago I accidentally deleted my home folder (yes, very stupid idea but it wasn't on purpose).
I managed to recover the home folder from /home/.Trash-0/tobias by copying it back to where it belongs and changing the file ownership from "root" to my user (tobias).
After this recovery I tried to delete /home/.Trash-0/tobias but it wouldn't work. Whenever I tried, a new folder appeared in /home/.Trash-0/ (root home) named tobias.2, tobias.2.2 and so on. (see first screenshot). This means I had two copies of my home folder on my hard disk (2 x 156.1 GB at that time).
At that time I didn't care since I had enough disk space left (33.8 GB, see second screenshot) and thought Ubuntu would take care of this some time by removing the files in /home/.Trash-0/.
Fast forward to today, I get warnings of low disk space. My home folder today is around 160 GB but together with the deleted one in /.Trash-0/ I only have 1.3 GB disk space left in my home folder.
Any ideas how to delete the unused second home folder copy? Or is there some other way to free the disk space occupied by .Trash-0/ ?
I accidentally cut and paste two folders into my flash disk. then i deleted the folders from my flash. How can I recover the folders? They are not in my PC trash.
I deleted my music folder suddenlyIt was empty so I am not worry about data losingbut after that recreate a folder with same name its default icon wont come backwhat should I do?I am aware that I can set icon manually but I am looking for a method that ubuntu recognize that by itself.
I'm new to Ubuntu (at least on server distributions). I used debian versions for a long time and thought, to try ubuntu LTS 10.0.4, because of the long time support cycle. I had problems, to install this distribution on a x86 platform (used with ASUS P4B533-v), because of kernel panic after installation. So I used a trick to get it running. I installed Ubuntu LTS 8.04 and compiled a kernel 2.6.34 and made a distupgrade. All went o.k. and is now running as a productive system.
My question now belongs to the used pid folder /var/run. I'm using some self compiled programs and had to create a separatly folder (e.g. /var/run/stunnel). My problem is, after rebooting the system, the folder is deleted automatically! Never saw this issue on other distributions. Is there any reason why? Of course, I can write a section in my init script, searching for existing folder and if not, creating it ...
I made the unfortunate mistake of doing this (sudo rm -r /bin) instead of (sudo rm -r bin) in the folder I was in..I'm trying to copy my data over from my Karmic system using mount, but I'm unable to mount. When I try to mount I get errors of an wrong fs type..
I've done fdisk -l & I get this: /dev/sda1 * 1 37599 302013936 83 Linux
What the heck filesystem is Linux? Is that like ext3 or something? I don't know. Here is what I'm trying to run: mount -t ??? /dev/sda1 /media/disk -o force
Also, besides that. If there a way I can fix my OS without having to do a reinstall? Or at least is there a way can backup my files? I have a 1tb external so that's not the issue.
Ubuntu 10.04. Also have Kubuntu desktop installed. Usually use Ubuntu. Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"
So, created the ~/Desktop folder. Changed the line in user-dirs.dir to read XDG_DESKTOP_DIR="$HOME/Desktop". Log out. Log back in. Result:
Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"
Logged into the KDE desktop. It complains that the ~/Desktop folder does not exist. Shows nothing on the desktop. Create the ~/Desktop folder. Set KDE to use the ~/Desktop folder. Check .config/user-dirs.dir and make sure that the Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/Desktop" line is in. Everything is set. Log out.
Log in to Ubuntu. Result: Home folder shows as the desktop. Checked settings for Nautilus, Home_folder_is_Desktop is NOT checked. ~/Desktop folder does not exist. .config/user-dirs.dir desktop line is set to XDG_DESKTOP_DIR="$HOME/"
This problem showed up on two computers after a clean install of Ubuntu 10.04 followed by an install of the Kubuntu desktop. Might as well install Kubuntu desktop because some of the utilities I like to use (Kate, Krusader, etc) require that major parts of it be installed anyway. What appears to be happening is that the user-dirs.dir folder is getting ignored and is overwritten either on logout or login and the ~/Desktop folder is being deleted.
By naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.
I lost my folder name "....hemanth" while moving the folder "....hemanth" to "Documents" using mv command in the terminal. As there is already a folder named Documents in that destination folder I lost folder. How to retrieve the folder as that folder is very important for me.
I am using Backtrack 4 Final, which is a Linux distro that is Ubuntu based. I had a directory that contained around 5 files. I deleted one of the files, which sent it to the trash. I then zipped the directory up (now containing 4 files), using this command:
zip -r directory.zip directory/
When I then unzipped directory.zip, the file I deleted was in there again. I couldn't believe this, so I zipped up the directory again, and the file reappeared again but this time could not be opened because the operating system said it didn't exist or something. I don't remember the exact error, and I cannot make this happen again. why a file that was deleted from a directory would reappear in that directory after it was zipped up?
I had been uploading pictures from camera to download fold. Had a lot in there. Thought right click delete would just delete the pictures. Deleted folder too.
There is some issue with the latest version of LinuxDC++ (version: 1.2.0~pre1~bzr Core version: 0.75). I have upgraded to the latest version a few days back from launchpad repos due to the frequent crashes and system hang-ups. My complete and incomplete downloads folder are same. While my download was going on, LinuxDC++ deleted all the files from the downloads folder.
After about half an hour of tweaking, I updated my database using updatedb, and found my files in ~/.dc++/Filelists/anantwqqwe.BMIU2NFCFXB7ERTSG62PRSQPRJIN63A56EEGO6Q . What does that supposed to mean and why its doing this way? This is the second time this has happened to me, the last time I was unable to locate the deleted files on my system and I suppose they were not there. I use 64-bit Ubuntu 10.10(maverick).
As the title states, I deleted my /boot folder on one of my F14 installations. I'll have to fix it later. I have F14 under VirtualBox on the same computer. I'd bet I can copy from there and be OK.
Somebody deleted a folder from /opt, now how I to know who did it? should I login to every user from root and check the history? or there is better and easy solution?
I'm just curious - why do all linux distros (all I've seen) run their periodic disk checks during boot? I mean, I understand that a disk should be checked now and then, but why does the system do it during boot, when I'm waiting for it to load, instead of checking them during shutdown, when (most probably) user doesn't need the computer anymore.
unclean shutdowns/reboots. Whenever I boot/restart, I notice the message "/dev/hdb1 (and hdb2) was not cleanly unmounted, check forced." Then fsck(?) scans them without errors, and everything continues normally. FWIW, hdb1 @ hdb2 are ext2, /boot & /tmp respectively, whereas all other partitions are ext3. Could that (ext2) be why? I checked halt, reboot, umountfs, umountnfs.sh, and umountroot in /etc/init.d, and nothing jumped out at me, though I'm not exactly sure what I'm looking at/for.
I have system that was cloned from another system hence the user was same in both computer. I changed the computer name - to TANU. Then I added another user - BANU. I gave admin rights to second user. Logged out the first user DON- who is now only the desktop user. Before deleting the account through users and groups - I deleted the folder DON from home folder. I restarted the comp. unable to login. I had created automatic login for both users. How to restore the folder DON while using root shell.
My /boot folder is deleted by an unwanted mistake. I'm using F14 x64. I have updated my OS and I also installed more than 2 GB packages and It is very difficult for me to re install Fedora. Is there any way to fix this problem with out re installing Fedora?
I'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.I typed:rm -rf /opt/local/bin mysql*instead ofrm -rf /opt/local/bin/mysql*This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folderIf I end up needing to reinstall everything in this folder, what is the best way to go about doing this?
I was playing with my linux machine for RHEL preparation. I dont know where i left it last time before going to leave . Now the system is up and I cant take risk to reboot the machine.
That make sense that it wasnt mounted properly in last bootup. but I am not sure.I have to recover it without reboot. Can any one help and sort it out?Please do let me know if you need more outputs.
I was trying to delete mysql server and client and accidentally I deleted the configuration folder /etc/mysql. Is there a way to recover this folder??? I thought that only reinstalling it would solve the issue, but it didn't.