Re: Hi

Ronny Trommer <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I guess the problem is the environment $OPENNMS_HOME and sudo. 

Try this, 

run a root shell with

	sudo -s

check your environment with

echo $OPENNMS_HOME
echo $JAVA_HOME

If not set your environment for the variables above

run $OPENNMS_HOME/bin/runjava -s from the root shell
run $OPENNMS_HOME/bin/install -dis from the root shell

I hope it helps

Greetings Ronny

On Jun 24, 2010, at 11:37 AM, Betsy Arana Cadillo wrote:

> I am trying to install OpenNMS on my machine with ubuntu, I followed the tutorial step indicates the OpenNMS web site, but I get two errors:
> 
> "Error 1"
> 
> lab6@pc1:~$ sudo $OPENNMS_HOME/bin/runjava -s
> runjava: Looking for an appropriate JRE...
> runjava: Checking for an appropriate JRE in JAVA_HOME...
> runjava: skipping... JAVA_HOME not set
> runjava: Checking JRE in user's path: "/usr/bin/java"...
> runjava: found an appropriate JRE in user's path: "/usr/bin/java"
> runjava: value of "/usr/bin/java" stored in configuration file
> 
> "Error 2"
> 
> ==============================================================================
> OpenNMS Installer Version $Id$
> ==============================================================================
> 
> Configures PostgreSQL tables, users, and other miscellaneous settings.
> 
> Exception in thread "main" java.io.FileNotFoundException: /usr/share/opennms/etc/opennms-datasources.xml (Permission denied)
>     at java.io.FileInputStream.open(Native Method)
>     at java.io.FileInputStream.<init>(FileInputStream.java:106)
>     at org.opennms.install.Installer.install(Installer.java:165)
>     at org.opennms.install.Installer.main(Installer.java:859)




- --
Ronny Trommer (Germany)
Web: http://www.open-factory.org
IRC: irc.freenode.org - #opennms

PGP key: B1BCE829E38398A0
Keyserver: keyserver.pgp.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iEYEARECAAYFAkwjLKQACgkQsbzoKeODmKDa6wCfQxvh5AxGxtzbmSnwyU3mKGOu
C3YAn0xTBKJtcwjCbJf/EYXKDMN9O0DW
=c2zB
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.