LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 07-19-2005, 04:35 AM   #1
ntoughe
LQ Newbie
 
Registered: Oct 2004
Location: France
Distribution: Reddhat,Fedora 12,CentOS
Posts: 23

Rep: Reputation: 15
cpio error


Hi every body,

Does someone has an idea about this error message , that i met on AIX 4.3.3

cpio : 0511-025 Cannot get information about dbalpa/idx12_alpa.dbf.
cpio : 0511-025 Cannot get information about dbalpa/idx13_alpa.dbf.
5975530 block(s)
these messages are the result of the following loop


echo "\n\n\n data base files Compression $ORACLE_SID\n\n"

#for PARTITION in "$REPACOMP1 $REPACOMP2 $REPACOMP3"
#do
cd "$REPACOMP1"
if [ $? -ne 0 ]
then
echo "\n\nERROR_DETECTED during FS compression:$REPACOMP1 "
return
else
find . -print|cpio -omdcB|gzip >$REPDEST/base1${ORACLE_SID}.gz
if [ $? -ne 0 ]
then
echo "\n\nERROR_DETECTED during FScompression $REPACOMP1"
return
fi
VERIFFIC=$REPACOMP1
fi
find . -print|cpio -omdcB|gzip >$REPDEST/base1${ORACLE_SID}.gz
 
Old 07-21-2005, 09:31 AM   #2
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
"find . -print" created a list of files.
cpio tried to ar chive them.
cpio encountered an error with the file named dbalpa/idx12_alpa.dbf.
Have a look at that file : "ls -l dbalpa/idx12_alpa.dbf", and see if the guy who performs the cpio has permissions on that file (probably owned by oracle).
hth
Zorba
 
Old 07-27-2005, 04:54 AM   #3
ntoughe
LQ Newbie
 
Registered: Oct 2004
Location: France
Distribution: Reddhat,Fedora 12,CentOS
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for your response,
I effectively verified , before to post my help request , that the file performed had the rights permissions.

which are :
-rwxr-x--x 1 oracle dba 13114 11 jul 11:08 stop+expcomp.sh


and i get the same errors continuously!!




 
Old 07-27-2005, 06:48 AM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
and who is performing the cpio ? The same user named "oracle", while he is in the dba group ?
 
Old 07-27-2005, 08:30 AM   #5
ntoughe
LQ Newbie
 
Registered: Oct 2004
Location: France
Distribution: Reddhat,Fedora 12,CentOS
Posts: 23

Original Poster
Rep: Reputation: 15
yes, it's the user oracle who is performing the script via a crontab, as followed:

01 1 * * * su - oracle -c /home/oracle/tools/prepabase.sh >/dev/null


the above script call the first script i previously sent an excerpt.
 
Old 08-07-2005, 07:07 AM   #6
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Why don't you run the script from oracle's crontab? su-ing in cron is A Bad Idea. Also, why are you using $REPACOMP1 instead of $PARTITION in your loop? You're just doing the same thing in the loop three times instead of each of the arguments to the loop.
 
Old 11-03-2005, 04:41 PM   #7
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
wait wait!
what are the right and who is the owner of the files you want to save, dbalpa/idx12_alpa.dbf and dbalpa/idx13_alpa.dbf.
I encounter the same error because the owner of the file to be saved is nobody, and on the aix system "nobody" have a an ID > 65000, the cpio can't save the file.
 
Old 11-04-2005, 06:15 AM   #8
ntoughe
LQ Newbie
 
Registered: Oct 2004
Location: France
Distribution: Reddhat,Fedora 12,CentOS
Posts: 23

Original Poster
Rep: Reputation: 15
hi,
The owner is oracle
 
Old 11-05-2005, 07:22 AM   #9
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
a last idea : what is the size of the file ?
some cpio don't save file more than 2GB.
 
Old 12-31-2005, 11:19 AM   #10
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Why are you using the 'm' and 'd' flags? They're only useful when restoring from a cpio archive, not when creating one?
 
  


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
CPIO extract error ramnath Linux - Software 2 06-02-2011 10:22 AM
rpmbuild cpio read error winglin Linux - Software 1 08-25-2007 12:43 AM
Error with cpio: truncating inode number abefroman Linux - Software 2 08-30-2006 10:52 AM
Error while backing up to tape using cpio froggo Linux - Enterprise 3 09-29-2005 10:05 AM
How to use cpio to extract a cpio archive? linx win Debian 4 06-17-2005 01:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 07:26 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
Open Source Consulting | Domain Registration