From: Jose V. N. Z. <jo...@ne...> - 2002-07-19 18:34:42
|
Sorry for the previous post (is all buggy). In resume: 1) Check if you are able to connect to Postgress. if you're using the Sybase that coments with RH you will have to add something like this (lines 135 - 136, -i parameter): su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o -i start > /dev/null 2>&1" < /dev/null 2) Check all the log files (doesn't hurt) I missed some steps the first time i set up the tool: find /opt/OpenNMS/logs/ -name '*.log' -type f -exec less {} \; (and then type 'q' to move from log to log) On Fri, 19 Jul 2002 12:31:50 -0400 Jose Vicente Nunez Zuleta <jo...@ne...> wrote: > Check if you are able to connect to Postgress. if you're using the Sybase that coments with RH you will have to add something like this (lines 135 - 136, -i parameter): > > #su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null > su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o -i start > /dev/null 2>&1" < /dev/null > > > > > On Fri, 19 Jul 2002 23:52:04 +0800 (SGT) > Damien Leong <da...@re...i> wrote: > > > > > Evening Hamkas > > > > Firstly, thanks for the response. All the files required are redownload > > and have try to manually install on each of them. > > I did not change any default parameters as my LAN network is in the 192.168.112.xxx. OpenNMS is > > install on a machine which sits on 192.168.112.26 . > > I feel we should first address why some processes are forever in > > starting > > states : > > > > /sbin/service opennms status > > OpenNMS.Eventd : starting > > OpenNMS.Trapd : starting > > OpenNMS.Dhcpd : starting > > OpenNMS.Actiond : running > > OpenNMS.Capsd : starting > > OpenNMS.Notifd : running > > OpenNMS.Outaged : starting > > OpenNMS.Rtcd : starting > > OpenNMS.Pollerd : starting > > OpenNMS.Collectd : starting > > OpenNMS.Threshd : starting > > OpenNMS.Discovery : starting > > > > # is this normal ..... or something must be wrong ...??? > > > > According to the documentation, the logs files will contain any available > > error messages, > > > > # which processes files should I first look in ? which process should > > start first, and how to troubleshoot from these log files... > > Why you don't check them all? For exmaple, If you see a JDBC error that means that the JDBC bridge is broken. > > A quick trick (there not so many of them): > > find /opt/OpenNMS/logs/ -name '*.log' -type f -exec less {} \; (and then type 'q' to move from log to log) > > > > > Any kind advices or at least directions are greatly appreciated... > > > > Many Thanks... > > > > Best regards > > > > Damien Leong > > > > > > On Fri, 19 Jul 2002 ha...@pe... wrote: > > > > > > > > Damien, > > > Did u try and download all the files required and manually install them? > > > Once you've rpm the files did ya change the parameters in the discovery, > > > poller and collectd files? by default, OpenNMS will scan only 192.168.xxx > > > network. > > > > > > > > > > > > Hamka Hj Suleiman > > > Telecomms/Network Engineer > > > Petronas Carigali Sdn Bhd > > > > > > Thomas J. Watson > > > Recently, I was asked if I was going to fire an employee who made a mistake > > > that cost the company $600,000. No, I replied, I just spent $600,000 > > > training him. Why would I want somebody to hire his experience? > > > > > > > > > > > > > > > Damien Leong > > > <da...@re...dl To: di...@li... > > > -core.bii> cc: > > > Sent by: Subject: [opennms-discuss] Problem in > > > discuss-admin@lists.o starting openNMS > > > pennms.org > > > > > > > > > 19/07/2002 11:30 AM > > > Please respond to > > > discuss > > > > > > > > > > > > > > > > > > > > > > > > Greetings Community... > > > > > > I hope someone can help me startup opennms, have encountered some > > > problems which disallow me to carry on. > > > > > > I'm currently a trainee with Bioinformatic Insititue in Singapore, doing > > > an evaluation of openNMS as a open-source aternative to commercal network > > > management tool such as HP openview. > > > > > > I've carry up several rpms and source installations of openNMS and all of > > > them fail me. > > > > > > Pls seen below for some selected screenshots: > > > > > > ----------------------------------------------------------- > > > lynx -source install.opennms.org | sh > > > - cleaning up old installation files... ok > > > - getting initial installation scripts: > > > - functions.sh... (trying wget) ok > > > - install.sh... (trying wget) ok > > > - starting install... > > > > > > ============================================================================== > > > > > > OpenNMS Web Installer v0.1 > > > ============================================================================== > > > > > > > > > - searching for your java path... /usr/java/j2sdk1.4.0_01 > > > - determining platform... linux-i386-redhat-7 > > > - checking for RPM... 4.0.4 > > > - installation method: rpm > > > > > > Rebuilding RPM database (this may take a few minutes)... > > > - checking PostgreSQL configuration... ./install.sh: [: too many arguments > > > ./install.sh: [: too many arguments > > > ok > > > > > > Installation has completed. Please read the release notes and quick > > > start > > > guide in the documentation for last-minute installation notes, as well > > > as > > > configuration instructions, for your platform. > > > > > > If you have any issues, feel free to post your question to the dicussion > > > list at http://lists.opennms.org/mailman/listinfo/discuss -- a number of > > > regular users as well as OpenNMS employees and developers frequent the > > > list. > > > Also check the FAQ at http://www.opennms.org/users/faq/ for answers to > > > common questions. > > > > > > Have fun! > > > > > > - Do you want me to try to start everything up? [Y/n] y > > > Starting OpenNMS: [ OK ] > > > Starting tomcat4: [ OK ] > > > ------------------------------------------------ > > > > > > As you could see the installation procedures are carry out as documented > > > in the installation guide from openNMS.org, but when I do a: > > > > > > /sbin/service opennms status > > > OpenNMS.Eventd : starting > > > OpenNMS.Trapd : starting > > > OpenNMS.Dhcpd : starting > > > OpenNMS.Actiond : running > > > OpenNMS.Capsd : starting > > > OpenNMS.Notifd : running > > > OpenNMS.Outaged : starting > > > OpenNMS.Rtcd : starting > > > OpenNMS.Pollerd : starting > > > OpenNMS.Collectd : starting > > > OpenNMS.Threshd : starting > > > OpenNMS.Discovery : starting > > > > > > only, OpenNMS.Actiond and OpenNMS.Notifd is running, the rest of the > > > processes is forever starting. And when I've to turn to the browser for > > > http://127.0.0.1:8080/opennms/ it reported as follow : > > > > > > An error occured while loading http://127.0.0.1:8080/opennms/: > > > Could not connect to host 127.0.0.1 (port 8080) > > > > > > I could not find much clues in the /var/log/opennms as some of the log > > > files size is zero > > > > > > -rw-rw-r-- 1 root root 1338 Jul 19 10:43 actiond.log > > > -rw-rw-r-- 1 root root 12630 Jul 19 10:43 capsd.log > > > -rw-rw-r-- 1 root root 34962 Jul 19 10:43 collectd.log > > > -rw-rw-r-- 1 root root 1656 Jul 19 10:43 dhcpd.log > > > -rw-rw-r-- 1 root root 12066 Jul 19 10:43 discovery.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 eventd.log > > > -rw-r--r-- 1 root root 429 Jul 19 10:38 install.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 jmx.log > > > -rw-rw-r-- 1 root root 335405 Jul 19 10:48 manager.log > > > -rw-rw-r-- 1 root root 2080336 Jul 19 11:27 notifd.log > > > -rw-rw-r-- 1 root root 8214 Jul 19 10:43 outage.log > > > -rw-rw-r-- 1 root root 25970 Jul 19 10:48 output.log > > > -rw-rw-r-- 1 root root 17262 Jul 19 10:43 pollers.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 report.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 rtcdata.log > > > -rw-rw-r-- 1 root root 10368 Jul 19 10:43 rtc.log > > > -rw-rw-r-- 1 root root 15948 Jul 19 10:43 threshd.log > > > -rw-rw-r-- 1 root root 9138 Jul 19 10:43 trapd.log > > > -rw-rw-r-- 1 root root 6366 Jul 19 10:48 uncategorized.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 vulnscand.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 webauth.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 web.log > > > -rw-rw-r-- 1 root root 0 Jul 12 15:44 web-rtc.log > > > > > > > > > # wishes if someone which encounter the same problems and know how to > > > solve the issue, please give some directions or at least how to do about > > > to troubleshoot the situation. > > > > > > Many Thanks. > > > > > > Best Regards > > > > > > Damien Leong > > > > > > > > > _______________________________________________ > > > discuss mailing list (di...@li...) > > > To subscribe, unsubscribe, or change your list options, go to: > > > http://lists.opennms.org/mailman/listinfo/discuss > > > > > > > > > > > > _______________________________________________ > > > discuss mailing list (di...@li...) > > > To subscribe, unsubscribe, or change your list options, go to: > > > http://lists.opennms.org/mailman/listinfo/discuss > > > > > > > > > _______________________________________________ > > discuss mailing list (di...@li...) > > To subscribe, unsubscribe, or change your list options, go to: > > http://lists.opennms.org/mailman/listinfo/discuss > > > _______________________________________________ > discuss mailing list (di...@li...) > To subscribe, unsubscribe, or change your list options, go to: > http://lists.opennms.org/mailman/listinfo/discuss > |