[rabbitmq-discuss] Cannot run first example from tutorial.
Serj Kozlov
serzer at gmail.com
Thu Oct 11 10:15:46 BST 2012
Hi, i've installed rabbitmq on my fresh debian server.
I did not made any changes to configuration of the rabbitmq, just installed
and started it.
But when i'm trying to run tutorial 1, something goes wrong - receive.py
doesn't receive any messages at all without any errors. I am using exact
code from a tutorial.
Please help me to find an issue of problem.
Here are the logs of rabbitmq:
rabbit at main.log:
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Limiting to approx 924 file handles (829 sockets)
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
application: mnesia
exited: stopped
type: permanent
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Memory limit set to 102MB of 256MB total.
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Disk free limit set to 1000MB
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Disk free space insufficient. Free bytes:496087040 Limit:1000000000
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
alarm_handler: {set,{{resource_limit,disk,rabbit at main},[]}}
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Adding vhost '/'
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Creating user 'guest'
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Setting user tags for user 'guest' to [administrator]
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
Setting permissions for 'guest' in '/' to '.*', '.*', '.*'
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index
=WARNING REPORT==== 11-Oct-2012::12:50:47 ===
msg_store_persistent: rebuilding indices from scratch
=INFO REPORT==== 11-Oct-2012::12:50:47 ===
started TCP Listener on [::]:5672
=INFO REPORT==== 11-Oct-2012::12:53:54 ===
accepting AMQP connection <0.304.0> (127.0.0.1:46381 -> 127.0.0.1:5672)
=INFO REPORT==== 11-Oct-2012::12:54:03 ===
accepting AMQP connection <0.315.0> (127.0.0.1:46392 -> 127.0.0.1:5672)
=INFO REPORT==== 11-Oct-2012::12:54:34 ===
accepting AMQP connection <0.329.0> (127.0.0.1:46393 -> 127.0.0.1:5672)
=WARNING REPORT==== 11-Oct-2012::12:54:41 ===
closing AMQP connection <0.304.0> (127.0.0.1:46381 -> 127.0.0.1:5672):
connection_closed_abruptly
startup_log:
node : rabbit at main
app descriptor :
/usr/lib/rabbitmq/lib/rabbitmq_server-2.8.7/sbin/../ebin/rabbit.app
home dir : /var/lib/rabbitmq
config file(s) : (none)
cookie hash : zKewt7vgZWMGE+qFuDTfvQ==
log : /var/log/rabbitmq/rabbit at main.log
sasl log : /var/log/rabbitmq/rabbit at main-sasl.log
database dir : /var/lib/rabbitmq/mnesia/rabbit at main
erlang version : 5.8
-- rabbit boot start
starting file handle cache server
...done
starting worker pool
...done
starting database
...done
starting database sync
...done
starting codec correctness check
...done
-- external infrastructure ready
starting plugin registry
...done
starting auth mechanism cr-demo
...done
starting auth mechanism amqplain
...done
starting auth mechanism plain
...done
starting statistics event manager
...done
starting logging server
...done
starting exchange type direct
...done
starting exchange type fanout
...done
starting exchange type headers
...done
starting exchange type topic
...done
-- kernel ready
starting alarm handler
...done
starting node monitor
...done
starting cluster delegate
...done
starting guid generator
...done
starting memory monitor
...done
-- core initialized
starting empty DB check
...done
starting exchange, queue and binding recovery
...done
starting mirror queue slave sup
...done
starting adding mirrors to queues
...done
-- message delivery logic ready
starting error log relay
...done
starting networking
...done
starting direct client
...done
starting notify cluster nodes
...done
broker running
rabbitmqctl status
Status of node rabbit at main ...
[{pid,1745},
{running_applications,[{rabbit,"RabbitMQ","2.8.7"},
{mnesia,"MNESIA CXC 138 12","4.4.14"},
{os_mon,"CPO CXC 138 46","2.2.5"},
{sasl,"SASL CXC 138 11","2.1.9.2"},
{stdlib,"ERTS CXC 138 10","1.17"},
{kernel,"ERTS CXC 138 10","2.14"}]},
{os,{unix,linux}},
{erlang_version,"Erlang R14A (erts-5.8) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:30] [kernel-poll:true]\n"},
{memory,[{total,25998168},
{processes,10079192},
{processes_used,10060152},
{system,15918976},
{atom,1135057},
{atom_used,1132083},
{binary,140824},
{code,12184336},
{ets,772144}]},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,107374182},
{disk_free_limit,1000000000},
{disk_free,475242496},
{file_descriptors,[{total_limit,924},
{total_used,5},
{sockets_limit,829},
{sockets_used,3}]},
{processes,[{limit,1048576},{used,136}]},
{run_queue,0},
{uptime,1392}]
...done.
rabbit at main-sasl.log and startup_err logs are empty.
Thanks a lot for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121011/4048a40d/attachment.htm>
More information about the rabbitmq-discuss
mailing list