Network driver cannot bind a name to the port
Posted in 2000
Installing IDS (WORK GROUP SERVER) 7.31 FC6 (64 bit version) on HP-UX11.0.
I tried to initialize using ONMONITOR utility and it doesn't allowed to
complete all field inputs. (PERFORMANCE TUNING PARAMETERS SCREEN). I called
Informix Tech support, ONMONITOR utility has known bug (it seems according
to Informix tech support ) in the above environment and couldn't initialize
the server. Server should be initialize in alternative procedure.
I changed the onconfig, sqlhosts and /etc/services files and I tried to
initialize with oninit -iyv command and Server was not initialize and "Net
work driver cannot bind a name to the port " message found in the log file.
Please find the attachments :
------------------------------------------
1. oninit -iyv : the output is as follows :
Checking group membership to determine server run modesucceeded
Reading configuration file '/informix/7.31/etc/onconfig.ifmx'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/informix/7.31/etc/.infos.ifmx_online" ...
"/informix/7.31/
etc/.conf.ifmx_online" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 5380 kbytes...succeeded
Creating buffer pool 15994 kbytes...succeeded
Creating buffer pool 10 kbytes...succeeded
Initializing rhead structure...succeeded
Initializing ASF ...succeeded
Initializing Dictionary Cache and Stored Procedure Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 0 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Forking main_loop thread...succeeded
Initialzing DR structures...succeeded
Forking 1 'ipcshm' listener threads...succeeded
Forking 1 'soctcp' listener threads...succeeded
Forking 0 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 1 flushers...succeeded
Initializing log/checkpoint information...
2. LOG message in online.log :
-------------------------------------
08:53:52 Event alarms enabled. ALARMPROG =
'/informix/7.31/etc/log_full.sh'
08:53:58 DR: DRAUTO is 0 (Off)
08:53:58 Informix Dynamic Server Version 7.31.FC6 Software Serial NumberACN
#A313826
08:53:58 listener-thread: err = -25572: oserr = 227: errstr = : Networkdriver
cannot bind a name to the port.
System error = 227.
08:53:58 Attempting to bring listener thread down.
08:53:58 Server stopped.
08:53:58 Informix Dynamic Server Stopped.
08:53:58 mt_shm_remove: WARNING: may not have removed all/correct segments
----------------------------------------------------------------------------
-------------
3. $INFORMIXDIR/etc/sqlhosts entrires :
----------------------------------------------------
ifmx_online onsoctcp locnet2 ifmx_srvc
ifmx_tcp onsoctcp locnet1 ifmx_tcp
5. /etc/services/ entries :
------------------------------
ifmx_srvc 1525/tcp # service used by OnLine/DSA
ifmx_dev_srvc 2056/tcp # serviced used by OnLine/DSA Development
ifmx_shm 2057/tcp # service used by OnLine/DSA
locnet2 2058/tcp # service used on OnLine/DSA
ifmx_tcp 2059/tcp
4. $INFORMIXDIR/etc/onconfig.ifmx
----------------------------------------------
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace name
ROOTPATH /informix/7.31/chunks/rootdbs # Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device
(Kbytes)
ROOTSIZE 30000 # Size of root dbspace (Kbytes)
# Disk Mirroring Configuration Parameters
MIRROR 1 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirrored root # Path for device containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)
# Physical Log Configuration
PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 2000 # Physical log file size (Kbytes)# Logical Log Configuration
LOGFILES 16 # Number of logical log files
LOGSIZE 500 # Logical log size (Kbytes)
# Diagnostics
MSGPATH /informix/7.31/online.log # System message log file path
CONSOLE /dev/null # System null message path
# ALARMPROGRAM /informix/7.31/logs.sh # Alarm program path
# System Archive Tape Device
TAPEDEV /dev/null # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 50240 # Maximum amount of data to put on tape
(Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/null # Log tape device path
LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 10240 # Max amount of data to put on log tape
(Kbytes)
# Optical
STAGEBLOB # INFORMIX-OnLine/Optical staging area
# System Configuration
SERVERNUM 1 # Unique id corresponding to a OnLineinstance
DBSERVERNAME ifmx_online # Name of default database server
DBSERVERALIASES ifmx_tcp # List of alternate dbservernames
NETTYPE onsoctcp,1,,CPU # Configure poll thread(s) for nettype
NETTYPE onsoctcp,1,30,NET # Configure poll thread(s) for nettype
DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed
env.
RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR 1 # 0 for single-processor, 1 formulti-processor
NUMCPUVPS 1 # Number of user (cpu) vps
SINGLE_CPU_VP 1 # If non-zero, limit number of cpu vps toone
NOAGE 0 # Process aging
AFF_SPROC 1 # Affinity start processor
AFF_NPROCS 1 # Affinity number of processors# Shared Memory Parameters
USERTHREADS 2000 # max number of user threads
TRANSACTIONS 2000 # max number of transactions
LOCKS 40000 # Maximum number of locks
BUFFERS 8000 # Maximum number of shared buffers
NUMAIOVPS # Number of IO vps
PHYSBUFF 32 # Physical log buffer size (Kbytes)
LOGBUFF 32 # Logical log buffer size (Kbytes)LOGSMAX 50 # Maximum number of logical log files
CLEANERS 1 # Number of buffer cleaner processes
SHMBASE 0x0 # Shared memory base address
SHMVIRTSIZE 8000 # initial virtual shared memory segment size
SHMADD 65536 # Size of new shared memory segments
(Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL 300 # Check point interval (in sec)
LRUS 8 # Number of LRU queues
LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY