Details

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

      Description

      Tsung does not start, files have right privileges, and I see lots of errors.

      Console log:
      bash-4.1$ tsung start
      Starting Tsung
      {error_logger,2014,4,3},{16,18,35,std_error,"File operation error: eacces. Target: .. Function: read_file_info. Process: code_server."}
      {error_logger,2014,4,3},{16,18,35,std_error,"File operation error: eacces. Target: ./standard_error.beam. Function: get_file. Process: code_server."}
      {error_logger,2014,4,3},{16,18,35,std_error,"File operation error: eacces. Target: ./supervisor_bridge.beam. Function: get_file. Process: code_server."}
      {error_logger,2014,4,3},{16,18,35,std_error,"File operation error: eacces. Target: ./user_sup.beam. Function: get_file. Process: code_server."}
      {error_logger,2014,4,3},{16,18,35,std_error,"File operation error: eacces. Target: ./user.beam. Function: get_file. Process: code_server."}
      {error_logger,2014,4,3},{16,18,35,std_error,"File operation error: eacces. Target: ./kernel_config.beam. Function: get_file. Process: code_server."}
      {error_logger,2014,4,3},{16,18,35,std_error,"File operation error: eacces. Target: ./queue.beam. Function: get_file. Process: code_server."}

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: .. Function: read_file_info. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./standard_error.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./supervisor_bridge.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./user_sup.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./user.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./kernel_config.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./queue.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./error_logger_tty_h.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./io_lib.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./io_lib_format.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./io_lib_pretty.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./io.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./crypto_app.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./crypto_sup.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./crypto_server.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./ssl_app.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./ssl_sup.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./ssl_broker_sup.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./ssl_manager.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./ssl_certificate_db.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./ssl_session_cache.beam. Function: get_file. Process: code_server.

      =ERROR REPORT==== 3-Apr-2014::16:18:35 ===
      File operation error: eacces. Target: ./ssl_connection_sup.beam. Function: get_file. Process: code_server.
      "Log directory is: /var/lib/pgsql/.tsung/log/20140403-1618"

        Expenses

          Activity

          Hide
          nniclausse Nicolas Niclausse added a comment -

          there is a problem with your tsung installation. How did you install it ?

          Show
          nniclausse Nicolas Niclausse added a comment - there is a problem with your tsung installation. How did you install it ?
          Hide
          czachson Paweł Trzaska added a comment -

          just like in this tutorial: http://tsung.erlang-projects.org/user_manual/installation.html#dependencies, dependencies were installed automatically

          Show
          czachson Paweł Trzaska added a comment - just like in this tutorial: http://tsung.erlang-projects.org/user_manual/installation.html#dependencies , dependencies were installed automatically
          Hide
          czachson Paweł Trzaska added a comment -

          I will try to reinstall today

          Show
          czachson Paweł Trzaska added a comment - I will try to reinstall today
          Hide
          nniclausse Nicolas Niclausse added a comment -

          there is a problem with your erlang installation, you don't have read acces to beam files from erlang. This is not normal. And btw why are you using the postgres user to run tsung ? you don't need to install postgres on the tsung node

          Show
          nniclausse Nicolas Niclausse added a comment - there is a problem with your erlang installation, you don't have read acces to beam files from erlang. This is not normal. And btw why are you using the postgres user to run tsung ? you don't need to install postgres on the tsung node
          Hide
          czachson Paweł Trzaska added a comment -

          ok it works fine with just one problem, if I will turn off monitoring section in tsung xml it works fine, with monitroing section turend on it shows me something like this :

          "ssh: connect to host 10 port 22: Invalid argument"

          monitoring section:
          <monitoring>
          <monitor host="10.133.105.8"/>
          </monitoring>

          Show
          czachson Paweł Trzaska added a comment - ok it works fine with just one problem, if I will turn off monitoring section in tsung xml it works fine, with monitroing section turend on it shows me something like this : "ssh: connect to host 10 port 22: Invalid argument" monitoring section: <monitoring> <monitor host="10.133.105.8"/> </monitoring>
          Hide
          czachson Paweł Trzaska added a comment -

          same situation with <monitor host name="localhost">

          Show
          czachson Paweł Trzaska added a comment - same situation with <monitor host name="localhost">
          Hide
          czachson Paweł Trzaska added a comment -

          (monitor host is just an example)

          Show
          czachson Paweł Trzaska added a comment - (monitor host is just an example)

            People

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

              Dates

              • Created:
                Updated:

                Development