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