Issue starting the UI webservice
I'm having trouble setting up Membase beta 2. On a 64-bit ubuntu 9.10 machine, I unpackage the .deb, and I see that there is in fact a process listening on port 8080.
[CODE]# netstat -nlp | grep 8080
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2264/beam.smp[/CODE]
However, when I try "curl -i http://127.0.0.1:8080/index.html", I receive the following header:
[CODE]
HTTP/1.1 500 Internal Server Error
Server: Membase Server 1.6.0beta2
Pragma: no-cache
Date: Mon, 16 Aug 2010 20:22:21 GMT
Content-Type: application/json
Content-Length: 44
Cache-Control: no-cache no-store max-age=0[/CODE]
I've additionally tried installing on an amazon ec2 instance with ubuntu 9.10, and the webservice works fine immediately after unpackaging. I.e., when I try the same cUrl command, I see the page's source. Any suggestions on how to get this working? Thanks.
Thanks for the quick response! Iptables is running, but we don't have any rules defined..
[CODE]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination[/CODE]
Can I see a 'netstat -an | grep moxi'?
I get no results.
Okay, then there's likely something else going on here. It seems like the underlying processes aren't starting up properly. Can you run '/opt/NorthScale/bin/browse_logs > logs', zip that file up and either paste it here or send it to me (perry -at- northscale -dot- com)
Thanks
Perry
So there's definitely a "connection refused" error coming as we try to start up. Can you turn off iptables just to test? Can you also give me the whole output of 'netstat -an'?
I tried turning off iptables and restarting the northscale server to no avail. Furthermore, I emailed you the output of netstat -an. Thanks!
We found the solution to this. It seems that there is a bug in erlang ([url]https://issues.apache.org/jira/browse/COUCHDB-627[/url]) that doesn't handle certain timezones very well.
The workaround is to add: "export TZ=UTC" (without the quotes) in the /etc/init.d/northscale-server file and restart the service.
Perry
Any chance you have iptables active on that system?
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!