ProcessOne SiteCustomer Helpdesk and FeedbackFollow us on Twitter
 
   
 
Start cean automatically on ceanctl shell
Posted: 28 May 2013 10:15 PM   [ Ignore ]
Newbie
Rank
Total Posts:  6
Joined  2013-05-28

When I try to ceanctl install eunit, it errors.

{badrpc,nodedown} 

Apparently, CEAN must be started manually.

ceanctl start
ceanctl shell
cean:install(eunit). 

In the future, could we start the CEAN system automatically on ceanctl install?

Profile
 
 
Posted: 29 May 2013 09:04 AM   [ Ignore ]   [ # 1 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  134
Joined  2006-11-13

ceanctl is just a wrapper to cean instance. if cean instance is down, any command will return nodedown error.
it’s not a good idea to make install do more action than bare install.
you should consider to script your installation procedure with something like this:
- ceanctl status
- if nodedown then ceanctl start
- ceanctl your_action
- whatever…

Profile