Glad its working ! your connection refused error should disappear now Best, Ashok
On Tue, Jul 2, 2013 at 3:33 PM, Jobin Raju George <jobin...@gmail.com>wrote: > > Hey, Ashok! > > > I did the following: > > 1) Changed bind_ip=10.112.107.107 in /etc/mongodb.conf > 2) Restarted mongodb using service mongodb restart. > 3) Confirmed mongodb is running(mongodb start/running, process 15257) > 4) Did a telnet 10.112.107.107 27017 and yes it is working now! > > > Thanks a lot for your efforts! > > > On Tue, Jul 2, 2013 at 3:26 PM, Ashok Kumaran <ashokkumara...@gmail.com>wrote: > >> I believe that is the problem. >> >> Can you change the bind_ip=10.112.107.107 and then restart mongodb,then >> try to do a telnet from your compute? let me know the outcome >> >> On Tue, Jul 2, 2013 at 3:23 PM, Jobin Raju George <jobin...@gmail.com>wrote: >> >>> Oh yes, it is! Is that the issue? >>> >>> >>> On Tue, Jul 2, 2013 at 3:22 PM, Ashok Kumaran >>> <ashokkumara...@gmail.com>wrote: >>> >>>> Okay, Can you check what has been set on parameter bind_ip in mongodb >>>> conf in your controller? >>>> is it 127.0.0.1? >>>> >>>> >>>> >>>> >>>> On Tue, Jul 2, 2013 at 3:13 PM, Jobin Raju George >>>> <jobin...@gmail.com>wrote: >>>> >>>>> Dear Ashok, thanks for you attention. Here are the outputs of commands >>>>> you told me to execute: >>>>> >>>>> 1) >>>>> >>>>> netstat -ntlp | grep 27017 >>>>> tcp 0 0 127.0.0.1:27017 0.0.0.0:* >>>>> LISTEN 1482/mongod >>>>> >>>>> >>>>> 2) >>>>> >>>>> telnet 10.112.107.107 27017 >>>>> Trying 10.112.107.107... >>>>> telnet: Unable to connect to remote host: Connection refused >>>>> >>>>> >>>>> >>>>> On Tue, Jul 2, 2013 at 2:58 PM, Ashok Kumaran < >>>>> ashokkumara...@gmail.com> wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> I know nothing about Ceilometer, but I thought I could figure out the >>>>>> mongodb connection issue, i have slight experience in mongodb. >>>>>> >>>>>> In your controller node can you check whether 27017 is listening for >>>>>> external connections? >>>>>> #netstat -ntlp|grep 27017 -- paste the output >>>>>> Also from your compute do a #telnet 10.112.107.107 27017, let me know >>>>>> the output. >>>>>> need to know the above things before we move into the further >>>>>> troubleshooting >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jul 2, 2013 at 2:48 PM, Jobin Raju George < >>>>>> jobin...@gmail.com> wrote: >>>>>> >>>>>>> 10.112.107.107 is the IP address of the controller node where >>>>>>> nova, keystone, ceilometer have been installed(and so is mongodb). I >>>>>>> have >>>>>>> installed ceilometer on the compute node also and configured it so that >>>>>>> it >>>>>>> knows that mongodb listens on 10.112.107.107:27017 but I don't know >>>>>>> why it is refusing connection. However, I don't see a connection >>>>>>> refused in >>>>>>> mongodb's logs. Here are the last few lines of my ceilometer-api logs: >>>>>>> http://pastebin.ubuntu.com/5835646/ >>>>>>> >>>>>>> >>>>>>> On Tue, Jul 2, 2013 at 2:42 PM, Julien Danjou <jul...@danjou.info>wrote: >>>>>>> >>>>>>>> On Tue, Jul 02 2013, Jobin Raju George wrote: >>>>>>>> >>>>>>>> > Here is my /etc/ceilometer/ceilometer.conf: >>>>>>>> > http://pastebin.ubuntu.com/5835612/ >>>>>>>> >>>>>>>> So the problem is that you configured it to use mongodb at >>>>>>>> mongodb://10.112.107.107:27017/ceilometer but mongodb doesn't seem >>>>>>>> to >>>>>>>> answer on this IP/port considering the error. I really dont'get >>>>>>>> what you >>>>>>>> don't get, it seems pretty obvious to me you should install MongoDB >>>>>>>> where you configured Ceilometer to look, right? >>>>>>>> >>>>>>>> -- >>>>>>>> Julien Danjou >>>>>>>> # Free Software hacker # freelance consultant >>>>>>>> # http://julien.danjou.info >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Thanks and regards, >>>>>>> >>>>>>> Jobin Raju George >>>>>>> >>>>>>> Third Year, Information Technology >>>>>>> >>>>>>> College of Engineering Pune >>>>>>> >>>>>>> Alternate e-mail: georgejr10...@coep.ac.in >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Mailing list: https://launchpad.net/~openstack >>>>>>> Post to : openstack@lists.launchpad.net >>>>>>> Unsubscribe : https://launchpad.net/~openstack >>>>>>> More help : https://help.launchpad.net/ListHelp >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regds, >>>>>> >>>>>> Ashok , >>>>>> Delivery Consultant, >>>>>> HP. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Thanks and regards, >>>>> >>>>> Jobin Raju George >>>>> >>>>> Third Year, Information Technology >>>>> >>>>> College of Engineering Pune >>>>> >>>>> Alternate e-mail: georgejr10...@coep.ac.in >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regds, >>>> >>>> Ashok , >>>> Delivery Consultant, >>>> HP. >>>> >>> >>> >>> >>> -- >>> >>> Thanks and regards, >>> >>> Jobin Raju George >>> >>> Third Year, Information Technology >>> >>> College of Engineering Pune >>> >>> Alternate e-mail: georgejr10...@coep.ac.in >>> >>> >> >> >> -- >> Regds, >> >> Ashok , >> Delivery Consultant, >> HP. >> > > > > -- > > Thanks and regards, > > Jobin Raju George > > Third Year, Information Technology > > College of Engineering Pune > > Alternate e-mail: georgejr10...@coep.ac.in > > -- Regds, Ashok , Delivery Consultant, HP.
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp