Re: problems installing informix 7.31 on aix
Posted in 2003
Topics: Installation, Setup & Upgrades, Storage & Space Management, Server Administration, Platform-Specific Issues
On Tue, 27 May 2003 01:17:46 GMT, "Ernst Meyer" <ieak5em@hotmail.com> wrote:
>When trying to configure the demo database via ISA, I receive the following
>error:
>
>>Unable to access onconfig file
>/u01/app/informix-7.31/server/etc/onconfig.demo. Click Specify Local
>Informix Servers... to check for >incorrect values.
>
Does it mean that your INFORMIXDIR is '/u01/app/informix-7.31/server'?
>>11:07:28 Cannot Open Primary Chunk
>'/u01/app/informix-7.31/server/demo/server/online_root', errno = 2>>oninit: Cannot open chunk
>'/u01/app/informix-7.31/server/demo/server/online_root'. errno = 2
>>oninit: Fatal error in shared memory initialization
>>11:07:28 Informix Dynamic Server Stopped.
>>11:07:28 mt_shm_remove: WARNING: may not have removed all/correct segments>
>I now manually created the missing directory (server) and the missing file
>(online_root). After trying to change the mode to on-line, I now receive
>this error:
>
>>oninit: Cannot open chunk
>'/u01/app/informix-7.31/server/demo/server/online_root'. errno = 2
>>oninit: Fatal error in shared memory initialization
So, you did:
cd $INFORMIXDIR
mkdir demo
chmod 777 demo
cd demo
mkdir server
chmod 777 server
cd server
cat /dev/null > online_root
chown informix:informix online_root
chmod 666 online_root
If yes - I don't know what to say. Errno = 2 is:
#define ENOENT 2 /* No such file or directory */
Nebojsa
------------------------------------
Remove spam block (DELETE) to reply
thanks to all participants. I finally managed to install Informix 7.31 on
AIX433. The problems that I have been experiencing where two-fold. For
whatever reason, the Informix install did not pick up the environment
variables that I had set in AIX433. As a result, I had to figure out for
myself what path to use for tape devices etc and log files etc.
The other problem was that I failed to configure the onconfig.demo file
properly. I was under the impression that DBSERVERNAME was to point to the
hostname. Once I figured out my mistake and rectified it, all was well.
I did the same install on AIX51 afterwards, without a glitch. No problems
with environment variables at all. Don't know what was wroing with AIX433.
I have done basic installs of Informix 9.3 on AIX, SCO, Solaris, HP-UX, SGI,
and Linux. I found it fairly straightforward. However, I found 7.31 install
rather tedious.
Many thanks once again.
"Nebojsa Sevo" <DELETEmips@zg.tel.hr> wrote in message
news:mma9dv07fvfkniegf2ih35uh1m2fqbtlfl@4ax.com...
> On Tue, 27 May 2003 01:17:46 GMT, "Ernst Meyer" <ieak5em@hotmail.com>
wrote:
>
> >When trying to configure the demo database via ISA, I receive the
following
> >error:
> >
> >>Unable to access onconfig file
> >/u01/app/informix-7.31/server/etc/onconfig.demo. Click Specify Local
> >Informix Servers... to check for >incorrect values.
> >
> Does it mean that your INFORMIXDIR is '/u01/app/informix-7.31/server'?
>
> >>11:07:28 Cannot Open Primary Chunk
> >'/u01/app/informix-7.31/server/demo/server/online_root', errno = 2> >>oninit: Cannot open chunk
> >'/u01/app/informix-7.31/server/demo/server/online_root'. errno = 2
> >>oninit: Fatal error in shared memory initialization
> >>11:07:28 Informix Dynamic Server Stopped.
> >>11:07:28 mt_shm_remove: WARNING: may not have removed all/correctsegments
> >
> >I now manually created the missing directory (server) and the missing
file
> >(online_root). After trying to change the mode to on-line, I now receive
> >this error:
> >
> >>oninit: Cannot open chunk
> >'/u01/app/informix-7.31/server/demo/server/online_root'. errno = 2
> >>oninit: Fatal error in shared memory initialization
> So, you did:
> cd $INFORMIXDIR
> mkdir demo
> chmod 777 demo
> cd demo
> mkdir server
> chmod 777 server
> cd server
> cat /dev/null > online_root
> chown informix:informix online_root
> chmod 666 online_root
>
> If yes - I don't know what to say. Errno = 2 is:
> #define ENOENT 2 /* No such file or directory */
>
> Nebojsa
> ------------------------------------
> Remove spam block (DELETE) to reply