[SunRay-Users] Utconfig -w apache error
jub at sun.com
Thu Oct 8 14:40:51 EEST 2009
Talley, Paul schrieb:
> I have installed srss 4.1 on Solaris 10 spare with no problems. When I run utconfig I get the following errors and the web admin gui will not start.
> In /var/opt/SUNWut/log/utwebadmin.log I get this :
> Can not access tomcat runtime environment (bootstrap.jar) at /opt/apach-tomcat/bin.
> This may be due to no permissions to read /opt/apache-tomcat/bin directory as user ut www
> I installed apache from srss/Supplemental exactly as in the instructions with no problems.
So what does ls -la /opt/apache-tomcat/ say?
> The server is running NIS and I could not login as a user created with user add and in /etc/passwd it gave user utwww a userid of 25614 and gid of 25640 not thw usual 100 and 106.
Can you show us your nsswitch.conf? It should support NIS and local
files (preferably files before NIS) for passwd and group. If it doesn't,
you need to add all usually local accounts to your NIS database.
What does 'getent passwd utwww' and 'getent group utadmin' say?
FWIW: That the utwww user and the utadmin group use the next free
uid/gid that useradd/groupadd provide is a design flaw. You can work
around this by manually creating the user and group with a chosen
uid/gid (for utwww you can also use a user name of your choice) before
running utconfig. This may by unrelated to your current problem, but it
will prevent problems from collision between the utwww/utadmin users and
your next NIS additions.
More information about the SunRay-Users