Re: Problem with Multiple Residency
Posted in 1998
Have you tried to move ifmx2 before informix in your /etc/passwd file.
May be it wouldn't work any longer.
Anyway such "solutions" are a bit strange as there is no need to do
them at all and it mostly helps to create confusion.
As user informix is so special it seems to me a better solution to
simply create a way to set the appropriate environment variables (at
least INFORMIXSERVER, INFORMIXDIR and ONCONFIG) for whatever server
you want to work with. I would probably set the PS1 variable as well
to see at the prompt what server I was using.
It's very simple to create a shell alias to either set these variables
or better do the appropriate sourcing to set them.
On Wed, 12 Aug 1998 15:57:00 GMT, dday@rheem.com wrote:
>If you set the user id of the ifmx2 to the same as informix
>it will solve your problem. We are running the same type setup
>on HP-UX.
>Dave
>
>In article <sFp24LAEV4z1EwQp@smooth1.demon.co.uk>,
> David Williams <djw@smooth1.demon.co.uk> wrote:
>> In article <35C851D6.7675CD0E@informatik.uni-augsburg.de>, Matthias
>> Wagner <wagner@informatik.uni-augsburg.de> writes
>> >I am setting up IUS for multiple residency (2 IUS server on one AIX
>> >machine). Therefore I have set up a second user beside the standard
>> >user informix
>> >
>> > user: ifmx2
>> > group: informix
>> >
>> >with an appropriate environment (ONCONFIG, SERVERNUM, SERVERNAME etc.).
>> >This worked out fine, i.e. oninit -i succeeded for ifmx2 and the second
>> >server is up and running.
>> >
>> >HERE'S THE PROBLEM: When ifmx2 starts onmonitor it prompts with the menu
>> >STATUS and does not allow ifmx2 to change to other menus, e.g. PARAMETERS.
>> >
>> >Apparently ifmx2 lacks the right to read some configuration file, because
>> >if I su first (pertaining ifmx2's environment) all works normal.
>> >
>>
>> User informix is a special user to Informix...
>>
>> >Any help is more than appreciated,
>> >Matthias
>> >
>> >--
>> >Matthias Wagner
>> >Institut fuer Informatik, Universitaet Augsburg
>> >wagner@informatik.uni-augsburg.de, www.informatik.uni-augsburg.de
>> >phone +49-821-598-2118, fax +49-821-598-2274
>> >
>> >
>> >
>>
>> --
>> David Williams
>>
>> Maintainer of the Informix FAQ
>> Primary site (Beta Version) http://www.smooth1.demon.co.uk
>> Official site http://www.iiug.org/techinfo/faq/faq_top.html
>>
>> I see you standin', Standin' on your own, It's such a lonely place for you,
>For
>> you to be If you need a shoulder, Or if you need a friend, I'll be here
>> standing, Until the bitter end...
>> So don't chastise me Or think I, I mean you harm...
>> All I ever wanted Was for you To know that I care
>>
>
>-----== Posted via Deja News, The Leader in Internet Discussion ==-----
>http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Nils Myklebust
NM Data AS
Norway
E-mail: Nils.Myklebust@nmdata.com
FAQ at: http://www.iiug.org/techinfo/faq/faq_top.html
(Now with ODBC info under "Third party products".)