Behaviour of oninit with ksh and csh
Posted in 2007
Topics: Installation, Setup & Upgrades, Server Administration, Networking & sqlhosts Configuration, Platform-Specific Issues, Java & JDBC Development, Internationalization & Character Sets
Hi All,
I have re-installed IDS-10 on my AIX 5.3 machine. IDS installed successfully but it is running in C-shell only and I need it in K-Shell. I have added LIBPATH variable recently because without adding this variable IDS was not running even on C-Shell. I will appreciate if somebody can help me.
$ env
_=/usr/bin/env
LANG=en_US
LOGIN=informix
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/informix/ids10/bin:/informix/ids10:.
LC__FASTMSG=true
INFORMIXSQLHOSTS=/informix/ids10/etc/sqlhosts
LOGNAME=informix
MAIL=/usr/spool/mail/informix
LOCPATH=/usr/lib/nls/loc
TERMCAP=/informix/ids10/etc/termcap
LDR_CNTRL=LOADPUBLIC
USER=informix
AUTHSTATE=compat
SHELL=/usr/bin/ksh
ODMDIR=/etc/objrepos
HOME=/informix/ids10
INFORMIXDIR=/informix/ids10
TERM=vt100
MAILMSG=[YOU HAVE NEW MAIL]
ONCONFIG=onconfig.eftpri
PWD=/informix/ids10
TZ=PAKST-5
INFORMIXSERVER=eftpri
A__z=! LOGNAME
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LIBPATH=/var/adm/ifx_loader_domain:
$
$
$ onstat - shared memory not initialized for INFORMIXSERVER 'eftpri'
$ whoami
informix
$ oninit
IOT/Abort trap
$ csh
% oninit
% onstat -
IBM Informix Dynamic Server Version 10.00.UC5 -- On-Line -- Up 00:00:14 -- 22128 Kbytes
%
% env
_=/usr/bin/csh
LANG=en_US
LOGIN=informix PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/informix/ids10/bin:/informix/ids10:. LC__FASTMSG=true
INFORMIXSQLHOSTS=/informix/ids10/etc/sqlhosts LOGNAME=informix
MAIL=/usr/spool/mail/informix
LOCPATH=/usr/lib/nls/loc
TERMCAP=/informix/ids10/etc/termcap
LDR_CNTRL=LOADPUBLIC
USER=informix
AUTHSTATE=compat
SHELL=/usr/bin/ksh
ODMDIR=/etc/objrepos
HOME=/informix/ids10
INFORMIXDIR=/informix/ids10 TERM=vt100
MAILMSG=[YOU HAVE NEW MAIL]
ONCONFIG=onconfig.eftpri PWD=/informix/ids10
TZ=PAKST-5
INFORMIXSERVER=eftpri A__z=! LOGNAME
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LIBPATH=/var/adm/ifx_loader_domain:
%
Regards,
Navaid Arif
On Mar 7, 7:26 am, "Navaid Arif" <navaid.a...@access.net.pk> wrote:
> Hi All,
> I have re-installed IDS-10 on my AIX 5.3 machine. IDS installed successfully but it is running in C-shell only and I need it in K-Shell. I have added LIBPATH variable recently because without adding this variable IDS was not running even on C-Shell. I will appreciate if somebody can help me.
>
> $ env
> _=/usr/bin/env
> LANG=en_US
> LOGIN=informix
> PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/informix/ids10/bin:/informix/ids10:.
> LC__FASTMSG=true
> INFORMIXSQLHOSTS=/informix/ids10/etc/sqlhosts
> LOGNAME=informix
> MAIL=/usr/spool/mail/informix
> LOCPATH=/usr/lib/nls/loc
> TERMCAP=/informix/ids10/etc/termcap
> LDR_CNTRL=LOADPUBLIC
> USER=informix
> AUTHSTATE=compat
> SHELL=/usr/bin/ksh
> ODMDIR=/etc/objrepos
> HOME=/informix/ids10
> INFORMIXDIR=/informix/ids10
> TERM=vt100
> MAILMSG=[YOU HAVE NEW MAIL]
> ONCONFIG=onconfig.eftpri
> PWD=/informix/ids10
> TZ=PAKST-5
> INFORMIXSERVER=eftpri
> A__z=! LOGNAME
> NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
> LIBPATH=/var/adm/ifx_loader_domain:
> $
> $
> $ onstat -> shared memory not initialized for INFORMIXSERVER 'eftpri'
> $ whoami
> informix
> $ oninit
> IOT/Abort trap
> $ csh
> % oninit
> % onstat ->
> IBM Informix Dynamic Server Version 10.00.UC5 -- On-Line -- Up 00:00:14 -- 22128 Kbytes
>
> %
> % env
> _=/usr/bin/csh
> LANG=en_US
> LOGIN=informix> PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/informix/ids10/bin:/informix/ids10:.> LC__FASTMSG=true
> INFORMIXSQLHOSTS=/informix/ids10/etc/sqlhosts> LOGNAME=informix
> MAIL=/usr/spool/mail/informix
> LOCPATH=/usr/lib/nls/loc
> TERMCAP=/informix/ids10/etc/termcap
> LDR_CNTRL=LOADPUBLIC
> USER=informix
> AUTHSTATE=compat
> SHELL=/usr/bin/ksh
> ODMDIR=/etc/objrepos
> HOME=/informix/ids10
> INFORMIXDIR=/informix/ids10> TERM=vt100
> MAILMSG=[YOU HAVE NEW MAIL]
> ONCONFIG=onconfig.eftpri> PWD=/informix/ids10
> TZ=PAKST-5
> INFORMIXSERVER=eftpri> A__z=! LOGNAME
> NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
> LIBPATH=/var/adm/ifx_loader_domain:
> %
>
> Regards,
> Navaid Arif
I believe this could be caused by an AIX defect. If you don't have
the AIX APAR IY93737 you might want to install it and ttry bringing
the engine up again in both csh and ksh. However, if you check the
machine notes the LIBPATH shouldn't need to be set to include /var/adm/
ifx_loader_domain unless you already had LIBPATH set. So you might
want to check after installing the AIX apar unseting LIBPATH and see
if it works for both csh and ksh.
Jacques Renaut