<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Appdynamics agent cannot be initialized in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725552#M4795</link>
    <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;

&lt;P&gt;Can you share the content of your docker file here? We want to understand how exactly are you trying to build the application.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Abhimanyu&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 06:49:22 GMT</pubDate>
    <dc:creator>Abhimanyu_Arora</dc:creator>
    <dc:date>2018-08-09T06:49:22Z</dc:date>
    <item>
      <title>Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725547#M4790</link>
      <description>&lt;P&gt;I'm getting the below error when I initialize appdynamics.&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Appdynamics agent cannot be initialized due to Error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /src/node_modules/appdynamics-protobuf/build/Release/protobuf_for_node.node)
Error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /src/node_modules/appdynamics-protobuf/build/Release/protobuf_for_node.node)
    at Object.Module._extensions..node (module.js:681:18)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at tryRequire (/src/node_modules/appdynamics-protobuf/index.js:15:11)
    at requireProtobufBinding (/src/node_modules/appdynamics-protobuf/index.js:23:18)
    at Object.&amp;lt;anonymous&amp;gt; (/src/node_modules/appdynamics-protobuf/index.js:33:18)
    at Module._compile (module.js:652:30)&lt;/PRE&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;And My Node.js code looks like this.&lt;/P&gt;
&lt;PRE&gt;require("appdynamics").profile({
	controllerHostName: 'host',
	controllerPort: 8090,
	accountName: 'ac-name',
	accountAccessKey: 'I-Have-Token',
	applicationName: 'csc',
	tierName: 'TEST',
	nodeName: 'process', // The controller will automatically append the node name with a unique number
	debug: true
});&lt;/PRE&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;What's the issue here?&lt;/P&gt;
&lt;P class="p1"&gt;Any dependency required?&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;node module version:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;4.5.2&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725547#M4790</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-08-08T16:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725548#M4791</link>
      <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;

&lt;P&gt;Where did you run npm install? Was it the same system which runs the app?&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Kyle&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 17:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725548#M4791</guid>
      <dc:creator>Kyle_Furlong</dc:creator>
      <dc:date>2018-08-08T17:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725549#M4792</link>
      <description>Yes!!!</description>
      <pubDate>Thu, 09 Aug 2018 03:47:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725549#M4792</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-08-09T03:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725550#M4793</link>
      <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;

&lt;P&gt;What linux distribution are you using here to run the app?&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;As the agent is only compatible with Linux distribution&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;based on glibc 2.5+.&amp;nbsp;Distribution based on&amp;nbsp;musl_libc such as Alpine is not supported directly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Abhimanyu&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 06:12:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725550#M4793</guid>
      <dc:creator>Abhimanyu_Arora</dc:creator>
      <dc:date>2018-08-09T06:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725551#M4794</link>
      <description>I'm deploying app to Docker pod.&lt;BR /&gt;Using node:8.10.0 image.</description>
      <pubDate>Thu, 09 Aug 2018 06:23:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725551#M4794</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-08-09T06:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725552#M4795</link>
      <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;

&lt;P&gt;Can you share the content of your docker file here? We want to understand how exactly are you trying to build the application.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Abhimanyu&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 06:49:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725552#M4795</guid>
      <dc:creator>Abhimanyu_Arora</dc:creator>
      <dc:date>2018-08-09T06:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725553#M4796</link>
      <description>&lt;PRE&gt;FROM node:8.10.0 as ubuntu

VOLUME /root/.npm
ADD .npmrc /root/.npmrc

WORKDIR /src
ADD package.json /src/package.json

RUN npm install

FROM node:8.10.0-alpine as alpine
RUN npm install -g nodemon
COPY --from=ubuntu /src /src

WORKDIR /src

EXPOSE 8888 8889
CMD [ "node", "app.js" ]&lt;/PRE&gt;

&lt;P&gt;Do you see any issues here?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 06:59:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725553#M4796</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-08-09T06:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725554#M4797</link>
      <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;

&lt;P&gt;So here we see the problem. You are running the application on Alpine based nodejs docker image; Alpine uses musl_libc, but our agent requires&amp;nbsp;&lt;SPAN&gt;glibc 2.5+.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;You can try using&amp;nbsp;&lt;CODE&gt;node:8-slim&lt;/CODE&gt;,which is a debian-based &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;image and uses&amp;nbsp;&lt;CODE&gt;glibc&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Abhimanyu&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 13:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725554#M4797</guid>
      <dc:creator>Abhimanyu_Arora</dc:creator>
      <dc:date>2018-08-09T13:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725555#M4798</link>
      <description>&lt;P&gt;Hi Abhimanyu,&lt;/P&gt;

&lt;P&gt;Is there any enhancements or look back to develop agent using Alpine based images or developing&amp;nbsp;&lt;SPAN&gt;musl_libc for agent.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Santhosh&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 08:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725555#M4798</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-08-13T08:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Appdynamics agent cannot be initialized</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725556#M4799</link>
      <description>&lt;P&gt;Hi Santosh,&lt;/P&gt;

&lt;P&gt;Unfortunately, there is nothing for now that is in the roadmap, as far as I know. But may you can give a try to glibc contained version of Alpine - &lt;A href="https://hub.docker.com/r/frolvlad/alpine-glibc/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.docker.com/r/frolvlad/alpine-glibc/&lt;/A&gt; - if this fits your use-case. Also, a document to run glibc based programs on Alpine : - &lt;A href="https://wiki.alpinelinux.org/wiki/Running_glibc_programs&amp;nbsp;" target="_blank" rel="nofollow noopener noreferrer"&gt;https://wiki.alpinelinux.org/wiki/Running_glibc_programs&amp;nbsp;&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In case you wish to try these route and hitting issues, please let me know if I can be of any help.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Abhimanyu&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 13:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Appdynamics-agent-cannot-be-initialized/m-p/725556#M4799</guid>
      <dc:creator>Abhimanyu_Arora</dc:creator>
      <dc:date>2018-08-13T13:54:13Z</dc:date>
    </item>
  </channel>
</rss>

