Hi all, Nobody seeing things like this? mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied Look in /var/log/rabbitmq. Does your rabbitmq service start when you run or restart a container? The solution is simple (mkdir and chown), but it needs to be placed somewhere. Marcel
Are you seeing this in koha-testing-docker? Le mar. 16 nov. 2021 à 14:11, Marcel de Rooy <rooy.de.m@gmail.com> a écrit :
Hi all,
Nobody seeing things like this?
mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied
Look in /var/log/rabbitmq. Does your rabbitmq service start when you run or restart a container?
The solution is simple (mkdir and chown), but it needs to be placed somewhere.
Marcel
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
No. In a Docker container with a gitified package install. Op di 16 nov. 2021 om 14:27 schreef Jonathan Druart < jonathan.druart@bugs.koha-community.org>:
Are you seeing this in koha-testing-docker?
Le mar. 16 nov. 2021 à 14:11, Marcel de Rooy <rooy.de.m@gmail.com> a écrit :
Hi all,
Nobody seeing things like this?
mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51:
/usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied
Look in /var/log/rabbitmq. Does your rabbitmq service start when you run
or restart a container?
The solution is simple (mkdir and chown), but it needs to be placed
somewhere.
Marcel
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Looks like we should add this "fix". Before starting the rabbitmq service, rm -rf /var/run/rabbitmq. Tested this in a Docker container, works fine with starting, stopping and restarting. Before that I had issues with rabbit failing to start. See also https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92 Seems that ktd could use it too ? Marcel ---------- Forwarded message --------- Van: Marcel de Rooy <rooy.de.m@gmail.com> Date: di 16 nov. 2021 om 14:11 Subject: Rabbitmq To: koha-devel <koha-devel@lists.koha-community.org> Hi all, Nobody seeing things like this? mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied Look in /var/log/rabbitmq. Does your rabbitmq service start when you run or restart a container? The solution is simple (mkdir and chown), but it needs to be placed somewhere. Marcel
I'm more inclined to make ktd use an external rabbitmq container. But yeah, we could do it El mar., 16 nov. 2021 12:17, Marcel de Rooy <rooy.de.m@gmail.com> escribió:
Looks like we should add this "fix". Before starting the rabbitmq service, rm -rf /var/run/rabbitmq. Tested this in a Docker container, works fine with starting, stopping and restarting. Before that I had issues with rabbit failing to start. See also https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92 Seems that ktd could use it too ?
Marcel ---------- Forwarded message --------- Van: Marcel de Rooy <rooy.de.m@gmail.com> Date: di 16 nov. 2021 om 14:11 Subject: Rabbitmq To: koha-devel <koha-devel@lists.koha-community.org>
Hi all,
Nobody seeing things like this?
mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied
Look in /var/log/rabbitmq. Does your rabbitmq service start when you run or restart a container?
The solution is simple (mkdir and chown), but it needs to be placed somewhere.
Marcel
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Sure! Thats the better approach. Just mentioning how to fix the start failure in the original setup. Op di 16 nov. 2021 om 16:28 schreef Tomas Cohen Arazi <tomascohen@gmail.com
:
I'm more inclined to make ktd use an external rabbitmq container. But yeah, we could do it
El mar., 16 nov. 2021 12:17, Marcel de Rooy <rooy.de.m@gmail.com> escribió:
Looks like we should add this "fix". Before starting the rabbitmq service, rm -rf /var/run/rabbitmq. Tested this in a Docker container, works fine with starting, stopping and restarting. Before that I had issues with rabbit failing to start. See also https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92 Seems that ktd could use it too ?
Marcel ---------- Forwarded message --------- Van: Marcel de Rooy <rooy.de.m@gmail.com> Date: di 16 nov. 2021 om 14:11 Subject: Rabbitmq To: koha-devel <koha-devel@lists.koha-community.org>
Hi all,
Nobody seeing things like this?
mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied
Look in /var/log/rabbitmq. Does your rabbitmq service start when you run or restart a container?
The solution is simple (mkdir and chown), but it needs to be placed somewhere.
Marcel
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
You always say what I want to hear… heh. Yeah, I like the idea of ktd using an external rabbitmq container. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Tomas Cohen Arazi Sent: Wednesday, 17 November 2021 2:28 AM To: Marcel de Rooy <rooy.de.m@gmail.com> Cc: koha-devel <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Fwd: Rabbitmq I'm more inclined to make ktd use an external rabbitmq container. But yeah, we could do it El mar., 16 nov. 2021 12:17, Marcel de Rooy <rooy.de.m@gmail.com <mailto:rooy.de.m@gmail.com> > escribió: Looks like we should add this "fix". Before starting the rabbitmq service, rm -rf /var/run/rabbitmq. Tested this in a Docker container, works fine with starting, stopping and restarting. Before that I had issues with rabbit failing to start. See also https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92 Seems that ktd could use it too ? Marcel ---------- Forwarded message --------- Van: Marcel de Rooy <rooy.de.m@gmail.com <mailto:rooy.de.m@gmail.com> > Date: di 16 nov. 2021 om 14:11 Subject: Rabbitmq To: koha-devel <koha-devel@lists.koha-community.org <mailto:koha-devel@lists.koha-community.org> > Hi all, Nobody seeing things like this? mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied Look in /var/log/rabbitmq. Does your rabbitmq service start when you run or restart a container? The solution is simple (mkdir and chown), but it needs to be placed somewhere. Marcel _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
For what it’s worth, I have other projects where I run RabbitMQ in a separate container, and it’s so nice having that separation. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: dcook@prosentient.com.au <dcook@prosentient.com.au> Sent: Wednesday, 17 November 2021 11:42 AM To: 'Tomas Cohen Arazi' <tomascohen@gmail.com>; 'Marcel de Rooy' <rooy.de.m@gmail.com> Cc: 'koha-devel' <koha-devel@lists.koha-community.org> Subject: RE: [Koha-devel] Fwd: Rabbitmq You always say what I want to hear… heh. Yeah, I like the idea of ktd using an external rabbitmq container. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: Koha-devel <koha-devel-bounces@lists.koha-community.org <mailto:koha-devel-bounces@lists.koha-community.org> > On Behalf Of Tomas Cohen Arazi Sent: Wednesday, 17 November 2021 2:28 AM To: Marcel de Rooy <rooy.de.m@gmail.com <mailto:rooy.de.m@gmail.com> > Cc: koha-devel <koha-devel@lists.koha-community.org <mailto:koha-devel@lists.koha-community.org> > Subject: Re: [Koha-devel] Fwd: Rabbitmq I'm more inclined to make ktd use an external rabbitmq container. But yeah, we could do it El mar., 16 nov. 2021 12:17, Marcel de Rooy <rooy.de.m@gmail.com <mailto:rooy.de.m@gmail.com> > escribió: Looks like we should add this "fix". Before starting the rabbitmq service, rm -rf /var/run/rabbitmq. Tested this in a Docker container, works fine with starting, stopping and restarting. Before that I had issues with rabbit failing to start. See also https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92 Seems that ktd could use it too ? Marcel ---------- Forwarded message --------- Van: Marcel de Rooy <rooy.de.m@gmail.com <mailto:rooy.de.m@gmail.com> > Date: di 16 nov. 2021 om 14:11 Subject: Rabbitmq To: koha-devel <koha-devel@lists.koha-community.org <mailto:koha-devel@lists.koha-community.org> > Hi all, Nobody seeing things like this? mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied Failed to create directory: /var/run/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 51: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied Look in /var/log/rabbitmq. Does your rabbitmq service start when you run or restart a container? The solution is simple (mkdir and chown), but it needs to be placed somewhere. Marcel _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
participants (4)
-
dcook@prosentient.com.au -
Jonathan Druart -
Marcel de Rooy -
Tomas Cohen Arazi