SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

MOSS is scary!

Don't know if I'm the only one who finds this scary. But in a farm, MOSS is modifying the hosts file of your servers. I had a really hard time figuring this one out actually. I was just playing around with different roles for each server. And then all of a sudden when I tried to use a share of one of the webservers from an indexserver I got the following error : "Logon Failure: The target account name is incorrect". If you google this error you will find information about wrongly configured DNS settings.
So with this information I decided to ping the webserver and see what IP I got back.. and you probably would have guessed it .. I got the IP back of the index server! Argh! So I logged on the webserver and try to ping itself and then ping the indexserver and all the IP's were fine. Back to the index server!

  • I checked all the DNS settings via the TCP/IP settings
  • Ran a tool called "netdiag" to check whether the server was properly configured in the domain

Nothing 'odd' or 'weird' was showing in the reports so I was getting a bit hopeless.. and then I thought: "Noo.. not the hosts file! It can't be!"
With this as a result :

# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
10.10.4.238    webservercomputername    # Added by Office SharePoint Server Search (9/13/2007 3:52 PM).
10.10.4.238    webserverhostname    # Added by Office SharePoint Server Search (9/13/2007 3:52 PM).
127.0.0.1    localhost    
.csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }

See why I'm scared? ;) And that's why the share didn't work! It was just pointing to itself (although I should have seen the shares from the index server instead of that error).
The solution is just to modify the host file yourself and put in the proper IP.

Technorati tags:

Read the complete post at http://feeds.feedburner.com/~r/RobinsSharepointBlog/~3/156304637/moss-is-scary.html


Posted 09-14-2007 2:04 AM by Robin's Sharepoint Blog
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.