LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2009, 04:56 AM   #1
nedzer
Member
 
Registered: Dec 2008
Posts: 44

Rep: Reputation: 15
copy error with file ref //


Hi,

I'm installing Business Objects on Red Hat Ent 5.0 (32 bit machine)

I can only partially install the application

The error in the log is

[error] Errcode 1: cp -r /home/o2mars/perl/* /home/o2mars//perl

so this is trying to copy recursively all files from the perl directory to a directory also called perl but down 2 levels in the hierarchy?

I don't get the '//' location reference. Can anyone explain it and how it's buggering up this install?

I think the work around is to manually copy over there files then retry the install.

Thanks for looking at the post.

Cheers,

Last edited by nedzer; 01-29-2009 at 05:00 AM.
 
Old 01-29-2009, 05:03 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Nope. A double slash in a path is ignored and treated as a single one. The error can be that it tries to copy all the files in perl... into perl itself. This is not possible in bash and indeed it is a non-sense. You have to investigate the reason why it put two slashes, anyway. Maybe it searches for a path or directory name stored in an environment variable and maybe that variable is undefined.

Suppose you have a command
Code:
cp -r /home/o2mars/perl/* /home/o2mars/$INSTALL_DIR/perl
if the environment variable INSTALL_DIR has not been previously assigned, the line of code above will be translated as the one reported by the error log. Just an idea.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File copy error from USB hard drive Jugney Linux - General 3 04-29-2008 06:55 AM
Server Messed up due to Glibc_Private error & Time ref. Hammad101 Linux - Server 0 02-23-2008 05:01 PM
Ref Email File rigel_kent Programming 0 09-13-2005 01:56 PM
file copy error zaman Linux - Software 2 10-27-2003 05:39 PM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 01:40 PM


All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration