Software Update Server, clients report "no new software available"
I have been running Software Update Service on my 10.5.8 (9L30) Xserve for a short time without any problems, updating about twenty 10.5.8 clients on the local network.
Recently the clients started reporting "no new software available" when running software update (GUI or command line), but updates were available on the Xserve:
# defaults write com.apple.SoftwareUpdate CatalogURL http://myserve.mydomain:8088/
# defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://myserve.mydomain:8088/
# softwareupdate --list
Software Update Tool
Copyright 2002-2007 Apple
No new software available.
When pointing the clients back to apple for updates, the update is available:
# defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
# softwareupdate --list
Software Update Tool
Copyright 2002-2007 Apple
Software Update found the following new or updated software:
* iTunesX-9.0.1
iTunes (9.0.1), 87690K [recommended]
Clients can connect to port 8080 on the server, and the iTunes update has been downloaded to the server and is visible on the file system:
# "curl -s http://myserve.mydomain:8088/index.sucatalog iTunesX.tar
http://myserve:8088/content/downloads/05/47/061-7190/xP7dtwZz6YGXLHFHcxVT7CnV6mR dq6RnVY/iTunesX.tar"
# ls -l /usr/share/swupd/html/content/downloads/05/47/061-7190/xP7dtwZz6YGXLHFHcxVT7CnV 6mRdq6RnVY/iTunesX.tar
-rw-r--r-- 1 root wheel 54947840 Sep 22 16:20 /usr/share/swupd/html/content/downloads/05/47/061-7190/xP7dtwZz6YGXLHFHcxVT7CnV 6mRdq6RnVY/iTunesX.tar
The /var/root/Library/Caches/com.apple.SoftwareUpdate/Cache.db is extremely sparse after running the software update against the local Xserve:
# rm /var/root/Library/Caches/com.apple.SoftwareUpdate/Cache.db
# softwareupdate --list
# strings /var/root/Library/Caches/com.apple.SoftwareUpdate/Cache.db | tail
SQLite format 3
indexproto props_indexcfurl_cache_blobdata
CREATE INDEX proto propsindex ON cfurl cache_blob_data(entryID)P
Ytablesqlite sequencesqlitesequence
CREATE TABLE sqlite_sequence(name,seq)
[tablecfurl cache_blob_datacfurl_cache_blobdata
CREATE TABLE cfurl cache_blob_data(entryID INTEGER PRIMARY KEY, response_object BLOB, request_object BLOB,
receiver_data BLOB, proto_props BLOB, user_info BLOB)u
indexrequest key_indexcfurl_cacheresponse
CREATE INDEX request keyindex ON cfurl cache_response(requestkey)r
indextime stamp_indexcfurl_cacheresponse
CREATE INDEX time stampindex ON cfurl cache_response(timestamp)
tablecfurl cache_schema_versioncfurl_cache_schemaversion
CREATE TABLE cfurl cache_schema_version(schemaversion INTEGER)
Wtablecfurl cache_responsecfurl_cacheresponse
CREATE TABLE cfurl cache_response(entryID INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE,
version INTEGER, hash_value INTEGER, storage_policy INTEGER, request_key TEXT UNIQUE,
time_stamp NOT NULL DEFAULT CURRENT_TIMESTAMP)G
indexsqlite autoindex_cfurl_cache_response_1cfurl_cacheresponse
indexsqlite autoindex_cfurl_cache_response_2cfurl_cacheresponse
None of the XML data seen in the Cache.db file after running against Apple's update server is present.
Note, I did multi-home this server fairly recently to add an internal website on a different IP/URL, but I don't think that should have effected the SUS service, which is still available at the original IP/port. I am a Unix/Linux admin by training, so some of the OS X idiosyncrasies are still new to me, and I may not be aware of certain tools/commands that may be helpful in diagnosing this problem.
Thanks for your help in advance,
-Tom
Recently the clients started reporting "no new software available" when running software update (GUI or command line), but updates were available on the Xserve:
# defaults write com.apple.SoftwareUpdate CatalogURL http://myserve.mydomain:8088/
# defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://myserve.mydomain:8088/
# softwareupdate --list
Software Update Tool
Copyright 2002-2007 Apple
No new software available.
When pointing the clients back to apple for updates, the update is available:
# defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
# softwareupdate --list
Software Update Tool
Copyright 2002-2007 Apple
Software Update found the following new or updated software:
* iTunesX-9.0.1
iTunes (9.0.1), 87690K [recommended]
Clients can connect to port 8080 on the server, and the iTunes update has been downloaded to the server and is visible on the file system:
# "curl -s http://myserve.mydomain:8088/index.sucatalog iTunesX.tar
http://myserve:8088/content/downloads/05/47/061-7190/xP7dtwZz6YGXLHFHcxVT7CnV6mR dq6RnVY/iTunesX.tar"
# ls -l /usr/share/swupd/html/content/downloads/05/47/061-7190/xP7dtwZz6YGXLHFHcxVT7CnV 6mRdq6RnVY/iTunesX.tar
-rw-r--r-- 1 root wheel 54947840 Sep 22 16:20 /usr/share/swupd/html/content/downloads/05/47/061-7190/xP7dtwZz6YGXLHFHcxVT7CnV 6mRdq6RnVY/iTunesX.tar
The /var/root/Library/Caches/com.apple.SoftwareUpdate/Cache.db is extremely sparse after running the software update against the local Xserve:
# rm /var/root/Library/Caches/com.apple.SoftwareUpdate/Cache.db
# softwareupdate --list
# strings /var/root/Library/Caches/com.apple.SoftwareUpdate/Cache.db | tail
SQLite format 3
indexproto props_indexcfurl_cache_blobdata
CREATE INDEX proto propsindex ON cfurl cache_blob_data(entryID)P
Ytablesqlite sequencesqlitesequence
CREATE TABLE sqlite_sequence(name,seq)
[tablecfurl cache_blob_datacfurl_cache_blobdata
CREATE TABLE cfurl cache_blob_data(entryID INTEGER PRIMARY KEY, response_object BLOB, request_object BLOB,
receiver_data BLOB, proto_props BLOB, user_info BLOB)u
indexrequest key_indexcfurl_cacheresponse
CREATE INDEX request keyindex ON cfurl cache_response(requestkey)r
indextime stamp_indexcfurl_cacheresponse
CREATE INDEX time stampindex ON cfurl cache_response(timestamp)
tablecfurl cache_schema_versioncfurl_cache_schemaversion
CREATE TABLE cfurl cache_schema_version(schemaversion INTEGER)
Wtablecfurl cache_responsecfurl_cacheresponse
CREATE TABLE cfurl cache_response(entryID INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE,
version INTEGER, hash_value INTEGER, storage_policy INTEGER, request_key TEXT UNIQUE,
time_stamp NOT NULL DEFAULT CURRENT_TIMESTAMP)G
indexsqlite autoindex_cfurl_cache_response_1cfurl_cacheresponse
indexsqlite autoindex_cfurl_cache_response_2cfurl_cacheresponse
None of the XML data seen in the Cache.db file after running against Apple's update server is present.
Note, I did multi-home this server fairly recently to add an internal website on a different IP/URL, but I don't think that should have effected the SUS service, which is still available at the original IP/port. I am a Unix/Linux admin by training, so some of the OS X idiosyncrasies are still new to me, and I may not be aware of certain tools/commands that may be helpful in diagnosing this problem.
Thanks for your help in advance,
-Tom
PowerMac G5, Mac OS X (10.5.8)