Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

OpenNMS

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
55 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
ch3
n00b
n00b
User avatar
Posts: 24
Joined: Tue May 21, 2002 2:04 pm
Location: Belgium
Contact:
Contact ch3
Website

OpenNMS

  • Quote

Post by ch3 » Sun Jun 02, 2002 8:18 pm

Is there a plan to include OpenNMS in the portage tree?
It's quite hard to install on a non-rpm based distro (at least for me, it is ;))
so I was wondering if I should wait or install Red-Hat (as it's for my work,
I need it for yesterday ;)).

Thanks
Tell a man there are 300 billion stars in the universe and he'll believe you.
Tell him a bench has wet paint on it and he'll have to touch to be sure.
Top
ikkyu
n00b
n00b
Posts: 14
Joined: Tue Jun 03, 2003 3:45 pm
Location: West Lafayette, IN, USA

  • Quote

Post by ikkyu » Tue Jun 03, 2003 3:48 pm

I am in need of the same thing, I currently am trying to istall it by hand, if I get that going I might try my hand at creating an ebuild
Top
ikkyu
n00b
n00b
Posts: 14
Joined: Tue Jun 03, 2003 3:45 pm
Location: West Lafayette, IN, USA

  • Quote

Post by ikkyu » Fri Jun 06, 2003 7:21 pm

I discovered that if you follow the install instructions from the opennms docs it breaks tomcat, will keep this thread updated with my progress
Top
Cornfed
n00b
n00b
User avatar
Posts: 59
Joined: Mon Dec 22, 2003 3:02 pm

  • Quote

Post by Cornfed » Fri Mar 19, 2004 9:57 am

Broke tomcat for me as well. Anyone else have any luck? Any pointers?
Top
Redeeman
l33t
l33t
User avatar
Posts: 958
Joined: Thu Sep 25, 2003 9:02 am
Location: Portugal

  • Quote

Post by Redeeman » Sat Mar 20, 2004 8:13 am

hmm... this seems interessting
Top
dermot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 108
Joined: Fri Mar 28, 2003 3:02 pm
Location: Dublin, Ireland
Contact:
Contact dermot
Website

  • Quote

Post by dermot » Mon May 10, 2004 7:57 am

Just wondering if anyone managed to figure out this problem with Tomcat yet? I'm this close to getting it all working, but I can't get OpenNMS to alter server.xml without breaking Tomcat.
Dermot

I bought some rock star ashes from the back of Rolling Stone
I don't think he would've minded - he couldn't sell his soul
Top
ikkyu
n00b
n00b
Posts: 14
Joined: Tue Jun 03, 2003 3:45 pm
Location: West Lafayette, IN, USA

  • Quote

Post by ikkyu » Tue May 18, 2004 1:06 am

note to anybody installing from source, in the install.pl script you need to edit the path way down in the script to /usr/lib/postgresql from /usr/lib/postgresql/lib
Top
dermot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 108
Joined: Fri Mar 28, 2003 3:02 pm
Location: Dublin, Ireland
Contact:
Contact dermot
Website

  • Quote

Post by dermot » Tue May 18, 2004 7:21 am

I sussed that; my problem at this point is getting it to work with Tomcat, which just ain't happening. Any ideas?
Dermot

I bought some rock star ashes from the back of Rolling Stone
I don't think he would've minded - he couldn't sell his soul
Top
ikkyu
n00b
n00b
Posts: 14
Joined: Tue Jun 03, 2003 3:45 pm
Location: West Lafayette, IN, USA

  • Quote

Post by ikkyu » Tue May 18, 2004 12:58 pm

I am stuck a the same place, I was able to add the app however I couldn't get the authentication to work. Perhaps we need to go hit up the gentoo tomcat people and see if they can help, I will try my luck on the irc channels this afternoon.
Top
ikkyu
n00b
n00b
Posts: 14
Joined: Tue Jun 03, 2003 3:45 pm
Location: West Lafayette, IN, USA

  • Quote

Post by ikkyu » Wed May 19, 2004 3:08 am

ok so after many hours, I have opennms running, here is what I did ymmv:

1. grab tarball of opennms 1.1.2-1 unpack in /opt/opennms

1.5 made sure postgres was emerged along with tomcat-4.0.29 and blackdown-jdk, edit the postgres config to turn on tcpsockets

2. create ~/.opennms-global.properties with the follwing entries

Code: Select all

# root.install: the top directory to install OpenNMS to
root.install            = /opt/opennms
# root.install.initdir: the location of the init.d directory
root.install.initdir    = /opt/opennms/bin
# install.servlets: the location of the servlet root
root.install.servlets   = /opt/opennms/webapps/opennms
# root.install.share: the location of shared data
root.install.share      = /opt/opennms/share
# root.install.rrdtool: the location of rrdtool libraries
root.install.rrdtool    = /opt/opennms/lib
# root.install.postgresql: the location of postgresql libraries
root.install.postgresql = /opt/opennms/lib
# root.install.contrib: the location to put the contributed source
root.install.contrib    = /opt/opennms/contrib
# root.install.logs: the directory to log to
root.install.logs       = /opt/opennms/logs
# root.install.pid: the name of the pid file to use
root.install.pid        = /opt/opennms/logs/opennms.pid
# root.install.perl: the location of your perl executable
root.install.perl       = /usr/bin/perl
# root.installprefix: a prefix used for installation in or chroot
root.installprefix      =
3. run the build.sh with the install option

4. went to the now created /opt/opennms/bin/install.pl and altered the path for postgres and tomcat, you can search for /usr/lib/postgreql/lib and change that to /usr/lib/postgresql and find the /etc/tomcat4 entry that inserts the context into the tomcat server.xml and change that to /etc/tomcat (damn nonstandard paths all to hell)


Code: Select all

        for my $dir ('/var/tomcat4/conf', '/sw/var/tomcat4/conf', '/usr/local/tomcat4/conf', '/etc/tomcat', '/usr/local/tomcat/conf') {
5. run the install.pl

6. change /etc/conf.d/tomcat TOMCAT_USER=tomcat to TOMCAT_USER=root

7. now here is where things get a bit hairy, I swapped out jdk's the say to use sun-jdk-1.4.1, I couldn't get either 1.4.1 or -r1 to go so I use 1.4.2, when I went back to run the build script it wouldn't build under sun-jdk, so for me build under blackdown switch to sun

8. copy opennms_web.jar, opennms_core.jar, opennms_common.jar, opennms_services.jar, log4j.jar, and castor-0.9.3.9.jar from /opt/opennms/lib to /opt/tomcat/server/lib

9. start opennms as root

10. /etc/init.d/tomcat start

11. point browser to localhost:8080, if that works point browser to localhost:8080/opennms login as admin/admin and lo and behold opennms


disclaimers: just finished this so I have not tested it from scratch, don't know if it actually works, but the web interface looks good and the logs look like it is doing usefull things[/code]
Top
r.j.hall
n00b
n00b
User avatar
Posts: 53
Joined: Thu Feb 06, 2003 11:26 pm
Location: London

  • Quote

Post by r.j.hall » Wed Jun 02, 2004 12:26 pm

has anyone done an init script to start and stop OpenNMS? If so could you please post it to the forums.

Thanks
--- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
You've read it.
You can't unread it!
--- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Top
djwilf
n00b
n00b
User avatar
Posts: 25
Joined: Fri Mar 05, 2004 6:49 pm
Location: Essex, UK

  • Quote

Post by djwilf » Tue Oct 19, 2004 9:50 pm

I am at the moment trying to build 1.1.3 on Gento

I have got the Build.install done, created the Database and linked the .jar files.

But now cant get it to start as it uses log4j and I am getting errors when I start tomcat, any one got it going under 1.1.3 ?

Thanks
Top
djwilf
n00b
n00b
User avatar
Posts: 25
Joined: Fri Mar 05, 2004 6:49 pm
Location: Essex, UK

  • Quote

Post by djwilf » Wed Nov 03, 2004 8:02 pm

Has any one else got OPENNMS 1.1.4 working ?

I am intrested as I have it working on one server and not another and cant see the difference !
Top
ahoogerhuis
n00b
n00b
Posts: 31
Joined: Mon Jan 06, 2003 7:36 am

  • Quote

Post by ahoogerhuis » Fri Mar 18, 2005 11:11 pm

djwilf wrote:Has any one else got OPENNMS 1.1.4 working ?

I am intrested as I have it working on one server and not another and cant see the difference !
http://portage.boxed.no/net-analyzer/opennms-server/

1.2.0 and 1.2.1, both very working.
Top
TheZog
n00b
n00b
User avatar
Posts: 57
Joined: Sat Aug 17, 2002 4:29 pm
Location: Sunny Seattle

  • Quote

Post by TheZog » Wed Apr 27, 2005 12:28 am

I've been interested in trying OpenNMS out as well for one of my client's network.
Thanks for the ebuild, I'll give it a shot!
Top
TheZog
n00b
n00b
User avatar
Posts: 57
Joined: Sat Aug 17, 2002 4:29 pm
Location: Sunny Seattle

  • Quote

Post by TheZog » Thu May 12, 2005 12:19 am

Well no dice.
It seems that OpenNMS has been updated a couple of times since the last ebuild was made. I tried changing the 1.2.1 ebuild to 1.2.2, but it failed to compile as soon as it finished unpacking. Checking the error log in the tmp dir.
I see this message:
BUILD FAILED
/var/tmp/portage/opennms-server-1.2.2/work/opennms-1.2.2-1/source/build.xml:384: No supported regular expression matcher found

Can anyone lend me a hand?
Top
TheZog
n00b
n00b
User avatar
Posts: 57
Joined: Sat Aug 17, 2002 4:29 pm
Location: Sunny Seattle

  • Quote

Post by TheZog » Mon May 16, 2005 6:33 pm

OK, I've installed both dev-java/gnu-regexp & dev-java/jakarta-regexp, but no luck it still doesn't see a working regex.
However when I do a "java-config -l" I see both regex listed so I don't know why it's not finding them.

I installed ant and ant-tasks and now that error is gone.
Top
ahoogerhuis
n00b
n00b
Posts: 31
Joined: Mon Jan 06, 2003 7:36 am

  • Quote

Post by ahoogerhuis » Tue May 17, 2005 5:33 am

I'm out traveling, but I'll dig through this by the end of the week to update the builds, there are numerous other issues that needs correction, too :)

Thanks for the feedback!

-A
Top
TheZog
n00b
n00b
User avatar
Posts: 57
Joined: Sat Aug 17, 2002 4:29 pm
Location: Sunny Seattle

  • Quote

Post by TheZog » Wed May 18, 2005 8:24 pm

That would be fantastic.
I've been trying to fix the ebuild, but I've never created my own and I'm also unfamiliar with OpenNMS so it's been quite frustrating.
Have a good trip and I'll be your OpenNMS test monkey when you get back.
Top
TheZog
n00b
n00b
User avatar
Posts: 57
Joined: Sat Aug 17, 2002 4:29 pm
Location: Sunny Seattle

  • Quote

Post by TheZog » Tue May 31, 2005 11:59 pm

Any news?
I see that version 1.2.3 came out recently.
Top
Beleaguered
n00b
n00b
Posts: 19
Joined: Mon Jan 06, 2003 3:53 pm

  • Quote

Post by Beleaguered » Wed Jun 01, 2005 4:37 pm

There's a 1.2.2 ebuild in bugzilla:
http://bugs.gentoo.org/show_bug.cgi?id=51441
Top
TheZog
n00b
n00b
User avatar
Posts: 57
Joined: Sat Aug 17, 2002 4:29 pm
Location: Sunny Seattle

  • Quote

Post by TheZog » Mon Jun 13, 2005 7:21 pm

OpenNMS doesn't seem to work with Tomcat5 and Tomcat version 4 is long gone.
Even after Google'ing, reading through the Opennms.org website, trying the ebuilds in bugzilla ( http://bugs.gentoo.org/show_bug.cgi?id=51441 ), etc.
I still can not get it to work. Tomcat just doesn't see it or load the web gui portion or something.

I hate to do it, but I give up.
I've spent far too much time on this and I need to get a good SNMP monitoring app up and running for my company's network. This is just too too painful to play with anymore.

I guess I'll keep looking...
Top
ahoogerhuis
n00b
n00b
Posts: 31
Joined: Mon Jan 06, 2003 7:36 am

  • Quote

Post by ahoogerhuis » Mon Jun 13, 2005 8:34 pm

Sorry I've been absent on this, ive you have my ebuidl I can provide you with the tomcat-4 ebuild I run, if it is removed from portage. Try finding me on IRC on freenode.ent in #opennms (usually on as _snd). Besdides, most of the OpenNMS devs hang in htere and are great with helping out.

-A
Top
roderick
l33t
l33t
User avatar
Posts: 908
Joined: Mon Jul 11, 2005 3:06 pm
Location: St. John's, NL CANADA
Contact:
Contact roderick
Website

  • Quote

Post by roderick » Mon Aug 01, 2005 8:15 pm

I see there are two developments on-going for OpenNMS on Gentoo.

One seems to have allowed OpenNMS to talk via the tomcat user and tweaking some permissions in the OpenNMS tree. Does this work completely? Any issues or gotcha's? Has anyone checked on the OpenNMS lists to see if there are compelling reasons they haven't made this transition in their packages (like deb, RPM, etc)?

The other train seems to have left tomcat alone, and delved deeper into ensuring package dependency, etc.

Any chance the maintainers will converge?

I am really interested in seeing an official gentoo portage package for OpenNMS in the stable list.

Anyway, If there's anything I can do to assist, let me know. I have a test machine with Tomcat 4.1.30 and OpenNMS 1.2.2 (using the ebuild from Alex). I can install/uninstall OpenNMS to assist in testing the ebuilds.

Cheers.
Top
ahoogerhuis
n00b
n00b
Posts: 31
Joined: Mon Jan 06, 2003 7:36 am

  • Quote

Post by ahoogerhuis » Thu Aug 04, 2005 10:07 pm

Thanks to good prodding from roderick on my cruddy ebuild, it's now shaped up and bit. The ebuild is here:

http://portage.boxed.no/net-analyzer/op ... -r3.ebuild

The gensync manifest, etc is at top of the directories. For now build it with:

USE="headless" emerge opennms-server

as this will make it not dpeend on tomcat-4.1.x. The OpenNMS webapp isn't ready for tomcat 5.x yet, and those who still ahve tomcat 4.1.x will know how to tinker it to work anyway. I'm thinking of pulling in one of the old portage 4.1.x ebuiold into my overlay to amke it all easier, but with a hefty warning.

-A
Top
Post Reply

55 posts
  • 1
  • 2
  • 3
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic