12-16-2009
AIX cp error: "A file or directory in the path does not exist"
Hello fellow UNIX fans,
I'm running AIX 4.3 and getting an error message “cp: /a/file2.db: A file or directory in the path does not exist” when I run the following command:
cp /b/file.db /a/file2.db
It stops every time about 95% of the way through the copy process at 1,073,741,312 bits.
The destination directory has plenty of room and already exists. I'm on the root user. It does the same error message if I try to send it to a different directory.
Is there some sort of file size limitations in AIX 4.3? Could the file be corrupt? Are there any alternative commands that might work?
Thank you,
Jackson
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello. I am new to the unix environment. Currently, I am taking existing COBOL source code and attempting to compile and run on our new UNIX machine. I have succesfully compiled an object. When I try to run I get the follwing error:
0509-036 Cannot load program abeunix.o because of the... (16 Replies)
Discussion started by: jbrubaker
16 Replies
2. Red Hat
I am trying to install openmotif22-2.2.3-18.src.rpm,
after I typed in " rpm -i openmotif22-2.2.3-18.src.rpm"
the following message comes out:
warning: user owen does not exist - using root
warning: group owen does not exist - using root
I am install openmotif under root account.
Do... (2 Replies)
Discussion started by: fishwater00
2 Replies
3. AIX
Getting a strange error with a log file below. This is just a normal text log file that is written to by an application on the server. The applicaiton is down, however, I cannot read, remove or touch this file. The file shows on an ls listing but not an ls -al listing.
The file system is JFS2... (0 Replies)
Discussion started by: troym72
0 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I've been stuck with this for a few days now :wall:, so I'm hoping someone out there might be kind enough to help me.
I need to do a "file exist" check with a variable in the file name. After that I need to do a line count on the file, and output its results to a txt file.
For... (3 Replies)
Discussion started by: ronan1219
3 Replies
7. UNIX for Beginners Questions & Answers
Dear all,
I run a simple command:
grep -f GTEx_snps.txt chr1_r2.txt>chr1_r2_GTEx.txt
and got error: "chr1_r2_GTEx.txt: No such file or directory" while "chr1_r2_GTEx.txt is an non-existent file. I google searched some solutions and tried to add -s and --no-messages option
grep -s... (2 Replies)
Discussion started by: forevertl
2 Replies
8. Shell Programming and Scripting
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
10. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
efi_cp(1M) efi_cp(1M)
NAME
efi_cp - copy to or from EFI file
SYNOPSIS
devicefile] file1 file2
devicefile] file1 [file2]... dest-directory
devicefile] file_or_dir1 [file_or_dir2]... dest-directory
DESCRIPTION
copies files between HP-UX and EFI file systems.
The EFI file system is based on the FAT file system and used by the Itanium-based system BIOS to locate an HP-UX bootloader. See efi(4).
Without the option, copies from an HP-UX file system to the EFI volume specified by devicefile; in this case, the destination should be
relative to the root of the EFI volume specified by devicefile. Use the option to copy from an EFI file system to an HP-UX file system;
with the option, only a single regular file may be copied at a time.
With two arguments:
o If file2 does not exist, creates it and copies the contents of file1 into file2.
o If file2 exists and is a regular file, deletes the the contents of file2 and copies the contents of file1 into file2.
o If file2 exists and is a directory, creates a copy of file1 in that directory.
With more than two arguments, the final argument must be an existing directory. If any of the other arguments is a directory, you must use
the option, which specifies that the source directory and the subtree rooted there are to be copied to the destination directory.
Options
Options can be used singly or combined in any order before the file names. The space between option and argument is optional.
devicefile is the device special file of the EFI file system to be copied. Without the option, uses the device file specified in the
environment variable if it is defined. The option overrides the environment variable.
Recursively copy the subtree rooted at each source directory to
the destination directory.
Copy file1 from an EFI volume to file2 in HP-UX file system. file1 should be relative to the root of the EFI volume specified by
devicefile, not to an HP-UX file system. With the option, only a single regular file may be copied at a time.
RETURN VALUE
returns exit code 0 if the copy is successful. Otherwise it prints a diagnostic message and returns nonzero.
0 Successful completion.
>0 Error condition occurred.
EXAMPLES
All the following examples copy to or from the EFI file system on device
Copy into directory in the EFI file system on the specified device:
Copy all files in current directory into directory in the EFI file system on the specified device
Copy into directory in the EFI file system on the specified device and rename it
Copy into the EFI boot directory of the EFI file system on the specified device:
Copy into of the EFI file system on the device specified in the environment variable and rename it to
Copy from the EFI file system on the specified device into the current HP-UX directory:
Using a persistent device special file (dsf) copy from the EFI file system on the specified device into the current HP-UX directory (see
intro(7)):
AUTHOR
was developed by HP.
SEE ALSO
efi_fsinit(1M), efi_ls(1M), efi_mkdir(1M), efi_rm(1M), efi_rmdir(1M), efi(4), intro(7).
Itanium(R)-based Systems Only efi_cp(1M)