Issue 1685: Starting Scilab with BackDoor from API

Reported by Jan S., Apr 19, 2017

Ubuntu 16.04.2
Scilab 5.5.2
BackDoor 0.2

When I run 'sudo scilab-adv-cli' in putty, BackDoor will start and 
listen on port. 

I want to run scilab server from API, but when I run from PHP

shell_exec('sudo scilab-adv-cli 2>&1');  the result is

Start Toolbox BackDoor 
Load macros 
Load gateways 
Load help 
Opening back door 

I don't know why is killed. I try run never-ending while

shell_exec('sudo scilab-adv-cli -e "i = 1; while i < 10  
end; " 2>&1');

but is also killed after few seconds.

I tried this at scilab without BackDoor module, and the proces 
scilab-adv-cli is running until I manually kill him. With BackDoor 
is killed after few seconds.

Steps to reproduce the problem:

1. (from PHP) shell_exec('sudo scilab-adv-cli 2>&1'); 
2. or shell_exec('sudo scilab-adv-cli -e "i = 1; while i < 
10  end; " 2>&1');

Expected result:

Start Toolbox BackDoor 
Load macros 
Load gateways 
Load help 
Opening back door 
BackDoor: listening to connections on TCP port 27020

Actual result:

Start Toolbox BackDoor 
Load macros 
Load gateways 
Load help 
Opening back door 
(sometimes it returns also 'BackDoor: listening to connections on 
TCP port 27020' but after this is still 'Killed' )

I wrote the problem at stackoverflow, too

Comment 1 by Jorge832 Nolan, Feb 13, 2019

The problem is probably that the Backdoor opens a TCP port for 
receiving connections. Check your PHP module to see if it has 
permission to open such a port

Comment 2 by play game, Jun 20, 2019

Have to getting the all update here for 
the play solitaire card game must be players exited to join it.

Comment 3 by Alex johnson, Aug 29, 2019

I'm fresh to web development so I'm studying as I go. I am operating 
on a method website and I keep learning the term recipe API? I know 
its a website with lots of recipes, but is it something wherever I 
can aggregate receipts from that website and placed them on works to 
get started? VISIT:

Comment 4 by Daniel Daniel , Sep 16, 2019

Vape Stop is the most reliable shop for electronic cigarette 

Comment 5 by zaiden leo, Sep 22, 2019

API working is different then custom development and if you are 
going to use API then it makes your work more easy. The share a 
lot of ways to get API free of cost.

Comment 6 by James Patric, Sep 30, 2019

Software API is the best way to build a copy of the software. The share their experience.

Comment 7 by dj pooja, Nov 16, 2019

Established in 1906, government-owned Canara Bank is one of India’s 
largest public sector banks. Canara Bank has over 6,000 branches all 
over the country and over 1 lakh ATMs. The bank also has a few 
branches overseas, most of which were established in the 1980s.

Comment 8 by Noor Sin, Nov 18, 2019

Truly.. much obliged for firing this up. This site is something that 
is required on the web, somebody with some creativity.

Comment 9 by Scott Freeman, Nov 28, 2019

When I originally left a comment I appear to have clicked on the 
-Notify me when new comments are added- checkbox and from now on 
whenever a comment is added I receive four emails with the exact 
same comment. There has to be a way you can remove me from that 
service? Appreciate it!

Comment 10 by Noor Sin, Dec 16, 2019

What a man strives for becomes a success for him one day. Keep Up 
your hard work one day will surely succeed.
IwAR1-59alGbL__iy5AKUdRjOdfWKwqZBrciNVJuSqUZlpntquIEB0w6v7nJc Best 
example For You.

Comment 11 by Juvanta Luiz, Feb 14, 2020

In this article, the author is discussing a solution for Starting 
Scilab with BackDoor from API. Many other readers also have shared 
their suggestions for fixing the issues swiftly. It helped a lot in 
solving the bug and for the proper functioning of the system.

Comment 12 by Vasy Kafidoff, May 20, 2020

WritingMetier is one of the best online 
writing services I have ever met. They have an awesome team of 
writers who specialize in writing numerous assignments, be it 
academic writing help or business writing assistance. They have a 
team of experts who specialized in numerous fields that helps them 
to be able to complete any task given.

Created: 5 years 5 months ago by Jan S.

Updated: 2 years 4 months ago

Status: New

Followed by: 11 persons