Re: sqgetdbs
Posted in 1998
On Tue, 28 Jul 1998, Maria Wilson wrote:
> I am testing a connection between an AIX 4.2 machine(client) and the
> database server(Solaris) using the dbnames esql/c script. The aix
> machine has connect and esql/c installed and the rest of the Informix
> software is on the Solaris machine.
> I am getting an error
> error code 25507 from sqgetdbs
> anyone out there have any idea what this is telling me?
$ finderr +2550725507 You specified an unknown service name or protocol.
Tell your database administrator to examine the sqlhosts file entry.
Check that the NETTYPE settings in the ONCONFIG file match the NETTYPE
settings in the sqlhosts file.
If you are using the TCP/IP protocol, check that the correct service
name appears in the /etc/services file. If you are using NFS, use
ypmake to check the /etc/services file. Sometimes the daemon does not
recognize service names that are added after a default boot.
$
Your networking connections are not set up correctly, and you cannot
connect to the Solaris databases from the AIX machine using DB-Access.
Once you can do that, you should be able to run 'dbnames' without errors.
Yours,
Jonathan Leffler (jleffler@informix.com) #include <witticism.h>
Guardian of DBD::Informix v0.59 -- see http://www.perl.com/CPAN