HI i am stuck at similar place, details as follows , pl help

+2 votes

two nodes are connected abosulutly fine at AWS,

i am try to connect fromdifferent  web server ( outside AWS)  and fetch information " getinfo" using slim framework

i tried , multichaind chainname@PUBLICIP:PORT but it ran into error

 

IO error: lock /home/ubuntu/.multichain/chain1/permissions.db/LOCK: Resource temporarily unavailable

ERROR: Couldn't initialize permission database for blockchain chain1. Probably multichaind for this blockchain is already running. Exiting...

AT webserver i get the error like :

Type: Error

Message: Call to a member function withHeader() on array

File: /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/public/index.php

Line: 46

Trace

#0 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#1 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#2 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/Route.php(344): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#3 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#4 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/Route.php(316): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#5 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/App.php(479): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#6 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/App.php(370): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/vendor/slim/slim/Slim/App.php(295): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 /home/76047-70340.cloudwaysapps.com/ydfnzshgnv/public_html/poe/public/index.php(57): Slim\App->run()
#10 {main}

 

 

 

asked Nov 21, 2017 by brijesh

1 Answer

+2 votes

The following message shows from your node that Multichaind is already running in the same port that you are trying to run..  You will have to stop this server using multichain-cli chain1 stop and start again..

ERROR: Couldn't initialize permission database for blockchain chain1. Probably multichaind for this blockchain is already running. Exiting.

 

answered Nov 27, 2017 by saravana
...