Hi,
i finded hosts file in /etc/hosts, and put it in pb' profile setup Host Name.
but i don't know which is service name in /etc/services. underside is list of my server (sloaris) services file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
# All rights reserved.
#
# Network services, Internet style
# ...
# Host specific functions
# ...
# UNIX specific services
#
# these are NOT officially assigned
#
exec 512/tcp
login 513/tcp
shell 514/tcp cmd # no passwords used
printer 515/tcp spooler # line printer spooler
courier 530/tcp rpc # experimental
uucp 540/tcp uucpd # uucp daemon
biff 512/udp comsat
who 513/udp whod
syslog 514/udp
talk 517/udp
route 520/udp router routed
ripng 521/udp
klogin 543/tcp # Kerberos authenticated rlogin
kshell 544/tcp cmd # Kerberos authenticated remote shell
new-rwho 550/udp new-who # experimental
rmonitor 560/udp rmonitord # experimental
monitor 561/udp # experimental
pcserver 600/tcp # ECD Integrated PC board srvr
sun-dr 665/tcp # Remote Dynamic Reconfiguration
kerberos-adm 749/tcp # Kerberos V5 Administration
kerberos-adm 749/udp # Kerberos V5 Administration
kerberos 750/udp kdc # Kerberos key server
kerberos 750/tcp kdc # Kerberos key server
krb5_prop 754/tcp # Kerberos V5 KDC propogation
ufsd 1008/tcp ufsd # UFS-aware server
ufsd 1008/udp ufsd
cvc 1495/tcp # Network Console ingreslock 1524/tcp
www-ldap-gw 1760/tcp # HTTP to LDAP gateway
www-ldap-gw 1760/udp # HTTP to LDAP gateway
listen 2766/tcp # System V listener port
nfsd 2049/udp nfs # NFS server daemon (clts)
nfsd 2049/tcp nfs # NFS server daemon (cots)
eklogin 2105/tcp # Kerberos encrypted rlogin
lockd 4045/udp # NFS lock aemon/manager
lockd 4045/tcp
dtspc 6112/tcp # CDE subprocess control
fs 7100/tcp # Font server
on_tcp6_srv 9001/tcp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
which is right services ?
i think my hosts name is right, because pb's register already changed ------ SQL error -25560 : Environment variable INFORMIXSERVER must be set.
thanks again
Quote:
Originally posted by lloydnwo
Hi there,
You will have to create a sqlhosts file. A sample file is in
$INFORMIXDIR/etc directory. Copy it to a new file and enter your settings. A sample entry would be
#Server Connectivity Hostname Service
ocslink onipcshm solar1 sqlexec
change them as per your requirements.
where ocslink is your Informix server name, onipcshm is the shared memory connection, hostname is the hostname an entry of which will be in /etc/hosts, service name is the name of the service, an entry of which will be in /etc/services.
Also make sure you set the env. variable INFORMIXSQLHOSTS to the above file. Then you may connect to the server.
Regards,
Lloyd
|