Xymon Mailing List Archive search

I need urgent help: Hobbit (linux) client startup failed

6 messages in this thread

list Matic Madalina · Tue, 28 Sep 2010 23:56:12 -0700 (PDT) ·
Hello.
 
I wanted to configure Hobbit server to work with 7 clients: 6 unix servers and 1 linux server.
 
The configuration succeeded regarding unix clients.  
But, I got an error when I run ./runclient.sh on linux client:
                          line 83: /home/hobbit/client/bin/hobbitlaunch : cannot execute binary file.
                          Hobbit client startup failed
 
Can you help me please with this issue? Can you tell me please the steps I have to follow in fixing this?
 
Thank you in advance.
 
Regards,
Madalina
list Padraig Lennon · Wed, 29 Sep 2010 12:48:37 +0200 ·
Did you recompile the hobbit client for the Linux client?
 Linux/Unix (which unix by the way are you talking about) are completely
different architecture and you should compile a client for the linux one
if you need to monitor this. Using the unix client on the linux server
will not work
 In short you need to compile two clients:
 1 which can be used for the unix clients 1 for the linux client
 regards
 
Padraig Lennon Senior Systems Integration Engineer 
Pioneer Investments Management Ltd. 1 Georges Quay Plaza | Georges Quay | Dublin 2 | Rep. of Ireland Tel.  +353 (0)1 480.2081 | Fax. +353 (0)1 636.4600 
user-7738cfcc6ae0@xymon.invalid
<mailto:user-7738cfcc6ae0@xymon.invalid>  |
www.pioneerinvestments.com <http://www.pioneerinvestments.com/>;  
Please consider the environment before printing this e-mail 
 

From: Matic Madalina [mailto:user-542842f3a501@xymon.invalid] Sent: 29 September 2010 07:56
To: xymon at xymon.com
Subject: [xymon] I need urgent help: Hobbit (linux) client startup
failed
quoted from Matic Madalina


Hello.

 
I wanted to configure Hobbit server to work with 7 clients: 6 unix
servers and 1 linux server.

 
The configuration succeeded regarding unix clients. 
 
But, I got an error when I run ./runclient.sh on linux client:
                          line 83: /home/hobbit/client/bin/hobbitlaunch
: cannot execute binary file.

                          Hobbit client startup failed

 
Can you help me please with this issue? Can you tell me please the steps
I have to follow in fixing this?

 
Thank you in advance.

 
Regards,

Madalina
list Buchan Milne · Wed, 29 Sep 2010 12:32:55 +0100 ·
quoted from Matic Madalina
On Wednesday, 29 September 2010 07:56:12 Matic Madalina wrote:
Hello.
 
I wanted to configure Hobbit server to work with 7 clients: 6 unix servers
and 1 linux server.
 
The configuration succeeded regarding unix clients.
 
But, I got an error when I run ./runclient.sh on linux client:
                          line 83: /home/hobbit/client/bin/hobbitlaunch :
cannot execute binary file.
                          Hobbit client startup failed
 
Can you help me please with this issue? Can you tell me please the steps I
have to follow in fixing this?

Please supply:

1)Output of 'file /home/hobbit/client/bin/hobbitlaunch'
2)Output of 'uname -m'

I suspect you've copied binaries for one platform to an incompatible platform.

If this is not the case (from the above info), please describe how you 
installed the client software on the client in question.

Regards,
Buchan
list Buchan Milne · Wed, 29 Sep 2010 16:16:40 +0100 ·
BTW, please stay on the list.

On Wednesday, 29 September 2010 12:49:17 Matic Madalina wrote:
Hello Buchan.

Thank you for your fast response.

1)The output of 'file /home/hobbit/client/bin/hobbitlaunch' is:
            hobbitlaunch: PA-RISC2.0 shared executable dynamically linked -
not stripped
2) The output of 'uname -m' is:
            x86_64
x86_64 cannot execute HPPA binaries ...
Yes, I have copied binaries from an unix client to linux client, and as you
suspected, maybe this is the reason why the client startup failed.

I'm blocked now because I do not know what I should do for the linux
client.
Compile xymon for linux, or install xymon-client packages (if available for 
the distribution you use). A number of distributions ship xymon, some third-
party packages are availabel for others. If you provide more information on 
the distribution you are using, you may get better answers.
quoted from Buchan Milne
I wanted to configure Hobbit server to work with 7 clients: 6 unix
servers and 1 linux server.


The configuration succeeded regarding unix clients.


But, I got an error when I run ./runclient.sh on linux client:
                         line 83: /home/hobbit/client/bin/hobbitlaunch :
cannot execute binary file.

                         Hobbit client startup failed


Can you help me please with this issue? Can you tell me please the steps
I have to follow in fixing this?
Please supply:

1)Output of 'file /home/hobbit/client/bin/hobbitlaunch'
2)Output of 'uname -m'

I suspect you've copied binaries for one platform to an incompatible
platform.

If this is not the case (from the above info), please describe how you
installed the client software on the client in question.
Regards,
Buchan
list Buchan Milne · Thu, 30 Sep 2010 12:10:29 +0100 ·
Please keep the xymon mailing list as a recipient. This is the last reply I 
will send you to an off-list question.


On Thursday, 30 September 2010 08:32:46 Matic Madalina wrote:
Hello Buchan.

Thank you for your response.

I dot not know how to compile xymon for linux. Can you tell me please the
commands that I should use?
As is conventional with most software supplied as source, a README document is 
supplied with the source, which documents the basics of how to compile the 
software (assuming you have the requirements - a C compiler etc. - installed).
I am only using the application; the guy who implemented this has left the
team last year.
Did he not provide any documentation on how he deployed clients? Maybe he 
already had pre-compiled binaries?
I received the application configured with a Hobbit server working with 7
unix clients. One of 7 unix clients was replaced with a linux one.

I only copied the unix client sources to the new linux one, but I did not
change anything, only the address and host of the new linux server in the
bb-hosts on the Hobbit server side.

I do not know even how to install xymon-client packages. I do not know how
to find the distribution I use. I do not know from where to take a proper
distribution for linux.
Personally it sounds like you aren't in a position to support this linux 
server. This list is not intended to provide Unix training ...
Can you help me please with the commands, paths and steps:
                 - to find the distribution I use?
You can try:
cat /etc/*release
                 - to find a proper distribution for linux?
                 - to install xymon-client package?
Will depend on the answer to the first question. If Mandriva, 'urpmi xymon-
client && vi /etc/sysconfig/xymon-client && service xymon-client start', on 
Debian 'apt-get install xymon-client'.

For CentOS or RHEL, you may want to use my repo:

http://staff.telkomsa.net/packages/Xymon.repo

If that doesn't help you, this page has some hints that may help:
http://sourceforge.net/apps/mediawiki/devmon/index.php?title=InstallRHELorCentOS


Regards,
Buchan
list Matic Madalina · Thu, 30 Sep 2010 07:00:15 -0700 (PDT) ·
Hello Buchan.

Sorry for the inconvenince created with my off-list question. 

In the previous mail, I did not understand to reply also to the xymon at xymon.com.

The output of cat /etc/*release is:
Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
CM OS Image-Version: 1.20 (created Mon Mar 22 16:12:27 CET 2010)
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

So , this is the distribution of linux that I am using and I suppose I should 
follow the steps from http://staff.telkomsa.net/packages/Xymon.repo

Unfortunately, I cannot simply run the wget 
http://staff.telkomsa.net/packages/Xymon.repo -O /etc/yum.repos.d/Xymon.repo
because I cannot add repos directly to my servers. 
 
So, I have to test the new rpms on test server and only after to push the new 
rpms via puppet to my target server.
 
Can you provide me a link from where I can download the sources or a zip with 
the package that I need?

Thank you very much.

Regards,
Madalina
quoted from Buchan Milne


From: Buchan Milne <user-9b139aff4dec@xymon.invalid>
To: Matic Madalina <user-542842f3a501@xymon.invalid>
Cc: xymon at xymon.com
Sent: Thu, September 30, 2010 2:10:29 PM
Subject: Re: [xymon] I need urgent help: Hobbit (linux) client startup failed

Please keep the xymon mailing list as a recipient. This is the last reply I 
will send you to an off-list question.


On Thursday, 30 September 2010 08:32:46 Matic Madalina wrote:
Hello Buchan.

Thank you for your response.

I dot not know how to compile xymon for linux. Can you tell me please the
commands that I should use?
As is conventional with most software supplied as source, a README document is 
supplied with the source, which documents the basics of how to compile the 
software (assuming you have the requirements - a C compiler etc. - installed).
I am only using the application; the guy who implemented this has left the
team last year.
Did he not provide any documentation on how he deployed clients? Maybe he 
already had pre-compiled binaries?
I received the application configured with a Hobbit server working with 7
unix clients. One of 7 unix clients was replaced with a linux one.

I only copied the unix client sources to the new linux one, but I did not
change anything, only the address and host of the new linux server in the
bb-hosts on the Hobbit server side.

I do not know even how to install xymon-client packages. I do not know how
to find the distribution I use. I do not know from where to take a proper
distribution for linux.
Personally it sounds like you aren't in a position to support this linux 
server. This list is not intended to provide Unix training ...
Can you help me please with the commands, paths and steps:
                  - to find the distribution I use?
You can try:
cat /etc/*release
                  - to find a proper distribution for linux?
                  - to install xymon-client package?
Will depend on the answer to the first question. If Mandriva, 'urpmi xymon-
client && vi /etc/sysconfig/xymon-client && service xymon-client start', on 
Debian 'apt-get install xymon-client'.

For CentOS or RHEL, you may want to use my repo:

http://staff.telkomsa.net/packages/Xymon.repo

If that doesn't help you, this page has some hints that may help:
http://sourceforge.net/apps/mediawiki/devmon/index.php?title=InstallRHELorCentOS


Regards,
Buchan