You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/06/06 18:14:46 UTC

[GitHub] [couchdb] WhitewaterDave opened a new issue, #4049: Install fails on Rocky Linux 8.6

WhitewaterDave opened a new issue, #4049:
URL: https://github.com/apache/couchdb/issues/4049

   ## Description
   The installation hangs for several minutes during installation. I had to use CTRL + C to stop the installation.
   
   
   ## Steps to Reproduce
   I followed the steps for Centos/RHEL from the CouchDB Documentation.
   
   ```
   sudo yum install -y yum-utils
   sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
   yum install couchdb
   ```
   I also tried installing 
   
   `dnf install couchdb`
   
   but got the same error.
   
   ## Expected Behaviour
   Normal installation
   
   
   
   ## Your Environment
   Fresh install of Rocky Linux 8.6 (RHEL 8 compatable)
   Hardware: Dell r620, 16-cores, 64Gb Mem, 2.4 Tb SAS RAID 0
   
   
   * CouchDB version used: 3.2.2
   * Browser name and version: none
   * Rocky Linux 8.6
   
   ## Additional Context
   
   ```
   sudo yum install couchdb
   Last metadata expiration check: 0:00:36 ago on Mon 06 Jun 2022 01:56:28 PM EDT.
   Dependencies resolved.
   ================================================================================
    Package          Architecture    Version                Repository        Size
   ================================================================================
   Installing:
    couchdb          x86_64          3.2.2.3-1.el8          couchdb           29 M
   
   Transaction Summary
   ================================================================================
   Install  1 Package
   
   Total download size: 29 M
   Installed size: 75 M
   Is this ok [y/N]: y
   Downloading Packages:
   couchdb-3.2.2.3-1.el8.x86_64.rpm                1.8 MB/s |  29 MB     00:15    
   --------------------------------------------------------------------------------
   Total                                           1.8 MB/s |  29 MB     00:15     
   Running transaction check
   Transaction check succeeded.
   Running transaction test
   Transaction test succeeded.
   Running transaction
     Preparing        :                                                        1/1 
     Running scriptlet: couchdb-3.2.2.3-1.el8.x86_64                           1/1 
     Installing       : couchdb-3.2.2.3-1.el8.x86_64                           1/1 
     Running scriptlet: couchdb-3.2.2.3-1.el8.x86_64                           1/1 
   
   ^CGenerating random cookie value.
   warning: %post(couchdb-3.2.2.3-1.el8.x86_64) scriptlet failed, signal 2
   
   Error in POSTIN scriptlet in rpm package couchdb
   ```
   Pressed CTRL + C at
   
   `^CGenerating random cookie value.`
   


-- 
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: notifications-unsubscribe@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] WhitewaterDave commented on issue #4049: Install fails on Rocky Linux 8.6

Posted by GitBox <gi...@apache.org>.
WhitewaterDave commented on issue #4049:
URL: https://github.com/apache/couchdb/issues/4049#issuecomment-1148078091

   @nickva 
   After fixing the hardware, I had the same problem. Using your answer solved the problem. I used Python to generate the UUID and ran 
   
   `sudo COUCHDB_COOKIE=ed2ed2ca-e5f9-11ec-8afd-74867aed7b98 yum install couchdb`
    
   Thank you
   


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] WhitewaterDave commented on issue #4049: Install fails on Rocky Linux 8.6

Posted by GitBox <gi...@apache.org>.
WhitewaterDave commented on issue #4049:
URL: https://github.com/apache/couchdb/issues/4049#issuecomment-1147903428

   @[nickva](https://github.com/nickva)
    I think my issue is hardware. Shortly after posting this issue, one of the hard drives failed. Even if it's not, I can't continue to troubleshoot this issue until I get a replacement drive and build the drive array. 


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva commented on issue #4049: Install fails on Rocky Linux 8.6

Posted by GitBox <gi...@apache.org>.
nickva commented on issue #4049:
URL: https://github.com/apache/couchdb/issues/4049#issuecomment-1147849484

   @WhitewaterDave during the installation it attempts to create a random cookie value (to ensure the users don't accidentally connect two Erlang cluster together). During that times it reads from /dev/random, so it's possibly it blocked due to a low entropy on a new server instance
   
   See https://github.com/apache/couchdb-pkg/pull/95 for more details on how the behavior is implemented
   
   To avoid having to wait, trying setting your own cookie value with `COUCHDB_COOKIE=$yourownuuidvalue yum install...`
   
   


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva closed issue #4049: Install fails on Rocky Linux 8.6

Posted by GitBox <gi...@apache.org>.
nickva closed issue #4049: Install fails on Rocky Linux 8.6
URL: https://github.com/apache/couchdb/issues/4049


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org