Appmon Boot Error

Source: Internet
Author: User

Look at the tutorial, see Appmon This thing, is in Erlang, used to monitor the OTP application of things, and then do a bit, and then found that can't get up ... Then know that the search data finally, in this share, write to also encountered this mistake you.

The mistake is this exception error:undefined function appmon:start/0. Of course later looked up some documents and blog, it seems that TV ah, debugger may not be able to start, I can not say that you may now 100% and I encountered the same problem, I posted the corresponding solution, we have the right remedy.

First of all say this appmon, in erl17 after seemingly changed into observer. So if you command Appmon:start () will not start, then try Observer:start (). Then you may encounter the following error:

1 1>Observer:start ().2{Error,{{load_driver,"Libwx_gtk2u_stc-3.0.so.0:cannot Open Shared object file:no such file or directory"},3[{Wxe_server,start,1,[{file,"Wxe_server.erl"},{line, $}]},4{wx,new,1,[{file,"Wx.erl"},{line, the}]},5{Observer_wx,init,1,[{file,"Observer_wx.erl"},{line, the}]},6{wx_object,init_it,6,[{file,"Wx_object.erl"},{line,337}]},7{proc_lib,init_p_do_apply,3,8[{file,"Proc_lib.erl"},{line, -}]}]}}
View Code

Then the Lib path is wrong and you need to edit the. bash_profile file

1 //open a. bash_profile file2 sudoVim ~/. Bash_profile3 //Add the following two lines to the end of the. Bash_profile4ld_library_path=/usr/local/Lib5 Export Ld_library_path6 //Refresh. Bash_profile, Immediate effect7SOURCE ~/. Bash_profile8 //execute the following command, if returning/usr/local/lib indicates success9 Echo$LD _library_path
View Code

If Could not find ' wxe_driver.so ' in:/usr/local/lib/erlang/lib/wx-1.3/priv is displayed. The WX is not installed correctly and needs to be downloaded with the portal http://sourceforge.net/projects/wxwindows/files/3.0.0/installed. Download unzip, execute./configure, if the prompt fails, then it is possible that GTK is not installed, then you have to install GTK. Install it under Yum.

1 // Install WXGTK Latest version 2 sudo Yum Install wxgtk*
View Code

In this case, it should be able to start, and then in fact if you often use these tools, then you might as well Start Erlang toolbar, which has TV, Pman, Appmon (later looks like observer and Appmon function very similar), debugger, And of course there is the web version. Well, it is written here, if there is a supplement, but also ask the brothers to leave a message, small two correct, thank you.

Reprint Please specify
Author: spring of Li Xiao
Address: http://www.cnblogs.com/LittleTwoLee/p/5098836.html

 

Appmon Boot Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.