Comments (1)
I just ran into this issue, interestly only when using systemd to start my daemon:
root@koredex:~# systemctl status koredex
● koredex.service - KoreDEX
Loaded: loaded (/etc/systemd/system/koredex.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2017-11-15 18:59:03 UTC; 2s ago
Process: 26021 ExecStart=/home/koredex/KoreDEX/backend/bin/koredex --host <redacted> --public-port 80 (code=exited, status=1/FAILURE)
Main PID: 26021 (code=exited, status=1/FAILURE)
CPU: 7ms
Nov 15 18:59:03 koredex systemd[1]: Started KoreDEX.
Nov 15 18:59:03 koredex koredex[26021]: koredex: getLoginName: illegal operation (Inappropriate ioctl for device)
Nov 15 18:59:03 koredex systemd[1]: koredex.service: Main process exited, code=exited, status=1/FAILURE
Nov 15 18:59:03 koredex systemd[1]: koredex.service: Unit entered failed state.
Nov 15 18:59:03 koredex systemd[1]: koredex.service: Failed with result 'exit-code'.
However, when I run the daemon in a terminal session, everything works fine.
from unix.
Related Issues (20)
- timestamp conversion looses too much precision HOT 1
- Make current maintainers explicit HOT 3
- Using on MacOS / iOS - semTrywait: invalid argument (Bad file descriptor) HOT 3
- Release Planning: unix-2.7.3 (GHC 9.4.1) HOT 4
- `GroupEntry`/`UserEntry` uses String (even in ByteString variants) HOT 3
- Reduce String/ByteString/PosixString variants HOT 5
- RELEASE 2.7.3 HOT 6
- Consider using CirrusCI for AArch64 CI? HOT 3
- System.Posix.Semaphore.semThreadWait polls unnecessarily with threaded RTS
- Remove config.sub
- Revitalise System.Posix.DynamicLinker.Module
- Consider paring down the set of output modes HOT 7
- Include GHC 9.4 in CI ? HOT 4
- System library dependencies not documented HOT 3
- Build error with wasm32-wasi: system `wasi' not recognized HOT 11
- `unix-2.8` release for GHC 9.6 HOT 4
- `System.Posix.Env.ByteString.getEnvironment` segfaults on empty environment HOT 5
- NetBSD CI broken HOT 1
- System.Posix.User stopped exporting UserEntry HOT 3
- Should `mkstemp` use `throwErrnoIfMinus1Retry` instead of `throwErrnoIfMinus1`? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unix.