Dear RabbitMQ Team,
1. We have installed the Erlang and RabbitMQ in the Windows system.
2. Performed the operations and uninstalled both Erlang and RabbitMQ.
3. After some days we once again installed the RabbitMQ and Erlang.
4. Added the user to RabbitMQ and seems working fine.
5. Later When tried add the another user the RabbitMQ throws the Error and unable to understand the Error.
Installed Directory : c:/directory1/directory2/RabbitMQ/Data
RabbitMQ version : 3.9.13
Erlang version : 24.2.1
I have attached the error file and logs for your reference.
Please let me know meaning of the Error received and solution for this.
** (FunctionClauseError) no function clause matching in :string.trim_l/2
The following arguments were given to :string.trim_l/2:
# 1
{:error, '"-----BEGIN VARS LIST FOR PID 5880-----" \r\nADVANCED_CONFIG_FILE=c:/directory1/directory2/RabbitMQ/Data/advanced.config\r\nAutInstLog=C:\\ProgramData\\directory1\\Automation\\Logfiles\\Setup\\\r\nAPPDATA=C:\\Users\\Aur', [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[...], ...], "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC\r\n"], "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel\r\n"], "PROCESSOR_REVISION=8c01\r\n"], "ProgramData=C:\\ProgramData\r\n"], "PROCESSOR_LEVEL=6\r\n"], "PROCESSOR_ARCHITECTURE=AMD64\r\n"], <<79, 110, 101, 68, 114, 105, ...>>], "ProgramW6432=C:\\Program Files\r\n"], "ProgramFiles(x86)=C:\\Program Files (x86)\r\n"], "PSModulePath=%ProgramFiles%\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\r\n"], "PROMPT=$P$G\r\n"], "PVSS_II_HOME=C:\\directory1\\directory2_MON\\WinCC_OA\\3.16\\\r\n"], "RABBITMQ_ADVANCED_CONFIG_FILE=C:\\directory1\\directory2\\RabbitMQ\\Data\\advanced.config\r\n"], "RABBITMQ_CONF_ENV_FILE=C:\\directory1\\directory2\\RabbitMQ\\Data\\rabbitmq-env-conf.bat\r\n"], "RABBITMQ_BOOT_MODULE=rabbit\r\n"], "RABBITMQ_BASE=c:/directory1/directory2/RabbitMQ/Data\r\n"], "PUBLIC=C:\\Users\\Public\r\n"], "RABBITMQ_CTL_DIST_PORT_MIN=35672\r\n"], "RABBITMQ_HOME=c:/directory1/directory2/RabbitMQ Server/rabbitmq_server-3.9.13\r\n"], "RABBITMQ_MAX_NUMBER_OF_ATOMS=5000000\r\n"], "RABBITMQ_DISTRIBUTION_BUFFER_SIZE=128000\r\n"], "RABBITMQ_SCHEDULER_BUSY_WAIT_THRESHOLD=none\r\n"], "RABBITMQ_SCHEDULER_BIND_TYPE=db\r\n"], "RABBITMQ_SERVICENAME=RabbitMQ\r\n"], "RABBITMQ_SERVER_ERL_ARGS=+P 1048576 +t 5000000 +stbt db +zdbbl 128000 +sbwt none +sbwtdcpu none +sbwtdio none\r\n"], "RABBITMQ_MAX_NUMBER_OF_PROCESSES=1048576\r\n"], "SASL_BOOT_FILE=start_sasl\r\n"], "SERVER_ERL_ARGS=+P 1048576 +t 5000000 +stbt db +zdbbl 128000 +sbwt none +sbwtdcpu none +sbwtdio none\r\n"], "directory2_CONFIG=C:\\directory1\\directory2\\directory2\\config\r\n"], "Simatic_OAM_DATA=C:\\ProgramData\\directory1\\Automation\\Simatic OAM\r\n"], "Simatic_OAM=C:\\Program Files\\Common Files\\directory1\\Automation\\Simatic OAM\r\n"], "STAR=add_user directory2 directory2\r\n"], "SystemRoot=C:\\Windows\r\n"], "TMP=C:\\Users\\AURLIE~1\\AppData\\Local\\Temp\r\n"], "TEMP=C:\\Users\\AURLIE~1\\AppData\\Local\\Temp\r\n"], "SystemDrive=C:\r\n"], "USERDOMAIN_ROAMINGPROFILE=AzureAD\r\n"], <<85, 83, 69, 82, 78, 65, 77, 69, 61, 65, 117, 114, 130, 108, 105, 101, 110, 86, 65, 68, 69, 13, 10>>], "windir=C:\\Windows\r\n"], <<85, 83, 69, 82, 80, 82, 79, 70, 73, 76, 69, 61, 67, 58, 92, 85, 115, 101, 114, 115, 92, 65, 117, 114, 130, 108, 105, 101, 110, 86, 65, 68, 69, 13, 10>>], "USERDOMAIN=AzureAD\r\n"], "directory2_HOME=C:\\directory1\\directory2\\directory2\r\n"], "repeat=3\r\n"], "RABBITMQ_CTL_DIST_PORT_MAX=35682\r\n"], "ProgramFiles=C:\\Program Files\r\n"], "ERL_MAX_ETS_TABLES=50000\r\n"]}
# 2
['\r\n', 9, 10, 11, 12, 13, 32, 133, 8206, 8207, 8232, 8233]
(stdlib 3.17) string.erl:841: :string.trim_l/2
(stdlib 3.17) string.erl:274: :string.trim/3
rabbit_env.erl:1723: :rabbit_env.post_port_cmd_output/3
rabbit_env.erl:1703: :rabbit_env.collect_conf_env_file_output/4
(stdlib 3.17) lists.erl:1267: :lists.foldl/3
rabbit_env.erl:93: :rabbit_env.get_context/0
(rabbitmqctl 3.8.0-dev) lib/rabbitmq/cli/core/config.ex:98: RabbitMQ.CLI.Core.Config.get_system_option/2
(rabbitmqctl 3.8.0-dev) lib/rabbitmq/cli/core/config.ex:23: RabbitMQ.CLI.Core.Config.get_option/2
add_user failed. Retrying with count 3