Error Installing Predictive Services on windows

User 5283 | 6/12/2016, 4:26:48 PM

Hello, I was able to successfully install Predictive Services on my local windows machine. But still its not working: the logs are shown below:

system@system MINGW64 /c/dato-ps/binaries/dato-predictive-services-1.10.1 $ ./setupdatops.sh /c/dato-ps/binaries/Dato-Predictive-Services-License.ini Log file is at: predictiveservicesetup2016-06-12-16-51-56.log Your configuration: internalip=192.168.99.100 externalip=192.168.2.104 pspath=/C/dato-ps/runtime deploymentpath=/C/dato-ps/binaries servermemory=4096 serverport=9005 usessl=false certificateisselfsigned= certificatepath= lbport=default lbstatsport=9000 metricsport=9015 maxcachememory=2048 Installing Dato Predictive Service in: host: 192.168.2.104 working directory: /C/dato-ps/binaries Creating working folder /C/dato-ps/binaries at host 192.168.2.104 Copying state file to /C/dato-ps/runtime Creating haproxy configuration... Creating environment file... Copying Predictive Service files to /C/dato-ps/binaries Copying images to /C/dato-ps/binaries/images Changing permissions of folders Setting up iptables... Boot2Docker version 1.11.2, build HEAD : a6645c3 - Wed Jun 1 22:59:51 UTC 2016 Docker version 1.11.2, build b9f10c9 Boot2Docker version 1.11.2, build HEAD : a66 45c3 - Wed Jun 1 22:59:51 UTC 2016 Docker version 1.11.2, build b9f10c9 Boot2Dock er version 1.11.2, build HEAD : a6645c3 - Wed Jun 1 22:59:51 UTC 2016 Docker version 1.11.2, build b9f10c9 Boot2Docker version 1.11.2, build HEAD : a6645c3 - Wed Jun 1 22:59:51 UTC 2016 Docker version 1.11.2, build b9f10c9 Boot2Docker version 1.11.2, build HEAD : a6645c3 - Wed Jun 1 22:59:51 UTC 2016 Docker version 1.11.2, build b9f10c9 Boot2Docker version 1.11.2, build HEAD : a6645c3 - Wed Jun 1 22:59:51 UTC 2016 Docker version 1.11.2, build b9f10c9 Starting Predictive Service Loading docker image datopsserver.tar datopslb.tar datopsmetrics.tar /c/dato-ps/binaries/dato-predictive-services-1.10.1 Starting Predictive Service container... fade193e223c924e3336255e02f4545633668b9a69fd6e285028856f3d83995b Starting load balancer... c7ea75f09711d42884b4548f8988e449384b4ee559fc081d442ac392fbba9010 Starting metrics server... 0a1ec0d06c523e177c638986fe13e8608992d4829d547831a5d3600ca26e7505 Predictive Service has been successfully launched. You may check your Predictive Service stats on open http://192.168.2.104:9000/stats

Your server is listening on : curl -X GET http://192.168.2.104:80

To use the Predictive Service, load it into your GraphLab Create client session: >>> import graphlab as gl >>> ps = gl.deploy.predictive_service.load('/C/dato-ps/runtime') >>> print ps

To stop the Predictive Service, run the following script: ./shutdowndatops.sh


I am not able to open the stats URL - 192.168.2.104:9000/stats. I am getting connection refused error in browser.

I have provided my external ip as - 192.168.2.104 (which I can ping) and I have provided my internal ip as 192.168.99.100 (which also I can ping and its an ip of docker toolbox)

I have tried with other ports as well. But still its not working.

Please advise ,

Thanks, vibhor

Comments

User 5283 | 6/13/2016, 8:05:29 PM

If I use 192.168.2.104 as both external and internal IP address. Then I am getting different error as mentioned below:

C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: driver f ailed programming external connectivity on endpoint predictive-service-1.10.1 (2 1932eb832c58a62e87e84aabf904c78d29c215aa207ab43aacdc7e781746042): Error starting userland proxy: listen tcp 192.168.2.104:9006: bind: cannot assign requested ad dress.


User 92 | 6/14/2016, 3:27:45 PM

Hi Vibhor,

You need to config your host machine to do port forwarding to your virtualbox. Please follow instructions in this page:

https://dato.com/learn/userguide/deployment/pred-on-premises.html

Search "port forwarding for windows and os x" section.

Thanks!


User 5283 | 6/14/2016, 4:56:01 PM

Hello Wang,

Before deploying the services. I have gone thru the doc completely and followed all the steps and did port forwarding in the virtual box. I mapped all the ports b/w host and guest i.e.- lbport, lbstatsport, and metricsport

But, as I mentioned in my first thread that even after deploying the services successfully I am not able to access stats URL: I am getting connection refused.

192.168.2.104:9000/stats

Let me know if you have any other suggestion?

Thanks, vibhor


User 5283 | 6/16/2016, 3:30:06 AM

Hello Wang,

Any update on my ticket?

Thanks in advance, vibhor


User 92 | 6/20/2016, 7:59:56 PM

Hi Vibhor,

Apologizes for the misunderstanding. You have filed a support ticket to us and I was assisting you through the support ticket, which is why I am not following up here.

I have asked you to send us the output of the following command and was expecting your answers:

docker ps -a

And if you see send us the output of the following command for each container listed there:

docker logs <container-id>

It would help us resolve the issue.

Thanks!


User 5283 | 6/21/2016, 5:17:40 PM

Hello wang,

No problem!

In your email for the ticket you have asked me to send the logs for ifconfig/ipconfg which I have already emailed you. Your last response on the ticket was that my assumption of choosing the internal and external ip was correct. After that I didn't receive any response on the ticket :)

In this discussion forum thread you have asked me to send the docker logs which I will upload here soon.

Thanks for your support, vibhor


User 5283 | 6/28/2016, 8:14:30 AM

Hello Wang,

Hope you are doing good!

Any update on my ticket?

Thanks, vibhor