The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cpio versus cp fredao UNIX for Advanced & Expert Users 1 09-17-2007 11:05 AM
cpio - files > 2gb dnicky Shell Programming and Scripting 2 10-31-2006 06:57 AM
cpio kok UNIX for Dummies Questions & Answers 2 08-12-2004 05:57 AM
Help with cpio rooh UNIX for Dummies Questions & Answers 2 04-08-2003 03:41 PM
cpio wipro fluid power UNIX for Dummies Questions & Answers 2 06-18-2001 07:56 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-13-2006
Registered User
 

Join Date: Apr 2005
Posts: 7
Please help with cpio on HP-UX

Hello all ...

I am an Oracle DBA that got stuck in a HP-UX SA role and need some help figuring out a UNIX problem. According to Oracle documentation, I am to issue the following command ...

cpio -idcmv <file_name>

However when I do, the server just hangs there and does nothing til I CTRL-C several hours later.

This is a new server, that a consultant came in and set up ... but is long gone now.

Any help on what to look for or to check on is greatly appreciated.

Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 01-13-2006
linuxpenguin's Avatar
Registered User
 

Join Date: May 2002
Location: India
Posts: 295
hmm, cpio basically does a archive copy to tape. Do you have a tape device attached to the server ?

check the man page of cpio to see what it does, then you may get a fair idea why it is hanging, rather waiting for something
__________________
War doesnt determine who is right, it determines who is left
Reply With Quote
  #3  
Old 01-13-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Take a real close look at that documentation. It must say something like:
cpio -idcmv <file_name

Let's say that your file is named george.cpio. You would use:
cpio -idcmv < george.cpio

That < is not an optional character. It must be present. I like to leave a space on either side of it. It works up tight against the filename too.
Reply With Quote
  #4  
Old 01-13-2006
Registered User
 

Join Date: Apr 2005
Posts: 7
The < fixed the problem. Thought it was part of the file name variable.

Thanks for all the help!!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0