eclipse-iofog / iofog-operator Goto Github PK
View Code? Open in Web Editor NEWLicense: Eclipse Public License 2.0
License: Eclipse Public License 2.0
The default PID file directory may not be writable, then the controller fails to start up:
Error: EACCES: permission denied, open '/usr/local/lib/node_modules/iofogcontroller/src/iofog-controller.pid'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at Object.run (/usr/local/lib/node_modules/iofogcontroller/src/server.js:188:12)
at jobs.forEach (/usr/local/lib/node_modules/iofogcontroller/src/server.js:127:31)
at Array.forEach (<anonymous>)
at Server.onStart (/usr/local/lib/node_modules/iofogcontroller/src/server.js:127:10)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:106:13)
at Server.emit (events.js:208:7)
at emitListeningNT (net.js:1387:10)
at _combinedTickCallback (internal/process/next_tick.js:136:11)
at process._tickDomainCallback (internal/process/next_tick.js:219:9)
The path of the PID file should be configurable, or point to a dedicated PID file directory by default. The current default seems to be /usr/local/lib/node_modules/iofogcontroller/src/iofog-controller.pid
, which may be immutable.
Error: listen EACCES 0.0.0.0:80
at Server.setupListenHandle [as _listen2] (net.js:1343:19)
at listenInCluster (net.js:1401:12)
at Server.listen (net.js:1485:7)
at Function.listen (/usr/local/lib/node_modules/iofogcontroller/node_modules/express/lib/application.js:618:24)
at startHttpServer (/usr/local/lib/node_modules/iofogcontroller/src/server.js:116:36)
at initState.then (/usr/local/lib/node_modules/iofogcontroller/src/server.js:199:7)
at <anonymous>
I think there should be a way to configure the viewer port using the VIEWER_PORT
variable.
Testing desc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.