Xymon Mailing List Archive search

Status Not Available Resolution

6 messages in this thread

list Joe Shmow · Mon, 8 Dec 2008 23:51:47 -0800 ·
For anyone who is interested...heres what i ended up doing for it to finally
work...

Installed VM Fedora 7....

Disabled the Firewall, SELinux, and Killed the IPTables
(/etc/init.d/iptables stop)

Yum Installed the following:

RRDTool, RRDTool-Devel, OpenSSL-Devel, OpenLDAP-Devel, PCRE-Devel, Fping
(although i didnt use it), and what seemed to fix everything was
LIBPNG-DEVEL....!!! Not sure y,..but...

I then was able to do a clean ./Configure of Xymon/Hobbit and installed it
into /usr/local/xymon using the xymon user account and then GMAKED!! only
when i ran gmake instead of make did it work in the end..once again, not
sure y....then ran GMAKE INSTALL....instead of make install...

Configured the apache file, started httpd, and then started hobbitd WITHOUT
making any cfg changes...Worked like a charm...NO data was avaiulable rigt
away but aftre 2 min, the client (bb server) appeared and clicking on the
STATUS actually works now...

Woo hoo for me..:)
list Buchan Milne · Tue, 9 Dec 2008 10:43:54 +0200 ·
quoted from Joe Shmow
On Tuesday 09 December 2008 09:51:47 Joe Shmow wrote:
For anyone who is interested...heres what i ended up doing for it to
finally work...

Installed VM Fedora 7....

Disabled the Firewall, SELinux, and Killed the IPTables
(/etc/init.d/iptables stop)

It was probably the SELinux ...
quoted from Joe Shmow

Yum Installed the following:

RRDTool, RRDTool-Devel, OpenSSL-Devel, OpenLDAP-Devel, PCRE-Devel, Fping
(although i didnt use it), and what seemed to fix everything was
LIBPNG-DEVEL....!!! Not sure y,..but...
Without libpng-devel, your compilation would not have succeeded.
quoted from Joe Shmow
I then was able to do a clean ./Configure of Xymon/Hobbit and installed it
into /usr/local/xymon using the xymon user account and then GMAKED!! only
when i ran gmake instead of make did it work in the end..once again, not
sure y....then ran GMAKE INSTALL....instead of make install...
On almost every Linux distribution, GNU make is installed as 'make'. It's 
mostly proprietary Unix that has a broken make, and installs GNU make as gmake 
quoted from Joe Shmow
...
Configured the apache file, started httpd, and then started hobbitd WITHOUT
making any cfg changes...Worked like a charm...NO data was avaiulable rigt
away but aftre 2 min, the client (bb server) appeared and clicking on the
STATUS actually works now...
/me notes that 'urpmi hobbit;service hobbit start' is all that is required to 
get Hobbit working on Mandriva ...

BTW, my packages for RHEL5 would probably have worked just fine for you with 
much less effort ....
list Michael S. Fisher · Tue, 9 Dec 2008 08:47:24 -0800 ·
I would probably agree that SELinux was the culprit. I was able to compile
hobbit before when LIBPNG-DEVEL was not installed but it probably had
errors i ddint see but wasnt extreme enough to halt the process. It is
installed, and i couldnt have asked for more...Great app. Im sure I will be
ehre again asking you gurus about some other stupid newbie crap.

Thanks for all your input!
list Josh Luthman · Tue, 9 Dec 2008 11:57:10 -0500 ·
Just for future reference, when you turned off the firewall you either
stopped iptables (for good) or cleared out all of the rules.  There was no
need to issue a stop to iptables after disabling the firewall.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
quoted from Michael S. Fisher


On Tue, Dec 9, 2008 at 11:47 AM, <user-ab09d151b26b@xymon.invalid> wrote:
I would probably agree that SELinux was the culprit. I was able to compile
hobbit before when LIBPNG-DEVEL was not installed but it probably had errors
i ddint see but wasnt extreme enough to halt the process. It is installed,
and i couldnt have asked for more...Great app. Im sure I will be ehre again
asking you gurus about some other stupid newbie crap.

Thanks for all your input!
list Michael S. Fisher · Tue, 9 Dec 2008 09:00:00 -0800 ·
I thought so too, but after disabling the firewall i was still unable to
access apache (80) from within my host windows machine...I was able to
access apache locally from within the VM however. Upon stopping iptables,
port 80 was now available to my host...I didnt dive into why but i know i
was scratching my head for almost an hour....
list Xymon User in Richmond · Tue, 9 Dec 2008 20:45:18 -0500 (EST) ·
quoted from Michael S. Fisher
On Tue, December 9, 2008 12:00, user-ab09d151b26b@xymon.invalid wrote:
I thought so too, but after disabling the firewall i was still unable to
access apache (80) from within my host windows machine...I was able to
access apache locally from within the VM however. Upon stopping iptables,
port 80 was now available to my host...I didnt dive into why but i know i
was scratching my head for almost an hour....
You'll want to "chkconfig iptables off", or fix your iptables rules to
trust port 80 inbound, or the problem will repeat when you reboot. 
Assuming you just did "service iptables stop" or the equivalent.

"iptables-save" will dump your iptables to stdout.  You're probably
missing a rule like:
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
before the default REJECT.  On Fedora 9 you can fix it with the
system-config-firewall gui if you don't want to learn about the rule
syntax, ordering, and flow.