<?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>article Network monitoring: Network Agent initialization failure on Windows in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Network-monitoring-Network-Agent-initialization-failure-on/ta-p/237886</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;In some situations, Network Agent stops working and fails to restart on Windows. This may be because the pcap driver (either Npcap or WinPcap) has been removed or has malfunctioned. In such cases, the Network Agent logs include the &lt;FONT face="courier new,courier"&gt;IstallInfo: appName: serviceName:no-pcap&lt;/FONT&gt; message:&lt;/P&gt;
&lt;H3&gt;Example error indicating a missing or faulty pcap driver&lt;/H3&gt;
&lt;PRE&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::init:318: Running with IstallInfo: appName: serviceName:no-pcap dllPath:C:\Windows\system32 isInstalled:0 isRunning:0 isError:1&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::init:320: IstallInfo: appName: serviceName:no-pcap dllPath:C:\Windows\system32 isInstalled:0 isRunning:0 isError:1&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::init:321: Pcap not operational, Network Agent will shutdown gracefully&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::~NetworkAgent:136: pktReader.finalize()&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::~NetworkAgent:139: delete pcapIfc&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] DataReporter::~DataReporter:104: DataReporter::~DataReporter&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] pkt_analysis::SessAnalyzer::~SessAnalyzer:210: Session insert counter=0, session remove counter=0&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] ... last message repeated 2 times ...&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] Agent::~Agent:950: delete mTimeProvider&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] Agent::~Agent:952: delete mconfig&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] Agent::~Agent:955: delete mlog&lt;/PRE&gt;
&lt;P&gt;In such cases, Network Agent is repeatedly restarted by OneAgent Watchdog, but exits early without providing network metrics. In OneAgent versions earlier than 1.241, it also resulted in multiple Network Agent segmentation faults due to flawed error handling logic. Since OneAgent version 1.241, however, Network Agent initialization failure no longer results in a segmentation fault.&lt;/P&gt;
&lt;P&gt;To verify that at least one pcap driver is installed, execute the &lt;FONT face="courier new,courier"&gt;driverquery&lt;/FONT&gt; command. If the driver is not installed, it will be installed automatically during the next upgrade.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 26 Feb 2024 15:10:00 GMT</pubDate>
    <dc:creator>MalcolmDavidson</dc:creator>
    <dc:date>2024-02-26T15:10:00Z</dc:date>
    <item>
      <title>Network monitoring: Network Agent initialization failure on Windows</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Network-monitoring-Network-Agent-initialization-failure-on/ta-p/237886</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;In some situations, Network Agent stops working and fails to restart on Windows. This may be because the pcap driver (either Npcap or WinPcap) has been removed or has malfunctioned. In such cases, the Network Agent logs include the &lt;FONT face="courier new,courier"&gt;IstallInfo: appName: serviceName:no-pcap&lt;/FONT&gt; message:&lt;/P&gt;
&lt;H3&gt;Example error indicating a missing or faulty pcap driver&lt;/H3&gt;
&lt;PRE&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::init:318: Running with IstallInfo: appName: serviceName:no-pcap dllPath:C:\Windows\system32 isInstalled:0 isRunning:0 isError:1&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::init:320: IstallInfo: appName: serviceName:no-pcap dllPath:C:\Windows\system32 isInstalled:0 isRunning:0 isError:1&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::init:321: Pcap not operational, Network Agent will shutdown gracefully&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::~NetworkAgent:136: pktReader.finalize()&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] NetworkAgent::~NetworkAgent:139: delete pcapIfc&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] DataReporter::~DataReporter:104: DataReporter::~DataReporter&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] pkt_analysis::SessAnalyzer::~SessAnalyzer:210: Session insert counter=0, session remove counter=0&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] ... last message repeated 2 times ...&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] Agent::~Agent:950: delete mTimeProvider&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] Agent::~Agent:952: delete mconfig&lt;BR /&gt;2022-05-18 20:11:07.744 UTC [00003e90] info [native] Agent::~Agent:955: delete mlog&lt;/PRE&gt;
&lt;P&gt;In such cases, Network Agent is repeatedly restarted by OneAgent Watchdog, but exits early without providing network metrics. In OneAgent versions earlier than 1.241, it also resulted in multiple Network Agent segmentation faults due to flawed error handling logic. Since OneAgent version 1.241, however, Network Agent initialization failure no longer results in a segmentation fault.&lt;/P&gt;
&lt;P&gt;To verify that at least one pcap driver is installed, execute the &lt;FONT face="courier new,courier"&gt;driverquery&lt;/FONT&gt; command. If the driver is not installed, it will be installed automatically during the next upgrade.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Feb 2024 15:10:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Network-monitoring-Network-Agent-initialization-failure-on/ta-p/237886</guid>
      <dc:creator>MalcolmDavidson</dc:creator>
      <dc:date>2024-02-26T15:10:00Z</dc:date>
    </item>
  </channel>
</rss>

