I believe there is also a cloud9.socket. After you stop it, does it restart
on its own if you open the port?

On Sat, Jan 4, 2020 at 3:22 PM Mark A. Yoder <[email protected]> wrote:

> Rebooting caused cloud9 to restart.
>
> Using iptables to block port 3000 might be the easiest thing to do.
>
> --Mark
>
>
> On Saturday, January 4, 2020 at 3:21:14 PM UTC-5, Mark A. Yoder wrote:
>>
>> I'd like to be able to stop and later restart cloud9.  The following
>> stopped cloud9
>>
>> bone$ *sudo systemctl stop cloud9*
>>
>> But the following didn't restart it.
>>
>> bone$ *sudo systemctl start cloud9*
>> bone$ *systemctl status cloud9*
>> ● cloud9.service - Cloud9 IDE
>>    Loaded: loaded (/lib/systemd/system/cloud9.service; static; vendor
>> preset: enabled)
>>    Active: failed (Result: exit-code) since Sat 2020-01-04 19:45:12 UTC;
>> 2s ago
>>   Process: 5485 ExecStartPre=/opt/cloud9/cloud9-symlink (code=exited,
>> status=0/SUCCESS)
>>   Process: 5491 ExecStart=/opt/cloud9_support/bin/node server.js --packed
>> -w /var/lib/cloud9 (code=exited, status=1/FAILURE)
>>  Main PID: 5491 (code=exited, status=1/FAILURE)
>>
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      port: '3000',
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      host: '127.0.0.1',
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      websocket: true,
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      showRealIP: true,
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      secure: undefined,
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      provides: [ 'connect',
>> 'http' ],
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      consumes: [],
>> Jan 04 19:45:12 ece312 cloud9ide[5491]:      setup: [Function: startup] }
>> } 'Error: No or too many file descriptors received.\n    at Server.listen
>> (/opt/cloud9/node_modules
>> Jan 04 19:45:12 ece312 systemd[1]: cloud9.service: Main process exited,
>> code=exited, status=1/FAILURE
>> Jan 04 19:45:12 ece312 systemd[1]: cloud9.service: Failed with result
>> 'exit-code'.
>>
>> bone$ *cat /ID.txt*
>> BeagleBoard.org Debian Image 2019-12-16
>> bone $ *uname -a*
>> Linux ece312 4.19.79-ti-r30 #1buster SMP PREEMPT Mon Nov 4 20:38:01 UTC
>> 2019 armv7l GNU/Linux
>>
>> Or is there a better way to turn off cloud9 access and restore it later?
>>
>> --Mark
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/3b39975d-e122-4af4-905f-97cd11ffa8e4%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/3b39975d-e122-4af4-905f-97cd11ffa8e4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
https://beagleboard.org/about - a 501c3 non-profit educating around open
hardware computing

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CA%2BT6QPn1PiKqitK6GLi4rMoiF7hYcHJj_XsSbM6bdBvrHPALcQ%40mail.gmail.com.

Reply via email to