Hi Martin,
My OS is debian.
$uname -a
Linux KDT 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/
Linux
I modified /usr/local/erlware/bin/sinserv
Change ERTS_VSN=5.7.2 to ERTS_VSN=5.7.1
and now sinserv is started. But there are some errors when I input
"sinan help"
$ /usr/local/erlware/bin/sinan help
[help] Describing tasks ...
[sin_help fault!!] function_clause: [{sin_help,process_task_entry,
["1771b9f2-804f-48ea-
aa7a-982435b2288e",doc]},
{lists,map,2},
{sin_help,help,1},
{eta_task_runner,apply_task,3},
{eta_task_runner,execute_task_stack,4},
{eta_task_runner,run_tasks,4},
{eta_task_runner,do_tasks,4},
{eta_task_runner,'-run_task_reply/5-fun-0-',5}]
Task failed
run complete with faults
The ~/.sinan/logs/kernel.log
28 =INFO REPORT==== 8-Sep-2009::11:33:23 ===
29 Starting new run "1771b9f2-804f-48ea-aa7a-982435b2288e"
30
31 =INFO REPORT==== 8-Sep-2009::11:33:23 ===
32 [RUN:"1771b9f2-804f-48ea-aa7a-982435b2288e"] Task help
started:Describing tasks ...
33
34 =INFO REPORT==== 8-Sep-2009::11:33:23 ===
35 [RUN:"1771b9f2-804f-48ea-aa7a-982435b2288e"] Task sin_help
faulted:function_clause: [{sin_help,process_task_entry,
36 ["1771b9f2-804f-48ea-
aa7a-982435b2288e",doc]},
37 {lists,map,2},
38 {sin_help,help,1},
39 {eta_task_runner,apply_task,3},
40 {eta_task_runner,execute_task_stack,4},
41 {eta_task_runner,run_tasks,4},
42 {eta_task_runner,do_tasks,4},
43 {eta_task_runner,'-run_task_reply/5-fun-0-',5}]
44
45 =INFO REPORT==== 8-Sep-2009::11:33:23 ===
46 Fault during run "1771b9f2-804f-48ea-aa7a-982435b2288e"
47
48 =INFO REPORT==== 8-Sep-2009::11:33:23 ===
49 Task failed
50
51 =INFO REPORT==== 8-Sep-2009::11:33:23 ===
52 Run complete "1771b9f2-804f-48ea-aa7a-982435b2288e"
The ~/.sinan/logs/sasl.log
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.40.0>},
{name,alarm_handler},
{mfa,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.41.0>},
{name,overload},
{mfa,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.39.0>},
{name,sasl_safe_sup},
{mfa,
{supervisor,start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.42.0>},
{name,release_handler},
{mfa,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: sasl
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: crary
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: asn1
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: parsetools
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: sgte
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,eta_sup}
started: [{pid,<0.55.0>},
{name,eta_event},
{mfa,{eta_event,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,eta_sup}
started: [{pid,<0.56.0>},
{name,eta_task},
{mfa,{eta_task,start_link,[12301]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,eta_sup}
started: [{pid,<0.57.0>},
{name,eta_meta_task},
{mfa,{eta_meta_task,start_link,[8204]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,eta_sup}
started: [{pid,<0.58.0>},
{name,eta_engine},
{mfa,{eta_engine,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: etask
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_sup}
started: [{pid,<0.63.0>},
{name,mnesia_event},
{mfa,{mnesia_sup,start_event,[]}},
{restart_type,permanent},
{shutdown,30000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.65.0>},
{name,mnesia_monitor},
{mfa,{mnesia_monitor,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.66.0>},
{name,mnesia_subscr},
{mfa,{mnesia_subscr,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.67.0>},
{name,mnesia_locker},
{mfa,{mnesia_locker,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.68.0>},
{name,mnesia_recover},
{mfa,{mnesia_recover,start,[]}},
{restart_type,permanent},
{shutdown,180000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.70.0>},
{name,timer_server},
{mfa,{timer,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.69.0>},
{name,mnesia_tm},
{mfa,{mnesia_tm,start,[]}},
{restart_type,permanent},
{shutdown,30000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.71.0>},
{name,mnesia_checkpoint_sup},
{mfa,{mnesia_checkpoint_sup,start,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.72.0>},
{name,mnesia_snmp_sup},
{mfa,{mnesia_snmp_sup,start,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.73.0>},
{name,mnesia_controller},
{mfa,{mnesia_controller,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_kernel_sup}
started: [{pid,<0.74.0>},
{name,mnesia_late_loader},
{mfa,{mnesia_late_loader,start,[]}},
{restart_type,permanent},
{shutdown,3000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,mnesia_sup}
started: [{pid,<0.64.0>},
{name,mnesia_kernel_sup},
{mfa,{mnesia_kernel_sup,start,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: mnesia
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: xmerl
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: hipe
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: gs
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: compiler
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: dialyzer
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: tools
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: eunit
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: ewlib
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,ibrowse_sup}
started: [{pid,<0.88.0>},
{name,ibrowse},
{mfa,{ibrowse,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: ibrowse
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: ewrepo
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: ktuo
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: syntax_tools
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: edoc
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sin_sup}
started: [{pid,<0.98.0>},
{name,print_guard},
{mfa,
{eta_event_guard,start_link,
[sin_print_handler,[]]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sin_sup}
started: [{pid,<0.99.0>},
{name,sin_group_leader_sup},
{mfa,{sin_group_leader_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,supervisor}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sin_sup}
started: [{pid,<0.100.0>},
{name,sin_config_sup},
{mfa,{sin_config_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,supervisor}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,sin_sup}
started: [{pid,<0.101.0>},
{name,sin_config_registry},
{mfa,{sin_config_registry,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,supervisor}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: sinan
started_at: non...@nohost
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
supervisor: {local,crary_sup}
started: [{pid,<0.105.0>},
{name,{{127,0,0,1},8599}},
{mfa,
{crary_port,start_link,
[{{127,0,0,1},8599},
#Fun<swa_crary_handler.handler.2>,
[]]}},
{restart_type,permanent},
{shutdown,5},
{child_type,worker}]
=PROGRESS REPORT==== 8-Sep-2009::11:26:50 ===
application: sinan_web_api
started_at: non...@nohost
And I will try to re-install sinan using install-release
Thanks
/Jack
On Sep 8, 11:21 am, Martin Logan <[email protected]> wrote:
> Jack, hmm, this may take a little bit of time on your part, it looks like
> something is wrong with erts there... Can you do this, delete the 5.7.2 you
> downloaded and try the faxien install again. It should work, if it fails
> try one more time. If it fails that time then send the /tmp/faxien.err_log
> file to the list and let me take a look at from where it is trying to pull
> your erts version. In the mean time after that download the latest greatest
> erlang from erlang.org and configure; make; make install it. Take the
> erts-5.7.2 and cp -r it into the erlware directory and try again.
>
> Cheers,
> Martin
>
>
>
> On Mon, Sep 7, 2009 at 10:15 PM, jack.tang <[email protected]> wrote:
>
> > On Sep 7, 10:27 pm, Eric Merritt <[email protected]> wrote:
> > > That means that sinserv isn't starting up. Check the logs in
> > > ~/.sinan/logs and tell me if you see anything there.
>
> > Hi Eric
>
> > I put the boot command from /usr/local/erlware/bin/sinserv, which is
>
> > /usr/local/erlware/erts-5.7.2/bin/erlexec -detached -config /home/
> > jack/.sinan/config/sinserv-0.16.1.1.config -boot /usr/local/erlware/
> > releases/sinan-0.16.1.1/sinan
>
> > When I run "/usr/local/erlware/erts-5.7.2/bin/erlexec -config /home/
> > jack/.sinan/config/sinserv-0.16.1.1.config -boot /usr/local/erlware/
> > releases/sinan-0.16.1.1/sinan", it outputs
>
> > erlexec: Error 13 executing '/usr/local/erlware/erts-5.7.2/bin/
> > beam.smp'.
>
> > How can I fix this?
>
> > Thanks!
> > /Jack
>
> > > On Sun, Sep 6, 2009 at 8:52 PM, jack.tang<[email protected]> wrote:
>
> > > > Hi There
>
> > > > I tried to install sinan last night, and when it fetched erts.tar.gz,
> > > > it failed and told me that the tar ball was not found. So I download
> > > > the erts.tar.gz(5.7.2) package from repo and untar it under /usr/local/
> > > > erlware dir, and then run /usr/local/erlware/bin/faxien install-
> > > > release sinan, and it told me the installation was on.
>
> > > > But when i input "sinan help", it says:
>
> > > > [/usr/local/erlware] ➔ bin/sinan help
> > > > starting server now.
> > > > Unable to connect after 0 seconds. Waiting 1 second(s)
> > > > Unable to connect after 1 seconds. Waiting 1 second(s)
> > > > Unable to connect after 2 seconds. Waiting 1 second(s)
> > > > Unable to connect after 3 seconds. Waiting 1 second(s)
> > > > Unable to connect after 4 seconds. Waiting 1 second(s)
> > > > Unable to connect after 5 seconds. Waiting 1 second(s)
> > > > Unable to connect after 6 seconds. Waiting 1 second(s)
> > > > Unable to connect after 7 seconds. Waiting 1 second(s)
> > > > Unable to connect after 8 seconds. Waiting 1 second(s)
> > > > Unable to connect after 9 seconds. Waiting 1 second(s)
> > > > Unable to connect to server after 10 tries
>
> > > > Do I miss something? My erlang vm is R13B01 (erts-5.7.2).
>
> > > > Thanks
> > > > /Jack
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlware-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/erlware-dev?hl=en
-~----------~----~----~----~------~----~------~--~---