Bug 32808 - couchdb does not work - can't access erlang
Summary: couchdb does not work - can't access erlang
Status: RESOLVED DUPLICATE of bug 32481
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 17:48 CET by Stig-Ørjan Smelror
Modified: 2024-02-06 09:49 CET (History)
0 users

See Also:
Source RPM: couchdb-3.2.2-2.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Stig-Ørjan Smelror 2024-02-05 17:48:25 CET
$ couchdb
cat: /usr/bin/../releases/start_erl.data: No such file or directory
/usr/bin/couchdb: line 49: /usr/bin/../erts-/bin/erlexec: No such file or directory

$ sudo systemctl status couchdb
× couchdb.service - CouchDB Server
     Loaded: loaded (/usr/lib/systemd/system/couchdb.service; disabled; preset: disabled)
     Active: failed (Result: exit-code) since Mon 2024-02-05 17:44:35 CET; 16s ago
   Duration: 345ms
    Process: 3578521 ExecStart=/usr/bin/erl +Bd -noinput -sasl errlog_type error +K true +A 4 -couch_ini /etc/couchdb/default.ini /etc/couchdb/local.ini -s couch -pidfile /var/run/couchdb/couchdb.pid -heart (code=exited, status=1/FAILURE)
   Main PID: 3578521 (code=exited, status=1/FAILURE)
        CPU: 263ms

Feb 05 17:44:34 phoenix systemd[1]: couchdb.service: Main process exited, code=exited, status=1/FAILURE
Feb 05 17:44:34 phoenix systemd[1]: couchdb.service: Failed with result 'exit-code'.
Feb 05 17:44:35 phoenix systemd[1]: couchdb.service: Scheduled restart job, restart counter is at 5.
Feb 05 17:44:35 phoenix systemd[1]: Stopped couchdb.service.
Feb 05 17:44:35 phoenix systemd[1]: couchdb.service: Start request repeated too quickly.
Feb 05 17:44:35 phoenix systemd[1]: couchdb.service: Failed with result 'exit-code'.
Feb 05 17:44:35 phoenix systemd[1]: Failed to start couchdb.service.


There is also this when installing it:
/usr/lib/tmpfiles.d/couchdb.conf:1: Line references path below legacy directory /var/run/, updating /var/run/couchdb → /run/couchdb; please update the tmpfiles.d/ drop-in file accordingly.



I believe it to be the same for Cauldron because it has the same version as MGA9.
Comment 1 katnatek 2024-02-05 18:37:58 CET
We have other bug about this
Did you test with packages in https://bugs.mageia.org/show_bug.cgi?id=32481#c3 ?
Comment 2 Stig-Ørjan Smelror 2024-02-06 09:49:53 CET
(In reply to katnatek from comment #1)
> We have other bug about this
> Did you test with packages in
> https://bugs.mageia.org/show_bug.cgi?id=32481#c3 ?

Thanks. I forgot the check for other bugs before submitting mine :-)

*** This bug has been marked as a duplicate of bug 32481 ***

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.