Can't connect to server
Posted in 2003
Topics: Connectivity: ODBC / JDBC / .NET, Server Administration, Security, Permissions & Auditing, Licensing & Editions
Hello,
Maybe it's trivial, but I'm a beginner in IDS.
I have a IDS Workgroup Edition 7.30 on UnixWare 7.1.1.
Basically, I want to connect through JDBC to this machine, but I
can't.
First, I tried the dbaccess utility, because I wanted to create my
database tables.
But on Connect menu, when I enter the server name, user name and
password it tells me "930: cannot connect to database server(manrzb)".
onstat is giving me "shared memory not initialized on INFORMIXSERVER 'manrzb'"
message.
I tried oninit with -iy and -sy and -i and -s or no parameters and I get the
same message with onstat .
Can you please tell me how do I start my server, or what is wrong with
it ?
Thank you,
Edward.
You need
environment variables : INFORMIXDIR, ONCONFIG, INFORMIXSERVER,
SQLHOSTS
You need in the $INFORMIXDIR/etc/$ONCONFIG file the right parameters with
parameter ROOTDBS pointing to your root chunk.
This root chunk is a unix file, a unix cooked partition or a unix raw
partition (last is best for performance).
Then you can issue the onstat -i command to initialize your DB
Look into manuals Admin reference or Admin guide and the Configuration guide
(chapter 3) for these configuration.
There exists also a demo DB stores5. You can initialise and start this DB,
how look in the manuals available at
http://www-3.ibm.com/software/data/informix/pubs/library/
good luck
Yves
-----Original Message-----
From: nobody@ace.iiug.org [mailto:nobody@ace.iiug.org]
Sent: 06 December 2003 14:50
To: ids@iiug.org
Subject: Can't connect to server [2306]
Hello,
Maybe it's trivial, but I'm a beginner in IDS.
I have a IDS Workgroup Edition 7.30 on UnixWare 7.1.1.
Basically, I want to connect through JDBC to this machine, but I
can't.
First, I tried the dbaccess utility, because I wanted to create my
database tables.
But on Connect menu, when I enter the server name, user name and
password it tells me "930: cannot connect to database server(manrzb)".
onstat is giving me "shared memory not initialized on INFORMIXSERVER
'manrzb'" message.
I tried oninit with -iy and -sy and -i and -s or no parameters and I get the
same message with onstat .
Can you please tell me how do I start my server, or what is wrong with
it ?
Thank you,
Edward.
------_=_NextPart_001_01C3BD64.22788990
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: Can't connect to server [2306] </TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>You need environment variables : INFORMIXDIR, =
ONCONFIG, INFORMIXSERVER, SQLHOSTS</FONT>
<BR><FONT SIZE=3D2>You need in the $INFORMIXDIR/etc/$ONCONFIG file the =
right parameters with parameter ROOTDBS pointing to your root =
chunk.</FONT></P>
<P><FONT SIZE=3D2>This root chunk is a unix file, a unix cooked =
partition or a unix raw partition (last is best for =
performance).</FONT>
<BR><FONT SIZE=3D2>Then you can issue the onstat -i command to =
initialize your DB</FONT>
</P>
<P><FONT SIZE=3D2>Look into manuals Admin reference or Admin guide and =
the Configuration guide (chapter 3) for these configuration.</FONT>
<BR><FONT SIZE=3D2>There exists also a demo DB stores5. You can =
initialise and start this DB, how look in the manuals available =
at</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www-3.ibm.com/software/data/informix/pubs/library/" =
TARGET=3D"_blank">http://www-3.ibm.com/software/data/informix/pubs/libra=
ry/</A></FONT>
</P>
<P><FONT SIZE=3D2>good luck</FONT>
<BR><FONT SIZE=3D2>Yves</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: nobody@ace.iiug.org [<A =
HREF=3D"mailto:nobody@ace.iiug.org">mailto:nobody@ace.iiug.org</A>]</FON=
T>
<BR><FONT SIZE=3D2>Sent: 06 December 2003 14:50</FONT>
<BR><FONT SIZE=3D2>To: ids@iiug.org</FONT>
<BR><FONT SIZE=3D2>Subject: Can't connect to server [2306] </FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hello,</FONT>
</P>
<P><FONT SIZE=3D2>Maybe it's trivial, but I'm a beginner in IDS.</FONT>
<BR><FONT SIZE=3D2>I have a IDS Workgroup Edition 7.30 on UnixWare =
7.1.1.</FONT>
<BR><FONT SIZE=3D2>Basically, I want to connect through JDBC to this =
machine, but I</FONT>
<BR><FONT SIZE=3D2>can't.</FONT>
<BR><FONT SIZE=3D2>First, I tried the dbaccess utility, because I =
wanted to create my</FONT>
<BR><FONT SIZE=3D2>database tables.</FONT>
<BR><FONT SIZE=3D2>But on Connect menu, when I enter the server name, =
user name and</FONT>
<BR><FONT SIZE=3D2>password it tells me "930: cannot connect to =
database server(manrzb)".</FONT>
<BR><FONT SIZE=3D2>onstat is giving me "shared memory not =
initialized on INFORMIXSERVER 'manrzb'" message.</FONT>
<BR><FONT SIZE=3D2>I tried oninit with -iy and -sy and -i and -s or no =
parameters and I get the same message with onstat .</FONT>
</P>
<P><FONT SIZE=3D2>Can you please tell me how do I start my server, or =
what is wrong with</FONT>
<BR><FONT SIZE=3D2>it ?</FONT>
</P>
<P><FONT SIZE=3D2>Thank you,</FONT>
<BR><FONT SIZE=3D2>Edward.</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C3BD64.22788990--
Related threads
- Micro-pump is cool idea for future computer chips
- FW: Informix DBA
- How tu use a table on another Instance
- lock table in exclusive mode