This repository was archived by the owner on Mar 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtshooting.html
More file actions
314 lines (196 loc) · 13.5 KB
/
Copy pathtshooting.html
File metadata and controls
314 lines (196 loc) · 13.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Troubleshooting — Flopsar Documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/hacks.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Demo" href="demo.html" />
<link rel="prev" title="1. Agent API" href="developer.html" />
<script src="_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="index.html">
<img src="_static/flopsar_logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
2.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p class="caption"><span class="caption-text">Overview</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="overview.html">1. What is Flopsar</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview.html#versioning">2. Versioning</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview.html#releasing">3. Releasing</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview.html#licensing">4. Licensing</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview.html#architectural-fundamentals">5. Architectural Fundamentals</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview.html#supported-platforms-and-requirements">6. Supported Platforms and Requirements</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview.html#distribution-package">7. Distribution Package</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview.html#release-notes">8. Release Notes</a></li>
</ul>
<p class="caption"><span class="caption-text">Administrator Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="admin.html">1. Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="admin.html#logging">2. Logging</a></li>
<li class="toctree-l1"><a class="reference internal" href="admin.html#id2">3. Agent</a></li>
<li class="toctree-l1"><a class="reference internal" href="manager.html">4. Manager</a></li>
<li class="toctree-l1"><a class="reference internal" href="database.html">5. Database</a></li>
</ul>
<p class="caption"><span class="caption-text">User Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="user.html">1. Workstation Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html#accessing-flopsar-environment">2. Accessing Flopsar Environment</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html#start-page">3. Start Page</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html#settings">4. Settings</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html#configurations">5. Configurations</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html#galaxies">6. Galaxies</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html#agents">7. Agents</a></li>
<li class="toctree-l1"><a class="reference internal" href="user.html#queries">8. Queries</a></li>
</ul>
<p class="caption"><span class="caption-text">Developer Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="developer.html">1. Agent API</a></li>
<li class="toctree-l1"><a class="reference internal" href="developer.html#agent-formatters">2. Agent Formatters</a></li>
<li class="toctree-l1"><a class="reference internal" href="developer.html#database-api">3. Database API</a></li>
<li class="toctree-l1"><a class="reference internal" href="developer.html#plugins">4. Plugins</a></li>
</ul>
<p class="caption"><span class="caption-text">Miscellaneous</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Troubleshooting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#when-i-start-manager-i-get-the-following-error">When I start <span class="flp">manager</span> I get the following error:</a></li>
<li class="toctree-l2"><a class="reference internal" href="#agent-does-not-send-any-data-to-its-database">Agent does not send any data to its database.</a></li>
<li class="toctree-l2"><a class="reference internal" href="#i-see-dropped-in-parameters-column-in-workstation">I see DROPPED in Parameters column in <span class="flp">workstation</span></a></li>
<li class="toctree-l2"><a class="reference internal" href="#manager-stops-periodically">Manager stops periodically</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="demo.html">Demo</a></li>
<li class="toctree-l1"><a class="reference internal" href="contrib.html">Third-party Components</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Flopsar</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li>Troubleshooting</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="troubleshooting">
<h1>Troubleshooting<a class="headerlink" href="#troubleshooting" title="Permalink to this headline">¶</a></h1>
<div class="section" id="when-i-start-manager-i-get-the-following-error">
<h2>When I start <span class="flp">manager</span> I get the following error:<a class="headerlink" href="#when-i-start-manager-i-get-the-following-error" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div><div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">There</span> <span class="ow">is</span> <span class="n">another</span> <span class="n">Flopsar</span> <span class="n">Database</span> <span class="n">Manager</span> <span class="n">running</span><span class="o">.</span> <span class="n">You</span> <span class="n">cannot</span> <span class="n">run</span> <span class="n">another</span> <span class="n">Flopsar</span> <span class="n">Database</span> <span class="n">Manager</span> <span class="n">using</span> <span class="n">the</span> <span class="n">same</span> <span class="n">license</span><span class="o">.</span>
</pre></div>
</div>
<p>This message means you are attempting to start a <span class="flp">manager</span> instance on a machine, which already has another <span class="flp">manager</span> instance running on. Either use <a class="reference internal" href="admin.html#single-manager"><span class="std std-ref">another licence</span></a> file or another machine.</p>
</div></blockquote>
</div>
<div class="section" id="agent-does-not-send-any-data-to-its-database">
<h2>Agent does not send any data to its database.<a class="headerlink" href="#agent-does-not-send-any-data-to-its-database" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div><ul class="simple">
<li>Make sure, your agent has a database set in your <span class="flp">manager</span> instance.</li>
<li>Verify that the agent has a configuration assigned.</li>
</ul>
<p>All the above points can be verified by executing the command (please, refer to <a class="reference internal" href="manager.html#mgr-agents"><span class="std std-ref">Managing Agents</span></a> for details how to interpret the results):</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ fs2mgr get --target agents <manager_home>
</pre></div>
</div>
<p>If the agent has a configuration and database assigned, verify whether the agent can establish a TCP connection to the manager.
You can check it using only the agent file by running it with the <span class="opt">test</span> command line argument:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ java -Dflopsar.id=MyAgent -Dflopsar.manager=MANAGER_IP:PORT -Dflopsar.home=AGENT_DIR -jar flopsar-agent-2.2.jar test
</pre></div>
</div>
<p>This command will attempt to connect to the specified manager server and wait for the response. If the connection cannot be established,
verify your network configuration.</p>
</div></blockquote>
</div>
<div class="section" id="i-see-dropped-in-parameters-column-in-workstation">
<h2>I see DROPPED in Parameters column in <span class="flp">workstation</span><a class="headerlink" href="#i-see-dropped-in-parameters-column-in-workstation" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div>This means that instrumented JVM drops parameters due to memory pressure. Either, increase memory limits for your application or decrease instrumentation.</div></blockquote>
</div>
<div class="section" id="manager-stops-periodically">
<h2>Manager stops periodically<a class="headerlink" href="#manager-stops-periodically" title="Permalink to this headline">¶</a></h2>
<p>I see the following message in the Manager log file:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">FATAL</span> <span class="p">][</span><span class="n">PID</span><span class="p">]</span> <span class="n">Flopsar</span> <span class="n">Manager</span> <span class="n">cannot</span> <span class="n">run</span> <span class="nb">any</span> <span class="n">longer</span><span class="o">.</span> <span class="n">No</span> <span class="n">license</span> <span class="n">IP</span> <span class="n">lock</span> <span class="n">found</span><span class="o">.</span> <span class="n">Shutdown</span> <span class="n">initiated</span><span class="o">.</span>
</pre></div>
</div>
<p><span class="flp">manager</span> creates a license lock file in <code class="file docutils literal notranslate"><span class="pre">/tmp</span></code> directory. If this file is deleted, then <span class="flp">manager</span> stops. It occurs on Red Hat-like distributions usually.
In order to prevent the operating system from deleting this file, you can create a file <code class="file docutils literal notranslate"><span class="pre">/usr/lib/tmpfiles.d/flopsar.conf</span></code> with the following contents:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">x</span> <span class="o">/</span><span class="n">tmp</span><span class="o">/*.</span><span class="n">flp</span>
</pre></div>
</div>
<p>Please, refer to <span class="code">tmpfiles.d (5)</span> man page for details.</p>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="demo.html" class="btn btn-neutral float-right" title="Demo" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="developer.html" class="btn btn-neutral" title="1. Agent API" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2018, Flopsar Technology Sp. z o.o..
</p>
</div>
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'2.4',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: false,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>