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

Services Not Started (svc_add) #167

Closed
OutOfThisPlanet opened this issue Feb 20, 2024 · 2 comments
Closed

Services Not Started (svc_add) #167

OutOfThisPlanet opened this issue Feb 20, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@OutOfThisPlanet
Copy link

OutOfThisPlanet commented Feb 20, 2024

Script
nginx-proxy-manager

Describe the bug

nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: configuration file /usr/local/openresty/nginx/conf/nginx.conf test failed

  • ERROR: openresty failed to start

[ERROR] on line 300 with exit code 1 while executing command svc_add

System info:

  • Proxmox Version: 7.4-17
  • Alpine Version: 3.16

Screenshots

image

image

Additional context

nginx.conf has the line commented out

Installed within Alpine, using this command (it doesn't install otherwise)

 rm -rf /usr/local/share/.cache ; export PATH="$PATH:/usr/local/bin" ; sh -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/install.sh)" -s --app nginx-proxy-manager

Taken from #153 (comment)

@OutOfThisPlanet OutOfThisPlanet added the bug Something isn't working label Feb 20, 2024
@OutOfThisPlanet
Copy link
Author

OutOfThisPlanet commented Feb 20, 2024

It appears to be complaining about IPV6?

I have that entirely disabled on proxmox, my switches, my routers, my clients.
Why? I don't like it. NAT works fine for me.

I shall comment out the IPV6 entry in /etc/network/interfaces to see if that fixes it.
Edit: It didn't.

@OutOfThisPlanet
Copy link
Author

Issue fixed by editing the following files:

/usr/local/openresty/nginx/conf.d/default.conf
/usr/local/openresty/nginx/conf.d/production.conf

Comment out any lines that looks like this:

listen [::]:80
listen [::]:443 ssl
listen [::]:81 default

Then run rc-service openresty start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants