Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004359 [Resin] minor always 01-25-11 08:17 01-25-11 16:03
Reporter mros2stf View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.15 Product Version 4.0.14
  Product Build
Summary 0004359: resinstatus doesn't show correct user
Description When you issue the status command, it displays that the servers are running as root, instead of the id specified in the config file, as well as what they are actually running under.

 <cluster id="web-tier">
     <server-default>
       <user-name>webmstr</user-name>
       <group-name>www-data</group-name>
       <!-- Enable JMX remote port -->
      <jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote.authenticate=false</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg>
     </server-default>

 <cluster id="app-tier">
    <!-- sets the content root for the cluster, relative to resin.root -->
    <root-directory>.</root-directory>
    <server-default>
       <user-name>webmstr</user-name>
       <group-name>www-data</group-name>
       <!-- Enable JMX remote port -->
      <jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote.authenticate=false</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg>
     </server-default>

Steps To Reproduce
Additional Information Resin/4.0.14 status for watchdog at 127.0.0.1:6600

watchdog:
  watchdog-pid: 61136

server 'sand1' : ACTIVE
  password: ok
  user: root(www-data)
  root: /var/www1
  conf: /etc/resin/resin.xml
  pid: 61247

server 'sand2' : ACTIVE
  password: ok
  user: root(www-data)
  root: /var/www2
  conf: /etc/resin/resin.xml
  pid: 61578

server 'websrv' : ACTIVE
  password: ok
  user: root(www-data)
  root: /var/www
  conf: /etc/resin/resin.xml
  pid: 61175

root 61136 1 0 09:27 pts/0 00:00:05 /opt/ibm/java-s390x-60/bin/java
webmstr 61175 61136 0 09:28 pts/0 00:00:08 /opt/ibm/java-s390x-60/bin/java
webmstr 61247 61136 0 09:28 pts/0 00:00:21 /opt/ibm/java-s390x-60/bin/java
webmstr 61578 61136 3 11:11 pts/0 00:00:07 /opt/ibm/java-s390x-60/bin/java

Attached Files

- Relationships

- Notes
(0004996)
ferg
01-25-11 16:03

The watchdog was return the watchdog's own user (root)
 

- Issue History
Date Modified Username Field Change
01-25-11 08:17 mros2stf New Issue
01-25-11 16:03 ferg Note Added: 0004996
01-25-11 16:03 ferg Assigned To  => ferg
01-25-11 16:03 ferg Status new => closed
01-25-11 16:03 ferg Resolution open => fixed
01-25-11 16:03 ferg Fixed in Version  => 4.0.15


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker