Mantis - Resin
Viewing Issue Advanced Details
4359 minor always 01-25-11 08:17 01-25-11 16:03
mros2stf  
ferg  
normal  
closed 4.0.14  
fixed  
none    
none 4.0.15  
0004359: resinstatus doesn't show correct user
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>

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


Notes
(0004996)
ferg   
01-25-11 16:03   
The watchdog was return the watchdog's own user (root)