1

Yesturday I've been looking for the way to increase the sending/receiving speed of my rabbitmq app and changed something so after 10 minutes my OS(ubuntu) said that there are only 100mb free diskspace. where are these files or folders I must delete?

And the more actual question is how to run rabbitmq-server. Previously it's been starting at the starting of system. Now it is not so and when I'm trying to start it as descrybed here and see the following in the console:

mikhail@mikhail-GA-880GA-UD3H:~$ sudo rabbitmq-server -detached
Warning: PID file not written; -detached was passed.

when I've tryed to do what is told here I've received the following:

* Starting message broker rabbitmq-server                                       
* FAILED - check /var/log/rabbitmq/startup_\{log, _err\}
                                                                         [fail]
invoke-rc.d: initscript rabbitmq-server, action "start" failed.

In the log file is the following:

{"could not start kernel pid",application_controller,"error in config file \"/etc/rabbitmq/rabbitmq.config\" (none): no ending <dot> found"}

In the startup_err file is the following:

Crash dump was written to: erl_crash.dump
could not start kernel pid (application_controller) (error in config file "/etc/rabbitmq/rabbitmq.config" (none): no ending <dot> found)

UPD: I removed my /config file and something began working but not wel now when I'm trying to build server i get the following:

mikhail@mikhail-GA-880GA-UD3H:~/rabbitmq-server$ make
Makefile:372: deps.mk: Нет такого файла или каталога //no such file or catalog
python codegen.py body ../rabbitmq-codegen//amqp-rabbitmq-0.9.1.json ../rabbitmq-codegen//credit_extension.json src/rabbit_framing_amqp_0_9_1.erl
Traceback (most recent call last):
  File "codegen.py", line 590, in <module>
    "body": generateErl})
  File "../rabbitmq-codegen/amqp_codegen.py", line 283, in do_main_dict
    execute(funcDict[function], sources, dest)
  File "../rabbitmq-codegen/amqp_codegen.py", line 258, in execute
    f = open(out_file, 'w')
IOError: [Errno 13] Permission denied: 'src/rabbit_framing_amqp_0_9_1.erl'
make: *** [src/rabbit_framing_amqp_0_9_1.erl] Ошибка 1 //error 1
4

2 回答 2

9

作为参考,由于这个问题和他的答案在搜索引擎中得到了很好的索引,因此该消息(none): no ending <dot> found意味着两件事:

a) 配置文件被解释为 erlang 配置文件,因此在该语言中应该是有效的。这是在 3.7.0+ 版本之前配置 RabbitMQ 的首选方式。前任:

[
    {rabbit, [{ssl_options, [{cacertfile,           "/path/to/testca/cacert.pem"},
                             {certfile,             "/path/to/server/cert.pem"},
                             {keyfile,              "/path/to/server/key.pem"},
                             {verify,               verify_peer},
                             {fail_if_no_peer_cert, true}]}]}
].

如果您喜欢新的配置格式(sysctl 格式),请重命名您的*.configin*.conf

b) 由于这是 Erlang 配置文件,因此您必须在末尾包含一个点(参见上面的示例)

来源:https ://www.rabbitmq.com/configure.html

于 2018-09-03T12:01:23.023 回答
2

{"could not start kernel pid",application_controller,"error in config file \"/etc/rabbitmq/rabbitmq.config\" (none): no ending found"}

you have invalid config no ending found

IOError: [Errno 13] Permission denied: 'src/rabbit_framing_amqp_0_9_1.erl'

you don't have a permission to write to file, run make with sudo or change destination directory

于 2013-07-05T19:00:37.070 回答