[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    Re: [opennms-install] unknown option 'W' and/or servlet directory
From:       "DJ Gregor" <dj () opennms ! org>
Date:       2007-05-09 22:46:16
Message-ID: 1178750776.24086.1189008081 () webmail ! messagingengine ! com
[Download RAW message or body]

Did you install the webapp RPM?  I believe it's still a separate RPM.


        - djg

On Wed, 9 May 2007 13:10:51 -0700 (PDT), "Iomar Vargas"
<ivargas@commoca.com> said:
> I have been running to these problems during installation.
> I have been following the documentation from:
> http://www.opennms.org/documentation/installguide.html#N10484
> But it seems outdated, since the -W is not recognized by the
> /bin/install. I'm using the opennms-1.3.2-3_centos4.i386.rpm
> 
> First try:
> #./install -y -w $CATALINA_HOME/webapps -W $CATALINA_HOME/server/lib
> ==============================================================================
> OpenNMS Installer Version $Id: Installer.java 4833 2006-10-18 19:07:16Z
> djgregor $
> ==============================================================================
> 
> Configures PostgreSQL tables, users, and other miscellaneous settings.
> 
> Exception in thread "main" java.lang.Exception: unknown option 'W', use
> '-h' option for usage
>         at
>         org.opennms.install.Installer.parseArguments(Installer.java:401)
>         at org.opennms.install.Installer.install(Installer.java:130)
>         at org.opennms.install.Installer.main(Installer.java:729)
> 
> Second try (without the -W)
> # ./install -y -w $CATALINA_HOME/webapps
> ==============================================================================
> OpenNMS Installer Version $Id: Installer.java 4833 2006-10-18 19:07:16Z
> djgregor $
> ==============================================================================
> 
> Configures PostgreSQL tables, users, and other miscellaneous settings.
> 
> * using 'opennms' as the PostgreSQL user for OpenNMS
> * using 'opennms' as the PostgreSQL password for OpenNMS
> * using 'opennms' as the PostgreSQL database name for OpenNMS
> - using Tomcat context directory... /nfs/SP101/TADS/Tomcat/webapps
> - using OpenNMS servlet directory... Exception in thread "main"
> java.io.FileNotFoundException: OpenNMS servlet directory does not exist
> at "/opt/opennms/webapps/opennms".  Use the install.servlet.dir property
> to specify another location.
>         at
>         org.opennms.install.Installer.verifyFileExists(Installer.java:490)
>         at
>         org.opennms.install.Installer.verifyFilesAndDirectories(Installer.java:468)
>         at org.opennms.install.Installer.install(Installer.java:164)
>         at org.opennms.install.Installer.main(Installer.java:729)
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-install mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-install

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic