Scheblein, Adam wrote:
~hobbit/client/bin/clientupdate --update=sunos8.v1
Oops -- there shouldn't be a space inbetween update= and sunos8.v1
Adam
Well, after bumbling through the source code with gdb and being rather clueless, I did spot various clientupdate arguments including the one you have listed. So having tried that and this:
./clientupdate --update=sunos8.v1.1
and this:
./.update.myHost01.1153492317.tmp --update=sunos8.v1.1
It works rather nicely, but of course we would like to see it work automatically as designed, but it does save a whole bunch of scp'ing in the interim. It may also have a PATH bug:
myHost:/var/home/nmsbb/client/tmp> ./.update.myHost01.1153490198.tmp --update=sunos8.v1 Cannot chdir to BBHOME
It works after you export BBHOME, but that is not a problem on my original host where I still experience the problem. In summary, clientupdate creates the tmp file which is the clientupdate binary and then fails. Since clientupdate works manually, if we could figure out where the disconnect is the problem would be solved, hopefully.
Adam, did you try copying the tar file over manually and extracting it as your hobbit client user to make sure it all goes as planned?
~David
-----Original Message----- From: David Gore [mailto:David.Gore at verizonbusiness.com] Sent: Thursday, July 20, 2006 6:18 PM To: hobbit at hswn.dk Subject: Re: [hobbit] clientupdate?
David Gore wrote:
Henrik Stoerner wrote:
On Wed, Jul 19, 2006 at 01:38:53PM +0000, David Gore wrote:
What is the status (this release? next release?) of clientupdate
to
automatically update the client?
It should be working in the current release (the original RC from July 12).
We read the man page and configured it, hoping it would work. Obviously, it would save us a lot of time. Here is what we get
on
the client:
tail -f hobbitclient.log 2006-07-19 13:30:59 connect to bbd failed - Connection refused 2006-07-19 13:30:59 Whoops ! bb failed to send message -
Connection
failed Cannot fetch new client tarfile
That is odd. Why can't it connect to the Hobbit server? It uses
the
same
method of connecting for the client update as it does when
sending
in
the client data.
Any signs in the server logs of hobbitd crashing? If yes, do
apply
the
current "allinone.patch" to the server and retry this.
No signs of the server crashing. The server is fine and while clientupdate is not working the client is fine otherwise all
statuses
up to date.
I am currently using the latest snapshot for client and server.
What does your client-local.cfg file have for this client, and
what
files do you have in the ~hobbit/download/ directory?
It looks something like this:
client-local.cfg:
[clienthost] clientversion:sunos8.v1 file:/opt/app/apache/logs/access.log log:/opt/app/apache/logs/error.log:10240 log:/var/adm/messages:10240 ignore srsxfer
[hobbit at hobbit download]$ ls sunos8.v1.tar [hobbit at hobbit download]$ pwd /home/hobbit/server/download
Any chance we can get some feedback on this? Congrats Adam, you are getting further than we have. Regardless, the tmp files it creates without the 'w'rite attribute are a nuisance:
-r-xr-x--- 1 nmsbb staff 165540 Jul 19 15:41 .update.clienthost.1153323688.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 17:41 .update.clienthost.1153330910.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 18:46 .update.clienthost.1153334819.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 19:47 .update.clienthost.1153338436.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 20:47 .update.clienthost.1153342041.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 21:47 .update.clienthost.1153345667.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 21:52 .update.clienthost.1153345964.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 22:52 .update.clienthost.1153349570.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 19 23:52 .update.clienthost.1153353178.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 00:53 .update.clienthost.1153356796.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 01:53 .update.clienthost.1153360408.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 02:58 .update.clienthost.1153364321.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 03:58 .update.clienthost.1153367929.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 04:59 .update.clienthost.1153371541.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 05:59 .update.clienthost.1153375152.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 07:04 .update.clienthost.1153379068.tmp -r-xr-x--- 1 nmsbb staff 165540 Jul 20 08:04 .update.clienthost.1153382679.tmp
nmsbb at omzimp01:/export/home/nmsbb/client/logs> tail -f h*log 2006-07-20 23:10:46 connect to bbd failed - Connection refused 2006-07-20 23:10:46 Whoops ! bb failed to send message - Connection
failed
Cannot fetch new client tarfile tar: blocksize = 0 Found update in progress or failed update (started 5 minutes ago)
No change in the latest snapshot.
~David
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk