satheeshp2e commented on issue #4421:
URL: https://github.com/apache/couchdb/issues/4421#issuecomment-1431556003

   After disabling ipv6, here is the output of ip command.
   $ ip a
   1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
       link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
       inet 127.0.0.1/8 scope host lo
          valid_lft forever preferred_lft forever
       inet6 ::1/128 scope host 
          valid_lft forever preferred_lft forever
   2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group 
default qlen 1000
       link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
       inet xx.x.xx.x/20 metric 100 brd 10.0.15.255 scope global dynamic ens5
          valid_lft 2869sec preferred_lft 2869sec
   3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state 
DOWN group default 
       link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
       inet xxx.xx.x.x/16 brd xxx.xx.xxx.xxx scope global docker0
          valid_lft forever preferred_lft forever
   
   With this, when starting couchdb service, bind error is not seen, but 
couchdb is not listening on 5984 and it keeps changing the process id.
   
   $ ps -aef | grep couchdb
   couchdb   661190       1  0 14:56 ?        00:00:00 
/opt/couchdb/bin/../erts-12.3.2.7/bin/beam.smp -K true -A 16 -Bd -- -root 
/opt/couchdb/bin/.. -progname couchdb -- -home /opt/couchdb -- -boot 
/opt/couchdb/bin/../releases/3.3.1/couchdb -name [email protected] -setcookie 5 
-kernel inet_dist_use_interface {127,0,0,1} -kernel error_logger silent -sasl 
sasl_error_logger false -noshell -noinput -smp enable -ssl session_lifetime 300 
-- -config /opt/couchdb/bin/../releases/3.3.1/sys.config --
   couchdb   661201       1  0 14:56 ?        00:00:00 
/opt/couchdb/bin/../erts-12.3.2.7/bin/epmd -daemon
   couchdb   661220  661190  0 14:56 ?        00:00:00 erl_child_setup 65536
   
   $ ps -aef | grep couchdb
   couchdb   661241       1  0 14:56 ?        00:00:00 
/opt/couchdb/bin/../erts-12.3.2.7/bin/beam.smp -K true -A 16 -Bd -- -root 
/opt/couchdb/bin/.. -progname couchdb -- -home /opt/couchdb -- -boot 
/opt/couchdb/bin/../releases/3.3.1/couchdb -name [email protected] -setcookie 5 
-kernel inet_dist_use_interface {127,0,0,1} -kernel error_logger silent -sasl 
sasl_error_logger false -noshell -noinput -smp enable -ssl session_lifetime 300 
-- -config /opt/couchdb/bin/../releases/3.3.1/sys.config --
   couchdb   661252       1  0 14:56 ?        00:00:00 
/opt/couchdb/bin/../erts-12.3.2.7/bin/epmd -daemon
   couchdb   661271  661241  0 14:56 ?        00:00:00 erl_child_setup 65536
   
   **sudo systemctl status couchdb**
   couchdb.service - Apache CouchDB
        Loaded: loaded (/lib/systemd/system/couchdb.service; enabled; vendor 
preset: enabled)
        Active: active (running) since Wed 2023-02-15 15:31:12 UTC; 215ms ago
      Main PID: 703243 (beam.smp)
         Tasks: 37 (limit: 9401)
        Memory: 19.6M
           CPU: 236ms
        CGroup: /system.slice/couchdb.service
                ├─703243 /opt/couchdb/bin/../erts-12.3.2.7/bin/beam.smp -K true 
-A 16 -Bd -- -root /opt/couchdb/bin/.. -progname couchdb -- -home /opt/couchdb 
-- -boot /o>
                ├─703254 /opt/couchdb/bin/../erts-12.3.2.7/bin/epmd -daemon
                └─703273 erl_child_setup 65536
   
   Feb 15 15:31:12 ip-10-0-14-8 systemd[1]: Started Apache CouchDB.
   
   But beam.smp is not listening on 5984 port.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to