Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should have nginx error solution in the document. #93

Open
mave99a opened this issue May 20, 2021 · 4 comments
Open

should have nginx error solution in the document. #93

mave99a opened this issue May 20, 2021 · 4 comments
Assignees

Comments

@mave99a
Copy link

mave99a commented May 20, 2021

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

@polunzh polunzh self-assigned this May 20, 2021
@binsta
Copy link

binsta commented Jul 26, 2021

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

@polunzh
Copy link
Contributor

polunzh commented Jul 30, 2021

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.

@wangshijun
Copy link
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.

@binsta
Copy link

binsta commented Jul 30, 2021

Thanks its work fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants