Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Issue starting the UI webservice

8 replies [Last post]
  • Login or register to post comments
Mon, 08/16/2010 - 13:26
sj346
Offline
Joined: 08/16/2010
Groups: None

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.

Top
  • Login or register to post comments
Mon, 08/16/2010 - 13:31
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

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!

Top
  • Login or register to post comments
Mon, 08/16/2010 - 13:59
sj346
Offline
Joined: 08/16/2010
Groups: None

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]

Top
  • Login or register to post comments
Mon, 08/16/2010 - 14:30
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Can I see a 'netstat -an | grep moxi'?

__________________

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!

Top
  • Login or register to post comments
Mon, 08/16/2010 - 14:43
sj346
Offline
Joined: 08/16/2010
Groups: None

I get no results.

Top
  • Login or register to post comments
Mon, 08/16/2010 - 14:51
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

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

__________________

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!

Top
  • Login or register to post comments
Mon, 08/16/2010 - 16:01
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

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'?

__________________

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!

Top
  • Login or register to post comments
Mon, 08/16/2010 - 17:13
sj346
Offline
Joined: 08/16/2010
Groups: None

I tried turning off iptables and restarting the northscale server to no avail. Furthermore, I emailed you the output of netstat -an. Thanks!

Top
  • Login or register to post comments
Wed, 08/18/2010 - 17:34
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

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

__________________

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!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker