moved server, the server itself is not reporting?
I recently moved the hobbit server from one box to another. I changed DNS entries, firewall entries, etc., and now today everything except one box is reporting. The new hobbit server itself is not report its own status. I start the hobbit server with:
su - hobbit
$ ~/current/server/hobbit.sh start
The daemon does start, things updating, etc., just not the server box itself. In /var/log/hobbit/hobbitclient.log I have lots of messages:
... 2007-12-20 09:04:00 Whoops ! bb failed to send message - Connection failed 2007-12-20 09:09:01 Could not connect to bbd at 10.1.2.89:1984 - Connection refused 2007-12-20 09:09:01 Whoops ! bb failed to send message - Connection failed 2007-12-20 09:14:02 Could not connect to bbd at 10.1.2.89:1984 - Connection refused 2007-12-20 09:14:02 Whoops ! bb failed to send message - Connection failed 2007-12-20 09:19:03 Could not connect to bbd at 10.1.2.89:1984 - Connection refused ...
Looks like the client daemon did not start. What more do I need to add starting the server to start the client?
Ideas?
Mike
Is the new server listening on 10.1.2.89:1984?
Do a netstat -an|grep 1984 and paste what you see, please.
On 12/20/07, Mike Eggleston <mikeegg1 at mac.com> wrote:
I recently moved the hobbit server from one box to another. I changed DNS entries, firewall entries, etc., and now today everything except one box is reporting. The new hobbit server itself is not report its own status. I start the hobbit server with:
su - hobbit
$ ~/current/server/hobbit.sh start
The daemon does start, things updating, etc., just not the server box itself. In /var/log/hobbit/hobbitclient.log I have lots of messages:
... 2007-12-20 09:04:00 Whoops ! bb failed to send message - Connection failed 2007-12-20 09:09:01 Could not connect to bbd at 10.1.2.89:1984 - Connection refused 2007-12-20 09:09:01 Whoops ! bb failed to send message - Connection failed 2007-12-20 09:14:02 Could not connect to bbd at 10.1.2.89:1984 - Connection refused 2007-12-20 09:14:02 Whoops ! bb failed to send message - Connection failed 2007-12-20 09:19:03 Could not connect to bbd at 10.1.2.89:1984 - Connection refused ...
Looks like the client daemon did not start. What more do I need to add starting the server to start the client?
Ideas?
Mike
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Thu, 20 Dec 2007, Josh Luthman might have said:
Is the new server listening on 10.1.2.89:1984?
Do a netstat -an|grep 1984 and paste what you see, please.
No, the new server is 10.1.2.84. So, maybe there are two parts to this. Something is sending to 10.1.2.89 (the old server) and something is not listening on 10.1.2.84 (the new server).
Mike
On Dec 20, 2007 10:44 AM, Mike Eggleston <mikeegg1 at mac.com> wrote:
On Thu, 20 Dec 2007, Josh Luthman might have said:
Is the new server listening on 10.1.2.89:1984?
Do a netstat -an|grep 1984 and paste what you see, please.
No, the new server is 10.1.2.84. So, maybe there are two parts to this. Something is sending to 10.1.2.89 (the old server) and something is not listening on 10.1.2.84 (the new server).
When you moved the hobbit server, did you change anything in it's config?? When you install Hobbit, it asks for the server's IP, and stashes it in server/etc/hobbitserver.cfg as
BBSERVERIP=a.b.c.d
I guess that's so that it doesn't have to rely on DNS lookups working for it to be able to send status.
Ralph Mitchell
On Thu, 20 Dec 2007, Ralph Mitchell might have said:
On Dec 20, 2007 10:44 AM, Mike Eggleston <mikeegg1 at mac.com> wrote:
On Thu, 20 Dec 2007, Josh Luthman might have said:
Is the new server listening on 10.1.2.89:1984?
Do a netstat -an|grep 1984 and paste what you see, please.
No, the new server is 10.1.2.84. So, maybe there are two parts to this. Something is sending to 10.1.2.89 (the old server) and something is not listening on 10.1.2.84 (the new server).
When you moved the hobbit server, did you change anything in it's config?? When you install Hobbit, it asks for the server's IP, and stashes it in server/etc/hobbitserver.cfg as
BBSERVERIP=a.b.c.d
I guess that's so that it doesn't have to rely on DNS lookups working for it to be able to send status.
I missed changing ~/current/client/etc/hobbitclient.cfg for the new IP address. All is working now, thanks to everyone.
Mike
participants (3)
-
josh@imaginenetworksllc.com
-
mikeegg1@mac.com
-
ralphmitchell@gmail.com