AFP548

changeip not doing its job!

Hi Guys, I have been a long time follower and have come across a problem that I cant seem to find on the forums and am hoping that someone can help me... The server (OSX 10.4.11, Intel Xserve: model MA409LL/A) has a problem where the Server Admin tool will not allow for anyone, locally and remotely, to connect to the server. This in turn is stopping the Printer sharing service from running. I have so far found that this is occurring because servermgrd is not running, and it cannot start because the hostnames locally and the DNS do not match up. After spending 6 hours of adhoc learning (which is the best thing ever!) i have ran the following commands in Terminal on the server with the following results: ---------------------------------------------------------------------------------------------- londmstwist:/usr/sbin admin$ sudo scutil --get HostNamePassword: londmstwist.emea.schawk.com londmstwist:/usr/sbin admin$ sudo changeip -checkhostname Primary address = 10.32.9.57 Current HostName = londmstwist.emea.schawk.com.emea.schawk.com.emea.schawk.com.emea.schawk.com DNS HostName = londmstwist.emea.schawk.com To fix the hostname please run /usr/sbin/changeip for your system with the appropriate directory with the following values /usr/sbin/changeip 10.32.9.57 10.32.9.57 londmstwist.emea.schawk.com.emea.schawk.com.emea.schawk.com.emea.schawk.com londmstwist.emea.schawk.com example: /usr/sbin/changeip /LDAPv3/127.0.0.1 10.32.9.57 10.32.9.57 londmstwist.emea.schawk.com.emea.schawk.com.emea.schawk.com.emea.schawk.com londmstwist.emea.schawk.com londmstwist:/usr/sbin admin$ sudo changeip - 10.32.9.57 10.32.9.57 londmstwist.emea.schawk.comemea.schawk.com.emea.schawk.com.emea.schawk.com londmstwist.emea.schawk.com Updating local node Updating Password Server config Updating Open Directory config Updating hostconfig file Updating smb.conf file Updating Kerberos Service Principals and keytabs Finished updating Kerberos Changing IP Addresses and host names for iChat Server Changing IP Addresses and host names for Mail Server londmstwist:/usr/sbin admin$ sudo changeip -checkhostname Primary address = 10.32.9.57 Current HostName = londmstwist.emea.schawk.com.emea.schawk.com.emea.schawk.com.emea.schawk.com DNS HostName = londmstwist.emea.schawk.com To fix the hostname please run /usr/sbin/changeip for your system with the appropriate directory with the following values /usr/sbin/changeip 10.32.9.57 10.32.9.57 londmstwist.emea.schawk.com.emea.schawk.com.emea.schawk.com.emea.schawk.com londmstwist.emea.schawk.com example: /usr/sbin/changeip /LDAPv3/127.0.0.1 10.32.9.57 10.32.9.57 londmstwist.emea.schawk.com.emea.schawk.com.emea.schawk.com.emea.schawk.com londmstwist.emea.schawk.com londmstwist:/usr/sbin admin$ ---------------------------------------------------------------------------------------------- As you can see for some reason the hostname from sudo scutil -get hostname (Londmstwist.schawk.com) does not match the current hostname when running sudo changeip - checkhostname (LONDMSTWIST.EMEA.SCHAWK.COM.EMEA.SCHAWK.COM.EMEA.SCHAWK.COM.EMEA.SCHAWK.COM). I have check the DNS server and have set 10.32.9.57 to resolve to LONDMSTWIST.EMEA.SCHAWK.COM , which is what rightly comes up for the DNS hostname in the changeip - gethostname. SOrry if I'm rambling but I have now spent a full 24 hours on this thing and am hitting a brick wall. ANY help will be greatly appreciated! Thanks A
Exit mobile version