[Spacewalk-list] Tomcat exception on SW 2.7

Brian Long briandlong at gmail.com
Tue Feb 13 20:56:21 UTC 2018


I've setup a fresh SW 2.7 instance on CentOS 7 and I used
spacewalk-common-channels to create the CentOS 7 repositories and
channels.  I also manually created RHEL 7 repos (using mrepo) and
channels.  I can use spacewalk-repo-sync -c [channel-name] to sync channels
properly, but when I visit the following link in the web UI, I get a
traceback.
https://hostname.domain/rhn/channels/manage/Sync.do?cid=125

SEVERE: Servlet.service() for servlet [action] in context with path [/rhn]
threw exception [java.lang.RuntimeException: File not found:
/var/log/rhn/reposync/rhel7-x86_64.log] with root cause
java.lang.RuntimeException: File not found:
/var/log/rhn/reposync/rhel7-x86_64.log
at
com.redhat.rhn.common.util.FileUtils.readStringFromFile(FileUtils.java:101)
at
com.redhat.rhn.frontend.action.channel.manage.SyncRepositoriesAction.getLastSyncLog(SyncRepositoriesAction.java:215)
at
com.redhat.rhn.frontend.action.channel.manage.SyncRepositoriesAction.parseSyncLog(SyncRepositoriesAction.java:227)
at
com.redhat.rhn.frontend.action.channel.manage.SyncRepositoriesAction.execute(SyncRepositoriesAction.java:84)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at
com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:105)
<snip>

The file mentioned does exist and is readable by apache.  I'm running the
following packages above SW 2.7 (to fix a taskomatic bug):
spacewalk-java-lib-2.7.116-1.git.6.5e61c4a.el7.centos.noarch
spacewalk-java-config-2.7.116-1.git.6.5e61c4a.el7.centos.noarch
spacewalk-java-2.7.116-1.git.6.5e61c4a.el7.centos.noarch
spacewalk-java-postgresql-2.7.116-1.git.6.5e61c4a.el7.centos.noarch

I've been subscribed to this list for a few months and I do not see any
threads mentioning this particular traceback.  Any ideas what to try next?

/Brian/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180213/c312164b/attachment.htm>


More information about the Spacewalk-list mailing list