[Thread Prev][Thread Next][Index]

Re: [las_users] RHEL3 and LAS6.5




Hi Ben/LAS Users,

I got LAS 6.5.1.2 going on Red Hat Enterprise 3. Ben asked for versions for supporting software I used. Also note that I found the server started but failed to give the constraints page because of a missing subdirectory "temp" under "las/las_servlet/jakarta" (see below). Here's my set-up:

Java: j2sdk1.4.2_03 (from sun)
perl: 5.8.0 (installed with rhel3 disks)
netcdf: 3.5.1 (from unidata)
Ferret: 5.81
Mysql: mysql-3.23.58-15.RHEL3.1.rpm and mysql-server-3.23.58-16.RHEL3.1.rpm
(both from rhel3 disks)
apache: httpd-2.0.46-38.end.i386.rpm and
redhat-config-httpd-1.1.0-4.noarch.rpm (both from rhel3 disks)
expat: expat-1.95.5-6.rpm and expat-devel-1.95.5-6.rpm (both from rhel3 disks)

There were lots of perl rpms installed with the red hat installation, but I needed these extras, all from the rhel3 disks except when noted):

perl-CGI-2.81-88.7.i386.rpm
perl-DBD-MySQL-2.1021-3.i386.rpm
perl-DBI-1.32-5.i386.rpm
perl-Time-HiRes-1.38-3.i386.rpm
perl-netcdf-perl-1.2.3-x3jpl.i386.rpm (I think I got this from http://home.badc.rl.ac.uk/iwi/netcdf-perl)

giving an "rpm -qa | grep perl" gives an impressive:

perl-Filter-1.29-3
perl-XML-Parser-2.31-15
perl-Parse-Yapp-1.05-30
perl-libwww-perl-5.65-6
perl-DateManip-5.42a-0.rhel3
perl-HTML-Parser-3.26-17
perl-XML-Grove-0.46alpha-25
perl-CPAN-1.61-89.10
perl-DBD-MySQL-2.1021-3
perl-URI-1.21-7
perl-HTML-Tagset-3.03-28
perl-XML-Encoding-1.01-23
perl-libxml-enno-1.02-29
perl-5.8.0-89.10
perl-libxml-perl-0.07-28
perl-XML-Dumper-0.4-25
perl-DBI-1.32-9
perl-XML-Twig-3.09-3
perl-Time-HiRes-1.38-3
ImageMagick-perl-5.5.6-15
perl-netcdf-perl-1.2.3-x3jpl
perl-CGI-2.81-89.10

The steps I used to install LAS follow the instructions fairly closely:

- installed and tested java
- installed and tested netcdf
- installed and tested ferret
- started httpd and mysqld through init scripts as root. tested apache by loading root page (didn't secure it!)
- went to the root page location (/var/www/html) and (as root) created
a directory for las (named FOCI, for our group) and made it owned by me
as a user (chown cmoore:users FOCI)
- AS USER (not root, but as cmoore) I copied the tarball to /var/www/html/FOCI, expanded it "gzip -d < las_6_5_1_2.tar.gz | tar xvf -"
- set up my ferret environment variables: "source /usr/local/ferret_paths"
- "cd las"
- "./configure"

I used default values for pretty much everything, but the configure script failed when trying to verify apache, so I said "no" to that

- changed apache configuration as advised in configure script (in CONFIG_INSTRUCTIONS.txt after running configure)
- started Tomcat "./startserver.sh"

NOTE THAT THIS FAILED TO WORK because of a missing subdirectory...

- created "temp" subdirectory under "las/las_servlet/jakarta"
- restarted Tomcat "./stopserver.sh" then "./startserver.sh"

And all was well.

Good luck,
Chris

__________________________________________________________________
Christopher Moore email: Christopher.Moore@noaa.gov
Research Scientist, Oceanography tel: 206.526.6779
University of Washington/JISAO/NOAA-PMEL fax: 206.526.6744
------------------------------------------------------------------

On Fri, 19 Aug 2005, Ben Burford wrote:

Hello Chris,

I searched the archives an found your email to the LAS users group in July.
I want to install LAS 6.5 on Red Hat Linux AS 3.0.  I had some problems wit
h software versions in installation of LAS 6.3 on Red Hat 7.2 a year ago.  I
was hoping you could tell me what versions of support software you used for
a successful installation:
JAVA (j2sdk?)
perl
netcdf
Mysql
Ferret
other?

I especially would like to hear what version of Mysql was installed and what
all needed to be installed.  This is the area where I had problems installi
ng LAS 6.3 about a year ago:
MySQL
MySQL-client
MySQL-devel (?)
DBD-mysql (?)
DBI (?)
other?

Much thanks for any help you can give,

Ben Burford



At 15:48 2005/07/20 -0700, you wrote:
I'm trying to do a vanilla LAS install on a RedHat EL3 machine.  I get it
installed and running, but stumble at the finish line.  Can anyone see what
might have happened?  Here were my steps:

installed apache from rh disks, started it through the init script as root
installed mysqld from rh disks, started it through the init script as root
upgraded to ferret5.81, removing the old ferret installation, tested, runs
fine
checked for perl (ver 5.5 from rh disks)
checked for expat (ver 1.95-5 from rh disks)
checked for java (ver 1.4.02 from Sun), tested, works, use it all the time
checked for netcdf (ver 3.5.1 from unidata), tested, works, use it all the
time
checked for ant (ver 1.5.2.23 from rh disks), test, works

unzipped las_6_5...
cd las
./configure
(missing some perl modules, installed most from rh disks & CPAN, perl-netc
df
from an rpm built for rhel3 from god-knows-where)

modified various file permissions as instructed
modified /etc/httpd/conf/httpd.conf as instructed, restarted as root

./startserver.sh

I go to our url, and I see the default data sets (coads, levitus).

I choose "COADS", select "Air Temperature", and click "Next", and get a
ServletException.  From the TOMCAT logs:


anagram: started ok
Jul 19, 2005 2:53:48 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 19, 2005 2:53:48 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jsp-examples] startup failed due to previous errors
Jul 19, 2005 2:53:48 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 19, 2005 2:53:48 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/servlets-examples] startup failed due to previous errors
Jul 19, 2005 2:53:48 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 19, 2005 2:53:48 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8008
Jul 19, 2005 2:53:48 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/116  config=null
Jul 19, 2005 2:53:48 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 19, 2005 2:53:48 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3981 ms
javax.servlet.ServletException: Can't create cache file!
         at gov.noaa.pmel.tmap.FormFilter.doFilter(FormFilter.java:103)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
onFilterChain.java:202)




what cache file?  $lasroot/server/output was chgrp apache and chmod g+w


Where should I start with this?

Cheers,
Chris



__________________________________________________________________
Christopher Moore                email: Christopher.Moore@noaa.gov
Research Scientist, Oceanography                 tel: 206.526.6779
University of Washington/JISAO/NOAA-PMEL         fax: 206.526.6744
------------------------------------------------------------------



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement