This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Speed folders creating zero length files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 21, 2013
08:52 AM
Speed folders creating zero length files
I have 2 folders full of install scripts for Oracle. Both folders are very similar but different because one if for an x86 unix machine, and the other is for a sparc unix machine.
The folders are named unix_sparc, and unix_x86 appropriately.
Whichever folder is 2nd in the order of creating the speed folders from these directories ends up having most of its files set to zero length, and are emptied out. only 5 of the 23 files in the 2nd folder don't get emptied. The other 18 files get emptied out. They are there, just their contents are gone.
I have also noticed that the first folder to be created always has just one file emptied out.
this file is named create_spfile.sh
and the contents are a basic unix shell script.
as you can see, there is nothing special about these files that would indicate the files not being copied correctly.
does anyone have any ideas, or have ever seen this behavior?
The folders are named unix_sparc, and unix_x86 appropriately.
Whichever folder is 2nd in the order of creating the speed folders from these directories ends up having most of its files set to zero length, and are emptied out. only 5 of the 23 files in the 2nd folder don't get emptied. The other 18 files get emptied out. They are there, just their contents are gone.
I have also noticed that the first folder to be created always has just one file emptied out.
this file is named create_spfile.sh
and the contents are a basic unix shell script.
#!/bin/sh
ORACLE_BASE=_USER_INSTALL_DIR_
ORACLE_HOME=${ORACLE_BASE}/oracxd
SCRIPTS+DIR=${ORACLE_BASE}/scripts
/usr/bin/su - oracle -c "${ORACLE_HOME}/bin/sqlplus sys/change_on_install as sysdba @${SCRIPTS_DIR}/createPfile.sql
as you can see, there is nothing special about these files that would indicate the files not being copied correctly.
does anyone have any ideas, or have ever seen this behavior?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2013
08:04 AM
Would it be possible for you to post your project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 03, 2013
01:48 AM
You may have to replace $ with $DOLLAR$. for example ${ORACLE_BASE} as $DOLLAR${ORACLE_BASE}. This happens usually because IA treats anything between 2 $'s as a variable and replaces it with an empty string
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)