Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to solve SLNet – service not able to start: “WaitUntilPortIsAvailable 9004 to become available”?

Solved1.82K views18th August 2020SLNet SLNet service startup
1
João Pereira [SLC]120 17th August 2020 0 Comments

Hi,

When we restarted a DataMiner Agent, it got stuck in the startup menu. The SLNet.txt log shows the following:

2020-08-17 12:07:43.771|4|WaitUntilPortIsAvailable|Waiting for port 9004 to become available...

We tried unregistering and registering the DataMiner services and DLLs; however, when DataMiner and SLNet were restarted, the following message was displayed:

I cannot stop/start the SLNet service manually because the options are greyed out:

Last Friday (14/08/2020) it was possible to stop and restart the Agent.

I checked the DataMiner.xml file and compared it to previously dated files (found in the Recycle Bin) and there are no differences.

What additional steps can be done to get this Agent running again?

Thank you for the help.

Laurens Vergote [SLC] [DevOps Advocate] Answered question 18th August 2020

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Jelle Hoorne [SLC] [DevOps Member]197 Posted 17th August 2020 4 Comments

I've had the same issue in the past.

The 'waiting for port 9004 to become available' log line is most likely a false positive (last log line that could be written to SLNet.txt before it crashed)

First step would be to check the slnetcrash.txt, In there it will most likely indicate what the issue is or where to start looking.

In my case this was because my DataMiner.xml was corrupt (missing a closing tag in some place).

João Pereira [SLC] Selected answer as best 17th August 2020
João Pereira [SLC] commented 17th August 2020

Hi Jelle,
Where can I find the slnetcrash.txt?
Checked the ‘CrashDump’ and ‘MiniDump’ folders and there is nothing dated from today.

Jelle Hoorne [SLC] [DevOps Member] commented 17th August 2020

Should be in the standard logging folder (C:/Skyline DataMiner/Logging).

João Pereira [SLC] commented 17th August 2020

Could not find anything. Maybe it was not due to an SLNet crash…
This occured when I stopped and restarted the DataMiner. The agent was working fine before that, it seems that it was during the restart.

João Pereira [SLC] commented 17th August 2020

Discussing this issue with other people, the general consensus is indeed that the issue is triggered by a corrupt xml.
This issue showed up when I was doing an investigation on a Central DB. I edited the db.xml to deactivate the Central DB, unregistered/re-registered services and dlls, and restarted DataMiner and SLNet. This time the agent came up. The Central DB is once again activated and the agent is working as expected.

4
Laurens Vergote [SLC] [DevOps Advocate]368 Posted 18th August 2020 1 Comment

You can check if a process is using the port that SLNet is waiting on. My favourite way to do this is with following powershell command:
> netstat -abon | findstr :9004
TCP 0.0.0.0:9004 0.0.0.0:0 LISTENING 15708

The last number here (15708) is the process ID of the process that has claimed the port. It could be possible that either another process has taken the port or that it is taken by SLNet.exe, but in status "Suspended".

When this happens, SLNet.exe is usually locked by one of the "WmiPrvSE.exe" processes. Which one exactly can be found with process explorer.

The issue can be fixed by killing the correct WmiPrvSE.exe process.

A more likely cause for the issue however is indeed a corrupt xml file somewhere, but this idea might be something to check as well.

João Pereira [SLC] Posted new comment 18th August 2020
João Pereira [SLC] commented 18th August 2020

Hi Laurens,
Thank you for the tip, if I encounter this issue again I will be sure to do this check right away.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin