Details

    • Type: Bug
    • Status: Not Yet Scheduled
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: PostgreSQL plugin
    • Labels:
      None
    • Environment:
      CentOS 6

      Description

      I try to start Tsung but it doesn't wanna start, i changed chmods for most of tsung files to allow them to start and it helps a little but not enough to start test.
      Log from console:
      ---------------------------------------------------------------------------------------------
      tsung start
      Starting Tsung
      {"Kernel pid terminated",application_controller,"{application_start_failure,tsung_controller,{bad_return,{{tsung_controller,start,[normal,[]]},{'EXIT',{{badmatch,{error,

      {error,eacces}}},[{tsung_controller,start,2},{application_master,start_supervisor,3},{application_master,start_the_app,5},{application_master,start_it_new,7}]}}}}}"}
      Kernel pid terminated (application_controller) ({application_start_failure,tsung_controller,{bad_return,{{tsung_controller,start,[normal,[]]},{'EXIT',{{badmatch,{error,{error,eacces}

      }},[{tsung_contr

      ---------------------------------------------------------------------------------------

      tsung.xml :

      <?xml version="1.0"?>
      <!DOCTYPE tsung SYSTEM "/root/tsung-1.5.0/tsung-1.0.dtd">
      <tsung loglevel="notice">

      <clients>
      <client host="localhost" use_controller_vm="true"/>
      </clients>

      <!-- Server side setup -->
      <servers>
      <server host="127.0.0.1" port="5438" type="tcp"/>
      </servers>

      <monitoring>
      <monitor host="localhost"/>
      </monitoring>

      <load>
      <arrivalphase phase="1" duration="10" unit="minute">
      <users interarrival="30" unit="second"></users>
      </arrivalphase>
      </load>

      <sessions>
      <session probability="100" name="pgsql-example" type="ts_pgsql">
      <transaction name="connection">
      <request>
      <pgsql type="connect" database="grom" username="postgres" />
      </request>
      </transaction>

      <transaction name="authentication">
      <request>
      <pgsql type="authenticate" password="asdf"/>
      </request>
      </transaction>

      <thinktime value="2"/>

      <transaction name="select">
      <request><pgsql type="sql">SELECT * from accounts;</pgsql></request>
      </transaction>

      <thinktime value="20"/>

      <request><pgsql type="sql">SELECT * from users;</pgsql></request>

      <request><pgsql type='sql'><![CDATA[SELECT n.nspname as "Schema",
      c.relname as "Name",
      CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 's' THEN '%toto%' END as "Type",
      u.usename as "Owner"
      FROM pg_catalog.pg_class c
      LEFT JOIN pg_catalog.pg_user u ON u.usesysid = c.relowner
      LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
      WHERE c.relkind IN ('r','v','S','')
      AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
      AND pg_catalog.pg_table_is_visible(c.oid)
      ORDER BY 1,2;]]></pgsql></request>

      <request><pgsql type="close"></pgsql></request>

      </session>
      </sessions>
      </tsung>

        Expenses

          Activity

          Hide
          czachson Paweł Trzaska added a comment -

          problem fixed.... needed permission to use LOG folder...

          Show
          czachson Paweł Trzaska added a comment - problem fixed.... needed permission to use LOG folder...
          Hide
          czachson Paweł Trzaska added a comment -

          On CentOS to run tsung u need to add permission to all files *.beam in ebin folder, then add permissions to use files in var/pgsql/.tsung/(here placed xmls need more privileges)

          var/pgsql/.tsung/log <- log folder needs to change chmod to use it

          POSTGRES.... eh.. two days lost to find it

          Cheers

          Show
          czachson Paweł Trzaska added a comment - On CentOS to run tsung u need to add permission to all files *.beam in ebin folder, then add permissions to use files in var/pgsql/.tsung/(here placed xmls need more privileges) var/pgsql/.tsung/log <- log folder needs to change chmod to use it POSTGRES.... eh.. two days lost to find it Cheers

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development