CentOS 5.4 (Final) is installed on my VPS.I'd uploaded a zip file that contains a directory and some files that there are space in their names and now I can't do anything with them.
I'm trying to execute the command: Uum Update Or other yum installation of samething After a while I obtain always messages saying: Insufficient space in download directory So I understood is a problem with space. I went to my shell and digited the command: df -h but it show there is plenty of space.
I also deleted a lot of space to make room, just to be sure, but nothing different happens. I'm attaching a screenshot to this post.
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')
I currently have a server with the default VolGroup00 that contains logical volumes for the root file system and swap using logical volumes LogVol00 (root) and LogVol01 (swap.) I need to take space from LogVol00 and move it to LogVol01. I have found documentation for increasing the swap, and the resizing the logical volumes. However in the documentation and the man pages it says that I have to reduce the size of teh file system on the logical volume I am going to shrink. I have found documentation resizing the logical volumes but not the file systems.
Im new in centos community and i just installed it.I installed it through the virtualbox and without X server so i im running only with console. I have problem with ssh keygen. When i generated a keygen i get two files: keygen and keygen.pub. Tutorials telling me that i have to rename keygen.pub to "authorized_keys" and copy it to /root/.ssh. But when im trying cd to /root/.ssh then i get the error: no such file or directory, even "whereis" don't know where is this folder.
I upgraded my php from 5.1.6 to 5.2.10 but at php -v I got a weird error, so I figured let's reinstall some things. This was the probably very dumb commando I used:
yum remove gcc-c++l zlib zlib-devel php*
Now I think my whole server is fxxxed because I get the following messages:
-bash: /usr/bin/yum: No such file or directory -bash: rpm: command not found -bash: ls: command not found
And the only thing I'm glad about is I still have an SSH connection open because creating a new connection isn't possible either. what should I do to repair this all.
I am running WHM and CPANEL on centos.I would like to upload a file to the root user directory. To be honest, my only experience uploading and downloading files with FTP has been with domain related accounts that were set up under WHM to be managed under CPANEL. This is quite simple, because all you do is set FileZilla or Dreamweaver up with the FTP address of the domain account and the username and password.How can I do something similar to FTP a file into the root or home directory?
I am using Centos 5.2, and I installed all of the available gnome and gnome development libraries available via the "add software" menu item. Still, when running some programs, I get the following error message:
"error while loading shared libraries: libzvt.so.2: cannot open shared object file: No such file or directory"
If I understood it correctly, libzvt.so.2 is part of some gnome libs... where to find and how to install them?
I am trying to add a command to my backup script to delete the oldest file in the destination folder before adding a new .tar.gz file.I found this information at .html which I thought would work fine and added the following line to my backup script:ls -t -r -l /backups/Scalix_Backup* | head --lines 1 | xargs rmHowever when I tried this I get an error:rm: invalid option -- wTry `rm --help' for more information
I'm having trouble applying a CSS file to my Apache directory listings. I am running Apache 2.2.3, and have the following lines in my httpd.conf file:IndexOptions FancyIndexing FoldersFirst IconsAreLinks IgnoreCase VersionSort NameWidth=* HTMLTable IndexStyleSheet "css/dir.css"
i'm using Centos 5.3 (2.6.27.10-grsec-xxxx-grs-ipv4-64 x86_64 kernel) and i got a problem with installing apf/configuring iptables. It seems that my kernel doesn't support Loadeble Kernel Modules. I'm receiving following message when catting /proc/modules: Quote: cat: /proc/modules: No such file or directory /sbin/modprobe -l FATAL: Could not load /lib/modules/2.6.27.10-grsec-xxxx-grs-ipv4-64/modules.dep: No such file or directory
i wanted to learn linux, so i just installed Centos on a thinkpad x200. my wireless will not work. when i try to activate it i get this error:
Determining IP information for wlan0...SIOCSIFFLAGS: No such file or directory SIOCSIFFLAGS: No such file or directory # lspci 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
I am attempting to install Xemacs-21.4.22 on Centos 5.4 and get the following error message when I attempt to... make install
.......... xlwmenu.c:39:28: error: X11/bitmaps/gray: No such file or directory xlwmenu.c: In function 'XlwMenuInitialize': xlwmenu.c:3015: error: 'gray_bits' undeclared (first use in this function) xlwmenu.c:3015: error: (Each undeclared identifier is reported only once xlwmenu.c:3015: error: for each function it appears in.) xlwmenu.c:3016: error: 'gray_width' undeclared (first use in this function) xlwmenu.c:3016: error: 'gray_height' undeclared (first use in this function) make[1]: *** [xlwmenu.o] Error 1
I understand that there are some X11 bitmaps not included in Centos 5.4 however I have no idea how to install them.
CentOS 5.3 has been running fairly good except for a slow ethernet connection so I thought I would upgrade to CentOS 5.4 to see if that improved things. I had previously changed fstab and menu.lst to use UUID instead of LABEL in order to insulate myself from partition label changes I wanted to make. This worked fine in CentOS 5.3. When I attempted to upgrade from 5.3 to 5.4 using the installation disk and telling it to upgrade rather than do a new install, the installation correctly found my root partition as /dev/sdb8. When I proceeded with the upgrade I received the error:
"Error mounting device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 as /. No such file or directory. This most likely means the partition has not been formatted."
But of course it has been formatted and is my / partition running CentOS 5.3 as I type. how to fix this to get CentOS 5.3 upgraded ? Di I have to use LABEL in fstab and menu.lst for my partitions,or perhaps just for my root partition ? Any other ideas why this is failing ?
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.
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?
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?
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;
I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.
problem installing phpMyAdmin on CentOS 5 I believe i did install phpMyAdmin Correctly I can even see it in the directory in usr/share/phpmyadmin I also setup the blowfish password and i also change the [auth] cookies to html. and i allow 127.0.0.1 to access it But when i type [URL] it replies no such file or directory. I even tried [URL]
how can I traverse a directory from Kernel space? I'm using the path_lookup function. However, through the inodes I get with this functions I can only access those files that have been displayed at some point by another process (doing ls from the terminal for example)
I have a Dell laptop which originally was strictly a Windows computer; with a LiveCD of PCLinuxOS, I partitioned the drive to make room for dual boot with Linux. Unfortunately, I gave the Root directory too much space, and Home not enough. Is it possible to move anything over to Root to give Home more room? I would get rid of Windows entirely, but for a couple of programs that have no Linux equivalent (at least that I've discovered so far).
I installed Ubuntu for a new server for a while (about one month long), then I logged in for configurations everyday. Today after I logged in system showed
Code: Usage of /: 93.8% of 35.76 GB so I used df -hl for query detail and system showed Code: Filesystem Size Used Avail Used% Mounted on /home/myuser/.Private 36G 34G 501M 99% /home/myuser
What happen with my server, Virus or not? Why that directory is so big? Is there necessary files? Can I resolve and how to do it?
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
I learned a little bit about this command (du) to find out how much space a directory takes up but what I want to know is can you tell it to exclude directories?For instance, I wanted to know how large the / directory is on my old suse10 drive but I want to exclude /home (/home was not a separate partition on that drive).
My machine telling me that my home directory is running out space,It is said 95% in usage.Try to delete the big unwanted files in users (just two user in my machine),df ing, but the home usage status keep on 95%.