|
|
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
Непонятная фигня происходит. Если запускать сервер от 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 Помогите, если знаете где грабли :-) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 02.02.2005, 17:18 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
у меня oninit - suid-root и sgid-informix (linux, Ids9.40uc3) Наверное от root'а и надо ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 02.02.2005, 18:04 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
check your environment variables for root and informix, especially INFORMIXSERVER, ONCONFIG and SQLHOSTS ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 02.02.2005, 21:40 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
INFORMIXSERVER - одинаковые в обоих случаях. ONCONFIG и SQLHOSTS не установлены в обоих случаях ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 11:31 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
ladyirinaINFORMIXSERVER - одинаковые в обоих случаях. ONCONFIG и SQLHOSTS не установлены в обоих случаях а порт какой? может используется уже? а случайно named pipe не используется? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 11:51 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
ladyirinaINFORMIXSERVER - одинаковые в обоих случаях. ONCONFIG и SQLHOSTS не установлены в обоих случаях what about INFORMIXDIR ? Do they point to the same directory ? and why ONCONFIG is not set ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 16:20 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
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. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 16:24 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
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? Как их изменить? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 18:34 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
vybegallo ladyirinaINFORMIXSERVER - одинаковые в обоих случаях. ONCONFIG и SQLHOSTS не установлены в обоих случаях what about INFORMIXDIR ? Do they point to the same directory ? and why ONCONFIG is not set ? Да. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 18:35 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
vybegallo and why ONCONFIG is not set ? Нет ответа. Сервер в наследство достался в условно рабочем состоянии ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 18:38 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
Журавлев Денис ladyirinaINFORMIXSERVER - одинаковые в обоих случаях. ONCONFIG и SQLHOSTS не установлены в обоих случаях а порт какой? может используется уже? а случайно named pipe не используется? порт 1427 где посмотреть, не посажено ли на него еще что-то? где посмотреть, не используются ли named pipe? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 18:49 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
Ирина, приведите ваш onconfig и sqlhosts файлы. кто еще висит на порту, можно попытаться найти в /etc/services. Попробуйте поменять номер порта в sqlhosts и используйте номер вместо имени. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 19:23 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 20:01 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
Сорри, продублировала онконфиг в предыдущем посте. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 20:07 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
А права какие у oninit ? su-idный бит никто не убрал? ls -la $INFORMIXDIR/bin/oninit -rwsr-sr-- 1 root informix 9833664 May 10 2002 /usr/informix/bin/oninit ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.02.2005, 20:36 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
ls -la /opt/informix-9.21/bin/oninit -rwsr-sr-- 1 root informix 8497828 Apr 9 2001 /opt/informix-9.21/bin/oninit ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.02.2005, 12:49 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
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? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.02.2005, 13:58 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
infx_soc 1425/tcp # Informix ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.02.2005, 14:10 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
Мы уже разбирались с этим вопросом - http://www.sql.ru/forum/actualthread.aspx?tid=132992 Вы писали, что проблема решилась. Что-то изменилось с тех пор ? Аы попробовали убрать алиас из конфига ? redhat и 192.168.20.11 - это одна и та же машина, две разные сетевые карты на одной машине, или две разные машины ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.02.2005, 17:24 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
vybegalloМы уже разбирались с этим вопросом - http://www.sql.ru/forum/actualthread.aspx?tid=132992 Вы писали, что проблема решилась. Что-то изменилось с тех пор ? Решилась она тогда тем, что попробовали все от рута запускать - прошло, на этом и успокоились. Но сейчас настала необходимость запускать все от informix-а, и проблема выплыла опять. С тех пор ничего не изменилось. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.02.2005, 11:27 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
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 ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.02.2005, 12:54 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
vybegallo redhat и 192.168.20.11 - это одна и та же машина, две разные сетевые карты на одной машине, или две разные машины ? машина одна, сетевуха одна. а упоминание адреса 192.168.20.11 - отголоски прошлого. то есть сейчас в сетке машины такой не существует. То есть надо удалять записи в sqlhosts с упоминанием об этом? еще что-то надо делать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.02.2005, 13:51 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.02.2005, 17:26 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
Получилось ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.02.2005, 17:25 |
|
||
|
Network driver cannot bind a name to the port.
|
|||
|---|---|---|---|
|
#18+
vybegallo Я не знаю, почему оно работает под рутом, а под информиксом оно явно ругается на попытку создать алиас на несуществующей машине. Надо убрать все упоминания о rh20_soc из конфигов и оставить : -----ONCONFIG ------ DBSERVERALIASES rh_soc -----sqlhosts ----- rh_soc onsoctcp redhat infx_soc rh_shm onipcshm redhat infx_shm Спасибо большое. Это и помогло. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.02.2005, 18:16 |
|
||
|
|

start [/forum/topic.php?fid=44&msg=32900234&tid=1609103]: |
0ms |
get settings: |
10ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
77ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
84ms |
get tp. blocked users: |
2ms |
| others: | 272ms |
| total: | 488ms |

| 0 / 0 |
