client error on startup
list Ken Schweiker
Hi, Generally Hobbit is running very well for me. I really appreciate all the work everyone has done to make it so useful. Problem with a client. I scp'd the client directory from the hobbit server to my client machines. This has usually worked well except when I did the same thing to a redhat 4.2 server. The error I get running ./runclient.sh start is; line 83: /home/hobbit/client/bin/hobbitlaunch : cannot execute binary file. The privileges are good, everything else looks the same as other machines. i also see the error ins log/messages ; modprobe: can't locate module binfmt-464c. Do I have to rebuild the client on this particular server? Is there a separate tar file for clients or do I have to install the complete Hobbit tar file? Thanks.
list Henrik Størner
▸
In <user-30bac24eaf78@xymon.invalid> ken schweiker <user-2f9bedb6e7b6@xymon.invalid> writes:
Generally Hobbit is running very well for me. I really appreciate all the work everyone has done to make it so useful. Problem with a client. I scp'd the client directory from the hobbit server to my client machines. This has usually worked well except when I did the same thing to a redhat 4.2 server.
The error I get running ./runclient.sh start is; line 83: /home/hobbit/client/bin/hobbitlaunch : cannot execute binary file.
You need to rebuild the client on this server - the binary format of the executables on it is different. Could be a 32/64-bit issue.
▸
Do I have to rebuild the client on this particular server? Is there a separate tar file for clients or do I have to install the complete Hobbit tar file?
It's the same source file, just run "./configure --client" for a client- only installation. Regards, Henrik
list Sebastian Auriol
Ken, You could also using the RPM here: http://rpm.pbone.net/index.php3/stat/4/idpl/7457071/com/hobbit-client-4.2.0- 9.el4.re.i386.rpm.html Although it's a bit old. It's basically somewhere between 4.2.0 (or the unofficial 4.2.1 to be more precise) and 4.2.2. It would be nice if someone could make Redhat RPMs for 4.2.2! ;) (Client and server.) SebA
▸
-----Original Message----- From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: 19 January 2009 09:51 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] client error on startup In <user-30bac24eaf78@xymon.invalid> ken schweiker <user-2f9bedb6e7b6@xymon.invalid> writes:Generally Hobbit is running very well for me. I really appreciate all the work everyone has done to make it so useful. Problem with a client. I scp'd the client directory from the hobbit server to my client machines. This has usually worked well except when I did the same thing to a redhat 4.2 server.The error I get running ./runclient.sh start is; line 83: /home/hobbit/client/bin/hobbitlaunch : cannot execute binary file.You need to rebuild the client on this server - the binary format of the executables on it is different. Could be a 32/64-bit issue.Do I have to rebuild the client on this particular server? Is there a separate tar file for clients or do I have to install the complete Hobbit tar file?It's the same source file, just run "./configure --client" for a client- only installation. Regards, Henrik
list Buchan Milne
▸
On Thursday 22 January 2009 14:29:20 SebA wrote:
Ken, You could also using the RPM here: http://rpm.pbone.net/index.php3/stat/4/idpl/7457071/com/hobbit-client-4.2.0 - 9.el4.re.i386.rpm.html Although it's a bit old. It's basically somewhere between 4.2.0 (or the unofficial 4.2.1 to be more precise) and 4.2.2.
Or mine, at: http://staff.telkomsa.net/packages/ (e.g. http://staff.telkomsa.net/packages/rhel4/hobbit/). I
▸
It would be nice if someone could make Redhat RPMs for 4.2.2! ;) (Client and server.)
The Hobbit->Xymon change (and associated changes which are not strictly necessary, but need to be done to pass package quality checks) are not trivial, and I've been trying to finish a devmon release first ... (my Hobbit packages had most of the changes that went into Xymon anyway).
Regards,
Buchan
list Stewart L
You can make your own RPMS from the source code. untar the archive and there is a makerpm script # cd /tmp # wget http://internap.dl.sourceforge.net/sourceforge/hobbitmon/xymon-4.2.2.tar.gz # tar xzvf xymon-4.2.2.tar.gz # cd xymon-4.2.2 # ./build/makerpm.sh 4.2.2 # ll ./rpmbuild/RPMS/i386/ total 7992 -rw-r--r-- 1 root root 3630147 2009-01-22 08:13 hobbit-4.2.2-1.i386.rpm -rw-r--r-- 1 root root 291183 2009-01-22 08:13 hobbit-client-4.2.2-1.i386.rpm -rw-r--r-- 1 root root 4239921 2009-01-22 08:13 hobbit-debuginfo-4.2.2-1.i386.rpm viola! you need to make sure that you have the dependencies installed (likely need the rpmforge yum repo to make this work correctly) # yum install pcre-devel fping rrdtool rrdtool-devel openssl openssl-devel openldap openldap-devel # yum groupinstall 'Development Tools'
▸
On Thu, Jan 22, 2009 at 7:29 AM, SebA <user-7b2156f36779@xymon.invalid> wrote:
Ken, You could also using the RPM here: http://rpm.pbone.net/index.php3/stat/4/idpl/7457071/com/hobbit-client-4.2.0- 9.el4.re.i386.rpm.html Although it's a bit old. It's basically somewhere between 4.2.0 (or the unofficial 4.2.1 to be more precise) and 4.2.2. It would be nice if someone could make Redhat RPMs for 4.2.2! ;) (Client and server.) SebA-----Original Message----- From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: 19 January 2009 09:51 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] client error on startup In <user-30bac24eaf78@xymon.invalid> ken schweiker <user-2f9bedb6e7b6@xymon.invalid> writes:Generally Hobbit is running very well for me. I really appreciate all the work everyone has done to make it so useful. Problem with a client. I scp'd the client directory from the hobbit server to my client machines. This has usually worked well except when I did the same thing to a redhat 4.2 server.The error I get running ./runclient.sh start is; line 83: /home/hobbit/client/bin/hobbitlaunch : cannot execute binary file.You need to rebuild the client on this server - the binary format of the executables on it is different. Could be a 32/64-bit issue.Do I have to rebuild the client on this particular server? Is there a separate tar file for clients or do I have to install the complete Hobbit tar file?It's the same source file, just run "./configure --client" for a client- only installation. Regards, Henrik
--
Stewart
--
If you see yourself in others, then whom can you harm?