[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] RC2 and bb-services



Thanks, that helped me figure out the problem. Turns out my last entry had a typo and instead of "service" I had "sevice". Somehow this confused hobbit into thinking that it was part of the previous service declaration, and it took the port number of the typoed service :-)

P.S.  Are we going to get regex ability for "expect" in bb-services?  :-)

-Charles

Henrik Stoerner wrote:

On Mon, Feb 14, 2005 at 03:28:36AM -0700, Charles Jones wrote:


RC2 overwrote my bb-services



It shouldn't - will fix.



, so I recreated the 2 custom services I had in it...they are simple checks so I doubt I could have made a mistake, yet now they are failing. The status page shows "Service unavailable (Connection refused)", even though I can telnet to the port and get the banner.

What's the best way for me to troubleshoot this?



Log in as the hobbit user, then run


  ~/server/bin/bbcmd sh
  bbtest-net --debug HOSTNAME

where HOSTNAME is one of the hosts with this test.

At the start of the output is a dump of the services found in your
bb-services file, ending with:

BBNETSVCS set to : smtp telnet ftp pop pop3 pop-3 ssh imap ssh1 ssh2 imap2 imap3 imap4 pop2 pop-2 nntp vnc qmqp qmtp oratns clamd bbd rsync ldaps ldap nntps imaps pop3s smtps telnets ftps

Check that your custom test is listed here.


If it is, then later on you should see lines like these:

2005-02-14 14:59:24 Adding tcp test IP=127.0.0.1, port=1984, service=bbd, silent=0
2005-02-14 14:59:24 Adding tcp test IP=127.0.0.1, port=80, service=http, silent=0

Check that the IP and portnumbers are correct.


Henrik

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk