mattpr commented on issue #4138:
URL: https://github.com/apache/couchdb/issues/4138#issuecomment-1206630568

   I did find another debconf related issue.
   
   This debconf preseed...
   ```
   couchdb couchdb/bindaddress string  127.0.0.1
   ```
   ...results in...
   ```
   cat /opt/couchdb/etc/default.d/10-bind-address.ini
   
   # Package-introduced bind address
   [chttpd]
   bind_address =  127.0.0.1
   ```
   ...which prevents couchdb from starting due to error...
   ```
   Application chttpd exited with reason: 
{{shutdown,{failed_to_start_child,chttpd,invalid_bind_address}},{chttpd_app,start,[normal,[]]}}
   ```
   
   This is due to an extra space after the `=` and before the `127`.  
Apparently couchdb in 3.2.2 does not trim whitespace from config values.
   
   The solution is to remove ALL extra whitespace in your debconf preseeds 
(single space char only between each token).
   Perhaps the config is trimmed in a later version of couchdb...but still good 
for people to be aware of.  
   
   


-- 
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