# Windows Server Integration to Elastic Search is failing elastic agent fleet enrollment is happening but elastic agent not starting and not sending data

**URL:** <https://discuss.elastic.co/t/windows-server-integration-to-elastic-search-is-failing-elastic-agent-fleet-enrollment-is-happening-but-elastic-agent-not-starting-and-not-sending-data/354239>\
**Category:** Elastic Agent\
**Created:** [February 27, 2024, 2:10pm UTC](https://discuss.elastic.co/t/windows-server-integration-to-elastic-search-is-failing-elastic-agent-fleet-enrollment-is-happening-but-elastic-agent-not-starting-and-not-sending-data/354239 "2024-02-27T14:10:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkreddyp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nkreddyp/32/114622_2.png) [@nkreddyp](https://discuss.elastic.co/u/nkreddyp)\
**Post date:** [February 27, 2024, 2:10pm UTC](https://discuss.elastic.co/t/windows-server-integration-to-elastic-search-is-failing-elastic-agent-fleet-enrollment-is-happening-but-elastic-agent-not-starting-and-not-sending-data/354239/1 "2024-02-27T14:10:48Z")

</div>

please any one faces this kind of issue please help me i'm stuck almost from one month to integrate windows server due to this issue i have used selfsigned certificates for fleet server and Elasticsearch

{"log.level":"info","@timestamp":"2024-02-27T11:31:30.192Z","log.origin":{"file.name":"cmd/run.go","file.line":154},"message":"Elastic Agent started","log":{"source":"elastic-agent"},"process.pid":8028,"agent.version":"8.10.3","ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.423Z","log.origin":{"file.name":"upgrade/rollback.go","file.line":113},"message":"agent is not upgradable, not starting watcher","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.424Z","log.origin":{"file.name":"cmd/run.go","file.line":241},"message":"APM instrumentation disabled","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.433Z","log.origin":{"file.name":"application/application.go","file.line":61},"message":"Gathered system information","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.448Z","log.origin":{"file.name":"application/application.go","file.line":67},"message":"Detected available inputs and outputs","log":{"source":"elastic-agent"},"inputs":["lumberjack","logstash/metrics","mssql/metrics","aws/metrics","azure/metrics","audit/file\_integrity","packet","syslog","windows/metrics","containerd/metrics","rabbitmq/metrics","sql/metrics","log","o365audit","elasticsearch/metrics","kibana/metrics","docker/metrics","linux/metrics","oracle/metrics","activemq/metrics","cloudfoundry","kafka","mqtt","tcp","statsd/metrics","aws-s3","cometd","container","enterprisesearch/metrics","zookeeper/metrics","netflow","awsfargate/metrics","syncgateway/metrics","traefik/metrics","gcs","udp","cloudfoundry/metrics","http/metrics","fleet-server","synthetics/browser","apm","entity-analytics","iis/metrics","vsphere/metrics","audit/auditd","osquery","azure-eventhub","http\_endpoint","gcp-pubsub","system/metrics","stan/metrics","etcd/metrics","synthetics/http","endpoint","cel","apache/metrics","prometheus/metrics","docker","redis","beat/metrics","kafka/metrics","nats/metrics","nginx/metrics","filestream","kubernetes/metrics","mongodb/metrics","uwsgi/metrics","unix","redis/metrics","synthetics/icmp","synthetics/tcp","azure-blob-storage","journald","audit/system","postgresql/metrics","haproxy/metrics","gcp/metrics","jolokia/metrics","memcached/metrics","aws-cloudwatch","httpjson","winlog","mysql/metrics"],"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.464Z","log.origin":{"file.name":"application/application.go","file.line":73},"message":"Determined allowed capabilities","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.698Z","log.origin":{"file.name":"application/application.go","file.line":130},"message":"Parsed configuration and determined agent is managed locally","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.714Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":74},"message":"Starting stats endpoint","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.714Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":76},"message":"Metrics endpoint listening on: 127.0.0.1:6791 (configured: [http://localhost:6791](http://localhost:6791))","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"error","@timestamp":"2024-02-27T11:31:30.762Z","log.logger":"control","log.origin":{"file.name":"server/server.go","file.line":84},"message":"unable to create listener: failed to listen on the named pipe \\.\pipe\elastic-agent-d7be1a21f51d5a50c554c29384cb5e0a7dd8e01c00bee96dc2aaf976d3ffab47: open \\.\pipe\elastic-agent-d7be1a21f51d5a50c554c29384cb5e0a7dd8e01c00bee96dc2aaf976d3ffab47: The system cannot find the path specified.","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}  
{"log.level":"info","@timestamp":"2024-02-27T11:31:30.763Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":79},"message":"Stats endpoint (127.0.0.1:6791) finished: accept tcp 127.0.0.1:6791: use of closed network connection","log":{"source":"elastic-agent"},"ecs.version":"1.6.0"}

---

<div class="post-metadata">

**Author:** ![Micou12](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Micou12](https://discuss.elastic.co/u/Micou12)\
**Post date:** [February 27, 2024, 2:55pm UTC](https://discuss.elastic.co/t/windows-server-integration-to-elastic-search-is-failing-elastic-agent-fleet-enrollment-is-happening-but-elastic-agent-not-starting-and-not-sending-data/354239/2 "2024-02-27T14:55:52Z")

</div>

I am facing the same issue in Linux

---

<div class="post-metadata">

**Author:** ![nkreddyp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nkreddyp/32/114622_2.png) [@nkreddyp](https://discuss.elastic.co/u/nkreddyp)\
**Post date:** [February 28, 2024, 5:58am UTC](https://discuss.elastic.co/t/windows-server-integration-to-elastic-search-is-failing-elastic-agent-fleet-enrollment-is-happening-but-elastic-agent-not-starting-and-not-sending-data/354239/3 "2024-02-28T05:58:31Z")

</div>

for me no issues with linux servers it issue only on windows server please any one who knows this or faced and fixed this please do let me know i need this to be addressed very quick so

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 27, 2024, 5:59am UTC](https://discuss.elastic.co/t/windows-server-integration-to-elastic-search-is-failing-elastic-agent-fleet-enrollment-is-happening-but-elastic-agent-not-starting-and-not-sending-data/354239/4 "2024-03-27T05:59:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
