Xymon Mailing List Archive search

xymonnet error - will not start due to pcre

6 messages in this thread

list Sheldon Campbell · Wed, 11 Dec 2013 17:46:20 -0500 ·
Hi
Hope someone can offer insight into this issue whereby the xymonnet.log continues to report the following error.
exec(): 0509-036 Cannot load program xymonnet because of the following errors:        0509-150   Dependent module ../lib/libpcre.a(libpcre.so.1) could not be loaded.        0509-022 Cannot load module ../lib/libpcre.a(libpcre.so.1).        0509-026 System error: A file or directory in the path name does not exist.
I have tried setting the following to LIBRARY PATH's but this has not helped
export  LD_LIBRARY_PATH="/usr/local/bin"export LIBPATH="/usr/local/bin"
list Roland Soderstrom · Wed, 11 Dec 2013 22:59:57 +0000 ·
Maybe a typo but it should be /usr/local/lib not /usr/local/bin
run ldd /usr/local/xymon/server/bin/xymonnet or wherever your xymon installation is.
It will show you what is missing.

What xymon version and OS do you run?


-      Roland
quoted from Sheldon Campbell

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Sheldon Campbell
Sent: Thursday, 12 December 2013 9:46 AM
To: xymon at xymon.com
Subject: [Xymon] xymonnet error - will not start due to pcre

Hi

Hope someone can offer insight into this issue whereby the xymonnet.log continues to report the following error.

exec(): 0509-036 Cannot load program xymonnet because of the following errors:
        0509-150   Dependent module ../lib/libpcre.a(libpcre.so.1) could not be loaded.
        0509-022 Cannot load module ../lib/libpcre.a(libpcre.so.1).
        0509-026 System error: A file or directory in the path name does not exist.

I have tried setting the following to LIBRARY PATH's but this has not helped

export  LD_LIBRARY_PATH="/usr/local/bin"
export LIBPATH="/usr/local/bin"
list Japheth Cleaver · Wed, 11 Dec 2013 15:02:20 -0800 ·
quoted from Sheldon Campbell

On Wed, December 11, 2013 2:46 pm, Sheldon Campbell wrote:
Hi
Hope someone can offer insight into this issue whereby the xymonnet.log
continues to report the following error.
exec(): 0509-036 Cannot load program xymonnet because of the following
errors:        0509-150   Dependent module ../lib/libpcre.a(libpcre.so.1)
could not be loaded.        0509-022 Cannot load module
../lib/libpcre.a(libpcre.so.1).        0509-026 System error: A file or
directory in the path name does not exist.
I have tried setting the following to LIBRARY PATH's but this has not
helped
export  LD_LIBRARY_PATH="/usr/local/bin"export LIBPATH="/usr/local/bin"
Did you compile it locally? If so, has anything changed with pcre or
pcre-devel since then? Can you post the configure output from the initial
compile?

Regards,

-jc
list Ryan Novosielski · Wed, 11 Dec 2013 18:05:22 -0500 ·
/usr/local/bin is not a library PATH. The library PATH must mention the location of that file, which I doubt you manually placed in a bin directory.
quoted from Sheldon Campbell


From: Sheldon Campbell [mailto:user-7298ca0803c4@xymon.invalid]
Sent: Wednesday, December 11, 2013 05:46 PM
To: xymon at xymon.com <xymon at xymon.com>
Subject: [Xymon] xymonnet error - will not start due to pcre

Hi

Hope someone can offer insight into this issue whereby the xymonnet.log continues to report the following error.

exec(): 0509-036 Cannot load program xymonnet because of the following errors:
        0509-150   Dependent module ../lib/libpcre.a(libpcre.so.1) could not be loaded.
        0509-022 Cannot load module ../lib/libpcre.a(libpcre.so.1).
        0509-026 System error: A file or directory in the path name does not exist.

I have tried setting the following to LIBRARY PATH's but this has not helped

export  LD_LIBRARY_PATH="/usr/local/bin"
export LIBPATH="/usr/local/bin"
list Tim McCloskey · Wed, 11 Dec 2013 23:05:58 +0000 ·
quoted from Japheth Cleaver
From: Xymon [xymon-bounces at xymon.com] on behalf of Japheth Cleaver [user-87556346d4af@xymon.invalid]
Sent: Wednesday, December 11, 2013 3:02 PM
To: Sheldon Campbell
Cc: xymon at xymon.com
Subject: Re: [Xymon] xymonnet error - will not start due to pcre

On Wed, December 11, 2013 2:46 pm, Sheldon Campbell wrote:
Hi
Hope someone can offer insight into this issue whereby the xymonnet.log
continues to report the following error.
exec(): 0509-036 Cannot load program xymonnet because of the following
errors:        0509-150   Dependent module ../lib/libpcre.a(libpcre.so.1)
could not be loaded.        0509-022 Cannot load module
../lib/libpcre.a(libpcre.so.1).        0509-026 System error: A file or
directory in the path name does not exist.
I have tried setting the following to LIBRARY PATH's but this has not
helped
export  LD_LIBRARY_PATH="/usr/local/bin"export LIBPATH="/usr/local/bin"
Did you compile it locally? If so, has anything changed with pcre or
pcre-devel since then? Can you post the configure output from the initial
compile?

Regards,

-jc


Did you mean to add /usr/local/bin?
export  LD_LIBRARY_PATH="/usr/local/bin"export LIBPATH="/usr/local/bin"
Dependent module ../lib/libpcre.a(libpcre.so.1)
Where is libpcre.a located?
list Sheldon Campbell · Thu, 12 Dec 2013 15:05:12 -0500 ·
Hi 
Thanks everyone for your responses.   As per responses I updated my .profile for userid xymon to have the following defined yet I still received the error messages. However I tried adding those same values to the xymon.sh shell script and the xymonnet is no longer writing errors,..it's working but not sure why I had to override it within the xymon.sh shell script.
export LIBPATH=/usr/local/lib:/usr/libexport LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
quoted from Tim McCloskey
From: user-0cec9512a49f@xymon.invalid
To: xymon at xymon.com
Date: Wed, 11 Dec 2013 22:59:57 +0000
Subject: Re: [Xymon] xymonnet error - will not start due to pcre


Maybe a typo but it should be /usr/local/lib not /usr/local/bin
run ldd /usr/local/xymon/server/bin/xymonnet or wherever your xymon installation is.
It will show you what is missing.
 
What xymon version and OS do you run?
 
• Roland

 
From: Xymon [mailto:xymon-bounces at xymon.com]
On Behalf Of Sheldon Campbell

Sent: Thursday, 12 December 2013 9:46 AM

To: xymon at xymon.com

Subject: [Xymon] xymonnet error - will not start due to pcre


Hi

 
Hope someone can offer insight into this issue whereby the xymonnet.log continues to report the following error.


exec(): 0509-036 Cannot load program xymonnet because of the following errors:


        0509-150   Dependent module ../lib/libpcre.a(libpcre.so.1) could not be loaded.


        0509-022 Cannot load module ../lib/libpcre.a(libpcre.so.1).


        0509-026 System error: A file or directory in the path name does not exist.


I have tried setting the following to LIBRARY PATH's but this has not helped


export  LD_LIBRARY_PATH="/usr/local/bin"


export LIBPATH="/usr/local/bin"