The EAServer plug-in is not compatible with the default configuration of the Apache Web server on HP Itanium. Follow the procedures below to make the Web server compatible with the EAServer plug-in.
Running the Apache Web server and configuring
the Web server plug-in
To install the Web server, run these commands:
gunzip apache_1.3.20.tar.gz (or the apache 2.0 equivalent)
tar xvf apache_1.3.20.tar
If the Web server is preinstalled, run:
make distclean
Comment out line 127; in <source dir>/src/os/unix/os.c, change:
shl_unload((shl_t)handle);
to:
/* shl_unload((shl_t)handle); */
In the file <apache source dir>/src/main/http_main.c, in this function:
child_main(int child_num_args)
after the call to ap_accept, change this line:
if (csd >= 0 || errno != EINTR)
to:
if (csd >=0 || ((errno != EINTR) && (errno !=ENOBUFS)))
Run the configure command:
CC="/usr/bin/cc" LD_SHLIB="/opt/aCC/bin/aCC" ./configure --prefix=<install dir> --enable-module=so
Change line 14 in <source dir>/src/Makefile, from:
SHMOD_SUFFIX_NAME=so
to:
SHMOD_SUFFIX_NAME=sl
Run:
make all install
Copy conn_config to <install_dir>/conf.
Define the user name and group name in the httpd.conf file:
User user_name Group group_name
Copy the file to <install_dir>/conf.
Copy libexec/* to <install dir>/libexec.
Add these lines to the <install dir>/bin/apachectl script:
For Apache 1.3
LD_PRELOAD=<install dir>/libexec/libjeas_mod.so:<install dir>/libjcc.so; export LD_PRELOAD export SHLIB_PATH=<install dir>/libexec:.:$SHLIB_PATH
For Apache 2.0:
LD_PRELOAD=<install dir>/libexec/libjeas2_mod.so:<install dir>/libjcc.so; export LD_PRELOAD export SHLIB_PATH=<install dir>/libexec:.:$SHLIB_PATH
To start the Apache Web server, run:
apachectl start
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |