Hi folks, Let me explain the whole thing. I´m trying to make informix to run on my play box that has no network. I read on the manuals that whithout network, I can use a loopback configuration and also a shared memory configuration. I´ve already used both types of configuration and still get the same error messages, although I don´t get any error messages when I oninit -ivy, this command runs successfully.
Any ideas?
Thanks in advance.
Marvel.
--------------------------------
- When I dbaccess and try to connect
25588 The appl process cannot connect to Dynamic Server 'informix'.
not such file or directory
- When I give the command:
onspaces -c -d root_chunk -p /usr/data/root_chunk -o 0 -s 30000
shared memory not initialized for INFORMIXSERVER 'informix'
- When I onmonitor and dbspaces:
Unable to attach to shared memory
ISAM error: Cannot attach to shared memory
------------------------------
My configuration is:
/opt/informix/etc/sqlhosts:
informix onsoctcp 127.0.0.1 informix_lop # For shared memory
informix onipcshm 127.0.0.1 dummy # For loopback
/etc/services:
informix_lop 1545/tcp
/etc/hosts
127.0.0.1 localhost
10.10.10.1 myplaybox
- To create dbspace I did:
cd /usr/data
cat /dev/null > root_chunk
chmod 660 root_chunk
chown informix:informix root_chunk
/opt/informix/etc/onconfig
ROOTNAME root_chunk
ROOTPATH /usr/data
MSGPATH /opt/informix/logs/online.log
TAPEDEV /dev/null
LTAPEDEV /dev/null
DBSERVERNAME informix
# Related to the following lines, I used NETTYPE ipcshm
# and tried it. After that, I changed it to soctcp and
# tried again.
NETTYPE ipcshm # I used this for share memory conf.
NETTYPE soctcp # I used this for loopback conf.
# Other parameters in this file I left as default.
- My environment variables are:
export TERM=xterm
export TERMCAP=/opt/informix/etc/termcap
export INFORMIXDIR=/opt/informix
export INFORMIXSERVER=informix
export ONCONFIG=onconfig
export PATH=$PATH:$INFORMIXDIR/bin
Any ideas?
Thanks in advance.
Marvel.
--------------------------------
- When I dbaccess and try to connect
25588 The appl process cannot connect to Dynamic Server 'informix'.
not such file or directory
- When I give the command:
onspaces -c -d root_chunk -p /usr/data/root_chunk -o 0 -s 30000
shared memory not initialized for INFORMIXSERVER 'informix'
- When I onmonitor and dbspaces:
Unable to attach to shared memory
ISAM error: Cannot attach to shared memory
------------------------------
My configuration is:
/opt/informix/etc/sqlhosts:
informix onsoctcp 127.0.0.1 informix_lop # For shared memory
informix onipcshm 127.0.0.1 dummy # For loopback
/etc/services:
informix_lop 1545/tcp
/etc/hosts
127.0.0.1 localhost
10.10.10.1 myplaybox
- To create dbspace I did:
cd /usr/data
cat /dev/null > root_chunk
chmod 660 root_chunk
chown informix:informix root_chunk
/opt/informix/etc/onconfig
ROOTNAME root_chunk
ROOTPATH /usr/data
MSGPATH /opt/informix/logs/online.log
TAPEDEV /dev/null
LTAPEDEV /dev/null
DBSERVERNAME informix
# Related to the following lines, I used NETTYPE ipcshm
# and tried it. After that, I changed it to soctcp and
# tried again.
NETTYPE ipcshm # I used this for share memory conf.
NETTYPE soctcp # I used this for loopback conf.
# Other parameters in this file I left as default.
- My environment variables are:
export TERM=xterm
export TERMCAP=/opt/informix/etc/termcap
export INFORMIXDIR=/opt/informix
export INFORMIXSERVER=informix
export ONCONFIG=onconfig
export PATH=$PATH:$INFORMIXDIR/bin