[informix@www informix]$ cat ./etc/sqlhosts
IDSwww onipcshm www sqlexecshm
IDSwww_tcp onsoctcp www sqlexec
==> sqlhosts 파일
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace name
ROOTPATH /dev/online_root # Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)
ROOTSIZE 30000 # Size of root dbspace (Kbytes)
# System Configuration
SERVERNUM 0 # Unique id corresponding to a OnLine instance
DBSERVERNAME IDSwww # Name of default database server
DBSERVERALIASES IDSwww_tcp # List of alternate dbservernames
NETTYPE soctcp,1,10,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 0 # 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
[informix@www etc]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 www
192.168.0.199 cel700
192.168.0.1
192.168.0.3 www localhost.localdomain. localhost
192.168.0.3 www
의 설정과 같은 상황에서 ....
[informix@www etc]$ oninit -ivy
Checking group membership to determine server run modesucceeded
Reading configuration file '/opt/informix/etc/onconfig.std'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/opt/informix/etc/.infos.IDSwww" ... "/opt/informix/etc/.conf.IDSwww" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 1098 kbytes...succeeded
Creating buffer pool 10002 kbytes...succeeded
Initializing rhead structure...succeeded
Initializing ASF ...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
[informix@www etc]$ cat $INFORMIXDIR/online.log
Tue Feb 18 13:49:29 2003
13:49:29 Event alarms enabled. ALARMPROG = '/opt/informix/etc/log_full.sh'
13:49:29 Booting Language <c> from module <>
13:49:29 Loading Module <CNULL>
13:49:29 Booting Language <builtin> from module <>
13:49:29 Loading Module <BUILTINNULL>
[informix@www informix]$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 www:smtp *:* LISTEN
tcp 0 138 www:telnet adm:2736 ESTABLISHED
tcp 0 0 www:telnet adm:2788 ESTABLISHED
udp 0 0 *:sunrpc *:*
[informix@www informix]$ onstat -
*** WARNING: Informix Dynamic Server is no longer running. ***
*** WARNING: Informix Dynamic Server is no longer running. ***
Changing data structure forced command termination.
왜 포트가 안열리는걸까요?
|