When executing ./install.sh script which came withe 4.0.3, when prompted for the type of web server, the script errors out with the following:
#
A fatal error has occurred while trying to register various components of this product...
etc....
#
So here is a snip from the log files:
cat /usr/local/casp/logs/installer_errors
====================================================== Mon Jun 16 14:22:56 2008
Error: Following components could NOT be registered successfully.Failed Components are : atl, bscript, dscript, chiliado, chiliscrrun, calc, chilicap, chiliasp, chiliadox, chiliadrotator, chilicontentrotator, chilinextlink, chilitools, counter, myinfo, chilicomsecurityerror, chilimail, chilipop3, chiliupload, javacontext, cbnative
Encountered at:
Package: main
File: INSTALL/caspi2.pl
Line: 658
===============================================================================
cat .installer_output
/usr/local/casp/tools/bin/linux2_i686/perl5/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
This is very interesting, since glibc is installed... :) and 4.0.1 has never complained at this step...
Redhat Ent 5 is not supported from what i can see, highest supported version is V4 so I guess that could be an issue.
I seem to remember installing compat-libstdc++ when installing 4.0.2 on FC2 so that it would work as it expected older libraries than were on FC2. Perhaps something similar is required for Ent V5.
Searching for Web servers ... |
Error: Invalid / broken apache binary.
Unable to obtain version values for the server with config file:
/usr/local/apache/conf/httpd.conf
i had the same errors and i have successfully installed the prod on Ubuntu 8.04
1) extract installer.tar.gz
2) open package/casp-images/INSTALL/templates/chsetup.sh
3) fix LD_ASSUME_KERNEL
4) repackage the installer.tar.gz
i also edited caspi2.pl to enable apache-bundle install. even though i have sjws 7.0 installed, i am quite comfortable with apache. i suggest you to consider using apache-bundle if you are gonna prefer apache.
this prod doesn't recognize the newer apache config structure. i tried installing apache 1.3.41 and still the prod complained about not being able to find the port apache uses. but the prod works as a charm with the supplied apache-bundle.
apache bundle also complained about missing libraries. fixed it by symlinking the expected libraries to newer versions found in the system.
the installation is quite perfect now. i have even tested mysql connectivity.
i had to use apache-bundle because the option 4 to specify the web server config manually miraculously didn't work. if option 4 works for you then im gonna blame my sins :)
Re: Problems installing 4.0.3 on Centos5(rhel5)
Jul 2, 2008 9:21 AM
(reply 8
of 14) (In reply to
#7 )
officially engaged in a task at clients end. i will write an howto but its gonna take min of three days. if you have need any clarification within the period, let me know.
Hmmm I am unclear on "3) fix LD_ASSUME_KERNEL". I updated it to reflect the current kernel, repackaged but I am still running into:
Error: Invalid / broken apache binary.
Unable to obtain version values for the server with config file:
/usr/local/apache/conf/httpd.conf
Error: Error occurred while trying to configure Apache Server
Error: This must be either because of the way your Apache server is configured.
Error: Please verify your Apache configuration settings and try again!
Press Enter to continue ...
i had the same errors on Fedora 9 and then I followed navinsylvester's instructions and fixed the line that contain LD_ASSUME_KERNEL=2.4.19 on chsetup.sh.
Original line: test -d /lib/tls && export LD_ASSUME_KERNEL=2.4.19
Fixed it into: test -d /lib/tls
After I repackaged the installer.tar.gz, I Installed these packages:
- compat-libgcc-296-2.96-140.i386
- compat-libstdc++-296-2.96-140.i386
- compat-libstdc++-33-3.2.3-63.i386
and then try to reinstall sjsasp-4.0.3 (without modifying any other files, just chsetup.sh on installer.tar.gz), the installer running well and I successfully installed and integrate it with sjws-7.0 (I choosed to input the location of a web server manually, and using a default configuration).
After sjasjp-4.0.3 installed, I add ASP Server (using: configure-server function=add-server webserver_conf=/path/to/httpd.conf) to add apache 2.2.9 as web server, and perfectly configured. So now I can choose wether I use apache or sjsws-7.0 as a web server.