RHN satellite サーバーからシステムをアップデートすると Internal server error が発生する
Issue
-
RHN Satellite サーバーが以下のエラーをトレースバックに出力します。
Exception Handler Information Traceback (most recent call last): File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function response = apply(func, params) File "/usr/share/rhn/server/rhnRepository.py", line 166, in listAllPackagesComplete packages = rhnChannel.list_all_packages_complete(self.channelName) File "/usr/share/rhn/server/rhnChannel.py", line 1443, in list_all_packages_complete function=list_all_packages_complete_sql) .. File "/usr/share/rhn/common/rhnCache.py", line 223, in get_fd fd = _safe_create(self.fname, user, group, mode) File "/usr/share/rhn/common/rhnCache.py", line 156, in _safe_create fd = os.open(fname, os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0644) OSError:[Errno 13] Permission denied:/var/cache/rhn/list_all_packages_complete-solaris-x86-patches
-
以下のように、RHN Satellite サーバーからアップデートを取得しようとすると up2date が失敗し、"Internal Server Error" が発生します。
# up2date --showall An error has occurred: Internal Server Error See /var/log/up2date for more information # cat /var/log/up2date [Sun Aug 14 23:50:39 2011] up2date updating login info [Sun Aug 14 23:50:39 2011] up2date logging into up2date server [Sun Aug 14 23:50:39 2011] up2date successfully retrieved authentication token from up2date server [Mon Aug 15 11:19:27 2011] up2date updating login info [Mon Aug 15 11:19:27 2011] up2date logging into up2date server [Mon Aug 15 11:19:28 2011] up2date successfully retrieved authentication token from up2date server [Mon Aug 15 11:19:28 2011] up2date availablePackageList from network [Mon Aug 15 11:19:29 2011] up2date A protocol error occurred:Internal Server Error , attempt #1, [Mon Aug 15 11:19:35 2011] up2date A protocol error occurred:Internal Server Error , attempt #2, [Mon Aug 15 11:19:41 2011] up2date A protocol error occurred:Internal Server Error , attempt #3, [Mon Aug 15 11:19:47 2011] up2date A protocol error occurred:Internal Server Error , attempt #4, [Mon Aug 15 11:19:52 2011] up2date A protocol error occurred:Internal Server Error , attempt #5, [Mon Aug 15 11:19:52 2011] up2date Internal Server Error [Mon Aug 15 11:19:52 2011] up2date File "/usr/sbin/up2date", line 1315, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 611, in main printList(rhnPackageInfo.getAvailableAllArchPackageList(), cfg['showChannels']) File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 332, in getAvailableAllArchPackageList package_list = availablePackageList( File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 169, in availablePackageList progressCallback = progressCallback) File "/usr/share/rhn/up2date_client/rpcServer.py", line 309, in doCall raise up2dateErrors.CommunicationError(e.errmsg)
Environment
- Red Hat Enterprise Linux (RHEL)
- Red Hat Network Satellite (RHN Satellite)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.