dynamic과 static 모두 가능합니다.
dynamic의 경우
cd /apache_dir/libexec
ld -Bshareable -o explode.so explode.o
$INFORMIXDIR/extend/web.4.11.UC1/apache/libifxw.a \
-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql `esql -libs|xargs`
httpd.conf
LoadModule informix_module modules/explode.so
AddModule explode.c
SetHandler informix_explode
static의 경우
informix module into the Apache Server binary, follow the steps below. The
entries in steps a) and b) should not contain any carriage returns: it
should fit on exactly one line.
a) add the following Informix directories to the EXTRA_LDFLAGS option in
the Configuration.tmpl(This file is located in apache source directory).
-L/lib
-L/lib/esql
-L/extend/web.4.11.UC1/apache
b) add the following libraries to the EXTRA_LIBS option in the
Configuration.tmpl.
-lifxw -lifsql -lifasf -lifgen -lifos -lifgls
/lib/esql/checkapi.o -lifglx -lm -ldl
c) copy and rename the file explode.o.
cp /extend/web.4.11.UC1/apache/explode.o
/src/modules/informix/informix.o
d) go to directory and run the following command.
./configure --activate-module=src/modules/informix/informix.o
--enable-module=informix --prefix=
e) after step d), open the Makefile located in /src/modules
and change the line
MODULES=standard informix
to
MODULES=standard
f) go back to directory and do the following.
make
make install
In the preceding list, INFORMIXDIR refers to the full pathname of main
informix directory, and APACHEDIR is the full pathname of apache
directory.
하시면 됩니다.
>>인포to 님께서 쓰시길<<
:: 인포믹스 서버 그리고 웹데이타 블레이드까지 설치를 했는데
:: apache 모듈에explode.o 가 나타나지 안네요.무엇이문제인지..
::
:: online.log를 보면
:: Loading Module <$INFORMIXDIR/extend/ifxmngr/ifxmngr.bld>
:: 00:42:24 The C Language Module </home/informix/92/extend/ifxmngr/ifxmngr.bld> loaded
:: 00:43:05 Loading Module <$INFORMIXDIR/extend/web.4.10.UC1/web.bld>
:: 00:43:05 The C Language Module </home/informix/92/extend/web.4.10.UC1/web.bld> loaded
:: 00:43:05 Unloading Module <$INFORMIXDIR/extend/web.4.10.UC1/web.bld>
:: 00:43:05 The C Language Module <$INFORMIXDIR/extend/web.4.10.UC1/web.bld> unloaded
:: 00:43:05 Loading Module <$INFORMIXDIR/extend/web.4.10.UC1/web.bld>
:: 00:43:05 The C Language Module </home/informix/92/extend/web.4.10.UC1/web.bld> loaded
:: 00:43:05 Unloading Module <$INFORMIXDIR/extend/web.4.10.UC1/web.bld>
:: 00:43:05 The C Language Module <$INFORMIXDIR/extend/web.4.10.UC1/web.bld> unloaded
:: 00:43:22 Fuzzy Checkpoint Completed: duration was 1 seconds, 922 buffers not flushed.
:: 00:43:22 Checkpoint loguniq 2, logpos 0x2c9560
::
:: 00:48:23 Fuzzy Checkpoint Completed: duration was 1 seconds, 368 buffers not flushed.
:: 00:48:23 Checkpoint loguniq 2, logpos 0x2d23d8
::
:: 00:49:04 Loading Module <$INFORMIXDIR/extend/web.4.10.UC1/web.bld>
:: 00:49:04 The C Language Module </home/informix/92/extend/web.4.10.UC1/web.bld> loaded
:: 00:49:06 Loading Module <$INFORMIXDIR/extend/web.4.10.UC1/weblocalize.bld>
:: 00:49:06 The C Language Module </home/informix/92/extend/web.4.10.UC1/weblocalize.bld> loaded
:: 00:53:24 Fuzzy Checkpoint Completed: duration was 1 seconds, 372 buffers not flushed.
:: 00:53:24 Checkpoint loguniq 2, logpos 0x3973f8
::
:: 00:58:24 Fuzzy Checkpoint Completed: duration was 0 seconds, 372 buffers not flushed.
:: 00:58:24 Checkpoint loguniq 2, logpos 0x3993f8
::
:: 01:26:24 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 02:00:41 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 08:53:24 Fuzzy Checkpoint Completed: duration was 0 seconds, 370 buffers not flushed.
:: 08:53:24 Checkpoint loguniq 2, logpos 0x39c3e8
::
:: 08:55:14 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 08:55:59 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 08:56:13 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 08:56:41 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 08:57:14 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 11:38:47 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
::
:: 11:39:26 listener-thread: err = -408: oserr = 0: errstr = : Invalid message type received from
:: the sqlexec process.
|