Skip navigation
This discussion is archived

Unable to connect to server

4194 Views 7 Replies Latest reply: Feb 11, 2010 1:20 AM by Arkonova RSS
trickysean Calculating status...
Currently Being Moderated
Feb 2, 2010 1:26 PM
Hello

I am setting up Podcast Producer at my university, and have it running flawlessly with one exception. One computer on the network is unable to connect to the server through Podcast Capture. At the first setup screen where you enter the server name, I enter it but only get a "Generic Podcast Error" and I can't continue. i have also tried entering the ip address, but it still doesn't work.

I can connect to the server through finder, and ping it. When I tried a different mac using the same connections it worked fine.

The mac with the trouble is a unibody Macbook Pro running Snow Leopard 10.6.2. The computer I switched it out with is an older (early 2008)Macbook Pro also running Snow Leopard 10.6.2.

Does anyone know why I would be getting this error, and how to fix it? Thanks.
Macbook Pro, Mac OS X (10.6.2)
  • Marcel Borsten Level 1 Level 1 (70 points)
    Currently Being Moderated
    Feb 2, 2010 2:18 PM (in response to trickysean)
    Did you check your DNS settings on this computer?
    Mac OS X (10.6.2)
  • Jamie Curmi Level 2 Level 2 (220 points)
    Currently Being Moderated
    Feb 2, 2010 10:36 PM (in response to trickysean)
    Bizarrely, I have this exact same issue with my unibody MacBook Pro, versus an older MacBook Pro. So any suggestions are welcome.
  • Arkonova Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 5, 2010 2:19 AM (in response to trickysean)
    I have the exact same problem, plus the inability from the Mac to connect Xgrid Admin to the server ("Authentication failure").

    I was wondering if the upgrade from Mac OS X Leopard 10.5 to 10.6 was responsible for this. A 32bit vs 64bit ruby extension or library being involved?

    Here what the console log shows when trying to connect to the server using Podcast Capture:

    05.02.10 10:32:32 Podcast Capture[299] Error 1 for listinfo: /Library/Ruby/Gems/1.8/gems/dnssd-0.7.0/lib/rdnssd.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/dnssd-0.7.0/lib/rdnssd.bundle, 9): no suitable image found. Did find: (LoadError)
    /Library/Ruby/Gems/1.8/gems/dnssd-0.7.0/lib/rdnssd.bundle: no matching architecture in universal wrapper - /Library/Ruby/Gems/1.8/gems/dnssd-0.7.0/lib/rdnssd.bundle
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /Library/Ruby/Gems/1.8/gems/dnssd-0.7.0/lib/dnssd.rb:1
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gemoriginalrequire'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/podcastproducer/client/query.rb:4
    from /usr/lib/podcastproducer/client.rb:5:in `require'
    from /usr/lib/podcastproducer/client.rb:5
    from /usr/lib/podcastproducer/common/pcast_exception.rb:1:in `require'
    from /usr/lib/podcastproducer/common/pcast_exception.rb:1
    from /usr/lib/podcastproducer/common.rb:19:in `require'
    from /usr/lib/podcastproducer/common.rb:19
    from /usr/lib/podcastproducer/agent/agent_config.rb:3:in `require'
    from /usr/lib/podcastproducer/agent/agent_config.rb:3
    from /usr/lib/podcastproducer/agent.rb:2:in `require'
    from /usr/lib/podcastproducer/agent.rb:2
    from /usr/bin/podcast:12:in `require'
    from /usr/bin/podcast:12

    I tried updating ruby gems and recompiling using $ sudo gem pristine --all. But nothing was resolved.
    Mac Book Pro 15'' Unibody, Mac OS X (10.6.2)
  • Arkonova Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 9, 2010 5:27 AM (in response to Arkonova)
    Got it!

    Podcast Capture use the rubygems binaries pre-installed with snow leopard in /usr/bin/gem. Not the ones you might have installed manually in /usr/local/bin/gem. So, using the $ gem update command won't do anything useful in this case.

    Looking at the logs, we can see that dnssd is probably causing the problem. So updating it might solve our problem.

    First, let's update rubygems:
    $ sudo /usr/bin/gem update --system

    Then update dnssd to the latest version:
    $ sudo /usr/bin/gem update dnssd

    Podcast Capture works fine now.

    Why does this problem occurs in the first place is still not clear. And will the (big) jump from dnssd 0.7.0 to dnssd 1.3.1 cause some side effects? Time will tell.

    However, one thing i am aware of is that as a user i should not have to change things in /usr/bin/. But as the gem binary seems to be hardcoded in Podcast Capture, we have no choice.

    I guess someone may come with a better solution, but that's all i got for now.

    Hope this can help.
    Mac Book Pro 15'' Unibody, Mac OS X (10.6.2)
  • Jamie Curmi Level 2 Level 2 (220 points)
    Currently Being Moderated
    Feb 10, 2010 4:49 PM (in response to Arkonova)
    This has no effect on my unibody machine. The logs show, when trying to connect:

    11/02/10 11:42:22 AM Podcast Capture[1642] Error 1 for listinfo: /Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle: dlopen(/Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle, 9): no suitable image found. Did find: (LoadError)
    /Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle: no matching architecture in universal wrapper - /Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /Library/Ruby/Site/1.8/osx/foundation.rb:8
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gemoriginalrequire'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /Library/Ruby/Site/1.8/osx/cocoa.rb:8
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gemoriginalrequire'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/podcastproducer/workflowbundle/workflowbundle.rb:12
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gemoriginalrequire'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/podcastproducer/client/query.rb:6
    from /usr/lib/podcastproducer/client.rb:5:in `require'
    from /usr/lib/podcastproducer/client.rb:5
    from /usr/lib/podcastproducer/common/pcast_exception.rb:1:in `require'
    from /usr/lib/podcastproducer/common/pcast_exception.rb:1
    from /usr/lib/podcastproducer/common.rb:19:in `require'
    from /usr/lib/podcastproducer/common.rb:19
    from /usr/lib/podcastproducer/agent/agent_config.rb:3:in `require'
    from /usr/lib/podcastproducer/agent/agent_config.rb:3
    from /usr/lib/podcastproducer/agent.rb:2:in `require'
    from /usr/lib/podcastproducer/agent.rb:2
    from /usr/bin/podcast:12:in `require'
    from /usr/bin/podcast:12

    "no matching architecture" would seem to suggest the rubycocoa bundle isn't built for this architecture! Is this a bug in Snow Leopard on Unibody machines?
  • Arkonova Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 11, 2010 1:20 AM (in response to Jamie Curmi)
    Can't say it's a bug, more likely a side effect of upgrading from 10.5. (32bit vs 64bit). All those binaries should have been recompliled.

    In your case, updating or recompiling rubycocoa should do the trick. But it's not a gem, and is more difficult to fix.

    One thing that puzzles me is that my /Library/Ruby/Site/1.8/universal-darwin10.0/ exists, but is empty! I don't have any rubycocoa.bundle installed. Podcast Capture, however, work like a charm.
    Mac Book Pro 15'' Unibody, Mac OS X (10.6.2)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.