CentOS 5 :: Space In File And Directory Name?

Aug 24, 2011

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 can't move them using mv command

I can't rename them

I can only re-compress or delete the folder

how I can rename or move them?

View 5 Replies


ADVERTISEMENT

CentOS 5 :: Yum - Insufficient Space In Download Directory

Oct 15, 2010

I'm starting using Centos having a trouble.

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.

View 3 Replies View Related

Red Hat / Fedora :: Directory File Name With Space

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

CentOS 5 :: Need To Move Space From Root File System To Swap

Apr 7, 2009

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.

View 6 Replies View Related

CentOS 5 :: .ssh No Such File Or Directory

Aug 11, 2010

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.

View 1 Replies View Related

CentOS 5 :: -bash: /usr/bin/yum: No Such File Or Directory

Feb 8, 2011

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.

View 3 Replies View Related

General :: Secure FTP Of A File To The Root Directory On CentOS?

Nov 2, 2010

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?

View 1 Replies View Related

CentOS 5 :: Install Shared Library On 5.2 - Cannot Open Shared Object File: No Such File Or Directory

Feb 11, 2009

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?

View 5 Replies View Related

CentOS 5 :: Command To Delete The Oldest File In A Folder/directory?

Oct 13, 2009

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

View 7 Replies View Related

CentOS 5 Server :: Applying CSS File To Apache Directory Listings

Apr 8, 2011

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"

View 2 Replies View Related

CentOS 5 :: No Support For /proc/modules - No Such File Or Directory /sbin/modprobe -l?

May 19, 2009

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

View 4 Replies View Related

CentOS 5 Networking :: Determining IP Information For Wlan0...SIOCSIFFLAGS: No Such File Or Directory

Oct 18, 2009

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)

[code]....

View 5 Replies View Related

Fedora :: Installing Xemacs On Centos 5.4 - Error: X11/bitmaps/gray: No Such File Or Directory

Feb 2, 2010

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.

View 6 Replies View Related

Software :: Get First File Of Directory Then Copy To Other Directory Andd Rename The File?

Jan 30, 2011

I want to do the following.

1. have a directory full of subdirectory

2. Pick the first file from every sub and copy that to the main directory and also rename that file to the same name as the subdirectory's name

3. need to work in commandline best is a simple script.

View 4 Replies View Related

CentOS 5 :: Error Mounting Device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 As /. No Such File Or Directory

Dec 22, 2009

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 ?

View 1 Replies View Related

Fedora :: Using Cd Command Going To A Directory Which Has A Space In Its Name!

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

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 View Related

General :: 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 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

Programming :: Check Available Space On A Directory With C++?

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

CentOS 5 :: Install CentOS 5.2, And The Installation Ran Out Of Disk Space After Running For About 2 Hours?

Feb 18, 2010

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.

View 13 Replies View Related

CentOS 5 :: Setting Up PhpMyAdmin - Error "no Such File Or Directory"

Jul 7, 2010

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]

View 5 Replies View Related

CentOS 5 Server :: Amavisd Postfix Error : Connect To Transport Amavisd-new: No Such File Or Directory?

Feb 10, 2010

host postfix/qmgr[13020]: warning: connect to transport amavisd-new: No such file or directory

How can I fix this error? I have searched the inet but can't seem to find a solution.

View 3 Replies View Related

Red Hat / Fedora :: Create Directory With Allocated Space

Jul 5, 2011

I am looking to create the Directory with an allocated space of 10gb

View 3 Replies View Related

Ubuntu :: Traverse A Directory From Kernel Space?

Apr 24, 2010

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)

View 7 Replies View Related

General :: Running Out Of Space In Home Directory

Sep 30, 2010

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).

View 2 Replies View Related

Server :: Ubuntu Install - Space Going Less (Directory So Big)

Aug 16, 2010

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?

View 1 Replies View Related

Fedora Installation :: Preupgrade - Not Enough Space In Boot Directory

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

OpenSUSE :: Command (du) To Find Out How Much Space A Directory Takes Up?

Jul 10, 2010

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).

View 4 Replies View Related

OpenSUSE Install :: Home Directory Is Running Out Space

Mar 19, 2011

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%.

View 9 Replies View Related

Red Hat / Fedora :: Disk Space - Increase The The Size Of My Directory?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved