Re: shared memory not initialized



Thanks for you help.
I have made those changes, oninit still fails and drops me to the
shell. Should I have to change NETTYPE in the onconfig?

here is the output of onstat -m

[root@informix informix]# setarch i686 -R sh
sh-3.00# oninit
Your evaluation license will expire on 2007-10-30 00:00:00
sh-3.00# onstat -m
Your evaluation license will expire on 2007-10-30 00:00:00
shared memory not initialized for INFORMIXSERVER 'informixserver'

Message Log File: /opt/informix/online.log
08:06:22 DR: DRAUTO is 0 (Off)
08:06:22 Dynamically allocated new virtual shared memory segment
(size 8192KB)
08:06:22 Memory sizes:resident:11664 KB, virtual:16384 KB, no
SHMTOTAL limit
08:06:22 Dynamically allocated new message shared memory segment
(size 528KB)
08:06:22 Memory sizes:resident:11664 KB, virtual:16912 KB, no
SHMTOTAL limit
08:06:22 Event notification facility epoll enabled.
08:06:22 IBM Informix Dynamic Server Version 10.00.UC6TL Software
Serial Number AAA#B000000
08:06:22 Your evaluation license will expire on 2007-10-30 00:00:00

08:06:22 listener-thread: err = -930: oserr = 0: errstr = informix:
Cannot connect to database server (informix).

08:06:22 sql_listener: ASF_LISTEN failed

08:06:22 Attempting to bring listener thread down.

08:06:22 Server stopped.

08:06:22 IBM Informix Dynamic Server Stopped.

08:06:22 mt_shm_remove: WARNING: may not have removed all/correct
segments

On Aug 8, 8:25 am, "Jack Parker" <jack.park...@xxxxxxxxxxx> wrote:
-----Original Message-----
From: informix-list-boun...@xxxxxxxx

[mailto:informix-list-boun...@xxxxxxxx]On Behalf Of tom.pri...@xxxxxxxxx
Sent: Wednesday, August 08, 2007 2:55 AM
To: informix-l...@xxxxxxxx
Subject: shared memory not initialized

I have just installed Informix 10 on a CentOS 4.5 system.

When I run oninit -v to start the dbserver, I get the following, and
then it dumps me back to bash:

DBSERVERNAME informixserver # Name of default database
server
DBSERVERALIASES informixserver # List of alternate
dbservernames

You don't want these to be the same name. And both names must be in
sqlhosts. Typically DBSERVERNAME is a shared memory connection (onipcshm)
while the DBSERVERALIASES is a tcp connection (onsoctcp). I would suggest:

$ONCONFIG
DBSERVERNAME informixserver # Name of default database
server
DBSERVERALIASES informixserver_tcp # List of alternate
dbservernames

sqlhosts:
informixserver onipcshm informix dummy
informixserver_tcp onsoctcp informix sqlexec

/etc/services:
sqlexec 1526/tcp # informixserver


.



Relevant Pages