Giter Site home page Giter Site logo

Failed to start lemmy_bb about lemmybb HOT 9 CLOSED

lemmynet avatar lemmynet commented on June 20, 2024
Failed to start lemmy_bb

from lemmybb.

Comments (9)

Nutomic avatar Nutomic commented on June 20, 2024 1

There shouldnt be any .conf.save file, it was probably created by your editor. You can safely delete it.

from lemmybb.

Tealk avatar Tealk commented on June 20, 2024

What does the log say?
journalctl -u lemmy_bb.service

from lemmybb.

nixoye avatar nixoye commented on June 20, 2024

@Tealk

 systemd[1]: lemmy_bb.service: Failed with result 'exit-code'.
 systemd[1]: lemmy_bb.service: Scheduled restart job, restart counter is at 3.
 systemd[1]: Stopped lemmy_bb.
 systemd[1]: Started lemmy_bb.
 systemd[1]: lemmy_bb.service: Main process exited, code=exited, status=203/EXEC
systemd[1]: lemmy_bb.service: Failed with result 'exit-code'.
systemd[1]: lemmy_bb.service: Scheduled restart job, restart counter is at 4.
systemd[1]: Stopped lemmy_bb.
systemd[1]: Started lemmy_bb.
 systemd[955]: lemmy_bb.service: Failed to locate executable /opt/lemmyBB/target/release/lemmy_bb: No such>
systemd[955]: lemmy_bb.service: Failed at step EXEC spawning /opt/lemmyBB/target/release/lemmy_bb: No suc>
 systemd[1]: lemmy_bb.service: Main process exited, code=exited, status=203/EXEC
ystemd[1]: lemmy_bb.service: Failed with result 'exit-code'.
 systemd[1]: lemmy_bb.service: S

from lemmybb.

Nutomic avatar Nutomic commented on June 20, 2024

Seems like the file /opt/lemmyBB/target/release/lemmy_bb doesnt exist. Did you run cargo build --release? Maybe you used a different folder?

from lemmybb.

nixoye avatar nixoye commented on June 20, 2024

@Nutomic I did. I followed the instructions step by step. The status number in the error is now 101

systemctl status lemmy_bb.service
× lemmy_bb.service - lemmy_bb
     Loaded: loaded (/etc/systemd/system/lemmy_bb.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-12-22 17:05:47 UTC; 1min 15s ago
   Duration: 7ms
    Process: 1018 ExecStart=/opt/lemmyBB/target/release/lemmy_bb (code=exited, status=101)
   Main PID: 1018 (code=exited, status=101)
        CPU: 3ms

Dec 22 17:05:47 g0v systemd[1]: lemmy_bb.service: Main process exited, code=exited, status=101/n/a
Dec 22 17:05:47 g0v systemd[1]: lemmy_bb.service: Failed with result 'exit-code'.
Dec 22 17:05:47 g0v systemd[1]: lemmy_bb.service: Scheduled restart job, restart counter is at 5.
Dec 22 17:05:47 g0v systemd[1]: Stopped lemmy_bb.
Dec 22 17:05:47 g0v systemd[1]: lemmy_bb.service: Start request repeated too quickly.
Dec 22 17:05:47 g0v systemd[1]: lemmy_bb.service: Failed with result 'exit-code'.
Dec 22 17:05:47 g0v systemd[1]: Failed to start lemmy_bb

from lemmybb.

Nutomic avatar Nutomic commented on June 20, 2024

So does the mentioned file exist at that path or not?

from lemmybb.

Tealk avatar Tealk commented on June 20, 2024

Show us the following output
ls -a /opt/lemmyBB/target/release

from lemmybb.

nixoye avatar nixoye commented on June 20, 2024

sorry, yes it does.

ls -a /opt/lemmyBB/target/release
.   .cargo-lock   build  examples     lemmy_bb
..  .fingerprint  deps   incremental  lemmy_bb.d

from lemmybb.

nixoye avatar nixoye commented on June 20, 2024

@Nutomic after using the updated instructions for lemmybb i fixed my install on the lemmybb side. My only issue now is this unkown directive error for lemmy

FAILED! => {"changed": true, "cmd": "nginx -s reload", "delta": "0:00:00.046506", "end": "2022-12-26 16:42:11.279902", "msg": "non-zero return code", "rc": 1, "start": "2022-12-26 16:42:11.233396", "stderr": "nginx: [emerg] unknown directive \"sdlimit_req_zone\" in /etc/nginx/sites-enabled/lemmybb.conf.save:1", "stderr_lines": ["nginx: [emerg] unknown directive \"sdlimit_req_zone\" in /etc/nginx/sites-enabled/lemmybb.conf.save:1"], "stdout": "", "stdout_lines": []}

edit: i fixed this error by replacing the lemmybb.conf.save with the .conf by saving and replacing over the conf.save manually

from lemmybb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.