Yes Michael.

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.

Thank you!

2012/1/16 Michael Mraka <[email protected]>

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

Reply via email to