Taskomatic 查错
储存库元数据重新生成是一个资源消耗量相对较高的进程,因此 Taskomatic 可能需要几分钟才能完成。此外,如果 Taskomatic 崩溃,则储存库元数据重新生成可能会中断。
|
To access a shell inside the Server container run |
If Taskomatic is still running, or if the process has crashed, package updates can seem available in the Web UI, but do not appear on the client, and attempts to update the client fail. In this case, the zypper ref command shows an error like this:
在指定的 URL 上找不到有效元数据
要更正此问题,请确定 Taskomatic 是否仍在生成储存库元数据,或者是否发生了崩溃。等待完成元数据重新生成,或者在崩溃后重启 Taskomatic 以正常执行客户端更新。
-
On the SUSE Multi-Linux Manager Server, check the
/var/log/rhn/rhn_taskomatic_daemon.logfile to determine if any metadata regeneration processes are still running, or if a crash occurred. -
重启 Taskomatic:
service taskomatic restart
-
在 Taskomatic 日志文件中,可以通过查看如下所示的开始行和结束行来识别与元数据重新生成相关的部分:
<YYYY-DD-MM> <HH:MM:SS>,174 [Thread-584] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metadata for channel 'cloned-2018-q1-sles12-sp3-updates-x86_64'(sha256) 550 packages, 140 errata ... <YYYY-DD-MM> <HH:MM:SS>,704 [Thread-584] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Repository metadata generation for 'cloned-2018-q1-sles12-sp3-updates-x86_64' finished in 4 seconds