-
PS C:\Users\frontend\AppData\Roaming\RabbitMQ> ls
Directory: C:\Users\frontend\AppData\Roaming\RabbitMQ
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2024-04-16 오후 1:48 db
d---- 2024-04-16 오전 9:49 log
-a--- 2024-04-16 오후 1:04 3 advanced.conpig
-a--- 2024-04-16 오전 9:51 71 enabled_plugins
-a--- 2024-04-16 오후 1:49 1149868 erl_crash.dump
-a--- 2024-04-16 오후 1:12 33 rabbitmq.config
PS C:\Users\frontend\AppData\Roaming\RabbitMQ> cat .\rabbitmq.config
classic_queue.default_version = 2
PS C:\Users\frontend\AppData\Roaming\RabbitMQ> rabbitmq-server
2024-04-16 13:50:25.119000+09:00 [error] <0.135.0> Failed to load advanced configuration file "c:/Users/frontend/AppData/Roaming/RabbitMQ/rabbitmq.config": {badfile,
2024-04-16 13:50:25.119000+09:00 [error] <0.135.0> {parse_error,
2024-04-16 13:50:25.119000+09:00 [error] <0.135.0> {1,
2024-04-16 13:50:25.119000+09:00 [error] <0.135.0> erl_parse,
2024-04-16 13:50:25.119000+09:00 [error] <0.135.0> ["syntax error before: ",
2024-04-16 13:50:25.119000+09:00 [error] <0.135.0> "'.'"]}}}
2024-04-16 13:50:25.132000+09:00 [error] <0.135.0>
2024-04-16 13:50:25.132000+09:00 [error] <0.135.0> BOOT FAILED
2024-04-16 13:50:25.132000+09:00 [error] <0.135.0> ===========
2024-04-16 13:50:25.132000+09:00 [error] <0.135.0> Error during startup: {error,failed_to_read_advanced_configuration_file}
2024-04-16 13:50:25.132000+09:00 [error] <0.135.0>
BOOT FAILED
===========
Error during startup: {error,failed_to_read_advanced_configuration_file}
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> supervisor: {local,rabbit_prelaunch_sup}
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> errorContext: start_error
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> reason: failed_to_read_advanced_configuration_file
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> offender: [{pid,undefined},
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> {id,prelaunch},
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> {mfargs,{rabbit_prelaunch,run_prelaunch_first_phase,[]}},
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> {restart_type,transient},
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> {significant,false},
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> {shutdown,5000},
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0> {child_type,worker}]
2024-04-16 13:50:26.140000+09:00 [error] <0.135.0>
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> crasher:
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> initial call: application_master:init/4
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> pid: <0.133.0>
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> registered_name: []
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> exception exit: {{shutdown,
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> {failed_to_start_child,prelaunch,
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> failed_to_read_advanced_configuration_file}},
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> {rabbit_prelaunch_app,start,[normal,[]]}}
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> in function application_master:init/4 (application_master.erl, line 142)
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> ancestors: [<0.132.0>]
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> message_queue_len: 1
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> messages: [{'EXIT',<0.134.0>,normal}]
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> links: [<0.132.0>,<0.44.0>]
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> dictionary: []
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> trap_exit: true
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> status: running
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> heap_size: 233
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> stack_size: 28
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> reductions: 170
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0> neighbours:
2024-04-16 13:50:26.140000+09:00 [error] <0.133.0>
2024-04-16 13:50:26.148000+09:00 [notice] <0.44.0> Application rabbitmq_prelaunch exited with reason: {{shutdown,{failed_to_start_child,prelaunch,failed_to_read_advanced_configuration_file}},{rabbit_prelaunch_app,start,[normal,[]]}}
Kernel pid terminated (application_controller) ("{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,failed_to_read_advanced_configuration_file}},{rabbit_prelaunch_app,start,[normal,[]]}}}")
Crash dump is being written to: erl_crash.dump...done
PS C:\Users\frontend\AppData\Roaming\RabbitMQ> ls
Directory: C:\Users\frontend\AppData\Roaming\RabbitMQ
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2024-04-16 오후 1:48 db
d---- 2024-04-16 오전 9:49 log
-a--- 2024-04-16 오후 1:04 3 advanced.conpig
-a--- 2024-04-16 오전 9:51 71 enabled_plugins
-a--- 2024-04-16 오후 1:50 1149971 erl_crash.dump
-a--- 2024-04-16 오후 1:12 33 rabbitmq.config
PS C:\Users\frontend\AppData\Roaming\RabbitMQ> mv .\rabbitmq.config rabbitmq.conpig
PS C:\Users\frontend\AppData\Roaming\RabbitMQ> rabbitmq-server
2024-04-16 14:04:35.398000+09:00 [notice] <0.44.0> Application syslog exited with reason: stopped
2024-04-16 14:04:35.403000+09:00 [notice] <0.248.0> Logging: switching to configured handler(s); following messages may not be visible in this log output
## ## RabbitMQ 3.13.1
## ##
########## Copyright (c) 2007-2024 Broadcom Inc and/or its subsidiaries
###### ##
########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
Erlang: 26.2.2 [jit]
TLS Library: OpenSSL - OpenSSL 3.1.0 14 Mar 2023
Release series support status: supported
Doc guides: https://www.rabbitmq.com/docs/documentation
Support: https://www.rabbitmq.com/docs/contact
Tutorials: https://www.rabbitmq.com/tutorials
Monitoring: https://www.rabbitmq.com/docs/monitoring
Logs: <stdout>
c:/Users/frontend/AppData/Roaming/RabbitMQ/log/rabbit@daim-frontend.log
Config file(s): (none)
Starting broker... completed with 6 plugins.
BREAK: (a)bort (A)bort with dump (c)ontinue (p)roc info (i)nfo
(l)oaded (v)ersion (k)ill (D)b-tables (d)istribution
a
Terminate batch job (Y/N)? y
PS C:\Users\frontend\AppData\Roaming\RabbitMQ> cat .\rabbitmq.config
|
Beta Was this translation helpful? Give feedback.
Answered by
naramdash
Apr 16, 2024
Replies: 1 comment
-
I just checked the documentation. I see that the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
naramdash
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just checked the documentation. I see that the
rabbimq.**conf**
file is in sysctl format and therabbitmq.**config**
file is in erlang terms format.