Fedora :: No Space In Root Directory
Nov 25, 2010
I am using fedora 12. I got "no space in root directory" warning from the system. When I went through it, I found many of the space has been occupied by /var/log/httpd/error-log file. So I just deleted the file but when I check the space with "df -h" command. It shows 0% availability. The same problem occurred before but it solved when I restarted the system. But how to regain the space without restarting the system?
View 5 Replies
ADVERTISEMENT
Nov 25, 2010
I am using fedora 12. i got "no space in root directory" warning from the system..when i went through it, i found many of the space has been occupied by /var/log/httpd/error-log file. so i just deleted the file..but when i check the space with "df -h" command.it shows 0% availability..the same problem occured before...but it solved when i restarted the system..but how to regain the space wihtout restarting the system?
View 7 Replies
View Related
Aug 26, 2010
If I use cd command going to a directory which has a space in its name, such as I input cd Program Files to go to dirve_c/Program Files, it will show there isn't the Program Files directory.tell me which command I can use to go to this kind of directory.
View 6 Replies
View Related
Jun 12, 2010
I have an external 800GB USB drive I used for storage for both files from Win XP and Suse 9.0.I can read and write my data from Win XP o.k but when I try to write any files from Suse side it gave me 'read only file system' . This drive from Unix is mounted in /media directory with root owner with executable and read only. When I changed to become root and issue chmod 777 'FreeAgent Drive'.I got error chmod: changing permissions of 'FreeAgent Drive':Read only file system.
From unix, reading any file on this drive, using gui application, I can not access the drive at all but I can see all files on the drive using a command with quote (cd /media/'FreeAgent Drive')
View 7 Replies
View Related
Jan 31, 2010
Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.
Here is the output of df -h:
Code:
As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?
If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(
In case you're curious, here's my /etc/fstab:
Code:
View 14 Replies
View Related
Jul 5, 2011
I am looking to create the Directory with an allocated space of 10gb
View 3 Replies
View Related
Nov 13, 2009
My computer: (Lenovo T61 Thinkpad, running fc11 for about 2 and half months). Apparently I when I made my partitions I didn't leave quite enough room in my root directory, because I just completely ran out. Here is how my hard drive is partitioned:
1 physical volume group (sda)
4 logical volumes (home, root, swap, var)
The root had about 15 gigs on it, which just filled up. When I restarted to see if that would help, when it rebooted it went fine up to the log-in screen. Instead of the usual fedora blue background, it was black except for the log-in window, which looked very low-res. A little pop-up kept coming up saying the GNOME power configuration settings failed to load or something. When I logged in, the whole screen was black except for the mouse, and I could get no response. I have plenty of space left in home, so I rebooted to rescue mode using the first fedora installation disk, and tried the following command:
Code:
lvreduce -L90G /dev/mapper/DRIVE
which only returned:
Code:
lvreduce: relocation error: lvreduce: symbol dm_tree_node_size_changed, version Base not defined in file libdevmapper.so.1.02
So I couldn't reduce the size of home, and thus couldn't increase the size of root.
IN SUMMARY:
a) the lack of memory in root the probable cause for my computer not working
b) there a good way to reduce home and increase root while running this live disk
Note: When I am looking at it now in the logical volume manager, it says that on the whole physical volume there is only 400MB free. However, when I last looked (about 30 mins before I started having problems) it said there were about 100 Gb free.
Edit: Nevermind. I did some more research and it turned out to be more of a gnome power manager thing rather than a memory space thing, although I'm certainly going to increase my root memory now.
View 3 Replies
View Related
Nov 8, 2010
I'm trying to run preupgrade to upgrade to fedora 14 from fedora 12 and get a message saying there is not enough space in /boot/upgrade. I've found some instructions on how to make more room in the boot directory but I get an error near the last step as I have noted below:
Method 1: Free up space
First, try to remove any kernel packages not currently in use on your system. The kernel-prune.py script can be used to identify kernels that may be safely removed. If you choose to remove additional kernels, be prepared with installation media should you be unable to return to your previously installed system.
The installer will need approximately 26M of free space in /boot. Use the following command to determine the amount of free space in the /boot partition:
df -h /boot
To identify kernels that may be safely removed, run the following from a command line:
curl -O '[URL]'
chmod a+x kernel-prune.py
./kernel-prune.py
Now, to actually remove the kernel versions listed by the above command, run the following as root:
# PKGS=`./kernel-prune.py`
# echo $PKGS
# yum remove $PKGS
Next, adjust the number of reserved filesystem blocks using the command tune2fs. You'll first need to identify the block device for your /boot file system. In the example below, /dev/sda1 is the block device for the /boot filesystem.
# mount | grep "/boot"
/dev/sda1 on /boot type ext4 (rw)
I get this far and get the following Error:
[root@localhost ~]# mount | grep "/boot"
/dev/sda1 on /boot type ext3 (rw)
[root@localhost ~]# /dev/sda1 on /boot tupe ext3 (rw)
-bash: syntax error near unexpected token `('
[root@localhost ~]# mount | grep "/boot" /dev/sda1 on /boot/type ext3 (rw)
-bash: syntax error near unexpected token `('
[root@localhost ~]#
Now, adjust the number of reserved blocks for the /boot filesystem using the command tune2fs. Normally, a small amount of space on ext filesystem formatted partitions is 'reserved' and can only be used by the system administrator; this is to prevent an entirely full partition from rendering a system unbootable, and allow the administrator some space in which to work in order to clean up 'full' partitions. However, neither of this cases really applies to the /boot filesystem, so removing this reserved space is safe.
# tune2fs -r 0 /dev/sda1
View 1 Replies
View Related
Mar 16, 2010
After installing everything I neded to get on to the web with my server, I discovered that my www dir only has 20 gb.
How can I increase the the size of my directory?
View 6 Replies
View Related
Jun 29, 2011
So, I wan't completely paying attention to the default partitioning that Red Hat Enterprise 6 does.
I was setting up a base image for VMWare and the disk was 200GB, but for some reason the default is for about 40% to go to the root partition and then the rest of it to go to /home (this doesn't include the 2GB or so in swap).
Is there an easy way to recover the space under /home and expand the root partition? Assume there are no user accounts created.
View 1 Replies
View Related
Jul 22, 2010
So I transfered a few folders with videos in them to the public folder on an Ubuntu 10.04 laptop I have from my Ubuntu 10.04 64bit laptop. When I wanted to delete the folder I didn't have permission so I ran "gksudo nautilus" so I could delete it as root. So I deleted the folder but I did not get the space back!
I went to /.local/Shared/Trash and one of the folders I deleted was there but deleting it didn't get that space back either.
I did some searching but most of what I find doesn't help or tells me to look in the folder /.local/Shared/Trash folder but that didn't help any.
View 3 Replies
View Related
Sep 21, 2010
Tell me how I can I login as root?I want to get root privileges in www directory because I have a web server and I want to put there my site and I can not do that
View 6 Replies
View Related
Dec 25, 2010
Yesterday I installed Fedora 14 on my computer. I was able to log in as root on a terminal fine until this morning. Now when I log in I get this:
Code:
[Silverback@Vanessa ~]$ su -
Password:
su: warning: cannot change directory to /root: No such file or directory
-bash-4.1#
I haven't deleted any files, so I have no idea how to fix this.
View 4 Replies
View Related
Feb 8, 2010
I deleted a bunch of things with root (old home folders) but now I can't empty the trash....where is the directory that the root trash goes to? I'll do a terminal delete from there but I can't seem to find it.
View 8 Replies
View Related
Jul 30, 2009
I am trying to get apache to start at boot in Fedora 10 but I am getting "Document root must be a directory", I tried to change the Selinux settings with:
chcon -R -h -t httpd_sys_content_t /www
I checked the new settings with ls -aZ and the changes apear to be fine.
apache apache unconfined_u:object_r:httpd_sys_content_t:s0
But I still get the same message on my boot.log file.
View 9 Replies
View Related
Aug 27, 2009
I did a fresh fedora install and have overwritten the root user directory ( /root) with a backup of a previous install. Now I cannot log on through the login screen with the root user password. I can login su - as root on the command line with the password OK.
View 1 Replies
View Related
Aug 23, 2010
Im logged in as root in Fedora, What is the home directory pathname?
View 2 Replies
View Related
Nov 17, 2008
I have configured apache on my Centos 5.2 and it is working well. I want to have a sym link of my docs directory in /root/ in the apache root directory. I used ln -s command to create this sym link. But when I tried to access this I get the following error:
You don't have permission to access /docs on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
How can I access this directory in apache. i use apache 2.0.63.
View 1 Replies
View Related
Jun 12, 2011
why i m unable to edit the files under root directory of apache ?and how to fix that plz tell me ?
View 3 Replies
View Related
Jul 20, 2010
Why do I always need to write "su" then my password to extract or copy any file in fedora 11. How to configure so that I always be in my root directory.
View 3 Replies
View Related
Oct 26, 2010
I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.
View 9 Replies
View Related
Apr 12, 2010
I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.
View 1 Replies
View Related
Feb 4, 2010
Making a script. This is for my linux class. Basically when you run it, whatever directory it is in, zips everything, backs it up to the folder its in, and also makes a copy of it in the root directory. Here is what I have, but its not running right.
Code:
#!/bin/bash
echo
echo
echo "Automate Backups"
echo -n "Would you like to backup? Y or N:"
read answer1
if [$answer1 = "y"]
then
if [$USER = "root"]
then
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` /"$USER"/*
cp "$USER"_backup.tar.gz.`date +%F` /backups/"$USER"_backup.tar.gz.`date +%F`
echo "Successful Backup"
fi
echo
tar -cPvzf "$USER"_backup.tar.gz.`date +%F` ~/"$USER"/*
cp "root"_backup.tar.gz.`date +%F` /backups/"$root"_backup.tar.gz.`date +%F`
echo "Successful Backup"
View 14 Replies
View Related
Feb 1, 2011
1. yum install vsftpd
2. service vsftpd start [ok]
3. nmap from outside verifies tcp 21 is open for business
4. ftp myipaddress.com results in login failed for user root.
I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?
View 2 Replies
View Related
Jul 19, 2011
Cannot seem to set a home root directory and connect as a local account to the FTP Service over SSL. Anonymous works perfectly fine.
View 1 Replies
View Related
Mar 8, 2011
I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.
So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.
Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..
View 2 Replies
View Related
Dec 4, 2008
I have been installing Fedora 8 Linux with already having Windows Xp as my primary OS....
I have a total of 80GB Hard disk.Out of 80 GB,I have freed 8GB for Linux.But during Installation after "selecting language for keyboard" and then choosing "Create Custom Layout", while giving partitions I have alotted 4GB for '/' and 2GB for Swap.
Initially space was created for root(/)...but it is unable to create space for swap and all other boot,home etc...
It is showing the error msg as "Could not create partition as there is no space left for /(root)"...
View 4 Replies
View Related
Jan 25, 2011
I'm running out of space in wubi. Online wubi help didn't help much since they suggest creating extra virtual disk space(similar to having a diffrent partition i guess) .None of them speak about increasing the size of /root disk space(or root.disk). I store all files in space shared with windows or external disk and use ubuntu only to install and use softwares and browsing. So how do increase the available space for installing more softwares?
View 3 Replies
View Related
Jan 25, 2010
I messed up the first installation of Fedora on my server. My setup is as follows: Fedora and Gnome - NFS system, No dual boot (Windows or anything) Fedora ISO DVD downloaded No kickstart or other tools. how to set this up, from the time I insert the disk and have it boot up (configged already to boot from it). I know how to wipe it clean at intall time. Is that the root directory? And, is /boot the actual boot directory? I'm just having a hard time uderstanding that. As I said, I just want a quick itemized list, step 1, step 2, etc, from partitioning, creating file system, mounting, etc. in the right order.
View 4 Replies
View Related
Sep 23, 2010
i'm using c++ and Ubuntu and I need to write/copy some files to a directory chosen by the user of my system (the user can save it on any folder of any disk of the pc or other usb device). Before I do it, I need to know if there's space available on the disk. I cannot only check the result of write() function, the validation must be executed before I start to save or copy.
I was trying to use statvsf structure, but I only have the complete filepath (/home/lobinho/myDocs/), not the disk path. The statvfs() function only works with disk path (i.e. /media/KINGSTON ).
The source of my function:
Code:
int MyClass::availableSpace(string dst, ulong* availableSize) {
int result = ERROR;
try {
struct statvfs devData;
[Code]...
View 4 Replies
View Related