Installing Koha on debian 13 failed
Good evening I tried to install Koha on a new debian based server. I failed because rabbidmq-server couldn't be configured: Setting up rabbitmq-server (4.0.5-6+deb13u2) ... Created symlink '/etc/systemd/system/multi-user.target.wants/rabbitmq-server.service' → '/usr/lib/systemd/system/rabbitmq-server.service'. Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xeu rabbitmq-server.service" for details. invoke-rc.d: initscript rabbitmq-server, action "start" failed. ● rabbitmq-server.service - RabbitMQ Messaging Server Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled; preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2026-03-17 16:15:56 CET; 18ms ago Invocation: 1b25014fa7934c3d92e16dd4f22bd900 Process: 20645 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE) Main PID: 20645 (code=exited, status=1/FAILURE) Status: "Standing by" Mem peak: 69.5M CPU: 854ms dpkg: error processing package rabbitmq-server (--configure): installed rabbitmq-server package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of koha-common: koha-common depends on rabbitmq-server; however: Package rabbitmq-server is not configured yet. dpkg: error processing package koha-common (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: rabbitmq-server koha-common Error: Sub-process /usr/bin/dpkg returned an error code (1) What went wrong? How to fix?
Hi Beda Koha is NOT YET recommended for use on Debian 13 (Trixie). See https://wiki.koha-community.org/wiki/System_requirements_and_recommendations Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch Am 17.03.26 um 16:30 schrieb Beda Szukics:
Good evening
I tried to install Koha on a new debian based server. I failed because rabbidmq-server couldn't be configured:
Setting up rabbitmq-server (4.0.5-6+deb13u2) ... Created symlink '/etc/systemd/system/multi-user.target.wants/rabbitmq- server.service' → '/usr/lib/systemd/system/rabbitmq-server.service'. Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xeu rabbitmq-server.service" for details. invoke-rc.d: initscript rabbitmq-server, action "start" failed. ● rabbitmq-server.service - RabbitMQ Messaging Server Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled; preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2026-03-17 16:15:56 CET; 18ms ago Invocation: 1b25014fa7934c3d92e16dd4f22bd900 Process: 20645 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE) Main PID: 20645 (code=exited, status=1/FAILURE) Status: "Standing by" Mem peak: 69.5M CPU: 854ms dpkg: error processing package rabbitmq-server (--configure): installed rabbitmq-server package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of koha-common: koha-common depends on rabbitmq-server; however: Package rabbitmq-server is not configured yet.
dpkg: error processing package koha-common (--configure): dependency problems - leaving unconfigured
Errors were encountered while processing: rabbitmq-server koha-common Error: Sub-process /usr/bin/dpkg returned an error code (1)
What went wrong? How to fix?
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi You wrote:
I had the choise to use version 12 or 13. I tried both. The results are the same.
I'm not sure what your problem is. 1. What version of Koha do you try to install? 2. However, I just found out I had a very similar problem years ago when I tried to install Koha 21.11 and 22.05 on Debian GNU/Linux 11. See the following thread: https://lists.koha-community.org/pipermail/koha-devel/2022-August/047246.htm... The solution that eventually worked for me is described here: https://lists.koha-community.org/pipermail/koha-devel/2022-August/047260.htm... But maybe the other messages in the thread will also help. Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch Am 17.03.26 um 16:30 schrieb Beda Szukics:
Good evening
I tried to install Koha on a new debian based server. I failed because rabbidmq-server couldn't be configured:
Setting up rabbitmq-server (4.0.5-6+deb13u2) ... Created symlink '/etc/systemd/system/multi-user.target.wants/rabbitmq- server.service' → '/usr/lib/systemd/system/rabbitmq-server.service'. Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xeu rabbitmq-server.service" for details. invoke-rc.d: initscript rabbitmq-server, action "start" failed. ● rabbitmq-server.service - RabbitMQ Messaging Server Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled; preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2026-03-17 16:15:56 CET; 18ms ago Invocation: 1b25014fa7934c3d92e16dd4f22bd900 Process: 20645 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE) Main PID: 20645 (code=exited, status=1/FAILURE) Status: "Standing by" Mem peak: 69.5M CPU: 854ms dpkg: error processing package rabbitmq-server (--configure): installed rabbitmq-server package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of koha-common: koha-common depends on rabbitmq-server; however: Package rabbitmq-server is not configured yet.
dpkg: error processing package koha-common (--configure): dependency problems - leaving unconfigured
Errors were encountered while processing: rabbitmq-server koha-common Error: Sub-process /usr/bin/dpkg returned an error code (1)
What went wrong? How to fix?
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Am 17.03.2026 um 18:00 schrieb Michael Kuhn:
I had the choise to use version 12 or 13. I tried both. The results are the same.
I'm not sure what your problem is.
1. What version of Koha do you try to install?
25.11
2. However, I just found out I had a very similar problem years ago when I tried to install Koha 21.11 and 22.05 on Debian GNU/Linux 11. See the following thread:
https://lists.koha-community.org/pipermail/koha-devel/2022-August/047246.htm...
The solution that eventually worked for me is described here:
https://lists.koha-community.org/pipermail/koha-devel/2022-August/047260.htm...
It seems that the hostname is part of the problem: /var/log/rabbitmq/rabbitmq-server.error.log has multiple: BOOT FAILED =========== ERROR: epmd error for host 34806: timeout (timed out) Kernel pid terminated (application_controller) ("{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{epmd_error,\"34806\",timeout}}},{rabbit_prelaunch_app,start,[normal,[]]}}}") Crash dump is being written to: erl_crash.dump...done my /etc/hosts: 127.0.0.1 localhost 127.0.1.1 34806.hostserv.eu 34806 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters Thank you Beda
participants (2)
-
Beda Szukics -
Michael Kuhn