Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Problem updating 10.6.8 SWUpdate server to host Lion updates

Anyone else having problems following the directions in KB article "Mac OS X Server v10.6: Hosting Software Updates for OS X Lion or Lion Server" <http://support.apple.com/kb/HT4771?viewlocale=en_US>?


It's basically modifying a plist and a conf file, but when I look at MY .conf file I don't find the specified text to change? I've even checked the previous version of the file, and don't find the text.


TFA says:

In step 5, you will need root access to update the file /etc/swupd/swupd.conf. To be safe, make a backup copy of the file before editing it. Locate the following line near the end of the file:



RewriteCond %{HTTP_USER_AGENT} Darwin/11



Edit the following line to read:



RewriteRule ^/index\.sucatalog$ /index-lion-snowleopard-leopard.merged-1.sucatalog



But I'm not finding either of these lines in my own file.


Anyone have luck with this? Anyone run into the same issue?


TIA for any help!


-Nick

Mac OS X (10.6.8)

Posted on Jul 21, 2011 8:41 AM

Reply
Question marked as Best reply

Posted on Jul 21, 2011 10:40 AM

I have a similar configuration to what you've found; those entries do not exist on the 10.6.8 Snow Leopard Server box I checked.


It looks that there's been an update to the file, but the running version did not get changed.


I did some digging and found a copy of the file here:


/System/Library/PrivateFrameworks/SUServer.framework/Versions/A/Resources/swupd. conf


And that version of the file does have the lines discussed in HT4771.


I have not tested this: make a backup of your disk before you try this, then see if following the same steps from TS3867 (for 10.7 there, but I'd try the same sequence on 10.6) fixes this; if this gets you the ("new") versions of the files extracted from the resources directory.

32 replies

Jun 3, 2012 11:17 PM in response to Nick Lewis

My lion clients won't connect. I've followed all the steps in regards to changing the conf and plist (in both locations). SL client is fine but lion client errors and says the software update server is not responding and gives the option to open Network diagnostics.


Console gives the following (note i've replaced our server name with my.domain.com):


4/06/12 4:04:50.367 PM Software Update: SoftwareUpdate Scan: Error Domain=NSURLErrorDomain Code=-1102 "The operation couldn’t be completed. (NSURLErrorDomain error -1102.)" UserInfo=0x7fe9d2538550 {NSErrorFailingURLStringKey=http://my.domain.com:8088/index-lion-snowleopard-leopard.merged-1.sucatalog, PKURLErrorStatusCode=403, SUCatalogFetchOverrideURLString=http://my.domain.com:8088/index-lion-snowleopard-leopard.merged-1.sucatalog, PKURLErrorResponseHeaders=<CFBasicHash 0x7fe9d380cb30 [0x7fff75859fc0]>{type = immutable dict, count = 5,

entries =>

0 : Case Insensitive Key: Content-Type = <CFString 0x7fe9d380da80 [0x7fff75859fc0]>{contents = "text/html; charset=iso-8859-1"}

3 : Case Insensitive Key: Content-Length = <CFString 0x7fe9d3809a10 [0x7fff75859fc0]>{contents = "324"}

4 : Case Insensitive Key: Connection = <CFString 0x7fe9d380da60 [0x7fff75859fc0]>{contents = "close"}

5 : Case Insensitive Key: Server = <CFString 0x7fe9d380da10 [0x7fff75859fc0]>{contents = "Apache/2.2.17 (Unix)"}

6 : Case Insensitive Key: Date = <CFString 0x7fe9d380d9e0 [0x7fff75859fc0]>{contents = "Mon, 04 Jun 2012 06:04:50 GMT"}

}

}



EDIT: I also get both of these with the above error each time I launch Software Update:


4/06/12 4:15:12.702 PM com.apple.SecurityServer: Failed to authorize right 'system.install.app-store-software' by client '/System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/in stalld' [410] for authorization created by '/System/Library/CoreServices/Software Update.app' [406]

4/06/12 4:15:12.702 PM com.apple.SecurityServer: Failed to authorize right 'system.install.software' by client '/System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/in stalld' [410] for authorization created by '/System/Library/CoreServices/Software Update.app' [406]



Could there be a permission issue somewhere?


Message was edited by: jayjay3032 Additional info added

Problem updating 10.6.8 SWUpdate server to host Lion updates

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.