powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Informix [игнор отключен] [закрыт для гостей] / Network driver cannot bind a name to the port.
25 сообщений из 25, страница 1 из 1
Network driver cannot bind a name to the port.
    #32897681
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Непонятная фигня происходит.

Если запускать сервер от root-а - все ок.
запускается.

однако, если запускать его от пользователя informix

в online.log имеем:
========================================
18:07:48 Informix Dynamic Server 2000 Started.

Wed Feb 2 18:07:49 2005

18:07:49 Event alarms enabled. ALARMPROG = '/opt/informix-9.21/etc/log_full.sh
'
18:07:49 Booting Language <c> from module <>
18:07:49 Loading Module <CNULL>
18:07:49 Booting Language <builtin> from module <>
18:07:49 Loading Module <BUILTINNULL>
18:07:55 Informix Dynamic Server 2000 Version 9.21.UC4 Software Serial Numb
er AAD#J125560
18:07:56 listener-thread: err = -25572: oserr = 99: errstr = : Network driver c
annot bind a name to the port.
System error = 99.
18:07:56 Attempting to bring listener thread down.

18:07:56 Server stopped.

========================================
смотрим
err = -25572


-25572 Network driver cannot bind a name to the port.

A system call has failed. The sqlexecd daemon or database server cannot
access the network port that is specified by the servicename in the
sqlhosts file. This situation might occur because the network port is
already in use by another sqlexecd, database server, or other
application. Use a different servicename on the command line (prior to
Version 6.0) or in the sqlhosts file (beginning with Version 6.0).
Contact your system administrator for assistance



понятно, что где-то что-то с правами намудрили...
вопрос - где именно?

да, все это стоит на Linux, IDS 9.21


Помогите, если знаете где грабли :-)
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32897846
Sergey L.
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
у меня oninit - suid-root и sgid-informix (linux, Ids9.40uc3)
Наверное от root'а и надо
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32898087
vybegallo
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
check your environment variables for root and informix, especially INFORMIXSERVER, ONCONFIG and SQLHOSTS
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32898685
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
INFORMIXSERVER - одинаковые в обоих случаях.
ONCONFIG и SQLHOSTS не установлены в обоих случаях
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32898769
Фотография Журавлев Денис
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
ladyirinaINFORMIXSERVER - одинаковые в обоих случаях.
ONCONFIG и SQLHOSTS не установлены в обоих случаях
а порт какой? может используется уже?
а случайно named pipe не используется?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32899677
vybegallo
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
ladyirinaINFORMIXSERVER - одинаковые в обоих случаях.
ONCONFIG и SQLHOSTS не установлены в обоих случаях

what about INFORMIXDIR ? Do they point to the same directory ? and why ONCONFIG is not set ?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32899697
vybegallo
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Try this :
1. log in as root
2. su informix (NOT "su - informix" ! )
3. oninit -v

If you can start informix - then the problem is in your environment, otherwise it's permissions.
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900101
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegalloTry this :
1. log in as root
2. su informix (NOT "su - informix" ! )
3. oninit -v

If you can start informix - then the problem is in your environment, otherwise it's permissions.

Нет, информикс не стартонул.
В online.log та же фигня.

oninit -v
выдал следующее:

[informix@redhat tmp]$ oninit -v
Checking group membership to determine server run modesucceeded
Reading configuration file '/opt/informix-9.21/etc/onconfig'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/opt/informix-9.21/etc/.infos.rh_shm" ... "/opt/informix-9.21/etc/.conf.rh_shm" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 13214 kbytes...succeeded
Creating buffer pool 64002 kbytes...succeeded
Initializing rhead structure...succeeded
Initializing ASF ...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 1 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Forking main_loop thread...succeeded
Initializing 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...succeeded
Opening primary chunks...succeeded

и на этом заткнулся.
Хорошо, какие имеено permissions? Как их изменить?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900103
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegallo ladyirinaINFORMIXSERVER - одинаковые в обоих случаях.
ONCONFIG и SQLHOSTS не установлены в обоих случаях

what about INFORMIXDIR ? Do they point to the same directory ? and why ONCONFIG is not set ?

Да.
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900112
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegallo and why ONCONFIG is not set ?

Нет ответа. Сервер в наследство достался в условно рабочем состоянии
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900139
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Журавлев Денис ladyirinaINFORMIXSERVER - одинаковые в обоих случаях.
ONCONFIG и SQLHOSTS не установлены в обоих случаях
а порт какой? может используется уже?
а случайно named pipe не используется?

порт 1427

где посмотреть, не посажено ли на него еще что-то?
где посмотреть, не используются ли named pipe?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900189
vybegallo
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Ирина, приведите ваш onconfig и sqlhosts файлы.
кто еще висит на порту, можно попытаться найти в /etc/services.
Попробуйте поменять номер порта в sqlhosts и используйте номер вместо имени.
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900234
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegalloИрина, приведите ваш onconfig и sqlhosts файлы.
кто еще висит на порту, можно попытаться найти в /etc/services.
Попробуйте поменять номер порта в sqlhosts и используйте номер вместо имени.

onconfig:
#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.std
# Description: Informix Dynamic Server 2000 Configuration Parameters
#
#**************************************************************************

# Root Dbspace Configuration

ROOTNAME rootdbs # Root dbspace name
ROOTPATH /usr/dbs/root # Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)
ROOTSIZE 131072 # Size of root dbspace (Kbytes)
#ROOTSIZE 201072 # Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)

# Physical Log Configuration

PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 60000 # Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES 10 # Number of logical log files
LOGSIZE 10000 # Logical log size (Kbytes)

# Diagnostics

MSGPATH /opt/ifx_logs/online.log # System message log file path
CONSOLE /dev/console # System console message path
ALARMPROGRAM /opt/informix-9.21/etc/log_full.sh # Alarm program path
TBLSPACE_STATS 1 # Maintain tblspace statistics

# System Archive Tape Device


#TAPEDEV /dbs_backup/dbb_tape/dbtape # Tape device path
TAPEDEV /dbs/bktest/dbtape # Tape device path
TAPEBLK 32 # Tape block size (Kbytes)
TAPESIZE 2048000 # Maximum amount of data to put on tape (Kbytes)
#TAPESIZE 12000000

# Log Archive Tape Device

# 2005-02-01 change LTAPEDEV

#LTAPEDEV /dbs_backup/dbb_logtape/dblogtape # Log tape device path
LTAPEDEV /dev/null # Log tape device path
#LTAPEDEV /dbs/bktest/dblogtape
#LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 2048000 # Max amount of data to put on log tape (Kbytes)
LTAPEBLK 32 # Log tape block size (Kbytes)
###LTAPESIZE 12000000

# Optical

STAGEBLOB # Informix Dynamic Server 2000 staging area

# System Configuration

SERVERNUM 1 # Unique id corresponding to a OnLine instance
DBSERVERNAME rh_shm # Name of default database server
DBSERVERALIASES rh_soc,rh20_soc # List of alternate dbservernames
NETTYPE soctcp,1,100,NET # Configure poll thread(s) for nettype
NETTYPE ipcshm,1,100,CPU # 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 for multi-processor
##NUMCPUVPS 1 # Number of user (cpu) vps
##SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one

##NOAGE 0 # Process aging
##AFF_SPROC 0 # Affinity start processor
##AFF_NPROCS 0 # Affinity number of processors
VPCLASS CPU,num=2

# Shared Memory Parameters

LOCKS 100000 # Maximum number of locks
BUFFERS 32000 # Maximum number of shared buffers
NUMAIOVPS # Number of IO vps
PHYSBUFF 128 # Physical log buffer size (Kbytes)
LOGBUFF 128 # Logical log buffer size (Kbytes)
LOGSMAX 32 # Maximum number of logical log files
CLEANERS 1 # Number of buffer cleaner processes
SHMBASE 0x10000000 # Shared memory base address
SHMVIRTSIZE 200000 # initial virtual shared memory segment size
SHMADD 200000 # Size of new shared memory segments (Kbytes)
#SHMVIRTSIZE 8000 # initial virtual shared memory segment size
#SHMADD 8192 # 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 50 # LRU percent dirty end cleaning limit
LTXHWM 50 # Long transaction high water mark percentage
LTXEHWM 60 # Long transaction high water mark (exclusive)
TXTIMEOUT 0x12c # Transaction timeout (in sec)
# STACKSIZE 32 # Stack size (Kbytes)
STACKSIZE 512 # Stack size (Kbytes)

# System Page Size
# BUFFSIZE - OnLine no longer supports this configuration parameter.
# To determine the page size used by OnLine on your platform
# see the last line of output from the command, 'onstat -b'.


# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.

OFF_RECVRY_THREADS 10 # Default number of offline worker threads
ON_RECVRY_THREADS 1 # Default number of online worker threads

# Data Replication Variables
DRINTERVAL 30 # DR max time between DR buffer flushes (in sec)
DRTIMEOUT 30 # DR network timeout (in sec)
DRLOSTFOUND /opt/informix-9.21/etc/dr.lostfound # DR lost+found file path

# CDR Variables
CDR_EVALTHREADS 1,2 # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT 5 # DS lockwait timeout (seconds)
CDR_QUEUEMEM 4096 # Maximum amount of memory for any CDR queue (Kbytes)
CDR_LOGDELTA 30 # % of log space allowed in queue memory
CDR_NUMCONNECT 16 # Expected connections per server
CDR_NIFRETRY 300 # Connection retry (seconds)
CDR_NIFCOMPRESS 0 # Link level compression (-1 never, 0 none, 9 max)

# Backup/Restore variables
BAR_ACT_LOG /tmp/bar_act.log
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31
RESTARTABLE_RESTORE off
BAR_PROGRESS_FREQ 0

# Informix Storage Manager variables
ISM_DATA_POOL ISMData
ISM_LOG_POOL ISMLogs

# Read Ahead Variables
RA_PAGES # Number of pages to attempt to read ahead
RA_THRESHOLD # Number of pages left before next group

# DBSPACETEMP:
# OnLine equivalent of DBTEMP for SE. This is the list of dbspaces
# that the OnLine SQL Engine will use to create temp tables etc.
# If specified it must be a colon separated list of dbspaces that exist
# when the OnLine system is brought online. If not specified, or if
# all dbspaces specified are invalid, various ad hoc queries will create
# temporary files in /tmp instead.

DBSPACETEMP # Default temp dbspaces

# DUMP*:
# The following parameters control the type of diagnostics information which
# is preserved when an unanticipated error condition (assertion failure) occurs
# during OnLine operations.
# For DUMPSHMEM, DUMPGCORE and DUMPCORE 1 means Yes, 0 means No.

DUMPDIR /tmp # Preserve diagnostics in this directory
DUMPSHMEM 1 # Dump a copy of shared memory
# DUMPSHMEM 0 # Dump a copy of shared memory
DUMPGCORE 0 # Dump a core image using 'gcore'
DUMPCORE 0 # Dump a core image (Warning:this aborts OnLine)
DUMPCNT 1 # Number of shared memory or gcore dumps for
# a single user's session

FILLFACTOR 90 # Fill factor for building indexes

# method for OnLine to use when determining current time
USEOSTIME 0 # 0: use internal time(fast), 1: get time from OS(slow)

# Parallel Database Queries (pdq)
MAX_PDQPRIORITY 100 # Maximum allowed pdqpriority
DS_MAX_QUERIES # Maximum number of decision support queries
DS_TOTAL_MEMORY # Decision support memory (Kbytes)
DS_MAX_SCANS 1048576 # Maximum number of decision support scans
DATASKIP off # List of dbspaces to skip

# OPTCOMPIND
# 0 => Nested loop joins will be preferred (where
# possible) over sortmerge joins and hash joins.
# 1 => If the transaction isolation mode is not
# "repeatable read", optimizer behaves as in (2)
# below. Otherwise it behaves as in (0) above.
# 2 => Use costs regardless of the transaction isolation
# mode. Nested loop joins are not necessarily
# preferred. Optimizer bases its decision purely
# on costs.
OPTCOMPIND 2 # To hint the optimizer

DIRECTIVES 1 # Optimizer DIRECTIVES ON (1/Default) or OFF (0)

ONDBSPACEDOWN 2 # Dbspace down option: 0 = CONTINUE, 1 = ABORT, 2 = WAIT
LBU_PRESERVE 0 # Preserve last log for log backup
OPCACHEMAX 0 # Maximum optical cache size (Kbytes)

# HETERO_COMMIT (Gateway participation in distributed transactions)
# 1 => Heterogeneous Commit is enabled
# 0 (or any other value) => Heterogeneous Commit is disabled
HETERO_COMMIT 0

SBSPACENAME # Default smartblob space name - this is where blobs
# go if no sbspace is specified when the smartblob is
# created. It is also used by some datablades as
# the location to put their smartblobs.
SYSSBSPACENAME # Default smartblob space for use by the Informix
# Server. This is used primarily for Informix Server
# system statistics collection.

BLOCKTIMEOUT 3600 # Default timeout for system block
SYSALARMPROGRAM /opt/informix-9.21/etc/evidence.sh # System Alarm program path

# Optimization goal: -1 = ALL_ROWS(Default), 0 = FIRST_ROWS
OPT_GOAL -1

ALLOW_NEWLINE 0 # embedded newlines(Yes = 1, No = 0 or anything but 1)

#
# The following are default settings for enabling Java in the database.
# Replace all occurrences of /usr/informix with the value of $INFORMIXDIR.

#VPCLASS jvp,num=1 # Number of JVPs to start with

JVPJAVAHOME /opt/informix-9.21/extend/krakatoa/jre/
# JRE installation root directory
JVPHOME /opt/informix-9.21/extend/krakatoa
# Krakatoa installation directory

JVPPROPFILE /opt/informix-9.21/extend/krakatoa/.jvpprops # JVP property file
JVPLOGFILE /opt/informix-9.21/jvp.log # JVP log file.

JDKVERSION 1.2 # JDK version supported by this server
JVMTHREAD native # Java VM thread type (green or native)

# The path to the JRE libraries relative to JVPJAVAHOME
JVPJAVALIB /lib/sparc/

# The JRE libraries to use for the Java VM

JVPJAVAVM hpi:jvm:java:net:math:zip:jpeg

# Classpath to use upon Java VM start-up (use _g version for debugging)

# JVPCLASSPATH /opt/informix-9.21/extend/krakatoa/krakatoa.jar:/usr/informix/extend/krakatoa/jdbc.jar
JVPCLASSPATH /opt/informix-9.21/extend/krakatoa/krakatoa_g.jar:/usr/informix/extend/krakatoa/jdbc_g.jar

SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one


=========#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.std
# Description: Informix Dynamic Server 2000 Configuration Parameters
#
#**************************************************************************

# Root Dbspace Configuration

ROOTNAME rootdbs # Root dbspace name
ROOTPATH /usr/dbs/root # Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)
ROOTSIZE 131072 # Size of root dbspace (Kbytes)
#ROOTSIZE 201072 # Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)

# Physical Log Configuration

PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 60000 # Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES 10 # Number of logical log files
LOGSIZE 10000 # Logical log size (Kbytes)

# Diagnostics

MSGPATH /opt/ifx_logs/online.log # System message log file path
CONSOLE /dev/console # System console message path
ALARMPROGRAM /opt/informix-9.21/etc/log_full.sh # Alarm program path
TBLSPACE_STATS 1 # Maintain tblspace statistics

# System Archive Tape Device


#TAPEDEV /dbs_backup/dbb_tape/dbtape # Tape device path
TAPEDEV /dbs/bktest/dbtape # Tape device path
TAPEBLK 32 # Tape block size (Kbytes)
TAPESIZE 2048000 # Maximum amount of data to put on tape (Kbytes)
#TAPESIZE 12000000

# Log Archive Tape Device

# 2005-02-01 change LTAPEDEV

#LTAPEDEV /dbs_backup/dbb_logtape/dblogtape # Log tape device path
LTAPEDEV /dev/null # Log tape device path
#LTAPEDEV /dbs/bktest/dblogtape
#LTAPEBLK 16 # Log tape block size (Kbytes)
LTAPESIZE 2048000 # Max amount of data to put on log tape (Kbytes)
LTAPEBLK 32 # Log tape block size (Kbytes)
###LTAPESIZE 12000000

# Optical

STAGEBLOB # Informix Dynamic Server 2000 staging area

# System Configuration

SERVERNUM 1 # Unique id corresponding to a OnLine instance
DBSERVERNAME rh_shm # Name of default database server
DBSERVERALIASES rh_soc,rh20_soc # List of alternate dbservernames
NETTYPE soctcp,1,100,NET # Configure poll thread(s) for nettype
NETTYPE ipcshm,1,100,CPU # 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 for multi-processor
##NUMCPUVPS 1 # Number of user (cpu) vps
##SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one

##NOAGE 0 # Process aging
##AFF_SPROC 0 # Affinity start processor
##AFF_NPROCS 0 # Affinity number of processors
VPCLASS CPU,num=2

# Shared Memory Parameters

LOCKS 100000 # Maximum number of locks
BUFFERS 32000 # Maximum number of shared buffers
NUMAIOVPS # Number of IO vps
PHYSBUFF 128 # Physical log buffer size (Kbytes)
LOGBUFF 128 # Logical log buffer size (Kbytes)
LOGSMAX 32 # Maximum number of logical log files
CLEANERS 1 # Number of buffer cleaner processes
SHMBASE 0x10000000 # Shared memory base address
SHMVIRTSIZE 200000 # initial virtual shared memory segment size
SHMADD 200000 # Size of new shared memory segments (Kbytes)
#SHMVIRTSIZE 8000 # initial virtual shared memory segment size
#SHMADD 8192 # 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 50 # LRU percent dirty end cleaning limit
LTXHWM 50 # Long transaction high water mark percentage
LTXEHWM 60 # Long transaction high water mark (exclusive)
TXTIMEOUT 0x12c # Transaction timeout (in sec)
# STACKSIZE 32 # Stack size (Kbytes)
STACKSIZE 512 # Stack size (Kbytes)

# System Page Size
# BUFFSIZE - OnLine no longer supports this configuration parameter.
# To determine the page size used by OnLine on your platform
# see the last line of output from the command, 'onstat -b'.


# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.

OFF_RECVRY_THREADS 10 # Default number of offline worker threads
ON_RECVRY_THREADS 1 # Default number of online worker threads

# Data Replication Variables
DRINTERVAL 30 # DR max time between DR buffer flushes (in sec)
DRTIMEOUT 30 # DR network timeout (in sec)
DRLOSTFOUND /opt/informix-9.21/etc/dr.lostfound # DR lost+found file path

# CDR Variables
CDR_EVALTHREADS 1,2 # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT 5 # DS lockwait timeout (seconds)
CDR_QUEUEMEM 4096 # Maximum amount of memory for any CDR queue (Kbytes)
CDR_LOGDELTA 30 # % of log space allowed in queue memory
CDR_NUMCONNECT 16 # Expected connections per server
CDR_NIFRETRY 300 # Connection retry (seconds)
CDR_NIFCOMPRESS 0 # Link level compression (-1 never, 0 none, 9 max)

# Backup/Restore variables
BAR_ACT_LOG /tmp/bar_act.log
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31
RESTARTABLE_RESTORE off
BAR_PROGRESS_FREQ 0

# Informix Storage Manager variables
ISM_DATA_POOL ISMData
ISM_LOG_POOL ISMLogs

# Read Ahead Variables
RA_PAGES # Number of pages to attempt to read ahead
RA_THRESHOLD # Number of pages left before next group

# DBSPACETEMP:
# OnLine equivalent of DBTEMP for SE. This is the list of dbspaces
# that the OnLine SQL Engine will use to create temp tables etc.
# If specified it must be a colon separated list of dbspaces that exist
# when the OnLine system is brought online. If not specified, or if
# all dbspaces specified are invalid, various ad hoc queries will create
# temporary files in /tmp instead.

DBSPACETEMP # Default temp dbspaces

# DUMP*:
# The following parameters control the type of diagnostics information which
# is preserved when an unanticipated error condition (assertion failure) occurs
# during OnLine operations.
# For DUMPSHMEM, DUMPGCORE and DUMPCORE 1 means Yes, 0 means No.

DUMPDIR /tmp # Preserve diagnostics in this directory
DUMPSHMEM 1 # Dump a copy of shared memory
# DUMPSHMEM 0 # Dump a copy of shared memory
DUMPGCORE 0 # Dump a core image using 'gcore'
DUMPCORE 0 # Dump a core image (Warning:this aborts OnLine)
DUMPCNT 1 # Number of shared memory or gcore dumps for
# a single user's session

FILLFACTOR 90 # Fill factor for building indexes

# method for OnLine to use when determining current time
USEOSTIME 0 # 0: use internal time(fast), 1: get time from OS(slow)

# Parallel Database Queries (pdq)
MAX_PDQPRIORITY 100 # Maximum allowed pdqpriority
DS_MAX_QUERIES # Maximum number of decision support queries
DS_TOTAL_MEMORY # Decision support memory (Kbytes)
DS_MAX_SCANS 1048576 # Maximum number of decision support scans
DATASKIP off # List of dbspaces to skip

# OPTCOMPIND
# 0 => Nested loop joins will be preferred (where
# possible) over sortmerge joins and hash joins.
# 1 => If the transaction isolation mode is not
# "repeatable read", optimizer behaves as in (2)
# below. Otherwise it behaves as in (0) above.
# 2 => Use costs regardless of the transaction isolation
# mode. Nested loop joins are not necessarily
# preferred. Optimizer bases its decision purely
# on costs.
OPTCOMPIND 2 # To hint the optimizer

DIRECTIVES 1 # Optimizer DIRECTIVES ON (1/Default) or OFF (0)

ONDBSPACEDOWN 2 # Dbspace down option: 0 = CONTINUE, 1 = ABORT, 2 = WAIT
LBU_PRESERVE 0 # Preserve last log for log backup
OPCACHEMAX 0 # Maximum optical cache size (Kbytes)

# HETERO_COMMIT (Gateway participation in distributed transactions)
# 1 => Heterogeneous Commit is enabled
# 0 (or any other value) => Heterogeneous Commit is disabled
HETERO_COMMIT 0

SBSPACENAME # Default smartblob space name - this is where blobs
# go if no sbspace is specified when the smartblob is
# created. It is also used by some datablades as
# the location to put their smartblobs.
SYSSBSPACENAME # Default smartblob space for use by the Informix
# Server. This is used primarily for Informix Server
# system statistics collection.

BLOCKTIMEOUT 3600 # Default timeout for system block
SYSALARMPROGRAM /opt/informix-9.21/etc/evidence.sh # System Alarm program path

# Optimization goal: -1 = ALL_ROWS(Default), 0 = FIRST_ROWS
OPT_GOAL -1

ALLOW_NEWLINE 0 # embedded newlines(Yes = 1, No = 0 or anything but 1)

#
# The following are default settings for enabling Java in the database.
# Replace all occurrences of /usr/informix with the value of $INFORMIXDIR.

#VPCLASS jvp,num=1 # Number of JVPs to start with

JVPJAVAHOME /opt/informix-9.21/extend/krakatoa/jre/
# JRE installation root directory
JVPHOME /opt/informix-9.21/extend/krakatoa
# Krakatoa installation directory

JVPPROPFILE /opt/informix-9.21/extend/krakatoa/.jvpprops # JVP property file
JVPLOGFILE /opt/informix-9.21/jvp.log # JVP log file.

JDKVERSION 1.2 # JDK version supported by this server
JVMTHREAD native # Java VM thread type (green or native)

# The path to the JRE libraries relative to JVPJAVAHOME
JVPJAVALIB /lib/sparc/

# The JRE libraries to use for the Java VM

JVPJAVAVM hpi:jvm:java:net:math:zip:jpeg

# Classpath to use upon Java VM start-up (use _g version for debugging)

# JVPCLASSPATH /opt/informix-9.21/extend/krakatoa/krakatoa.jar:/usr/informix/extend/krakatoa/jdbc.jar
JVPCLASSPATH /opt/informix-9.21/extend/krakatoa/krakatoa_g.jar:/usr/informix/extend/krakatoa/jdbc_g.jar

SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one

========================================================

sqlhosts:

rh_soc onsoctcp redhat infx_soc
rh_shm onipcshm redhat infx_shm
rh20_soc onsoctcp 192.168.20.11 infx_soc
node_soc olsoctcp dbgate 1427
gate2pub_soc onsoctcp 192.168.2.2 1427
db1pub_soc onsoctcp 192.168.2.3 1427
dblinux_soc onsoctcp 192.168.1.12 infx_soc
ol_pit olsoctcp 192.168.1.74 1526


в /etc/services

alias_soc 1427/tcp # Informix
oleg_soc 1426/tcp # Informix
rishat_soc 1427/tcp # Informix
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900242
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Сорри, продублировала онконфиг в предыдущем посте.
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32900270
Фотография Daugava
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А права какие у oninit ? su-idный бит никто не убрал?

ls -la $INFORMIXDIR/bin/oninit
-rwsr-sr-- 1 root informix 9833664 May 10 2002 /usr/informix/bin/oninit
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32901102
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
ls -la /opt/informix-9.21/bin/oninit

-rwsr-sr-- 1 root informix 8497828 Apr 9 2001 /opt/informix-9.21/bin/oninit
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32901353
Фотография Тан
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
sqlhosts:

rh_soc onsoctcp redhat infx_soc
rh20_soc onsoctcp 192.168.20.11 infx_soc

в /etc/services

alias_soc 1427/tcp # Informix
oleg_soc 1426/tcp # Informix
rishat_soc 1427/tcp # Informix


Так какой все-таки порт infx_soc?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32901405
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
infx_soc 1425/tcp # Informix
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32904584
vybegallo
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Мы уже разбирались с этим вопросом - http://www.sql.ru/forum/actualthread.aspx?tid=132992

Вы писали, что проблема решилась. Что-то изменилось с тех пор ? Аы попробовали убрать алиас из конфига ? redhat и 192.168.20.11 - это одна и та же машина, две разные сетевые карты на одной машине, или две разные машины ?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32905585
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegalloМы уже разбирались с этим вопросом - http://www.sql.ru/forum/actualthread.aspx?tid=132992

Вы писали, что проблема решилась. Что-то изменилось с тех пор ?
Решилась она тогда тем, что попробовали все от рута запускать - прошло, на этом и успокоились. Но сейчас настала необходимость запускать все от informix-а, и проблема выплыла опять. С тех пор ничего не изменилось.
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32905876
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegallo
Аы попробовали убрать алиас из конфига ?

в смысле вообще убрать строку в onconfig
DBSERVERALIASES rh_soc, rh20_soc

оставить только
DBSERVERNAME rh_shm

и в sqlhosts
вместо
rh_soc onsoctcp redhat infx_soc
rh_shm onipcshm redhat infx_shm
rh20_soc onsoctcp 192.168.20.11 infx_soc


прописать

rh_shm onsoctcp redhat infx_soc
rh_shm onipcshm redhat infx_shm
rh_shm onsoctcp 192.168.20.11 infx_soc


?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32906084
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegallo
redhat и 192.168.20.11 - это одна и та же машина, две разные сетевые карты на одной машине, или две разные машины ?

машина одна, сетевуха одна.
а упоминание адреса 192.168.20.11 - отголоски прошлого.
то есть сейчас в сетке машины такой не существует.
То есть надо удалять записи в sqlhosts с упоминанием об этом?

еще что-то надо делать?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32906676
vybegallo
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
ladyirina vybegallo
Аы попробовали убрать алиас из конфига ?

в смысле вообще убрать строку в onconfig
DBSERVERALIASES rh_soc, rh20_soc

оставить только
DBSERVERNAME rh_shm

и в sqlhosts
вместо
rh_soc onsoctcp redhat infx_soc
rh_shm onipcshm redhat infx_shm
rh20_soc onsoctcp 192.168.20.11 infx_soc


прописать

rh_shm onsoctcp redhat infx_soc
rh_shm onipcshm redhat infx_shm
rh_shm onsoctcp 192.168.20.11 infx_soc


?

Я не знаю, почему оно работает под рутом, а под информиксом оно явно ругается на попытку создать алиас на несуществующей машине.
Надо убрать все упоминания о rh20_soc из конфигов и оставить :
-----ONCONFIG ------

DBSERVERALIASES rh_soc

-----sqlhosts -----

rh_soc onsoctcp redhat infx_soc
rh_shm onipcshm redhat infx_shm
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32908762
vybegallo
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Получилось ?
...
Рейтинг: 0 / 0
Network driver cannot bind a name to the port.
    #32908865
ladyirina
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
vybegallo

Я не знаю, почему оно работает под рутом, а под информиксом оно явно ругается на попытку создать алиас на несуществующей машине.
Надо убрать все упоминания о rh20_soc из конфигов и оставить :
-----ONCONFIG ------

DBSERVERALIASES rh_soc

-----sqlhosts -----

rh_soc onsoctcp redhat infx_soc
rh_shm onipcshm redhat infx_shm

Спасибо большое.
Это и помогло.
...
Рейтинг: 0 / 0
25 сообщений из 25, страница 1 из 1
Форумы / Informix [игнор отключен] [закрыт для гостей] / Network driver cannot bind a name to the port.
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]