[Spacewalk-list] Tomcat exception on SW 2.7

Michael Mraka michael.mraka at redhat.com
Thu Feb 15 13:22:22 UTC 2018


Brian Long:
> 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
...
> 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?

Is the file also readable by tomcat user?
Does it have correct selinux label, i.e. aren't there any selinux AVCs?

> /Brian/

--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list