The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 02:05 PM
cpio - files > 2gb dnicky Shell Programming and Scripting 2 10-31-2006 09:57 AM
cpio kok UNIX for Dummies Questions & Answers 2 08-12-2004 08:57 AM
Help with cpio rooh UNIX for Dummies Questions & Answers 2 04-08-2003 06:41 PM
cpio wipro fluid power UNIX for Dummies Questions & Answers 2 06-18-2001 10:56 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-13-2006
soestx soestx is offline
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!
  #2 (permalink)  
Old 01-13-2006
linuxpenguin's Avatar
linuxpenguin linuxpenguin is offline Forum Advisor  
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
  #3 (permalink)  
Old 01-13-2006
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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.
  #4 (permalink)  
Old 01-13-2006
soestx soestx is offline
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!!
Closed Thread

Bookmarks

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0