participate


Sun Java System Active Server Pages - Problems installing 4.0.3 on Centos5(rhel5)
<<   Back to Forum  |   Give us Feedback
This topic has 14 replies on 1 page.
clustermagnet
Posts:4
Registered: 6/16/08
Problems installing 4.0.3 on Centos5(rhel5)   
Jun 16, 2008 11:30 AM

 
Dear All,

Running into the following problems with 4.0.3...

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...
 
clustermagnet
Posts:4
Registered: 6/16/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jun 16, 2008 1:40 PM (reply 1 of 14)  (In reply to original post )

 
I guess there is good things from this though... taking the mod_casp2.so from 4.0.3, and sticking it into apache 2.2.9 , and running 4.0.1 works lol

Any clues why im getting such weird installer errors?

Thanks guys :)

Edited by: clustermagnet on Jun 16, 2008 1:40 PM
 
Duncan_Berriman
Posts:328
Registered: 3/23/05
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jun 17, 2008 1:29 AM (reply 2 of 14)  (In reply to #1 )

 
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.

Duncan
 
fluxservices
Posts:6
Registered: 6/29/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jun 29, 2008 12:20 PM (reply 3 of 14)  (In reply to #2 )

 
Oh, that is not good. Any work around?

I am receiving:

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

with RHEL5 and Apache 1.3.
 
  sriram.natarajan
Posts:365
Registered: 11/13/07
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jun 29, 2008 7:15 PM (reply 4 of 14)  (In reply to #3 )

 
what does the installer_errors log file (install-root/logs/installer_errors) file say ?
 
navinsylvester
Posts:5
Registered: 6/28/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jul 1, 2008 12:00 AM (reply 5 of 14)  (In reply to original post )

 
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.
 
navinsylvester
Posts:5
Registered: 6/28/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jul 1, 2008 12:08 AM (reply 6 of 14)  (In reply to #5 )

 
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 :)
 
fluxservices
Posts:6
Registered: 6/29/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jul 1, 2008 9:01 AM (reply 7 of 14)  (In reply to #5 )

 
Impressive. You may have to write a howto on this!
 
navinsylvester
Posts:5
Registered: 6/28/08
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.

--navin
 
fluxservices
Posts:6
Registered: 6/29/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jul 8, 2008 12:39 AM (reply 9 of 14)  (In reply to #8 )

 
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 ...
 
navinsylvester
Posts:5
Registered: 6/28/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jul 10, 2008 1:49 AM (reply 10 of 14)  (In reply to #9 )

 
did you try it with apache-bundle. i used apache-bundle and didn't stumble on the prob you have reported.
 
navinsylvester
Posts:5
Registered: 6/28/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jul 10, 2008 2:20 AM (reply 11 of 14)  (In reply to #10 )

 
The LD_ASSUME_KERNEL fixes the bug that clustermagnet mentioned. I haven't hit the same errors you encountered cause i went with apache-bundle.
 
cheeselimpy
Posts:1
Registered: 7/22/08
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Jul 22, 2008 9:32 AM (reply 12 of 14)  (In reply to #8 )

 
Also trying to install ASP on RHEL5.

Were you able to write that how-to?

Thanks for your time.....

CL
 
ibenk68th
Posts:2
Registered: 12/18/05
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Aug 22, 2008 9:03 PM (reply 13 of 14)  (In reply to original post )

 
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.

Hope this can help :) .

Edited by: ibenk68th on 23 Agu 08 10:56
 
nigelbrooks
Posts:8
Registered: 9/13/06
Re: Problems installing 4.0.3 on Centos5(rhel5)   
Oct 18, 2009 1:36 PM (reply 14 of 14)  (In reply to #3 )

 
I'm trying to get ASP 4.0.2 running under Apache 2.2.2 on Redhat 5.

I either need a mod_casp2.so that will work with 2.2.2 OR a copy of ASP 4.0.3

Can anyone help please !

Thanks
Nigel
 
This topic has 14 replies on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 62
  • Guests : 128

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums