Skip to main content
Question

Mt. Lion SUS Problems

  • February 12, 2013
  • 3 replies
  • 19 views

Forum|alt.badge.img+6

I know this isn't directly a JAMF issue, but I haven't found any help out there on this.
Basically I updated my SUS to Mountain Lion so I can support serving updates to Mt Lion CLients...pretty simple.
However, one of the updates has been stuck on the 'downloading' status for a few days now and I can't seem to cancel it. Because of this anything else I want to enable never gets past 'waiting' and eventually stops waiting and goes back to 'available'; i.e.: not downloaded.
Anybody have experience with this and maybe some tips on how to get this thing going again?

3 replies

rob_potvin
Forum|alt.badge.img+26
  • Employee
  • February 13, 2013

Open Terminal:

sudo serveradmin fullstatus swupdate

Look for this path:

swupdate:updatesDocRoot = "/var/db/swupd/"

Stop the software update service

sudo serveradmin stop swupdate

delete your cache (in this case if it /var/db/swupd/) then

rm -rf /var/db/swupd/

re-enable your service and it will download everything again

sudo serveradmin start swupdate

Might want to do this at night before you go home...


Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 13, 2013

Thanks, I was with you until 'rm -rf /var/db/swupd/'
That directory is for Lion and before- Mountain Lion doesn't have that directory.
It uses /Volumes/Library/Server/Software Update.


rob_potvin
Forum|alt.badge.img+26
  • Employee
  • February 13, 2013

Sorry that I wasn't clear but yes it might be different, you want to

rm -rf the path that you get from swupdate:updatesDocRoot = "[your path here]"

so in your case it would be /Volumes/Library/Server/Software Update/

The reason is you want to delete what you have and just redownload the whole shabang once more