<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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 :-)<br>
<br>
P.S.  Are we going to get regex ability for "expect" in bb-services? 
:-)<br>
<br>
-Charles<br>
<br>
Henrik Stoerner wrote:
<blockquote cite="mid20050214140214.GA17709@hswn.dk" type="cite">
  <pre wrap="">On Mon, Feb 14, 2005 at 03:28:36AM -0700, Charles Jones wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">RC2 overwrote my bb-services
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It shouldn't - will fix.

  </pre>
  <blockquote type="cite">
    <pre wrap="">, 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?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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
<a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>
  </pre>
</blockquote>
<br>
</body>
</html>