Oracle cpio extract
I have downloaded oracle 10g AS which is a .cpio file
I am unable to extract it
$ cpio -i soa_linux_x86_10310_disk1.cpio
it just hangs...
If i try to double click it ,it says can't open for display.
What should i do?
cpio does not take a filename as command line parameter. It reads from STDIN. Redirect STDIN to the filename.
e.g. cpio -ivdm <filename.
Similar Messages
-
Hi,
Please help me in finding downloads for
1. Oracle pure Extract, and
2. Oracle pure Integrate.
Does these two come along with warehouse builder. confirm it?
Advance thanks,
swathi
nullBoth the products are now integrated with OWB in its new
version, owb3i. -
Oracle/cpio -idmv not working on a T2000
Hi, I downloaded Oracle 10g for Sparc and I want to install it on my T2000. I gunzip'ed the file as per the instructions and now I'm trying to run "cpio -idmv filename.cpio" and it doesn't seem to be doing anything. It's been just sitting there for the past 20mins. What am I doing wrong?
Thanks!Neve mind, I'm an idiot. I was missing the "<" in "cpio -idmv < filename"
-
Installing ECC6 EHP4 ready - Oracle Client extraction
Hi,
I am installing an ECC6 EHP4 ready system.
Our server has multuple systems running on the server with Oracle Database and oracle client is already available.
During instalation, sapinst always tries to extract Oracle client and we dont want this, so we always rename the OCL10264.SAR file to OCL10264.SAR.OLD or something like that and the sapinst step fails.
Then we just modify the keydb.xml file and make the step - OK.
I dont see this option now with ECC6+EHP4 installation.
The Keydb.xml looks different too.
Does anyone know how I can ignore this step and continue with this new release?
Even though I see a lot of improvements in SAPINST with the new release, it would be bad if this step or any other step cannot be ignored anymore.
Please suggest
SuhailProblem solved....during the initial stages of the installation while it gathers all information, it checks and makes sure that the client software is available but doesnt extract it....i made it available and the installation went ahead....it extract it later before the database installation and at that time I removed it and when the installation failed, I was able to modify the keydb.xml file.
Regards
Cyrus -
Oracle SQL - Extracting clob value from XML with repeating nodes
Hi All,
I am attempting to run SQL on a table (called test_xml with a column xml_data [data type xmltype]). The column contains xml with repeating nodes (description). The following statement runs successfully when the node contains data of a non clob size:
SELECT
extractvalue (Value (wl), '*/description')
FROM test_xml
, TABLE (xmlsequence (extract (xml_data, '*/record'))) wl
but fails when description node contains a lot of data:
ORA-01706: user function result value was too large
I amended my query:
SELECT
extractvalue(Value (wl), '*/description').getClobVal()
FROM test_xml
, TABLE (xmlsequence (extract (xml_data, '*/record'))) wl
but this fails with:
ORA-22806: not an object or REF
Thanks in AdvanceHi Greg,
11.2.0.2.0 (Although I will need to do this on my work instance also which is 10.2.0.4)That's gonna be a problem...
Direct CLOB projection is supported starting with 11.2.0.2, using XMLTable or XMLCast/XQuery functions (extractvalue, extract, xmlsequence are deprecated now) :
SELECT x.*
FROM test_xml t
, XMLTable(
'/*/record'
passing t.xml_data
columns
description clob path 'description'
) x
;On prior versions, implicit conversions will occur to VARCHAR2 datatype, hence the limitation observed.
AFAIK you have two options on 10.2.0.4 :
1) Using Object-Relational storage, with the xdb:SQLType="CLOB" annotation.
2) Using the following trick :
SELECT dbms_xmlgen.convert(x.description.getClobVal(), 1) as description
FROM test_xml t
, XMLTable(
'/*/record'
passing t.xml_data
columns
description xmltype path 'description/text()'
) x
; -
[ORACLE 10G] Extract Long Raw data to disc
Hi All,
I want to extract a column which contain long raw data (pdf file) into files on my disque, but i don't know how to do it in SQL or PL/SQL, any help ???Or maybe just an alter table statement will do it for you...
SQL> create table xx (x long raw);
Table created.
SQL> desc xx;
Name Null? Type
X LONG RAW
SQL> alter table xx modify (x blob);
Table altered.
SQL> desc xx;
Name Null? Type
X BLOB
SQL>I've not really used LONG RAW's before but apparently (according to sources on the net) the simlple alter table statement above will do the job. -
Oracle UCM - Extract IPTC data from images
Good Day,
I'm hoping that someone might be able to point me in the right direction. I'm trying to extract IPTC data from images originating in lightroom and map that data into custom metadata fields on check in. I've installed content categorizer but it doesn't seem to grab the IPTC data. I sure hope someone out there will be able to lend me a hand.
Many thanks in advance.
ShawnHaving '@' and '*' characters in the data will not make any difference if you are using a combined column separator of '|@|' - provided any process you use subsequently can handle it.
However, the recsepchar parameter appears to be restricted to a single character which is repeated right across the page, so I don't think you could have a single iteration of '|*|' using this method:
SQL> set newpage 0 space 0 pagesize 0 feed off head off trimspool on
SQL> set recsep EACH
SQL> set recsepchar '*'
SQL> set colsep '|@|'
SQL> select * from testa;
A |@|1@ |@|22-JUN-2010
B |@|2* |@|22-JUN-2010
B |@|2* |@|22-JUN-2010
********************************************************************************Edited by: LindaA on 23-Jun-2010 08:33 -
Oracle Gldengate Extract Issue
Hi All:
can we ignore perticulare database replicated data from extract process.
exp: A database having two replicate one from B and one from C databases, which replicate data from B and C database server. i want extract process on A database which ignores those data, which comes from B database (through replicat). please help me out. i am using OGG 11.1.1.0 version
is there any way to do this thing.
Regards,
AbhishekNo, I meant what I posted: filter out/ignore based on the source database.
Some examples:
DBUSERID = @GETENV ("ORAENVIRONMENT","DBLOGINUSER")
TK-OSUSER = @GETENV ("GGENVIRONMENT" , "OSUSERNAME"),
TK-GROUP = @GETENV ("GGENVIRONMENT" , "GROUPNAME")
TK-HOST = @GETENV ("GGENVIRONMENT" , "HOSTNAME")
See page 406 in the 11.1.1. reference guide
Not sure what you mean by "Can we create two GOLDENGATE DDL REPLICATION user's in a 1 schema of 1 database." If you have two replicat processes, you can have each process logging on as a different user, but you still have the issue of ignoring operations by those users back on the source when the changes get replicated there. -
Oracle datapump extracting ddl for create user
Hi All, I do have 11gr1 database on linux. I do have the full expdp dump of the source database I just need to extract the sql ddl for all the users(mroe than 10000) . . how can i extract ddl for create user statement from this dump file.
user9074365 wrote:
Hi All, I do have 11gr1 database on linux. I do have the full expdp dump of the source database I just need to extract the sql ddl for all the users(mroe than 10000) . . how can i extract ddl for create user statement from this dump file.impdp help=yes
your desired option is listed -
Oracle 9.0.1 Linux Intel images on OTN corrupt
The oracle 9.0.1 Linux Intel images I downloaded
from Oracle technology network are corrupt. Disk1 and
Disk2 images are bad for Linux Intel. A gunzip -df
to decompress the image fails i.e
gunzip -df Linux9i_Disk1.cpio.gz
gunzip: Linux9i_Disk1.cpio.gz: unexpected end of file
gunzip -df Linux9i_Disk2.cpio.gz
gunzip: Linux9i_Disk2.cpio.gz: unexpected end of file
The other alternative i.e a cpio extract on Disk2 is also suspect.
cpio -imdv < Linux9i_Disk2.cpio.gz
cpio: warning: skipped 40 bytes of junk
cpio: premature end of file
Disk3 for Oracle 901 Linux Intel on OTN is good.
Disk1 and Disk2 images for Oracle 9.0.1 on Linux Intel
may have to be updated on the Oracle technology network.
Any other suggestions or tips are welcome.
Thanks
Mala Krishnamurthy
Ascential Softwaredid you check the filesize of your downloaded copy ?
-
Oracle 9.0.1 Linux Intel images corrupt
The oracle 9.0.1 Linux Intel images I downloaded
from Oracle technology network are corrupt. Disk1 and
Disk2 images are bad for Linux Intel. A gunzip -df
to decompress the image fails i.e
gunzip -df Linux9i_Disk1.cpio.gz
gunzip: Linux9i_Disk1.cpio.gz: unexpected end of file
gunzip -df Linux9i_Disk2.cpio.gz
gunzip: Linux9i_Disk2.cpio.gz: unexpected end of file
The other alternative i.e a cpio extract on Disk2 is also suspect.
cpio -imdv < Linux9i_Disk2.cpio.gz
cpio: warning: skipped 40 bytes of junk
cpio: premature end of file
Disk1 and Disk2 images for Oracle 9.0.1 on Linux Intel
may have to be updated on the Oracle technology network.
Any other suggestions or tips are welcome.
Thanks
Mala Krishnamurthy
Ascential Softwaredid you check the filesize of your downloaded copy ?
-
Oracle 9.0.1 Linux Intel Images on Downloads corrupt
The Oracle 9.0.1 Enterprise DataBase software for Linux Intel downloadable version on the Oracle Technology Network has 2 of the Disk images currently corrupt.
After downloading all the 3 Oracle 9.0.1 Database CD images in binary for Linux Intel from the Oracle Technology network, Disk1 and Disk2 images were found to be bad.
Disk 1 and Disk2 images could not be decompressed using gunzip or cpio. The following errors occur on linux
Disk1:
gunzip -df Linux9i_Disk1.cpio.gz
gunzip: Linux9i_Disk1.cpio.gz: unexpected end of file
Disk2:
gunzip -df Linux9i_Disk2.cpio.gz
gunzip: Linux9i_Disk2.cpio.gz: unexpected end of file
Cpio extraction is also suspect:
cpio -imdv < Linux9i_Disk2.cpio.gz
cpio: warning: skipped 40 bytes of junk
cpio: premature end of file
I have put in a request for support on Metalink and posted
a note on this on the Database-general and Installation,
Technology Linux and the OTN Member feedback Forums. But have got no feedback on this so far. Oracle Support have
recommended putting a note on the OTN forums as they have
no means of validating the Oracle 901 Linux images on OTN.
If the Oracle 901 Linux images could be checked and feedback provided, that would help.
Thanks
MalaYes. The filesizes of the Oracle 901 Intel images
on OTN match with what I downloaded in binary mode.
I found a reference in one of the DBMS forums on OTN
which suggested using the download tool from Getright.
Using the getright tool and the direct url link path
reference I downloaded the oracle 901 Linux images again
from OTN. This time I was able to run gunzip and
cpio -imdv successfully on all the 3 oracle 901 Linux
images without any isssues.
Mala -
Oracle 9.0.1 Linux Intel Enterprise version images corrupt on Downloads
The Oracle 9.0.1 Enterprise DataBase software for Linux Intel downloadable version on the Oracle Technology Network has 2 of the Disk images currently corrupt.
After downloading all the 3 Oracle 9.0.1 Database CD images for Linux Intel from the Oracle Technology network in binary mode, Disk1 and Disk2 images were found to be bad.
Disk 1 and Disk2 images could not be decompressed using gunzip or cpio. The following errors occur on linux
Disk1:
gunzip -df Linux9i_Disk1.cpio.gz
gunzip: Linux9i_Disk1.cpio.gz: unexpected end of file
Disk2:
gunzip -df Linux9i_Disk2.cpio.gz
gunzip: Linux9i_Disk2.cpio.gz: unexpected end of file
Cpio extraction is also suspect:
cpio -imdv < Linux9i_Disk2.cpio.gz
cpio: warning: skipped 40 bytes of junk
cpio: premature end of file
If the Oracle 901 Linux Intel Disk1 and Disk2 images
on OTN could be checked, it would help. I have put a
support request on Metalink, posted notes on the Database
general and Installation forums and the Technology Linux forum. But have got no feedback so far. Oracle Support
have recommended putting a note on this on OTN forums
as they have no means of vaildating the images on OTN.
Any feedback on these Oracle 901 Linux images will be appreciated.
Thanks
MalaYes. The filesizes of the Oracle 901 Intel images
on OTN match with what I downloaded in binary mode.
I found a reference in one of the DBMS forums on OTN
which suggested using the download tool from Getright.
Using the getright tool and the direct url link path
reference I downloaded the oracle 901 Linux images again
from OTN. This time I was able to run gunzip and
cpio -imdv successfully on all the 3 oracle 901 Linux
images without any issues.
Mala -
Ms access and ms excel to oracle
Hi,
The client has some excel files and ms access.i don't have proper idea about that.
1,how to convert from these to oracle using oracle migration workbench
or
covert the migration by plsql procedures?
2,which method is best method
extract the data from msaccess or ms excel and put into flat file then load into oracle.
or
extract the data from msaccess or ms excel and put into staging table then load into oracle.
Edited by: user3266490 on Mar 12, 2010 11:17 AM2,which method is best method
extract the data from msaccess or ms excel and put into flat file then load into oracle.
or
extract the data from msaccess or ms excel and put into staging table then load into oracle.NO
Both Excel & MSAccess can directly interface to Oracle via ODBC -
Oracle 10g Linux - Bad files on otn
Am I the only one that is having problems here...
I have tried downloading 10g over the past couple of days, multiple times. Each time, the files come in without issue but trying to unpack them with cpio (after un-gzipping them) gives me errors - every single time...
I've tried it from multiple computers on my network and have gotten the same results every time. I therefore have to believe that the archive files on OTN are borked.
root@raid:/data/isoimages/oracle# gunzip ship.ccd.cpio.gz
root@raid:/data/isoimages/oracle# gunzip ship.client.cpio.gz
root@raid:/data/isoimages/oracle# gunzip ship.crs.cpio.gz
root@raid:/data/isoimages/oracle# gunzip ship.db.cpio.gz
root@raid:/data/isoimages/oracle# cpio -idcmv <ship.db.cpio
cpio: warning: skipped 626773658 bytes of junk
cpio: Memory exhausted
root@raid:/data/isoimages/oracle# cpio -idcmv <ship.crs.cpio
cpio: premature end of file
root@raid:/data/isoimages/oracle# cpio -idcmv <ship.client.cpio
cpio: premature end of file
root@raid:/data/isoimages/oracle# ls -l
-rw-r--r-- 1 root root 515401728 Feb 27 17:57 ship.ccd.cpio
-rw-r--r-- 1 root root 413750784 Feb 27 17:54 ship.client.cpio
-rw-r--r-- 1 root root 125487104 Feb 28 03:19 ship.crs.cpio
-rw-r--r-- 1 root root 637000704 Feb 27 18:02 ship.db.cpio
Is there anyplace where standard ISO images are available instead of this non-standard cpio stuff?That worked. Someone should ask Oracle to update the instruction page to remove the -c option from the cpio command line!
Thanks!
Maybe you are looking for
-
When I go to system preferences then mail, contacts & calendars; I have an option to add different accounts. I click on Yahoo! add my Yahoo! ID and Password and I get this error: A connection error occurred. Does anybody know why this is happening, a
-
WHT type Invoice or payment option usage
hai, i have created WHT type against invoice and payment. According to the IT rule at the time of accounting or payment whichever is earlier. So we assigned two types in customer master. If i make advance payment to vendor WHT is automatically caclul
-
Hello, does anyone know why my iCloud page on the web only shows the apps that came with my iPad and does not show any of the apps i have bought please?
-
Flashing '?' folder icon during boot up
This problem is mostly a minor annoyance. The Mac eventually boots up. When booting up, a folder displaying a '?' is displayed. This icon is then replaced with a folder displaying what looks like Mac OS classic. The icons swap back and forth a few ti
-
Deploy jsr168 portlet in weblogic
Hi, I'm developing a jsr168 portlet that I would like to be able to deploy in the Weblogic Portal (among others). The problem is, after much searching, that I can't figure out how to do it. In Websphere I just deploy the .war file through the portal