<?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 Static Port Causing CPotelcol to Fail to Start in OpenTelemetry/Skyline</title>
    <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Static-Port-Causing-CPotelcol-to-Fail-to-Start/m-p/281832#M766</link>
    <description>&lt;P&gt;I rolled out a new Skyline config to a bunch of systems recently, and several didn't actually start sending telemetry. Troubleshooting them today, and thought I would share information which seems to be missing from the guides and SKs.&lt;/P&gt;
&lt;P&gt;On the first one, I found&amp;nbsp;/opt/CPotelcol/otelcol.log was about 40 MB and had last been written in March. I tried manually stopping and starting CPotelcol using '/opt/CPotelcol/stop' and '/opt/CPotelcol/start'. Still no log data.&lt;/P&gt;
&lt;P&gt;I rotated the log file manually using the command '&lt;SPAN class="s1"&gt;mv /opt/CPotelcol/otelcol.log{,.2026-03-04}' and ran '/opt/CPotelcol/start'. Still no telemetry, but at least I got log data! A tail of the log shows the message&amp;nbsp;{"kind": "extension", "name": "health_check", "error": "failed to bind to address 127.0.0.1:65533: listen tcp 127.0.0.1:65533: bind: address already in use"}.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="s1"&gt;Okay, why can't it bind to the port? Most likely cause is something else listening. Ran 'netstat -anp | grep 65533' and sure enough fwd was already listening on that port. This particular system happens to be an MDS, so I got the PID and used 'ps -fp &amp;lt;PID&amp;gt;' to find which CMA owned that fwd. I restarted it ('mdsstop_customer &amp;lt;CMA name&amp;gt; &amp;amp;&amp;amp; mdsstart_customer &amp;lt;CMA name&amp;gt;'), then ran&amp;nbsp;'/opt/CPotelcol/start' again. This time, it started, and my telemetry destination started receiving data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="s1"&gt;Looks like port 65533 is hard-coded in&amp;nbsp;$CPOTELCOL_DIR/config.json, but other things can get there first. If Skyline is just mysteriously not working for you, check to be sure nothing else has grabbed the port.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2026 15:26:38 GMT</pubDate>
    <dc:creator>Bob_Zimmerman</dc:creator>
    <dc:date>2026-09-03T15:26:38Z</dc:date>
    <item>
      <title>Static Port Causing CPotelcol to Fail to Start</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Static-Port-Causing-CPotelcol-to-Fail-to-Start/m-p/281832#M766</link>
      <description>&lt;P&gt;I rolled out a new Skyline config to a bunch of systems recently, and several didn't actually start sending telemetry. Troubleshooting them today, and thought I would share information which seems to be missing from the guides and SKs.&lt;/P&gt;
&lt;P&gt;On the first one, I found&amp;nbsp;/opt/CPotelcol/otelcol.log was about 40 MB and had last been written in March. I tried manually stopping and starting CPotelcol using '/opt/CPotelcol/stop' and '/opt/CPotelcol/start'. Still no log data.&lt;/P&gt;
&lt;P&gt;I rotated the log file manually using the command '&lt;SPAN class="s1"&gt;mv /opt/CPotelcol/otelcol.log{,.2026-03-04}' and ran '/opt/CPotelcol/start'. Still no telemetry, but at least I got log data! A tail of the log shows the message&amp;nbsp;{"kind": "extension", "name": "health_check", "error": "failed to bind to address 127.0.0.1:65533: listen tcp 127.0.0.1:65533: bind: address already in use"}.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="s1"&gt;Okay, why can't it bind to the port? Most likely cause is something else listening. Ran 'netstat -anp | grep 65533' and sure enough fwd was already listening on that port. This particular system happens to be an MDS, so I got the PID and used 'ps -fp &amp;lt;PID&amp;gt;' to find which CMA owned that fwd. I restarted it ('mdsstop_customer &amp;lt;CMA name&amp;gt; &amp;amp;&amp;amp; mdsstart_customer &amp;lt;CMA name&amp;gt;'), then ran&amp;nbsp;'/opt/CPotelcol/start' again. This time, it started, and my telemetry destination started receiving data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="s1"&gt;Looks like port 65533 is hard-coded in&amp;nbsp;$CPOTELCOL_DIR/config.json, but other things can get there first. If Skyline is just mysteriously not working for you, check to be sure nothing else has grabbed the port.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 15:26:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Static-Port-Causing-CPotelcol-to-Fail-to-Start/m-p/281832#M766</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2026-09-03T15:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Static Port Causing CPotelcol to Fail to Start</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Static-Port-Causing-CPotelcol-to-Fail-to-Start/m-p/281846#M767</link>
      <description>&lt;P&gt;Good tip!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 21:37:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Static-Port-Causing-CPotelcol-to-Fail-to-Start/m-p/281846#M767</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2026-09-03T21:37:20Z</dc:date>
    </item>
  </channel>
</rss>

