Xymon Mailing List Archive search

Client install gone wrong

list Ryan Novosielski
Mon, 16 Dec 2013 22:55:29 -0500
Message-Id: <6A34302C7B62B54EB77F697809EFC81E4F65336AD9@umdexmbx02>

The "client side" version behaves like legacy Big Brother in that settings for monitoring the client are made on each individual client, as opposed to the config files residing on the server. The client-side config version/build I've been told before is not well maintained (as in may have been broken by recent code changes). The reason for this is that for virtually all use cases, the server-side config client build is superior (who wants to log into 50+ clients to change their configs vs logging into one server to do the same)?

I didn't notice you were doing this before and suspect you'd be better off doing the server-side client build. Honestly, though, there are src.rpm's for this too which are also a better choice in most cases.


----- Original Message -----
From: Diep, David (OCTO-Contractor) [mailto:user-ca44d68fd6e2@xymon.invalid]
Sent: Monday, December 16, 2013 09:00 PM
To: Japheth Cleaver <user-87556346d4af@xymon.invalid>
Cc: Josh Luthman <user-4c45a83f15cb@xymon.invalid>; Novosielski, Ryan; xymon at xymon.com <xymon at xymon.com>
Subject: RE: [Xymon] Client install gone wrong

Japheth,

I'll give it a try and let you know.

It could very well be that the client piece is not compatible with a RHEL 6.2 z/OS port (this has happened before with other applications).

What puzzles me is that the server piece installed without issue.

I'll let you know what I find out.

Thanks,

David


Look out for those in need this winter. When the temperature or wind chill is 32°F or below, the District issues a Hypothermia Alert. For assistance during an Alert, call the Shelter Hotline <http://dhs.dc.gov/page/hypothermia-alert-plan>; at X-XXX-XXX-XXXX or 311.


From: Japheth Cleaver [user-87556346d4af@xymon.invalid]
Sent: Monday, December 16, 2013 4:06 PM
To: Diep, David (OCTO-Contractor)
Cc: Josh Luthman; Novosielski, Ryan; xymon at xymon.com
Subject: Re: [Xymon] Client install gone wrong

Would seem to be EL6 on s390x, from the command line...


David: I'm curious, do you have an rpmbuild environment set up on the
system? If so, would you be able to try to rebuild this SRPM on the box:

http://terabithia.org/rpms/xymon/el6/xymon-4.3.12-2.el6.src.rpm

In theory all the BuildRequires are called out, so it should either a)
work, b) indicate the -devel package that's missing, or c) die in the same
way. It's possible there's an architecture-specific issue going on, but
either way it might provide some insight.


Regards,

-jc


On Mon, December 16, 2013 12:44 pm, Josh Luthman wrote:
Whoops, sorry.  Missed that last line.

What OS is this?  RHEL/CentOS/Fedora I'm guessing.


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


On Mon, Dec 16, 2013 at 3:39 PM, Novosielski, Ryan
<user-6e4f7a3bb37f@xymon.invalid>wrote:
 Guys, he just said he had that (pcre and devel), and I see nothing that
indicates he's missing pcre libraries. Further, it would have failed
during
configure. Let's try not to give bad advice.

I don't actually know what's going on here so I can't be more helpful
than
that unfortunately. Looks like maybe a platform-specific thing. I'd
Google
for the compile issues you're seeing -- often someone's solved it
before,
maybe for a different piece of software.


 *From*: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent*: Monday, December 16, 2013 03:33 PM
*To*: Diep, David (OCTO-Contractor) <user-ca44d68fd6e2@xymon.invalid>
*Cc*: xymon at xymon.com <xymon at xymon.com>
*Subject*: Re: [Xymon] Client install gone wrong

You need pcre-libs or pcre-devel.


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


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> wrote:
Josh,


How would I test?  From what I can tell, I have pcre installed:


[root at vipservd xymon-4.3.12]# pcretest

PCRE version 7.8 2008-09-05

[root at vipservd xymon-4.3.12]# rpm -qa | grep pcre

pcre-7.8-3.1.el6.s390x

pcre-devel-7.8-3.1.el6.s390x


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Monday, December 16, 2013 3:06 PM
*To:* Diep, David (OCTO-Contractor)
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] Client install gone wrong


You're missing the PCRE libraries at the very least.


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


On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
user-ca44d68fd6e2@xymon.invalid> wrote:

Hi guys,


Is there a link to where the instructions are for a client install?  I
tried this and it eventually gives me an error:


1.       Downloaded and extracted xymon-4.3.12

2.       In the xymon-4.3.12 directory and executed: ./configure
--client

3.       I then executed: make && make install

4.       This is the result:


CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign
-D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include
-DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX"
RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS=""
SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt"
XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME=""
XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib
client

make[1]: Entering directory `/xymon-4.3.12/lib'

gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX
-I/xymon-4.3.12/include
-DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include  -I -c -o matching.o
matching.c

/usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In
function `_start':

(.text+0x34): undefined reference to `main'

/tmp/ccnSm0vn.o: In function `freeregex':

/xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'

/tmp/ccnSm0vn.o: In function `timematch':

/xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'

/tmp/ccnSm0vn.o: In function `matchregex':

/xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'

/tmp/ccnSm0vn.o: In function `pickdata':

/xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'

/xymon-4.3.12/lib/matching.c:172: undefined reference to
`pcre_copy_substring'

/xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'

/tmp/ccnSm0vn.o: In function `compileregex_opts':

/xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'

/xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'

/xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'

/tmp/ccnSm0vn.o: In function `compile_exprs':

/xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'

/xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'

/xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'

/xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'

collect2: ld returned 1 exit status

make[1]: *** [matching.o] Error 1

make[1]: Leaving directory `/xymon-4.3.12/lib'

make: *** [lib-client] Error 2


What am I doing wrong?


*David Diep*


Look out for those in need this winter. When the temperature or wind
chill is 32°F or below, the District issues a Hypothermia Alert. For
assistance during an Alert, call the Shelter
Hotline<https://urldefense.proofpoint.com/v1/url?u=http://dhs.dc.gov/page/hypothermia-alert-plan&k=LEcyRXIAlDBr1gNDokv57g%3D%3D%0A&r=goqVjEbjBQIAv0%2BJe9F%2B4rALGXrt0QPuXIcMfFKUeRg%3D%0A&m=h%2BNpAozvTiPdH7PE3eo%2B5pSM2MjIlVavjyElBOvjRTQ%3D%0A&s=b9eec6b43d5cb1bf9a71d9c48378b58ef7edf2a0541829b848fe74501f62e76e>at
*X-XXX-XXX-XXXX
<X-XXX-XXX-XXXX>* or *311*.


Xymon at xymon.com<