-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Couch soft crashes and restart fails to bind to port #3958
Comments
@digimbyte thanks for your report. Is it easy to reproduce. Something like: make sure it's running, then kill its main process and when it restarts this happens? The Check and see what is running or bound to that port when the error happens. That is to see if it's a permissions issue (like a firewall rule) or because something else is bound to it. Could it be that the old instance is still running and bound to it or another CouchDB instance (in a container environment)? |
I am experiencing something like this when I upgraded to 3.2.2-2 (standalone). I get a I then reenabled IPV6 and the 3.2.2-2 is working, but now the javascript nano connection is having issues again. I need "epmd" to bind to IPV4, but not sure how to accomplish that. Update: I did follow the epmd erlang trail. The couchdb.service file is setting the environment variable ERL_EPMD_ADDRESS to 127.0.0.1, but epmd does not appear to be using it. Update 2: This may be an issue with changes to the couchdb.service file on Arch Linux. They changed the Environment parameter to the EnvironmentFile parameter which has the ERL_EPMD_ADDRESS in /etc/default/couchdb. When I removed the env. variable from /etc/default/couchdb, the server started without errors. This env. var was NOT in the previous version's Environment parameter. Arch Linux - kernel 5.18.2 |
Hi, so it's an Arch Linux behavior? |
I put a bug post into arch linux but no one has responded to it yet. I would say the epmd issue not using the environment variable as described is not an arch issue. Given that it is 127.0.0.1, it should not be trying with ::1 |
I had this issue on Debian Buster as well - in a production environment.
was catastrophic
…On Tue, Jul 5, 2022 at 9:42 AM trames57 ***@***.***> wrote:
I put a bug post into arch linux but no one has responded to it yet. I
would say the epmd issue not using the environment variable as described is
not an arch issue. Given that it is 127.0.0.1, it should not be trying with
::1
—
Reply to this email directly, view it on GitHub
<#3958 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSWNFEM7CNLAWH5P7KFTLLVSNZH3ANCNFSM5QS3OWRA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Description
CouchDB service is running but has failed to bind to port even after restarting the service
Steps to Reproduce
install on Debian Buster, setup with standard dedicated database
Expected Behaviour
Server to be active, bound to port and reporting well when I run status
Your Environment
NGINX setup for front websites
the port is open, have used CouchDB web panel before
after possible crash or restart - software will not bind to port
this is the second time it has happened, last time it was fixed by resetting the admin password.
Additional Context
I can't seem to get logging to log anything
output from console:
The text was updated successfully, but these errors were encountered: