Hi,

On Dec 2, 2007, at 9:05 PM, Robert C Wittig wrote:

> Mike Brandonisio wrote:
>> Hi,
>>
>> I have a centos server with some files that are missing. When I SSH
>> in and list the folder the files names are displayed with red text on
>> a black background. I have the files to replace them. I cannot do
>> anything with the files that are in the original location. When I try
>> to replace the missing files I get an error.
>>
>> [EMAIL PROTECTED] [/usr/share/man/man8]# cp /root/missing_files/mount.cifs.
>> 8.gz /usr/share/man/man8/
>> cp: cannot create regular file `/usr/share/man/man8/mount.cifs.8.gz':
>> No such file or directory
>>
>> when I try to remove the missing files first I get an error:
>>
>> [EMAIL PROTECTED] [/usr/share/man/man8]# rm mount.cifs.8.gz
>> rm: cannot lstat `mount.cifs.8.gz': No such file or directory
>>
>> Yet when you list the folder the file name is listed red text on a
>> black background.
>>
>> Does anyone know how to address this?
>>
>
> This does not make any sense.
>
> How does one 'remove' missing files?
>
> If the files are missing, then they are not there to be removed, and
> will not appear in any listing.
>
> Some terminals have colour coding to indicate things like directories,
> executables, etc.
>
> Try listing with this command:
>
> $ ls -al
>
> The -al will list all files, and give you the long versions of each
> file, so you will be able to see if you are looking at a directory, an
> executable, etc., who owns the files, and what permissions the  
> files have.
>
> Also, you say that you are ssh'd in from a remote computer, and you
> 'have the files to replace them'.
>
> Where are the replacement files... on the Centos server, in some other
> directory than the one you want to move them to... or are the
> replacement files on your remote computer, with you.
>
> If the latter, then you have to use ftp or sftp to move the
> replacement files to the Centos server first, and then log in via SSH,
>   to do whatever else needs doing, like perhaps uncompressing the
> g-zipped files, changing the owner, and permissions on the files, etc.
>
>

Yes, id does not make any sense. When I ls -al the fodler is shows  
the permissions and files size as questions marks. Any command I can  
think to run against these files i.e. unlink, cp, mv, rm ... give me  
an error  'No such file or directory'.

I'll open a ticket with the data center. If they have an answer, I'll  
post it back here.

Sincerely,
Mike
-- 
Mike Brandonisio                 *    IT Planning & Support
Tech One Illustration            *    Database Applications
tel (630) 759-9283               *    e-Commerce
[EMAIL PROTECTED]  *    www.techoneillustration.com


To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to