Skip navigation

Server Admin can't connect

43369 Views 79 Replies Latest reply: Mar 14, 2013 6:34 AM by MrHoffman RSS
1 2 3 ... 6 Previous Next
spraguga Level 1 Level 1 (50 points)
Currently Being Moderated
Apr 8, 2010 3:38 PM
Hello All,

Recently the server admin application connection stopped working on one of my servers. I'm running OS X Server 10.6 and trying to connect locally or from other 10.6 machines. No matter what it refuses the connection with the following error whether local or over the network.

"Could not connect to servername.local
Server Admin was unable to connect to the server at servername.local"

I have tried 127.0.0.1, localhost, servername.local, servername and everything fails.

The server is ping-able over the network and changeip -checkhostname reveals the DNS is setup correctly.

This use to work fine and the other day it just stopped working. I deleted and reinstalled the server admin software. I restarted the server and is it is still not working.

The server is running 10.6.2 and I am hesitant to upgrade to 10.6.3, I don't want to cause more issues by running this update and I don't even know if that will fix the issue.

Does anyone know what I can try to get server admin working again for this server?

Thank you very much!
Support all Mac machines, Mac OS X (10.6.2)
  • Antonio Rocco Level 6 Level 6 (10,100 points)
    Currently Being Moderated
    Apr 8, 2010 3:59 PM (in response to spraguga)
    Hi

    Try deleting the com.apple.ServerAdmin.plist from /Uses/Home/Library/Preferences. Might do the trick? Can you telnet to port 311? Perhaps a firewall setting gone south?

    Tony
    iBook G3 (10.4.11)
  • Antonio Rocco Level 6 Level 6 (10,100 points)
    Currently Being Moderated
    Apr 9, 2010 11:51 AM (in response to spraguga)
    Hi

    I don't use OSX Server's Firewall Service so I don't really have an idea why. I do so a lot of threads regarding problems with it but they seem (to me) mostly self-inflicted due to a lack of understanding and misconfiguration. Perhaps you could browse/search the Forums for similar posted problems? Did you try telnet on a client or the Server? If you tried on a client and failed try it on the server itself.

    HTH?

    Tony
    iBook G3 (10.4.11)
  • Antonio Rocco Level 6 Level 6 (10,100 points)
    Currently Being Moderated
    Apr 9, 2010 1:05 PM (in response to spraguga)
    Hi

    What do you see if you issue: "sudo ipfw list" on the server?

    Tony
    iBook G3 (10.4.11)
  • Antonio Rocco Level 6 Level 6 (10,100 points)
    Currently Being Moderated
    Apr 9, 2010 1:41 PM (in response to spraguga)
    Hi

    Interesting. On a 10.5.8 Server also not running the Firewall I get this:

    01000 allow ip from any to any via lo0
    01010 deny ip from any to 127.0.0.0/8
    01020 deny ip from 224.0.0.0/4 to any in
    01030 deny tcp from any to 224.0.0.0/4 in
    12300 allow tcp from any to any established
    12301 allow tcp from any to any out
    12302 allow tcp from any to any dst-port 22
    12302 allow udp from any to any dst-port 22
    12303 allow udp from any to any out keep-state
    12304 allow tcp from any to any dst-port 53 out keep-state
    12304 allow udp from any to any dst-port 53 out keep-state
    12305 allow udp from any to any in frag
    12306 allow tcp from any to any dst-port 311
    12307 allow tcp from any to any dst-port 625
    12308 allow udp from any to any dst-port 626
    12309 allow icmp from any to any icmptypes 8
    12310 allow icmp from any to any icmptypes 0
    12311 allow igmp from any to any
    65534 deny ip from any to any
    65535 allow ip from any to any

    To me it looks different to yours? It can't hurt if you issue: "ipfw flush"

    HTH?

    Tony
    iBook G3 (10.4.11)
  • Antonio Rocco Level 6 Level 6 (10,100 points)
    Currently Being Moderated
    Apr 9, 2010 2:56 PM (in response to spraguga)
    Hi

    Without being there I've not much left to offer I'm afraid. You could try lsof I suppose? Something like: "sudo lsof -i :311" and possibly "sudo lsof -i | grep LISTEN" TBH I've never seen the problem you're having that the suggestions offered could not fix. You don't see anything unusual in the logs? Unless someone else posts you might have to wait it out? Patience along with a restart or two sometimes fixes seemingly insoluble problems?

    Sorry.

    Tony
    iBook G3 (10.4.11)
  • GPW Joker Calculating status...
    Currently Being Moderated
    Apr 13, 2010 9:03 AM (in response to spraguga)
    I am getting the same thing. Rebooting, changing the IP, issuing a "serveradmin stop ipfilter", reinstalling the Server Admin tools, creating a new Admin user, trying from root, trashing prefs, nothing works. Port 311 is blocked for some reason, no other port is blocked I can get into it with Remote Admin, the Workgroup Manager is running fine, it's just nothing can get to port 311. Servermgrd is running and I can use the command line to start and stop services.

    Running 10.6.2 on a quad-core Xeon Xserve.
    Mac OS X (10.5.6)
  • MrHoffman Level 6 Level 6 (11,720 points)
    Currently Being Moderated
    Apr 13, 2010 10:35 AM (in response to GPW Joker)
    Can you describe the network configuration between the Server Admin box and the server box?
    Where are you running Server Admin here; local to the box, or on another host?
    If you're running Server Admin on another host, on the same LAN or on a remote network?
    If you're running Server Admin directly on the box, are you using localhost as the path?
    Anything relevant in the firewall logs on the server when the connection fails?
    Are you running multiple controllers on your server?
    Is your DNS environment established and verified?
    (If you're not running running DNS somewhere on your network, then do go configure that.)
    Can you telnet to port 311?
  • GPW Joker Level 1 Level 1 (0 points)
    Currently Being Moderated
    Apr 13, 2010 10:56 AM (in response to MrHoffman)
    +Can you describe the network configuration between the Server Admin box and the server box?+
    +Where are you running Server Admin here; local to the box, or on another host?+

    I can't even get on when running SERVERNAME.local, let alone from another server. Any address you try to hit this server with be it SERVERNAME.local, SERVERIP, 127.0.0.1 fail.

    +If you're running Server Admin on another host, on the same LAN or on a remote network?+

    Same LAN when trying remotely, same subnet and vlan. Note that it can hit other servers accross all vlans just fine with serveradmin, it just can't see itself.

    I+f you're running Server Admin directly on the box, are you using localhost as the path?+

    Yes in various forms.

    +Anything relevant in the firewall logs on the server when the connection fails?+

    I have disabled ipfw, so no. There is nothing in the servermgrd.log either.

    +Are you running multiple controllers on your server?+

    No.

    +Is your DNS environment established and verified?+

    Yes, and changeip -checkhostname shows all good and nothing to change.

    +Can you telnet to port 311?+

    No.
    Mac OS X (10.5.6)
  • MrHoffman Level 6 Level 6 (11,720 points)
    Currently Being Moderated
    Apr 13, 2010 11:05 AM (in response to GPW Joker)
    What immediately leaps out from that reply?

    With managed gear and VLANs, you can't trust your network to act like a plain piece of Ethernet cable.

    Get an unmanaged switch, and see if that works.

    Get that VLAN out of the picture.
1 2 3 ... 6 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

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.