shenkangxyz 发表于 2011-06-08 11:17

informix oninit -iv 无法正常启动

SYBASE% oninit -ivy
Checking group membership to determine server run modesucceeded
Reading configuration file '/export/home/informix/etc/onconfig'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/export/home/informix/etc/.infos.SYBASE" ... "/export/home/informix/etc/.conf.SYBASE" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 80824 kbytes...succeeded
Creating buffer pool 40002 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 'tlitcp' listener threads...

但从online.log得到的是这样的信息
Wed Jun8 08:54:42 2011

08:54:42Error: Unable to reset open files limit, must run as super-user
08:54:42Event alarms enabled.ALARMPROG = '/export/home/informix/log_full.sh'
08:54:47DR: DRAUTO is 0 (Off)
08:54:47Requested shared memory segment size rounded from 600KB to 608KB
08:54:47listener-thread: err = -25572: oserr = 8: errstr = : Network driver cannot bind a name to the port.
System error = 8.
08:54:47Attempting to bring listener thread down.

08:54:47Server stopped.
现在向各位大侠求助

zpc_silenthill 发表于 2011-06-08 11:34

>finderr 25572
-25572Network 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

shenkangxyz 发表于 2011-06-08 16:23

bash-2.03$ more sqlhosts
#**************************************************************************
#
#                        INFORMIX SOFTWARE, INC.
#
#                           PROPRIETARY DATA
#
#       THIS DOCUMENT CONTAINS TRADE SECRET DATA WHICH IS THE PROPERTY OF
#       INFORMIX SOFTWARE, INC.THIS DOCUMENT IS SUBMITTED TO RECIPIENT IN
#       CONFIDENCE.INFORMATION CONTAINED HEREIN MAY NOT BE USED, COPIED OR
#       DISCLOSED IN WHOLE OR IN PART EXCEPT AS PERMITTED BY WRITTEN AGREEMENT
#       SIGNED BY AN OFFICER OF INFORMIX SOFTWARE, INC.
#
#       THIS MATERIAL IS ALSO COPYRIGHTED AS AN UNPUBLISHED WORK UNDER
#       SECTIONS 104 AND 408 OF TITLE 17 OF THE UNITED STATES CODE.
#       UNAUTHORIZED USE, COPYING OR OTHER REPRODUCTION IS PROHIBITED BY LAW.
#
#
#   Title:      sqlhosts.demo
#   Sccsid:   @(#)sqlhosts.demo       9.2   7/15/9315:20:45
#   Description:
#               Default sqlhosts file for running demos.
#
#**************************************************************************

#demo_on      onipcshm      on_hostname   on_servername
#demo_se      seipcpip      se_hostname   sqlexec

SYBASE          onipcshm      192.168.1.203   sqlexec
SYBASE_net      ontlitcp      192.168.1.203   sqlexec_net
SYBASE          onipcshm      192.168.1.200   sqlexec
SYBASE_net      ontlitcp      192.168.1.200   sqlexec_net
bash-2.03$ more /etc/hosts
#
# Internet host table
#
127.0.0.1       localhost      
192.168.1.200   SYBASEloghost
192.168.1.200   SYBASEloghostabc.com

本机192.168.1.200   应该这些都没什么问题吧

antyison 发表于 2011-06-08 17:03

sqlexec 和 sqlexec_net
在/etc/services里都有定义吗?

shenkangxyz 发表于 2011-06-08 17:13

有   sqlexec      10001/tcp
sqlexec_net10002/tcp

shenkangxyz 发表于 2011-06-08 17:33

有   sqlexec      10001/tcp
sqlexec_net10002/tcp

liaosnet 发表于 2011-06-08 18:14

有   sqlexec      10001/tcp
sqlexec_net10002/tcp
shenkangxyz 发表于 2011-06-08 17:33 http://bbs.chinaunix.net/images/common/back.gif


    请你把这两个干掉
SYBASE          onipcshm      192.168.1.203   sqlexec
SYBASE_net      ontlitcp      192.168.1.203   sqlexec_net
页: [1]
查看完整版本: informix oninit -iv 无法正常启动