AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
"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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.