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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • 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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Smart Serial Port not being claimed by Element

Solved1.88K views4th November 2021SLPort SmartSerial
1
Jack Perrott-Webb52 24th June 2021 0 Comments

We have configured our element to listen on a smart serial port, but it does not seem to be receiving data. The device that posts to this port has errors of "No connection could be made because the target machine actively refused it".

Looking on the machine itself, I can see that the port is not open (using Resource Monitor), but all 5 instances of SLPort are running and no apparent errors in the logs.

Where would you start to investigate? Please note that it will be very challenging to install wireshark so any other suggested tips would be appreciated (but if this is the only way then so be it).

Recently upgraded from DM9.6.10 to DM10.1 CU2 (unsure if related, but other environments do not have the above issue)

Jack Perrott-Webb Selected answer as best 4th November 2021

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Ruben Vandepitte [SLC] [DevOps Advocate]2.32K Posted 24th June 2021 2 Comments

Investigation showed the port was in use by another non-DataMiner process running on that server.

Jack Perrott-Webb Selected answer as best 4th November 2021
Jack Perrott-Webb commented 24th June 2021

Yes, for fuller detail for someone finding this later, there was a confusion by another team between the netstat report of active ports and the Resource Monitor’s list of listening ports. This additional application had an established connection on this port range (hence not appearing as listening). Setting the smart serial temporarily to a different port showed that it was then listening without issue. We were confused for a long time as there was nothing suggesting that we had failed to grab the port (even SLDataMiner suggested the log had been successfully claimed).

Lessons learned:
1) Netstat > Resource Monitor
2) Add debug messages to logs where possible to confirm the acquisition of ports
3) Make sure applications in general use reserved ports only rather taking any old thing!

Jeroen Neyt [SLC] [DevOps Advocate] commented 25th June 2021

FYI, for future references:

SLPort logs the following on debug level 1 when it can’t bind to the port:
“Finished connect thread. bind failed.10048”

Where error code 10048 translates to WSAEADDRINUSE. This error occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that was not closed properly, or one that is still in the process of closing.

You are viewing 1 out of 3 answers, click here to view all answers.
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
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