Xymon Mailing List Archive search

debian client install errors

6 messages in this thread

list Dan Simoes · Wed, 16 Aug 2006 11:29:51 -0700 ·
I'm not sure if Henrik wants bug reports here, or privately.

When installing the hobbit client under debian, it complains:
Please configure HOBBITSERVERS in /etc/default/hobbit-client
invoke-rc.d: initscript hobbit-client, action "start" failed

/etc/default/hobbit-client says that HOBBITSERVERS is a predefined variable.
It doesn't seem to be though.

I'm not sure if the right action is to edit /etc/default/hobbit-client, or
edit somewhere else.
I can make this work, but I'm more concerned with making sure this gets
fixed in the release.
The same problem was present in the last beta.
list Nicolas Lienard · Wed, 16 Aug 2006 21:48:39 +0200 ·
Hi,

OS: Freebsd 6.1
Hobbit server:  4.2.0

i ve problem when installing the hobbit server/client on a freebsd.

In fact, it seems the client doesnt manage to communicate with the  server side. (on the same host :-(


In log,
hobbit at serv0$ tail hobbitlaunch.log
2006-08-16 21:24:40 Loading tasklist configuration from /home/hobbit/ server/etc/hobbitlaunch.cfg
2006-08-16 21:24:40 Loading hostnames
2006-08-16 21:24:40 Loading saved state
2006-08-16 21:24:40 Setting up network listener on 0.0.0.0:1984
2006-08-16 21:24:40 Setting up signal handlers
2006-08-16 21:24:40 Setting up hobbitd channels
2006-08-16 21:24:40 Setting up logfiles
2006-08-16 21:24:52 Our child has failed and will not talk to us:  Channel client, PID 60191, cause Bad file descriptor
2006-08-16 21:29:52 Our child has failed and will not talk to us:  Channel client, PID 60191, cause Bad file descriptor
2006-08-16 21:34:55 Our child has failed and will not talk to us:  Channel client, PID 60191, cause Bad file descriptor
hobbit at serv0$

hobbit at serv0$ tail hobbitclient.log
Warning: sysctl(net.inet6.ip6.rip6stats): No such file or directory


in hobbitlaunch.cfg, i ve the client section:

[hobbitclient]
         ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
         NEEDS hobbitd
         CMD /home/hobbit/client/bin/hobbitclient.sh
         LOGFILE /var/log/hobbit/hobbitclient.log
         INTERVAL 5m

Before updating, this box was an hobbit server 4.1 and bigbrother  client. (the bigbrother client is down now)


Any help is welcome.

Thanks !
nicolas Lienard
list Henrik Størner · Wed, 16 Aug 2006 23:31:59 +0200 ·
On Wed, Aug 16, 2006 at 11:29:51AM -0700, Dan Simoes wrote:
I'm not sure if Henrik wants bug reports here, or privately.
Oh please - keep bug reports on the mailing list! I have nothing
to hide (at least, not when it comes to Hobbit :-))

Seriously, the Hobbit mailing list does go to my personal mailbox.
And it's automatically tagged with "[hobbit]" making it easy to
spot. So please keep it on the list.

(Of couse, if a bug report involves some information about 
hosts, IP-adresses etc that you would prefer to keep private,
sending it directly to me is OK. But usually this kind of data
only shows up after an initial report to the list).
quoted from Dan Simoes

When installing the hobbit client under debian, it complains:
Please configure HOBBITSERVERS in /etc/default/hobbit-client
invoke-rc.d: initscript hobbit-client, action "start" failed

/etc/default/hobbit-client says that HOBBITSERVERS is a predefined 
variable. It doesn't seem to be though.
Hmm ... it was supposed to set that up during the dpkg "setup"
phase. I must admit it's been a long time since I've looked at 
the debian client-package install, so I may have broken something
along the way of the 4.2 release.

I'll check up on it.


Regards,
Henrik
list Dan Simoes · Wed, 16 Aug 2006 15:03:11 -0700 ·
Adding the two lines for server and client to the /etc/default/hobbit-client
makes it work.
There seems to be a disconnect between the installer and the file.  I'll see
if I can figure it out.
quoted from Henrik Størner

On 8/16/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, Aug 16, 2006 at 11:29:51AM -0700, Dan Simoes wrote:
I'm not sure if Henrik wants bug reports here, or privately.
Oh please - keep bug reports on the mailing list! I have nothing
to hide (at least, not when it comes to Hobbit :-))

Seriously, the Hobbit mailing list does go to my personal mailbox.
And it's automatically tagged with "[hobbit]" making it easy to
spot. So please keep it on the list.

(Of couse, if a bug report involves some information about
hosts, IP-adresses etc that you would prefer to keep private,
sending it directly to me is OK. But usually this kind of data
only shows up after an initial report to the list).

When installing the hobbit client under debian, it complains:
Please configure HOBBITSERVERS in /etc/default/hobbit-client
invoke-rc.d: initscript hobbit-client, action "start" failed

/etc/default/hobbit-client says that HOBBITSERVERS is a predefined
variable. It doesn't seem to be though.
Hmm ... it was supposed to set that up during the dpkg "setup"
phase. I must admit it's been a long time since I've looked at
the debian client-package install, so I may have broken something
along the way of the 4.2 release.

I'll check up on it.


Regards,
Henrik

list Nicolas Lienard · Thu, 17 Aug 2006 00:24:35 +0200 ·
Maybe the fact to install hobbit 4.2 into an old install was not a  good idea.

I reinstalled hobbit and finaly everything works now (i moved server  to server.old and client to client.old before; just keeping data  directory)

regards
Nicolas
quoted from Nicolas Lienard

Le 16 août 06 à 21:48, Nico a écrit :
Hi,

OS: Freebsd 6.1
Hobbit server:  4.2.0

i ve problem when installing the hobbit server/client on a freebsd.

In fact, it seems the client doesnt manage to communicate with the  server side. (on the same host :-(


In log,
hobbit at serv0$ tail hobbitlaunch.log

2006-08-16 21:24:40 Loading tasklist configuration from /home/ hobbit/server/etc/hobbitlaunch.cfg
quoted from Nicolas Lienard
2006-08-16 21:24:40 Loading hostnames
2006-08-16 21:24:40 Loading saved state
2006-08-16 21:24:40 Setting up network listener on 0.0.0.0:1984
2006-08-16 21:24:40 Setting up signal handlers
2006-08-16 21:24:40 Setting up hobbitd channels
2006-08-16 21:24:40 Setting up logfiles
2006-08-16 21:24:52 Our child has failed and will not talk to us:  Channel client, PID 60191, cause Bad file descriptor
2006-08-16 21:29:52 Our child has failed and will not talk to us:  Channel client, PID 60191, cause Bad file descriptor
2006-08-16 21:34:55 Our child has failed and will not talk to us:  Channel client, PID 60191, cause Bad file descriptor
hobbit at serv0$

hobbit at serv0$ tail hobbitclient.log
Warning: sysctl(net.inet6.ip6.rip6stats): No such file or directory


in hobbitlaunch.cfg, i ve the client section:

[hobbitclient]
        ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
        NEEDS hobbitd
        CMD /home/hobbit/client/bin/hobbitclient.sh
        LOGFILE /var/log/hobbit/hobbitclient.log
        INTERVAL 5m

Before updating, this box was an hobbit server 4.1 and bigbrother  client. (the bigbrother client is down now)


Any help is welcome.

Thanks !
nicolas Lienard

list Charles Goyard · Thu, 17 Aug 2006 09:47:03 +0200 ·
Dan Simoes a écrit :
When installing the hobbit client under debian, it complains:
Another bug in the Debian package, in /etc/init.d/hobbit-client : it
misses $DMNOPTS on stop and restart, so it fails when `hostname` is
different than --hostname.

We changed some other things so the package build from 2.2 to 3.1.

One question I have is how will the debian package and the clientupdate
play together...


-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31