- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar: cannot stat
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2004 07:56 PM
тАО06-23-2004 07:56 PM
tar: cannot stat
there is a script which make a tar of two files into a directory and I get the error:
tar: cannot stat PDTSTOR*. Not dumped.
Command:
tar -cvf /Arrow/fifoqa.dmp -C /Arrow/.ASPF/PDT PD
TSTOR1 PDTSTORE &
compress -c /Arrow/fifoqa.dmp > /Arrow/qa.tar.Z
the scripts is scheduled by the 'root' crontab
-rw-rw-r-- 1 sesaprod business 364894720 Jun 24 08:01 /Arrow/.ASPF/PDT/PDTSTOR1
-rw-rw-r-- 1 sesaprod business 729143040 Jun 24 08:01 /Arrow/.ASPF/PDT/PDTSTORE
drwxr-xr-x 95 sesaprod business 4096 Jun 18 22:00 .ASPF
drwxrwxrwx 3 sesaprod business 184320 Jun 24 08:01 PDT
The permissions seem to be right, the file is not temporary, it is always present.
The file is continuing filled by a process.
Is there any explanation for this ?
thanks
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2004 08:12 PM
тАО06-23-2004 08:12 PM
Re: tar: cannot stat
#tar -cvf /Arrow/fifoqa.dmp -C /Arrow/.ASPF/PDT PD
TSTOR1 PDTSTORE &
-C option should point to a directory
-C option would just call chdir
Just use
#tar -cvf /Arrow/fifoqa.dmp -C /Arrow/.ASPF/PDT &
else
#tar -cvf /Arrow/fifoqa.dmp /Arrow/.ASPF/PDT/PD
TSTOR1 /Arrow/.ASPF/PDT/PDTSTORE
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2004 08:59 PM
тАО06-23-2004 08:59 PM
Re: tar: cannot stat
tar -cvf /Arrow/fifoqa.dmp -C /Arrow/.ASPF/PDT PDTSTOR1 PDTSTORE &
Check if the same is working manually without cron and confirm.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2004 09:42 PM
тАО06-23-2004 09:42 PM
Re: tar: cannot stat
tar -cvf /Arrow/fifoqa.dmp -C /Arrow/.ASPF/PDT PDTSTOR1 PDTSTORE &
compress -c /Arrow/fifoqa.dmp > /Arrow/qa2.tar.Z
above works without problem.
tar -cvf /Arrow/fifoqa.dmp /Arrow/.ASPF/PDT/PDTSTOR1 /Arrow/.ASPF/PDT/PDTSTORE &
compress -c /Arrow/fifoqa.dmp > /Arrow/qa.tar.Z
above works without issue
in both case I used a new job
So.. there should be something else
regards
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2004 09:54 PM
тАО06-23-2004 09:54 PM
Re: tar: cannot stat
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 02:03 AM
тАО06-25-2004 02:03 AM
Re: tar: cannot stat
problem fixed
tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 02:26 AM
тАО06-25-2004 02:26 AM
Re: tar: cannot stat
if your problem is solved then it is the right moment to assign points for guys that helped you! :-)
Also please explain what did you do to fix the problem, it can be useful for people that in future can have the same or similar problem.
Thanks for your collaboration!
No points for this my post.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 02:34 AM
тАО06-25-2004 02:34 AM
Re: tar: cannot stat
tar -cvf /Arrow/fifoqa.dmp -C /Arrow/.ASPF/PDT PDTSTOR*
When the * has been eliminated and than replaced by real file name the error has disappeard.
rgd
Angelo