Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Flush mcx_cache to resolve Server login issues OS X Server
What is more annoying than mcx_cache when dealing with clients in a Mac OS X Server lab? Have you recieved a window saying that you are not permitted to log in? And you are 100% sure that everything is set up correctly; login might even have worked for days until this shows up!

In most cases (atleast here), this is because of this annoying cache file, storing information about your Mac OS X Server. Destroying this directory from NetInfo has been 100% painless in all ways here, as it is re-created again at next log in.

For some time, I did this manually by destroying it from the NetInfo Manager app, but as my school got more and more X clients, and it was taking up a lot of time, I had to find a better solution to this. The solution was to create a cron script to run a command that did this automatically. I use the great app CronniX to make the cron script. From this app, choose to manage the System User's crons. Add a new one, and choose run time yourself; I set mine to run one time each hour. The command to execute is this:
sudo niutil -destroy . /mcx_cache
[robg adds: I can't vouch for this one, having no access to nor experience with Server...]
  • Currently 1.38 / 5
  You rated: 3 / 5 (8 votes cast)

Flush mcx_cache to resolve Server login issues | 2 comments | Create New Account
Click here to return to the 'Flush mcx_cache to resolve Server login issues' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Flush mcx_cache to resolve Server login issues
Authored by: trinitrotoluene on Sep 18, '03 07:49:40PM

Took me a week to figure that out. Although for me the problem was when I had to redo the server. The location for the mcx_cache changed in NetInfo for the client machines. I can't remember the two locations now, but after deleting the old one I no longer have any problems.

Are some of your computers running different versions of OS X? Or different server version than clients?

[ Reply to This | # ]
Flush mcx_cache to resolve Server login issues
Authored by: Johnny_B on Sep 19, '03 05:20:27AM
Server and client is 10.2.6. If you have been in the forum, you might have seen that I now continue to fight against Mac OS X Server. This will be the ultimate fight for victory (I hope). I am tired of fighting, that's why I bought Mac OS X Server, but I can't see I am impressed by NetInfo.

NetInfo sucks :(

[ Reply to This | # ]