Skip to content

should have nginx error solution in the document.  #93

Open

Description

@mave99a
kiranmaniya@Kirans-MacBook-Pro magiclink % abtnode start
:information_source: Node did from config zNKnVV7jDHnpm8utuSRsrv4mi6MpitprU3ia
:information_source: Load config from /Users/kiranmaniya/Projects/BlockChain/magiclink/.abtnode/abtnode.yml
:heavy_check_mark: ABT Node DB Proxy ready on port 40404
:heavy_check_mark: ABT Node Updater ready on port 40405
:heavy_check_mark: Dashboard HTTPS certificate was downloaded successfully!
:heavy_multiplication_x: ABT Node start failed due to error: exec /usr/local/bin/nginx -c /Users/kiranmaniya/Projects/BlockChain/magiclink/.abtnode/router/nginx/nginx.conf -p /Users/kiranmaniya/Projects/BlockChain/magiclink/.abtnode/router/nginx error: could not open error log file: open() “/usr/local/var/log/nginx/error.log” failed (13: Permission denied);37144#0: the “user” directive makes sense only if the master process runs with super-user privileges, ignored in /Users/kiranmaniya/Projects/BlockChain/magiclink/.abtnode/router/nginx/nginx.conf:3;bind() to 0.0.0.0:443 failed (48: Address already in use);bind() to 0.0.0.0:80 failed (48: Address already in use);still could not bind()
:information_source: You can run abtnode start again to fix error if it’s router related.
kiranmaniya@Kirans-MacBook-Pro magiclink % abtnode start
:information_source: Node did from config zNKnVV7jDHnpm8utuSRsrv4mi6MpitprU3ia
:information_source: Load config from /Users/kiranmaniya/Projects/BlockChain/magiclink/.abtnode/abtnode.yml
:heavy_check_mark: ABT Node DB Proxy ready on port 40404
:heavy_check_mark: ABT Node Updater ready on port 40405
:heavy_check_mark: Starting ABT Node Service... Done in 8.133s
:heavy_multiplication_x: Starting ABT Node Daemon... Fail in 25.111s
:heavy_multiplication_x: ABT Node start failed due to error: the service is not ready within 25 seconds, please check your network
:information_source: You can run abtnode start again to fix error if it’s router related.
kiranmaniya@Kirans-MacBook-Pro magiclink %

Our external dev hit this nginx issue.
it seemed it’s common issue. maybe we should add the solution to our document

Activity

  1. self-assigned this
    on May 20, 2021
  2. binsta commented on Jul 26, 2021

    @binsta

    Check the exception
    abtnode start
    ℹ Node did from config zNKXPJ6s43pXG1t8HUvtk4x6DDbqw7PFfXu5
    ℹ Load config from /home/binston/Public/webapp/abt/.abtnode/abtnode.yml
    ✔ ABT Node DB Proxy ready on port 40404
    ✔ ABT Node Event Hub ready on port 40407
    ✔ ABT Node Updater ready on port 40405
    ✖ Your nginx routing provider is not available, please make sure the provider is available before you start ABT Node.
    ✖ None available details: Nginx is running, please stop it first
    ✖ You can refer to this document to solve the problem: https://docs.arcblock.io/abtnode

  3. polunzh commented on Jul 30, 2021

    @polunzh
    Contributor

    Check the exception
    abtnode start
    ℹ Node did from config zNKXPJ6s43pXG1t8HUvtk4x6DDbqw7PFfXu5
    ℹ Load config from /home/binston/Public/webapp/abt/.abtnode/abtnode.yml
    ✔ ABT Node DB Proxy ready on port 40404
    ✔ ABT Node Event Hub ready on port 40407
    ✔ ABT Node Updater ready on port 40405
    ✖ Your nginx routing provider is not available, please make sure the provider is available before you start ABT Node.
    ✖ None available details: Nginx is running, please stop it first
    ✖ You can refer to this document to solve the problem: https://docs.arcblock.io/abtnode

    This error means that there is a nginx process on your computer, but it is not owned by abtnode.
    So you can check to see if there is a running nginx, and if so, stop it.

  4. wangshijun commented on Jul 30, 2021

    @wangshijun
    Contributor

    @binsta Seems a nginx daemon process is already running on your machine, a controlled nginx is required by ABT Node router to work properly, please terminate that nginx daemon process before try again.

  5. binsta commented on Jul 30, 2021

    @binsta

    Thanks its work fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions