Re: install command

Ronny Trommer <[email protected]> Wed, 22 Jun 2016 20:23:36 +0200
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
--===============7982678446878301460==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_A27A0562-9230-430A-9249-A8D00BFA7004";
	protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_A27A0562-9230-430A-9249-A8D00BFA7004
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi Chris,

It seems like you have an environment variable for OPENNMS_HOME. Can you =
verify this please with:

	echo $OPENNMS_HOME

it should print on Ubuntu /usr/share/opennms. You have two options:

- Set and export the OPENNMS_HOME variable permanently by adding this to =
your users .bashrc file which is in the home directory of the user by =
adding this line:

	export OPENNMS_HOME=3D/usr/share/opennms

Run the command

	source ~/.bashrc

and verify with

	echo $OPENNMS_HOME

it should be /usr/share/opennms. The command

	$OPENNMS_HOME/bin/runjava -s

should work now. Otherwise you can ignore the environment variable =
completely by just running

	/usr/share/opennms/bin/runjava -s

Would be nice to tell us which installation instruction you followed to =
improve that part.

Hope this helps
Ronny

> On 22.06.2016, at 19:45, Christopher Giannini =
<[email protected]> wrote:
>=20
> I'm trying to install the latest version of OpenNMS on Ubuntu 14.04.4. =
I get to the end of the instructions and it says to run sudo =
$OPENNMS_HOME/bin/runjava -s. The output says there is no command called =
runjava. You can't get runjava from apt-get.
> If I skip this step and go to run the next command in the instructions =
which is sudo $OPENNMS_HOME/bin/install -dis the output says there is no =
command called install. What am I doing wrong? Any help at all would be =
appreciated as this is my 4th attempt to install OpenNMS on 3 different =
versions of Linux. Thanks
>=20
> Chris Giannini
> Network Engineer
> I.T.S Dept
> Framingham State University
> 508-626-4733
> ________________________________________
> From: [email protected] =
[[email protected]]
> Sent: Wednesday, June 22, 2016 1:38 PM
> To: Christopher Giannini
> Subject: Welcome to the "opennms-install" mailing list
>=20
> Welcome to the [email protected] mailing list!
>=20
> To post to this list, send your email to:
>=20
>  [email protected]
>=20
> General information about the mailing list is at:
>=20
>  https://lists.sourceforge.net/lists/listinfo/opennms-install
>=20
> If you ever want to unsubscribe or change your options (eg, switch to
> or from digest mode, change your password, etc.), visit your
> subscription page at:
>=20
>  =
https://lists.sourceforge.net/lists/options/opennms-install/cgiannini%40fr=
amingham.edu
>=20
>=20
> You can also make such adjustments via email by sending a message to:
>=20
>  [email protected]
>=20
> with the word `help' in the subject or body (don't include the
> quotes), and you will get back a message with instructions.
>=20
> You must know your password to change your options (including changing
> the password, itself) or to unsubscribe.  It is:
>=20
>  pythagoras12
>=20
> Normally, Mailman will remind you of your lists.sourceforge.net
> mailing list passwords once every month, although you can disable this
> if you prefer.  This reminder will also include instructions on how to
> unsubscribe or change your account options.  There is also a button on
> your options page that will email your current password to you.
>=20
> =
--------------------------------------------------------------------------=
----
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in =
San
> Francisco, CA to explore cutting-edge tech and listen to tech =
luminaries
> present their vision of the future. This family event has something =
for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>=20
> opennms-install mailing list
>=20
> To *unsubscribe* or change your subscription options, see the bottom =
of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-install


--Apple-Mail=_A27A0562-9230-430A-9249-A8D00BFA7004
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJXaterAAoJEJB1suUIokUeJjYH/jWGUpKff96RK1qAnUf2E01a
4c0pxc4jn7lyTggI06HHtKFPbLOZZLPaGHWZubNR/zs7on9qZ+M1LE993343Vy4I
lfv0DWmWhTXQ6O1YdDP5Vj23vzXs4W8Q6EM4j2Q2qPzBGp3P4GGJUcYtb7M19pIj
g7By37BA1ulm7sL/TwjnYdrnPYGu/omE3aPByk8RLhb5Y8Whe8qVXCVzXoVFwZDh
+JpFrlUpvq7pYw+Alk5rkOaZaFtI4sI1xTxdBAzEzuYZtCKh9z5FSIO+DjZUNzwT
lw8TbQdYj6r2n0OY1lwoZd+W1aQHohCIHhBVaNav67VzW01czkLIFz7LLC5TB44=
=+ZU3
-----END PGP SIGNATURE-----

--Apple-Mail=_A27A0562-9230-430A-9249-A8D00BFA7004--


--===============7982678446878301460==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
--===============7982678446878301460==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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
--===============7982678446878301460==--