This is a discussion on Unable to install Oracle 9i on solaris 9 within the Oracle Database forums, part of the Database Server Software category; --> Hi! I am trying to install 64bit Oracle 9i DB server on a 64bit solaris 9 box. The universal ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi! I am trying to install 64bit Oracle 9i DB server on a 64bit solaris 9 box. The universal installer goes through till about 85% (in the Link phase) and then chokes with a target ioracle failing. I looked through the log files, and noticed that there were some ld's that were failing with this message: ld: fatal: file /dev/zero: mmap anon failed: Resource temporarily unavailable *** Error code 1 make: Fatal error: Command failed for target `/export/home/app/oracle/product/9.2.0/rdbms/lib/oracle' There was a thought that the mmap was failing due to not enough shared memory, so I set this in etc/system and rebooted. set shmsys:shminfo_shmmax=4294967295 Still no go... what am I doing wrong? Any pointers you can provide will be most gratefully appreciated! Thanks. -K The full log entry is shown below: /usr/ccs/bin/ld -o /export/home/app/oracle/product/9.2.0/rdbms/lib/oracle -L/export/home/app/oracle/product/9.2.0 /rdbms/lib/ -L/export/home/app/oracle/product/9.2.0/lib/ -dy /export/home/app/oracle/product/9.2.0/lib/WS6U2/lib/v9 /crti.o /export/home/app/oracle/product/9.2.0/lib/WS6U2/lib/v9/crt1.o /export/home/app/oracle/product/9.2.0/rdbms/ lib/opimai.o /export/home/app/oracle/product/9.2.0/rdbms/lib/ssoraed.o /export/home/app/oracle/product/9.2.0/rdbms/ lib/ttcsoi.o /export/home/app/oracle/product/9.2.0/lib/nautab.o /export/home/app/oracle/product/9.2.0/lib/naeet.o /export/home/app/oracle/product/9.2.0/lib/naect.o /export/home/app/oracle/product/9.2.0/lib/naedhs.o /export/home/a pp/oracle/product/9.2.0/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lc ommon9 -lgeneric9 /export/home/app/oracle/product/9.2.0/rdbms/lib/defopt.o -lknlopt `if /usr/ccs/bin/ar tv /export /home/app/oracle/product/9.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` `if /usr/ccs/bin/ar tv /export/home/app/oracle/product/9.2.0/rdbms/lib/libknlopt.a | grep dmwdm.o > /dev/null 2 >&1; then echo "-ldm9"; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /export/home/app/oracle/product/9.2.0/li b/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /export/home/app/oracle/product/9.2.0/lib/l dflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /export/home/app/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /export/home/app/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -ln l9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/ccs/bin/ar tv /export/ho me/app/oracle/product/9.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "- lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxm l9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnl s9 `cat /export/home/app/oracle/product/9.2.0/lib/sysliblist` -R /opt/SUNWcluster/lib/sparcv9:/export/home/app/or acle/product/9.2.0/lib -Y P,:/opt/SUNWcluster/lib/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -Qy -lc -laio -lpo six4 -lkstat -lm /export/home/app/oracle/product/9.2.0/lib/WS6U2/lib/v9/crtn.o ld: fatal: file /dev/zero: mmap anon failed: Resource temporarily unavailable *** Error code 1 make: Fatal error: Command failed for target `/export/home/app/oracle/product/9.2.0/rdbms/lib/oracle' |
| |||
| <deshpa@gmail.com> wrote in message news:1115152705.250665.220040@o13g2000cwo.googlegr oups.com... > Hi! > > I am trying to install 64bit Oracle 9i DB server on a 64bit solaris 9 > box. The universal installer goes through till about 85% (in the Link > phase) and then chokes with a target ioracle failing. I looked through > the log files, and noticed that there were some ld's that were failing > with this message: > > ld: fatal: file /dev/zero: mmap anon failed: Resource temporarily > unavailable > *** Error code 1 > make: Fatal error: Command failed for target > `/export/home/app/oracle/product/9.2.0/rdbms/lib/oracle' > > There was a thought that the mmap was failing due to not enough shared > memory, so I set this in etc/system and rebooted. > set shmsys:shminfo_shmmax=4294967295 > > Still no go... what am I doing wrong? > > Any pointers you can provide will be most gratefully appreciated! > followed the install guide and made sure all the patches are installed and yur environment is ok? btw the install doesnt use any shared memory |
| |||
| Hi! Thanks for replying. I checked the Installation guide - it does not mention Solaris 9. It does mention 64bit solaris. I also looked at a doc on a website called dbspecialists that had some docs on the installation process - that did not mention solaris 9 either... -K |
| |||
| Hi! Here is the info: $ /usr/sbin/prtconf | grep size Memory size: 512 Megabytes $ /usr/sbin/swap -l swapfile dev swaplo blocks free /dev/dsk/c0t0d0s1 136,1 16 4195280 350944 $ /usr/sbin/swap -s total: 2042944k bytes allocated + 89064k reserved = 2132008k used, 319976k available $ df -k /tmp Filesystem kbytes used avail capacity Mounted on swap 2285080 120 2284960 1% /tmp |
| |||
| des...@gmail.com wrote: > Hi! > > Here is the info: > > $ /usr/sbin/prtconf | grep size > Memory size: 512 Megabytes > $ /usr/sbin/swap -l > swapfile dev swaplo blocks free > /dev/dsk/c0t0d0s1 136,1 16 4195280 350944 > $ /usr/sbin/swap -s > total: 2042944k bytes allocated + 89064k reserved = 2132008k used, > 319976k available > $ df -k /tmp > Filesystem kbytes used avail capacity Mounted on > swap 2285080 120 2284960 1% /tmp Reboot your system and try a fresh install. Also ensure you are pointing to the correct temporary file system which in this case is /tmp. Swap partition looks big enough, not much space available though. Regards, Koki |
| |||
| Hi! I have rebooted the machine multiple times, with no effect. It may be abit cramped for space, but I dont know why that makes mmap fail with Resource unavailable - I would expect a message like not enough resources or out of memory... |
| |||
| des...@gmail.com wrote: > > I am trying to install 64bit Oracle 9i DB server on a 64bit solaris 9 > box. The universal installer goes through till about 85% (in the Link > phase) and then chokes with a target ioracle failing. I looked through > the log files, and noticed that there were some ld's that were failing > with this message: > > ld: fatal: file /dev/zero: mmap anon failed: Resource temporarily > unavailable > *** Error code 1 > make: Fatal error: Command failed for target > `/export/home/app/oracle/product/9.2.0/rdbms/lib/oracle' Just a guess. Show us `ulimit -a`. Try setting your memory limit to unlimited if it's not. /tmp should have plenty of space. Check that *at the time* the error occurs, not after it. It may help if you set TMPDIR to somewhere else so /tmp won't be used too much. Increasing your swap space should also help. Yong Huang |
| |||
| $ ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 8192 coredump(blocks) unlimited nofiles(descriptors) 256 vmemory(kbytes) unlimited I will retry with TMPDIR set to somewhere else. |
| Thread Tools | |
| Display Modes | |
|
|