[rabbitmq-discuss] RabbitMQ on Windows XP - Failed to create cookie file
Butler John (KIRX 19)
john.f.butler at credit-suisse.com
Thu Nov 27 13:08:55 GMT 2008
Hi Hubert,
Got it solved - thanks for the help - but maybe something others might
come across....
Firstly the system details are :
Erlang OTP version 5.5.5
Windows XP Professional 5.1 Service Pack 2
Rabbit MQ 1.4.0
ERLANG picks up the standard value of the PC environment variables
Eshell V5.5.5 (abort with ^G)
1> init:get_argument(home).
{ok,[["Y:\\Data\\Profiles\\John"]]}
But this directory does not exist !!! (the correct directory would be
C:\Data\Profiles\John
I then check the standard system settings and see
HOMEDRIVE=Y:
HOMEPATH=\Data\Profiles\John
Clearly ERLANG puts these two together to form the HOME directory. This
is a work PC and its the first time I have ever come across this
situation - no other application would appear to marge these two values
to create HOME.
By changing the HOMEDRIVE to C:, the HOME for ERLANG is then corect all
starts ok
When trying to find this solution via google yesterday some other users
hinted at this problem but did not give specifics - but clearly others
have run into when when using a network drive for HOMEDRIVE and ERLANG
Thanks
John
-----Original Message-----
From: Hubert Plociniczak [mailto:hubert at lshift.net]
Sent: Thursday, November 27, 2008 1:39 PM
To: Butler John (KIRX 19)
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] RabbitMQ on Windows XP - Failed to
create cookie file
Hi John,
I am not able to replicate the problem on my test machine so we would
need some more information about your system.
Are you running XP or Vista? Which version of erlang/otp do you run?
In erlang shell (started by bin\erl.exe) what do you get when running:
> init:get_argument(home).
Does this agree with what you have set as environmental variable?
I assume you have write permissions to this directory, but I want to
make sure.
Thanks,
Hubert
Butler John (KIRX 19) wrote:
>
> Hi,
>
> Im trying to get started with RabbitMQ and have Erlang RTP set up
> without problem.
>
> Any attempt to start rabbitmq always ends up with a "Failed to create
> cookie file" message
>
> Y:\rabbitmq_server-1.4.0\sbin>rabbitmq-server.bat
> {error_logger,{{2008,11,27},{9,21,45}},"Failed to create cookie
file",[]}
>
{error_logger,{{2008,11,27},{9,21,45}},crash_report,[[{pid,<0.20.0>},{re
gistered
>
> _name,auth},{error_info,{"Failed to create cookie
> file",[{auth,init_cookie,0},{a
>
uth,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}},{initial_call,
{gen,ini
>
>
t_it,[gen_server,<0.18.0>,<0.18.0>,{local,auth},auth,[],[]]}},{ancestors
,[net_su
>
>
p,kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.18.0>]},{dictionary,[]},
{trap_ex
>
>
it,true},{status,running},{heap_size,987},{stack_size,21},{reductions,69
9}],[]]}
>
>
> Looking around on the google pages gave some hints that the
> environment settings for HOME or HOMEDRIVE or HOMEPATH might be
> important so these have all been set to Y:\rabbitmq_server-1.4.0.
>
> Any other hints would be great
>
> Thanks
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
--
[][][] Hubert Plociniczak
[][] LShift Ltd
[] [] www.lshift.net
More information about the rabbitmq-discuss
mailing list