Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-257

Unable to change STORM_USER via yaim setup of StoRM

    XMLWordPrintable

Details

    Description

      The problem is that changing the StoRM user:

      STORM_USER=gridstorm
      

      does not really work:

      ...
      INFO: config_storm_used_space: Creating /etc/storm/backend-server/used-space.ini ...
      storm-backend-server: User 'storm' not found in system database; cannot run storm-backend-server process - please set environment variable STORM_BE_USER to a sane value.
      storm-backend-server: User 'storm' not found in system database; cannot run storm-backend-server process - please set environment variable STORM_BE_USER to a sane value.
      INFO: config_storm_used_space: Successfully created /etc/storm/backend-server/used-space.ini !
      INFO: Executing function: config_storm_gridhttps_plugin_properties_setenv 
      INFO: Using locally defined function /opt/glite/yaim/functions/local/config_storm_gridhttps_plugin_properties
      INFO: No enviroment variables to set.
      ...
      INFO: Using locally defined function /opt/glite/yaim/functions/local/config_storm_backend
      INFO: config_storm_backend: Recursively set 'gridstorm:gridstorm' ownership for configuration directory /etc/storm/backend-server
      INFO: config_storm_backend: Restart service.
      storm-backend-server [FAILED]
      storm-backend-server [FAILED]
      INFO: Executing function: config_gip_storm_setenv 
      INFO: Using locally defined function /opt/glite/yaim/functions/local/config_gip_storm
      INFO: Executing function: config_gip_storm 
      ...
      INFO: config_gip_glue2_storm: Dynamic storage information
      INFO: config_gip_glue2_storm: Creating /var/lib/bdii/gip/plugin/glite-info-glue2-dynamic-storm ...
      INFO: Executing function: config_bdii_5.2 
      Stopping BDII: BDII already stopped
      chown: `storm:storm': invalid user
      su: user storm does not exist
      Starting BDII slapd: [ OK ]
      Starting BDII update process: [ OK ]
      INFO: Executing function: config_gip_service_release 
      INFO: Executing function: config_storm_frontend_setenv 
      ...
      INFO: config_storm_frontend: Configuration file
      INFO: config_storm_frontend: Creating /etc/storm/frontend-server/storm-frontend-server.conf ...
      INFO: config_storm_frontend: Successfully created /etc/storm/frontend-server/storm-frontend-server.conf !
      INFO: config_storm_frontend: Restart service
      storm-frontend-server already stopped
      Starting storm-frontend-server as user "storm"... ERROR: not started (see the log file for the details).
      INFO: Executing function: config_storm_globus_gridftp_setenv 
      INFO: Using locally defined function /opt/glite/yaim/functions/local/config_storm_globus_gridftp
      

      Attachments

        Activity

          People

            vianello Enrico Vianello
            vianello Enrico Vianello
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: