понедельник, 25 апреля 2016 г.

./runInstaller: line 90: [: too many arguments

Issue

[oracle@oim Disk1]$ ./runInstaller
./runInstaller: line 90: [: too many arguments
head: cannot open `/home/oracle/Oracle' for reading: No such file or directory
head: cannot open `SOA' for reading: No such file or directory
head: cannot open `Suite' for reading: No such file or directory
head: cannot open `11.1.1.6.0/Disk1/stage/shiphomeproperties.xml' for reading: No such file or directory
head: cannot open `/home/oracle/Oracle' for reading: No such file or directory
head: cannot open `SOA' for reading: No such file or directory
head: cannot open `Suite' for reading: No such file or directory
head: cannot open `11.1.1.6.0/Disk1/stage/shiphomeproperties.xml' for reading: No such file or directory
./runInstaller: line 192: [: too many arguments
head: cannot open `/home/oracle/Oracle' for reading: No such file or directory
head: cannot open `SOA' for reading: No such file or directory
head: cannot open `Suite' for reading: No such file or directory
head: cannot open `11.1.1.6.0/Disk1/stage/disk.label' for reading: No such file or directory
ERROR: This version of the installer requires a operating system. Please download the appropriate installer for your operating system, or contact Oracle Support.

Solution:
Don't use spaces in install folder(/home/oracle/soa 11.1.1.6)