Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416345 - net-misc/rabbitmq-server-2.8.1 failed to start
Summary: net-misc/rabbitmq-server-2.8.1 failed to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-17 05:37 UTC by Maxim Treskin
Modified: 2012-09-03 16:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for net-misc/rabbitmq-server/files/rabbitmq-script-wrapper (wrapper_416345.patch,355 bytes, patch)
2012-05-17 05:39 UTC, Maxim Treskin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Treskin 2012-05-17 05:37:18 UTC
Init script of rabbitmq-server crashes:


#>> /etc/init.d/rabbitmq start 
 * Starting RabbitMQ ...
Error: invalid command 'BOOT_IMAGE=/kernel-genkernel-x86_64-3.3.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:/dev/mapper/vg_mtreskin-lv_swap real_resume=
/dev/mapper/vg_mtreskin-lv_swap dolvm root=/dev/mapper/vg_mtreskin-lv_root docrypt status'
Error: invalid command 'BOOT_IMAGE=/kernel-genkernel-x86_64-3.3.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=us domdadm resume=swap:/dev/mapper/vg_mtreskin-lv_swap real_resume=
/dev/mapper/vg_mtreskin-lv_swap dolvm root=/dev/mapper/vg_mtreskin-lv_root docrypt wait /var/run/rabbitmq.pid'
Usage:
rabbitmqctl [-n <node>] [-q] <command> [<command options>] 

Options:
    -n node
    -q

Default node is "rabbit@server", where server is the local host. On a host 
named "server.example.com", the node name of the RabbitMQ Erlang node will 
usually be rabbit@server (unless RABBITMQ_NODENAME has been set to some 
non-default value at broker startup time). The output of hostname -s is usually 
the correct suffix to use after the "@" sign. See rabbitmq-server(1) for 
details of configuring the RabbitMQ broker.

Quiet output mode is selected with the "-q" flag. Informational messages are 
suppressed when quiet mode is in effect.

Commands:
    stop [<pid_file>]
    stop_app
    start_app
    wait <pid_file>
    reset
    force_reset
    rotate_logs <suffix>

    cluster <clusternode> ...
    force_cluster <clusternode> ...
    cluster_status

    add_user <username> <password>
    delete_user <username>
    change_password <username> <newpassword>
    clear_password <username>
    set_user_tags <username> <tag> ...
    list_users

    add_vhost <vhostpath>
    delete_vhost <vhostpath>
    list_vhosts [<vhostinfoitem> ...]
    set_permissions [-p <vhostpath>] <user> <conf> <write> <read>
    clear_permissions [-p <vhostpath>] <username>
    list_permissions [-p <vhostpath>]
    list_user_permissions [-p <vhostpath>] <username>

    list_queues [-p <vhostpath>] [<queueinfoitem> ...]
    list_exchanges [-p <vhostpath>] [<exchangeinfoitem> ...]
    list_bindings [-p <vhostpath>] [<bindinginfoitem> ...]
    list_connections [<connectioninfoitem> ...]
    list_channels [<channelinfoitem> ...]
    list_consumers [-p <vhostpath>]
    status
    environment
    report
    eval <expr>

    close_connection <connectionpid> <explanation>
    trace_on [-p <vhost>]
    trace_off [-p <vhost>]
    set_vm_memory_high_watermark <fraction>

<vhostinfoitem> must be a member of the list [name, tracing].

The list_queues, list_exchanges and list_bindings commands accept an optional 
virtual host parameter for which to display results. The default value is "/".

<queueinfoitem> must be a member of the list [name, durable, auto_delete, 
arguments, pid, owner_pid, exclusive_consumer_pid, exclusive_consumer_tag, 
messages_ready, messages_unacknowledged, messages, consumers, memory, 
slave_pids, synchronised_slave_pids].

<exchangeinfoitem> must be a member of the list [name, type, durable, 
auto_delete, internal, arguments].

<bindinginfoitem> must be a member of the list [source_name, source_kind, 
destination_name, destination_kind, routing_key, arguments].

<connectioninfoitem> must be a member of the list [pid, name, address, port, 
peer_address, peer_port, ssl, ssl_protocol, ssl_key_exchange, ssl_cipher, 
ssl_hash, peer_cert_subject, peer_cert_issuer, peer_cert_validity, 
last_blocked_by, last_blocked_age, state, channels, protocol, auth_mechanism, 
user, vhost, timeout, frame_max, client_properties, recv_oct, recv_cnt, 
send_oct, send_cnt, send_pend].

<channelinfoitem> must be a member of the list [pid, connection, name, number, 
user, vhost, transactional, confirm, consumer_count, messages_unacknowledged, 
messages_uncommitted, acks_uncommitted, messages_unconfirmed, prefetch_count, 
client_flow_blocked].

                                                                                                                                                                                                                                                         [ !! ]
 * ERROR: rabbitmq failed to start


Reproducible: Always

Steps to Reproduce:
1. Install net-misc/rabbitmq-server
2. Run /etc/init.d/rabbitmq start
Comment 1 Maxim Treskin 2012-05-17 05:39:47 UTC
Created attachment 312079 [details, diff]
Patch for net-misc/rabbitmq-server/files/rabbitmq-script-wrapper

Patch submitted
Comment 2 Ultrabug gentoo-dev 2012-09-03 16:01:27 UTC
Hi Maxim, thanks a lot for poiting this out and for your patience, it's fixed in tree.

+*rabbitmq-server-2.8.6 (03 Sep 2012)
+
+  03 Sep 2012; Ultrabug <ultrabug@gentoo.org> -rabbitmq-server-2.8.1-r1.ebuild,
+  rabbitmq-server-2.8.4.ebuild, rabbitmq-server-2.8.5.ebuild,
+  +rabbitmq-server-2.8.6.ebuild, files/rabbitmq.service,
+  files/rabbitmq-script-wrapper:
+  Drop old. Add GPL-2 LICENSE fix #426092. Enhanced systemd service file fix
+  #419531 and init script fix #416345 thx to Maksim Melnikau. Fix #430510 VCS
+  fetching in compilation. Fix #430508 parallel building. Version bump.
+
Comment 3 Ultrabug gentoo-dev 2012-09-03 16:03:18 UTC
Just saw that I mistook your name with another bug, sorry about that and thx again mate !