Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  amqp_client will not start

seancharles
Posted: Tue Mar 06, 2012 12:59 pm Reply with quote
User Joined: 18 Jul 2007 Posts: 57
Having successfully built and tested on my development machine some proof of concept mngo/amqp code, when deployed to the live server the amqp client just won't start and I cannot figure it out. I have spent a whole day and a half and I am out of ideas.

I have tried various versions of Erlang, both matching the development machine (R14B02, erts5.8.3) and more recent (R14B04, erts5.8.5) to no avail.

I am tearing my hair out over this one, nobody seems to have any answers. The dev. machine is Ubuntu 64-bit the server is Arch 64 bit but all proper packages have been installed.

Also, we have an identical server running RabbitMQ and it runs fine with amqp_client_2.7.0 so there would appear to be no architectural reasons why AMQP shouldn't run on these boxes.

Currently this is built with a BASH script until I (still learning OTP!) create the "final" masterpiece, the script is attached.

Code:

Removing all ebin folders ...
Removing any strayBEAM files ...
Rebuilding BSON ...
Rebuilding MONGODB ...
Deploying BSON and MONGODB to IMP ebin folder ...
Erlang R14B (erts-5.8.1) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]

"/home/website/bulk2/IMP2"  //  "config/jps.ini"
Eshell V5.8.1  (abort with ^G)
1> imp_scan:start >>> LOG TO FILE disabled
"/home/website/bulk2/IMP2"  //  "config/jps.ini"
AMQPCONFIG: {recAMQPConfig,"bulkrabbit",5672,"bulkrabbit","mak31tw0rkr1ght",
                           "/Bulk",[],"ERIC"}
AMQP-PARAMS: {amqp_params_network,<<"bulkrabbit">>,<<"mak31tw0rkr1ght">>,
                                  <<"/Bulk2">>,"bulkrabbit",undefined,0,0,0,
                                  infinity,none,
                                  [#Fun<amqp_auth_mechanisms.plain.3>,
                                   #Fun<amqp_auth_mechanisms.amqplain.3>],
                                  [],[]}
{"init terminating in do_boot",{{nocatch,{error,{bad_return,{{amqp_client,start,[normal,[]]},{'EXIT',{undef,[{supervisor2,start_link,[{local,amqp_sup},amqp_sup,[]]},{application_master,start_it_old,4}]}}}}}},[{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


If anybody could shed light on why this message, which appears to say that the function "supervisor2:start_link" is undefined then I would be truly grateful!

Issuing the m() command lists these modules in the "s" range...
Code:

sets                  /usr/lib/erlang/lib/stdlib-1.17.1/ebin/sets.beam
shell                 /usr/lib/erlang/lib/stdlib-1.17.1/ebin/shell.beam
shell_default         /usr/lib/erlang/lib/stdlib-1.17.1/ebin/shell_default.beam
standard_error        /usr/lib/erlang/lib/kernel-2.14.1/ebin/standard_error.beam
supervisor            /usr/lib/erlang/lib/stdlib-1.17.1/ebin/supervisor.beam
supervisor_bridge     /usr/lib/erlang/lib/stdlib-1.17.1/ebin/supervisor_bridge.beam
sys                   /usr/lib/erlang/lib/stdlib-1.17.1/ebin/sys.beam


Which makes me nervous because I cannot see "supervisor2" only "supervisor" and I have no idea why that should be the case.

All the best,
Sean Charles.
View user's profile Send private message
seancharles
Posted: Tue Mar 06, 2012 3:30 pm Reply with quote
User Joined: 18 Jul 2007 Posts: 57
solved!

The live box had RabbitMQ server installed from packages for Arch. This did not seem to include "/usr/lib/erlang/lib/rabbit_common-0.0.0" so I had to download and build rabbit from source then manually copy that folder from the dist folder.

Job done.
Confused
View user's profile Send private message
louisbritt
Posted: Sat Mar 10, 2012 12:23 pm Reply with quote
Joined: 10 Mar 2012 Posts: 1 Location: Fenton
Pretty long job..but you tried well!!

_________________
business mobiles
View user's profile Send private message
bottomshoes
Posted: Wed Jun 13, 2012 11:41 am Reply with quote
Joined: 06 Jun 2012 Posts: 7 Location: asd
There is no doubt that many women are troubled by their too thin or too thick feet. They were limited into only wearing a pair of comfortable but not fashionable shoes. Surely, they are jealous of other women with beautiful pumps. And many girls want to have different style shoes to fit their dress or mood in someday. Now, I will recommend a shoe brand to you ? cheap pump heels
In a Louboutin store, there are all styles of pumps, sandals and boots and even flats for the women. Christian Louboutin spring and summer shoes can be classified rounded toe, square toe and sharp toe. A pair of gently rounded toe shoes are worn on the girlchristian louboutin shoes sale feet, clever appearance is shown suddenly at the moment. Peep toe, hollow out or empty in the back or bind high heels make your foot skin kiss the air directly and looks like sexy more.?
All kinds of colors you can find to suit your dress or mood. There are bright colors and cool colors whatever you love.
?Their material varies from leather, velvet, to silk, lizard press grain or twips cloth. These materials are matched with three-dimensional flowers, crystal, broken auger, sequins and painted.
christian louboutin mens shoesn claims a good pair of shoes help transform a woman's attitude. The shoe designer whose high-heeled designs have become the favorite of a host of celebrities including Sarah Jessica Parker, Victoria Beckham and Kate Moss - loves seeing females put on his footwear as knows what a christian louboutin womens shoesIf you like a feeling of exotic customs you can choose shoes full of exotic patterns, and if you want to make yourself look more gentle and quiet, you can wear a pair of light color shoes. And want to taste the feeling of vacationing in a tropical island? Please change a pair of sandals with tropical flowers printing or three-dimensional flower adornment. Then your image and mood will be changed at once. You will walk in the lithe footsteps.
This year, the proportion of thick soles christian louboutin thigh high bootswedge high heels is higher. They are made with a kind of new developed sole for high heels, the secret is they are molded with cork and rubber. Decorated with various lovely and interesting collages, the shoes call comfort and taste together.
In this winter, you will never be worried about your footwear, too. Christian Louboutin has promotes its recent work grandly quite excitedly to us. All kinds of boots are standing there to wait you to choose them. christian louboutin wedding shoesare from short to long, from light color to dark color, and from cloth to fur and leather. I like a white short skirt go with a milky yellow short boots with white fur on the top. In a snow day, running into the white world, it looks like a lovely angel fly into your sight. Oh! How beautiful scene it is! And how beautiful you are! Only imagine the lovely day , can not I help to look forward to the winter coming faster.
Are you frustrated when you paid big bucks for a pair of christian louboutin boots replica and then found that the shoes are fake and the quality is bad? This time the author is going to share some experience with you on how to distinguish good and real christian louboutin suede bootshoes, so the next time when you are purchasing shoes you can avoid bad productions.
Most of the Christian Louboutin shoes are made of natural leather, so to distinguish the real christian louboutin babel bootsshoes; you should first know how to distinguish the natural leather.
Usually, natural leather has pores, which cannot be seen clearly by eyes, but you can press the leather by christian louboutin outlet realyour fingers and see if there are any dense grains. If the grains disappear when you relax your grip, the leather is good natural leather. And if the grains still can be seen after you relax your grip, it is not good natural leather. If there is no dense grain at all, mostly it is not natural leather.
It is natural leatherchristian louboutin outlet online another characteristic that on the surface there are flaws. Usually, inside the natural leather shoes or at some inconspicuous place, there are some slight flaws such as inhomogeneous grains.
For good leather shoes, usually reinforced materials are applied to the lining to pretend it from becoming deformed. The lining materials should be soft, airy and sweat-absorbing. High cheap christian louboutin shoesgrade shoes are mostly made of natural leather and cotton fabric. Many consumers pay much attention to the vamp material and ignore the lining, which is not a good idea.
After distinguish the material, the second thing you should check is the quality of manufacturing. Whether the seam is neat? Whether there are thread breakage? Is the sticking firm? If the answers are all YES, you can move to the next step. If not, youbuy cheap christian louboutinbetter not buy the shoes.
The third stepChristian Louboutin Tuba Black Tall Boot is to touch the inside of the shoes. For the parts that touch the feet, there should be no sags or crests, or your feet will be rubbed. There must be Christian Louboutin A Talon ankle Arielle Bootspads inside, which is used to keep the inside clean and cover the nail holes, improving the tactility.
Fourth, put the shoes on a piece of glass or on a desk to see if the shoes are steady. Good shoes will stop shaking immediately, especially the best high heels ? authentic discount christian louboutin
shoes
Fifth, touch the toe cap Christian Louboutin Black Three Strap Mary Jane Pumpsinside and to feel if the toe spring is of proper height. When the height is as thick as the pad of your forefinger, the height is proper. When the height is too high, the stability will be decreased, and on the opposite the shoes are easy to be worn out and the feet wonChristian Louboutin Black Studded Mary Janes Pumps feel well in them.
Sixth, upbear the shoes and see if the soles and the heels are steady.
Last but not least, if you are purchasing a pair of Christian Louboutin, there is another key point, that is the red outsoles. The real Christian Louboutin outsoles are bright red, and the color is natural and shining. Authentic red bottom shoes shoes are very gorgeous and at the edge of the shoes , only the real cowhide can appear the natural and Christian Louboutin Babel Coffee Shoe Bootseshiny apricot color.
Beckjames
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
bottomshoes
Posted: Wed Jun 13, 2012 11:41 am Reply with quote
Joined: 06 Jun 2012 Posts: 7 Location: asd
There is no doubt that many women are troubled by their too thin or too thick feet. They were limited into only wearing a pair of comfortable but not fashionable shoes. Surely, they are jealous of other women with beautiful pumps. And many girls want to have different style shoes to fit their dress or mood in someday. Now, I will recommend a shoe brand to you ? cheap pump heels
In a Louboutin store, there are all styles of pumps, sandals and boots and even flats for the women. Christian Louboutin spring and summer shoes can be classified rounded toe, square toe and sharp toe. A pair of gently rounded toe shoes are worn on the girlchristian louboutin shoes sale feet, clever appearance is shown suddenly at the moment. Peep toe, hollow out or empty in the back or bind high heels make your foot skin kiss the air directly and looks like sexy more.?
All kinds of colors you can find to suit your dress or mood. There are bright colors and cool colors whatever you love.
?Their material varies from leather, velvet, to silk, lizard press grain or twips cloth. These materials are matched with three-dimensional flowers, crystal, broken auger, sequins and painted.
christian louboutin mens shoesn claims a good pair of shoes help transform a woman's attitude. The shoe designer whose high-heeled designs have become the favorite of a host of celebrities including Sarah Jessica Parker, Victoria Beckham and Kate Moss - loves seeing females put on his footwear as knows what a christian louboutin womens shoesIf you like a feeling of exotic customs you can choose shoes full of exotic patterns, and if you want to make yourself look more gentle and quiet, you can wear a pair of light color shoes. And want to taste the feeling of vacationing in a tropical island? Please change a pair of sandals with tropical flowers printing or three-dimensional flower adornment. Then your image and mood will be changed at once. You will walk in the lithe footsteps.
This year, the proportion of thick soles christian louboutin thigh high bootswedge high heels is higher. They are made with a kind of new developed sole for high heels, the secret is they are molded with cork and rubber. Decorated with various lovely and interesting collages, the shoes call comfort and taste together.
In this winter, you will never be worried about your footwear, too. Christian Louboutin has promotes its recent work grandly quite excitedly to us. All kinds of boots are standing there to wait you to choose them. christian louboutin wedding shoesare from short to long, from light color to dark color, and from cloth to fur and leather. I like a white short skirt go with a milky yellow short boots with white fur on the top. In a snow day, running into the white world, it looks like a lovely angel fly into your sight. Oh! How beautiful scene it is! And how beautiful you are! Only imagine the lovely day , can not I help to look forward to the winter coming faster.
Are you frustrated when you paid big bucks for a pair of christian louboutin boots replica and then found that the shoes are fake and the quality is bad? This time the author is going to share some experience with you on how to distinguish good and real christian louboutin suede bootshoes, so the next time when you are purchasing shoes you can avoid bad productions.
Most of the Christian Louboutin shoes are made of natural leather, so to distinguish the real christian louboutin babel bootsshoes; you should first know how to distinguish the natural leather.
Usually, natural leather has pores, which cannot be seen clearly by eyes, but you can press the leather by christian louboutin outlet realyour fingers and see if there are any dense grains. If the grains disappear when you relax your grip, the leather is good natural leather. And if the grains still can be seen after you relax your grip, it is not good natural leather. If there is no dense grain at all, mostly it is not natural leather.
It is natural leatherchristian louboutin outlet online another characteristic that on the surface there are flaws. Usually, inside the natural leather shoes or at some inconspicuous place, there are some slight flaws such as inhomogeneous grains.
For good leather shoes, usually reinforced materials are applied to the lining to pretend it from becoming deformed. The lining materials should be soft, airy and sweat-absorbing. High cheap christian louboutin shoesgrade shoes are mostly made of natural leather and cotton fabric. Many consumers pay much attention to the vamp material and ignore the lining, which is not a good idea.
After distinguish the material, the second thing you should check is the quality of manufacturing. Whether the seam is neat? Whether there are thread breakage? Is the sticking firm? If the answers are all YES, you can move to the next step. If not, youbuy cheap christian louboutinbetter not buy the shoes.
The third stepChristian Louboutin Tuba Black Tall Boot is to touch the inside of the shoes. For the parts that touch the feet, there should be no sags or crests, or your feet will be rubbed. There must be Christian Louboutin A Talon ankle Arielle Bootspads inside, which is used to keep the inside clean and cover the nail holes, improving the tactility.
Fourth, put the shoes on a piece of glass or on a desk to see if the shoes are steady. Good shoes will stop shaking immediately, especially the best high heels ? authentic discount christian louboutin
shoes
Fifth, touch the toe cap Christian Louboutin Black Three Strap Mary Jane Pumpsinside and to feel if the toe spring is of proper height. When the height is as thick as the pad of your forefinger, the height is proper. When the height is too high, the stability will be decreased, and on the opposite the shoes are easy to be worn out and the feet wonChristian Louboutin Black Studded Mary Janes Pumps feel well in them.
Sixth, upbear the shoes and see if the soles and the heels are steady.
Last but not least, if you are purchasing a pair of Christian Louboutin, there is another key point, that is the red outsoles. The real Christian Louboutin outsoles are bright red, and the color is natural and shining. Authentic red bottom shoes shoes are very gorgeous and at the edge of the shoes , only the real cowhide can appear the natural and Christian Louboutin Babel Coffee Shoe Bootseshiny apricot color.
Beckjames
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
nato
Posted: Fri Aug 03, 2012 9:51 am Reply with quote
User Joined: 03 Aug 2012 Posts: 16
The wording of the statement hinted that religious differences were behind the fracture, as Cruise is discount discount Nike Blazer AC the world's most pink beaded prom dresses famous Nike Air Max 2010 Shoes Men's - White/Black/Red gucci carry on LV Monogram MBT Slippers Shoes Canvas bags duffel 232602 white Scientologist, grape Short One Shoulder MBT Men Fora Shoes Silver Dress while Louis Vuitton Monogram Canvas MBT Men Fora Shoes Blue Artsy Blue Big Number Bags Holmes came into the marriage gucci 1973 large top handle 251818 in black a lv hand bags uk Catholic.

“It Nike Air Max 2010 Shoes Women's - Leather Black/Purple is hard to say for sure whether Scientology Nike Lebron James 9 Black Green Shoes was the sole Nike LeBron 9 IX China Edition Shoes reason for Katie’s decision to file for divorce, but there certainly is reason to believe that Scientology played a strong role. This is pretty much confirmed in the joint statement released by the parties’ attorneys referring to respecting Tom and Nike Air Max Hoop Structure 91 Shoes Men's Blue Hi Katie’s ‘respective beliefs,’” attorney Anahita Sedaghatfar told FOX411’s Pop Tarts column. “Katie played this out like a master chess player. Such bold, public moves like filing in New York and seeking sole custody of their daughter, were clearly intended to send a message to Tom that she is willing to fight this battle and do so publicly, something that could harm him more than her.”
..............
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum