ARCHIVE
LinuxMCE Forums
May 23, 2013, 02:43:25 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: My module sends DCE, DCERouter gets nothing  (Read 809 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« on: March 23, 2006, 09:52:49 am »

Hi,

I've noticed weird behaviour of my home automation controller module (written in Perl) and DCERouter.

- if I start perl script from command line it's output goes fluently on console. If I let Pluto run it under screen, then output is jerky - freezes for few seconds and then advances, etc.... Is this only visual impression or does screen somehow affect how script is running ?

- spotted situation that my module sends events and commands on TCP port to Router, but DCERouter receives nothing - obviously TCP port closed somehow or something else happened. How to prevent or detect and heal this deadlock in general ? Where to check what happened in this particular situation ?

Thanks in advance,

regards,

Rob.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 on: March 30, 2006, 12:22:08 pm »

Screen has nothing to do with the output of your script being jerky, i think that when runned by pluto your script behaves differently than when you run it from the console.

The tcp problem i think is also related to your script since if the tcp port was closed the pluto modules would stop working also.

You can type this into a core's console to see if the port is opened:
Code:

nc -z localhost 3450 || echo "Port 3450 is closed"
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.