Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 821863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:42:42+00:00 2026-05-15T02:42:42+00:00

I have a Mongo server running on an Ubuntu box, and I am trying

  • 0

I have a Mongo server running on an Ubuntu box, and I am trying to connect to it with pymongo using the usual syntax:

from pymongo import Connection
c = Connection('db.example.com', 27017)

This works just fine on a recent-model Intel mac (OS 10.6). However, the same code on an older G5 tower (10.5) throws this error:

pymongo.errors.AutoReconnect: [Errno 54] Connection reset by peer

The mongo output on the server reports:

connection accepted from oldmac.example:57681 #3
bad recv() len: 973078528
end connection oldmac.example:57681

I know that I cannot run the mongodb server from the PPC Mac, but it seems odd that I wouldn’t be able to connect to the remote database. Or is something else at fault?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:42:43+00:00Added an answer on May 15, 2026 at 2:42 am

    Looks like Mike Dirolf already answered your question in the MongoDB Google Group. But for people experiencing the same issue and find themselves on this page, the solution from Mike Dirolf:

    Are you using the C extension? (try
    pymongo.has_c()). I wouldn’t think
    that the C extension would even build
    on PPC but if it did that is almost
    certainly the reason this isn’t
    working. You can install w/o C with
    python setup.py install --no_ext and
    then I’d expect things to work.

    — Mike Dirolf

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using mongoVUE as mongo admin UI. My mongo server is running with
Am using a CentOS 5.3 box as prod server and am trying to get
I have a custom server in C# being run on Ubuntu 11.10 under mono.
I'm making WCF calls from a Mono client running on Ubuntu (Mono 2.6). I
I am trying to use MongoDB on Ubuntu 11.10 with CakePHP 1.3 using the
I have a MongoDB server running on an 64-bit Amazon EC2 instance (journaling enabled).
I'm running node.js on OSX and have just installed mongodb using command npm install
I have a CentOS 5.x server running Mono 2.8.1 and mod_mono 2.8 with apache2.
I have mongodb running on a remote server. I can ssh to the remote
I am running into a weird error when trying connect to mongodb. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.