nitter
nitter copied to clipboard
"nitter.service: Failed to locate executable /home/nitter/nitter/nitter: No such file or directory" is displayed.
When I finish configuring systemd and try to run nitter, the message "nitter.service: Failed to locate executable /home/nitter/nitter/nitter: No such file or directory" is displayed. I have the file and execute permission, but I can't execute it. What should I do now?
Sep 03 15:05:08 example.com systemd[5577]: nitter.service: Failed to locate executable /home/nitter/nitter/nitter: No such file or directory
Sep 03 15:05:08 example.com systemd[5577]: nitter.service: Failed at step EXEC spawning /home/nitter/nitter/nitter: No such file or directory
Sep 03 15:05:08 example.com systemd[1]: nitter.service: Main process exited, code=exited, status=203/EXEC
Sep 03 15:05:08 example.com systemd[1]: nitter.service: Failed with result 'exit-code'.
Sep 03 15:05:23 example.com systemd[1]: nitter.service: Scheduled restart job, restart counter is at 1.
Sep 03 15:05:23 example.com systemd[1]: Stopped Nitter (An alternative Twitter front-end).
Sep 03 15:05:23 example.com systemd[1]: Started Nitter (An alternative Twitter front-end).
Sep 03 15:05:23 example.com systemd[5579]: nitter.service: Failed to locate executable /home/nitter/nitter/nitter: No such file or directory
Sep 03 15:05:23 example.com systemd[5579]: nitter.service: Failed at step EXEC spawning /home/nitter/nitter/nitter: No such file or directory
$ journalctl -xeu nitter.service
Sep 03 16:09:31 15171.example.com nitter[7772]: Starting Nitter at http://example.com
Sep 03 16:09:31 15171.example.com nitter[7772]: Connected to Redis at localhost:6379
Sep 03 16:09:31 15171.example.com nitter[7772]: oserrors.nim(92) raiseOSError
Sep 03 16:09:31 15171.example.com nitter[7772]: asyncfutures.nim(433) asyncCheckCallback
Sep 03 16:09:31 15171.example.com nitter[7772]: Error: unhandled exception: Permission denied [OSError]
Sep 03 16:09:31 15171.example.com systemd[1]: nitter.service: Main process exited, code=exited, status=1/FAILURE
Can you do a ls -ahl
in your WorkingDirectory for me?
~/nitter# ls -ahl
drwxr-xr-x 8 root root 4.0K Sep 6 20:47 .
drwx------ 7 root root 4.0K Sep 6 20:49 ..
-rw-r--r-- 1 root root 56 Sep 6 20:37 .dockerignore
drwxr-xr-x 8 root root 4.0K Sep 6 20:37 .git
drwxr-xr-x 3 root root 4.0K Sep 6 20:37 .github
-rw-r--r-- 1 root root 195 Sep 6 20:37 .gitignore
-rw-r--r-- 1 root root 1.7K Sep 6 20:37 .travis.yml
-rw-r--r-- 1 root root 601 Sep 6 20:37 Dockerfile
-rw-r--r-- 1 root root 581 Sep 6 20:37 Dockerfile.arm64
-rw-r--r-- 1 root root 34K Sep 6 20:37 LICENSE
-rw-r--r-- 1 root root 6.4K Sep 6 20:37 README.md
-rw-r--r-- 1 root root 372 Sep 6 20:37 config.nims
-rw-r--r-- 1 root root 1.1K Sep 6 20:37 docker-compose.yml
-rwxr-xr-x 1 root root 5.2M Sep 6 20:45 nitter
-rw-r--r-- 1 root root 1.8K Sep 6 20:47 nitter.conf
-rw-r--r-- 1 root root 1.8K Sep 6 20:37 nitter.example.conf
-rw-r--r-- 1 root root 777 Sep 6 20:37 nitter.nimble
drwxr-xr-x 6 root root 4.0K Sep 6 20:37 public
-rw-r--r-- 1 root root 958K Sep 6 20:37 screenshot.png
drwxr-xr-x 6 root root 4.0K Sep 6 20:37 src
drwxr-xr-x 2 root root 4.0K Sep 6 20:37 tests
drwxr-xr-x 2 root root 4.0K Sep 6 20:46 tools
/home/nitter/nitter# ls -ahl
drwxrwxr-x 8 nitter nitter 4.0K Sep 6 20:33 .
drwxr-x--- 3 nitter nitter 4.0K Sep 6 20:33 ..
-rw-rw-r-- 1 nitter nitter 56 Sep 6 20:33 .dockerignore
drwxrwxr-x 8 nitter nitter 4.0K Sep 6 20:33 .git
drwxrwxr-x 3 nitter nitter 4.0K Sep 6 20:33 .github
-rw-rw-r-- 1 nitter nitter 195 Sep 6 20:33 .gitignore
-rw-rw-r-- 1 nitter nitter 1.7K Sep 6 20:33 .travis.yml
-rw-rw-r-- 1 nitter nitter 601 Sep 6 20:33 Dockerfile
-rw-rw-r-- 1 nitter nitter 581 Sep 6 20:33 Dockerfile.arm64
-rw-rw-r-- 1 nitter nitter 34K Sep 6 20:33 LICENSE
-rw-rw-r-- 1 nitter nitter 6.4K Sep 6 20:33 README.md
-rw-rw-r-- 1 nitter nitter 372 Sep 6 20:33 config.nims
-rw-rw-r-- 1 nitter nitter 1.1K Sep 6 20:33 docker-compose.yml
-rw-rw-r-- 1 nitter nitter 1.8K Sep 6 20:33 nitter.example.conf
-rw-rw-r-- 1 nitter nitter 777 Sep 6 20:33 nitter.nimble
drwxrwxr-x 6 nitter nitter 4.0K Sep 6 20:33 public
-rw-rw-r-- 1 nitter nitter 958K Sep 6 20:33 screenshot.png
drwxrwxr-x 6 nitter nitter 4.0K Sep 6 20:33 src
drwxrwxr-x 2 nitter nitter 4.0K Sep 6 20:33 tests
drwxrwxr-x 2 nitter nitter 4.0K Sep 6 20:33 tools
I copied the nitter file. /home/nitter/nitter# ls -ahl
drwxrwxr-x 8 nitter nitter 4.0K Sep 6 20:58 .
drwxr-x--- 3 nitter nitter 4.0K Sep 6 20:33 ..
-rw-rw-r-- 1 nitter nitter 56 Sep 6 20:33 .dockerignore
drwxrwxr-x 8 nitter nitter 4.0K Sep 6 20:33 .git
drwxrwxr-x 3 nitter nitter 4.0K Sep 6 20:33 .github
-rw-rw-r-- 1 nitter nitter 195 Sep 6 20:33 .gitignore
-rw-rw-r-- 1 nitter nitter 1.7K Sep 6 20:33 .travis.yml
-rw-rw-r-- 1 nitter nitter 601 Sep 6 20:33 Dockerfile
-rw-rw-r-- 1 nitter nitter 581 Sep 6 20:33 Dockerfile.arm64
-rw-rw-r-- 1 nitter nitter 34K Sep 6 20:33 LICENSE
-rw-rw-r-- 1 nitter nitter 6.4K Sep 6 20:33 README.md
-rw-rw-r-- 1 nitter nitter 372 Sep 6 20:33 config.nims
-rw-rw-r-- 1 nitter nitter 1.1K Sep 6 20:33 docker-compose.yml
-rwxr-xr-x 1 root root 5.2M Sep 6 20:58 nitter
-rw-r--r-- 1 root root 1.8K Sep 6 20:53 nitter.conf
-rw-rw-r-- 1 nitter nitter 1.8K Sep 6 20:33 nitter.example.conf
-rw-rw-r-- 1 nitter nitter 777 Sep 6 20:33 nitter.nimble
drwxrwxr-x 6 nitter nitter 4.0K Sep 6 20:33 public
-rw-rw-r-- 1 nitter nitter 958K Sep 6 20:33 screenshot.png
drwxrwxr-x 6 nitter nitter 4.0K Sep 6 20:33 src
drwxrwxr-x 2 nitter nitter 4.0K Sep 6 20:33 tests
drwxrwxr-x 2 nitter nitter 4.0K Sep 6 20:33 tools