Yes Michael.<div><br></div><div>Just to inform that when I configured the Spacewalk, because the precedence of NIS instead passwd on nsswitch.conf, it used an apache user and group from NIS server. So it didn't added tomcat user on apache group.</div>

<div><br></div><div>Thank you!<br><br><div class="gmail_quote">2012/1/16 Michael Mraka <span dir="ltr"><<a href="mailto:michael.mraka@redhat.com">michael.mraka@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Nilton Moura wrote:<br>
% Hello list!<br>
%<br>
% I had some issues to start Spacewalk 1.6 on RHEL 6.2 because the default<br>
<div class="im">% permissions for the /etc/rhn directory and /etc/rhn/rhn.conf file. The<br>
% group default is apache, but the tomcat didn't start properly with this,<br>
</div>% showing this error message:<br>
%<br>
% [main] ERROR com.redhat.rhn.common.conf.Config - Could not<br>
% parse file/etc/rhn/rhn.conf<br>
% java.io.FileNotFoundException: /etc/rhn/rhn.conf (Permission denied)<br>
%<br>
% So, to not open read access for others, I changed the group to tomcat and<br>
% now it's ok.<br>
%<br>
<br>
Well, the correct setup is<br>
<br>
[root@test-05 ~]# ll /etc/rhn/ -d<br>
drwxr-x---. 4 root apache 4096 Jan 10 03:05 /etc/rhn/<br>
[root@test-05 ~]# ll /etc/rhn/rhn.conf<br>
-rw-r-----. 1 root apache 2790 Jan  9 10:35 /etc/rhn/rhn.conf<br>
[root@test-05 ~]# id tomcat<br>
uid=91(tomcat) gid=91(tomcat) groups=91(tomcat),48(apache)<br>
<br>
Tomcat is added to apache group by spacewalk-setup so it looks like your<br>
setup went wrong. Please check logs.<br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Michael Mráka<br>
Satellite Engineering, Red Hat<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></font></span></blockquote></div><br></div>