[Thread Prev][Thread Next][Index]

Re: help with LAS 6.0 installation



Joe,

The "Can't drop database" warning should not be a problem if this your
initial installation.

Taking a look at line 1187 from configure.pl:

if (system(qq{cd las_servlet && rm -rf WEB-INF && mkdir -p
WEB-INF/classes/ && cp src/las. properties WEB-INF/classes/ && $jar uf
las.war WEB-INF/classes/las.properties && rm -rf WEB-INF})){
    die "Error in updating las.war with las.properties";
}

I would suggest that you try issuing these commands one at a time,
replacing $jar with something like "/usr/java/j2sdk1.4.0/bin/java/jar". 
You can find out what java repository should be used from the
config.results file.  Look for $LasConfig{java}.

cd las_servlet
rm -rf WEB-INF
mkdir -p WEB-INF/classes/
cp src/las. properties WEB-INF/classes/
$jar uf las.war WEB-INF/classes/las.properties
rm -rf WEB-INF

This will tell you where things are failing which could point to
permission problems or something with java.

That's my best suggestion for the moment.


-- Jonathan Callahan


Joe Wielgosz wrote:
> 
> Hi,
> 
> I'm trying to install LAS 6.0 on Red Hat 7.1. I got this far in the
> configure script and it died:
> 
> ****************
> ...
> 
> You can set the server up to use the sample COADS climatology and
> Levitus
> climatology datasets that are distributed with Ferret.
> Do you want to do this? [yes]
> Generating HTML...
> DBD::mysql::db do failed: Can't drop database 'las0'. Database doesn't
> exist at ../xml/perl/LASDB.pm line 340.
> Serializing file:/var/local/las-6.0.0/server/las.xml to database
> Building indexes...
> Resolving links...
> Using default catalog...
> Generating dataset COADS Climatology
> Generating dataset Levitus Climatology
> [Wed Oct 30 19:09:11 2002] configure.pl: Error in updating las.war with
> las.properties at ./configure.pl line 1187. at
> /usr/local/lib/perl5/5.8.0/CGI/Carp.pm line 301, <STDIN> line 16.
> 
> ****************
> 
> I can start Tomcat and get the test page successfully. However when I
> try to request /las/servlets/dataset I get a 404.
> 
> I do get "mysqld is alive" when I do a "mysqladmin -p ping". The root
> user is password protected but has full privileges as far as I know (all
> I've done is run mysql_install_db and then set the root password).
> 
> Any suggestions?
> 
> Here is my system configuration:
> 
> ****************
> 
> [mon07soon@www ~]$ ferret
>         NOAA/PMEL TMAP
>         FERRET v5.41
>         Linux 2.4.3-12smp - 08/30/02
>         31-Oct-02 13:08
> 
> [mon07soon@www ~]$ java -version
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
> Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
> 
> [mon07soon@www ~]$ perl -version
> 
> This is perl, v5.8.0 built for i686-linux
> 
> Copyright 1987-2002, Larry Wall
> 
> ...
> 
> [mon07soon@www ~]$ uname -mvrsp
> Linux 2.4.3-6smp #1 SMP Wed May 16 04:29:16 EDT 2001 i686 unknown
> 
> [mon07soon@www ~]$ cat /etc/redhat-release
> Red Hat Linux release 7.1sbe (Seawolf)
> 
> ****************
> 
> Thanks,
> 
> - Joe
> 
> --
> Joe Wielgosz / joew@cola.iges.org
> ---------------------------------------------------
> Center for Ocean-Land-Atmosphere Studies (COLA)
> Institute for Global Environment and Society (IGES)
> http://www.iges.org


[Thread Prev][Thread Next][Index]

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