https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37545

--- Comment #5 from José Anjos <[email protected]> ---
I've found this bug:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34070
He suggest to do some commands from here:
https://stackoverflow.com/questions/58689551/rabbitmq-vhost-is-down-for-user-xyz-even-after-user-has-all-access

I've empty the log and did:
sudo rabbitmqctl list_queues --offline state name
[sudo] password for koha: 
Timeout: 60.0 seconds ...
Listing queues for vhost / ...
state   name
down    koha_koha-long_tasks
down    koha_koha-batch_authority_record_modification
down    koha_koha-default
down    koha_koha-batch_biblio_record_modification


sudo rabbitmqctl restart_vhost
Trying to restart vhost '/' on node 'rabbit@biblioteca' ...
Error:
Failed to start vhost '/' on node 'rabbit@biblioteca'Reason: {:shutdown,
{:failed_to_start_child, :rabbit_vhost_process, {:badmatch, {:error,
{{{:badmatch, {:error, {:not_a_dets_file,
'/var/lib/rabbitmq/mnesia/rabbit@biblioteca/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets'}}},
[{:rabbit_recovery_terms, :open_table, 1, [file:
'src/rabbit_recovery_terms.erl', line: 199]}, {:rabbit_recovery_terms, :init,
1, [file: 'src/rabbit_recovery_terms.erl', line: 179]}, {:gen_server, :init_it,
2, [file: 'gen_server.erl', line: 374]}, {:gen_server, :init_it, 6, [file:
'gen_server.erl', line: 342]}, {:proc_lib, :init_p_do_apply, 3, [file:
'proc_lib.erl', line: 249]}]}, {:child, :undefined, :rabbit_recovery_terms,
{:rabbit_recovery_terms, :start_link, ["/"]}, :transient, 30000, :worker,
[:rabbit_recovery_terms]}}}}}}

sudo rabbitmqctl stop_app
Stopping rabbit application on node rabbit@biblioteca ...

koha@biblioteca:/var/log/koha/koha$ sudo rabbitmqctl reset
Resetting node rabbit@biblioteca ...

koha@biblioteca:/var/log/koha/koha$ sudo rabbitmqctl start_app
Starting node rabbit@biblioteca ...
 completed with 1 plugins.

koha@biblioteca:/var/log/koha/koha$ sudo rabbitmqctl restart_vhost
Trying to restart vhost '/' on node 'rabbit@biblioteca' ...
Vhost '/' is already running on node 'rabbit@biblioteca'

sudo rabbitmqctl list_permissions --vhost /
Listing permissions for vhost "/" ...
user    configure       write   read
guest   .*      .*      .*


Now I will wait to see if the log keep growing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to