Startup Error
Hi,
On starting membase using start.sh, I get the following error (more detail below):
=INFO REPORT==== 10-Feb-2011::20:36:34 ===
application: ns_server
exited: {shutdown,{ns_server,start,[normal,[]]}}
type: temporary
{"init terminating in do_boot",{{badmatch,{error,{shutdown,{ns_server,start,[normal,[]]}}}},[{init,start_it,1},{init,start_em,1}]}}
Erlang has closed
/home/dev/erlang/otp_src_R14B/lib/os_mon/priv/bin/memsup: iErlang has closed.n
it terminating in do_boot ()
bash-4.1$
Any idea what this error may relate to?
Thanks.
-Jon
bash-4.1$ ./start.sh
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.35.0>},
{name,alarm_handler},
{mfargs,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.36.0>},
{name,overload},
{mfargs,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.34.0>},
{name,sasl_safe_sup},
{mfargs,
{supervisor,start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.37.0>},
{name,release_handler},
{mfargs,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
application: sasl
started_at: nonode@nohost
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,os_mon_sup}
started: [{pid,<0.43.0>},
{name,disksup},
{mfargs,{disksup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,os_mon_sup}
started: [{pid,<0.44.0>},
{name,memsup},
{mfargs,{memsup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,os_mon_sup}
started: [{pid,<0.46.0>},
{name,cpu_sup},
{mfargs,{cpu_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
application: os_mon
started_at: nonode@nohost
=PROGRESS REPORT==== 10-Feb-2011::20:36:33 ===
supervisor: {local,kernel_safe_sup}
started: [{pid,<0.49.0>},
{name,timer_server},
{mfargs,{timer,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
{[108,111,103,115],10485760,10,#Fun<ns_log_mf_h.0.49260472>}
=SUPERVISOR REPORT==== 10-Feb-2011::20:36:33 ===
Supervisor: {local,ns_server_cluster_sup}
Context: start_error
Reason: {'EXIT',{{badmatch,{'EXIT',{file,open}}},
[{ns_log_mf_h,start_link,0},
{supervisor,do_start_child,2},
{supervisor,start_children,3},
{supervisor,init_children,2},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}
Offender: [{pid,undefined},
{name,ns_log_mf_h},
{mfargs,{ns_log_mf_h,start_link,[]}},
{restart_type,transient},
{shutdown,10},
{child_type,worker}]
=INFO REPORT==== 10-Feb-2011::20:36:34 ===
application: ns_server
exited: {shutdown,{ns_server,start,[normal,[]]}}
type: temporary
{"init terminating in do_boot",{{badmatch,{error,{shutdown,{ns_server,start,[normal,[]]}}}},[{init,start_it,1},{init,start_em,1}]}}
Erlang has closed
/home/dev/erlang/otp_src_R14B/lib/os_mon/priv/bin/memsup: iErlang has closed.n
it terminating in do_boot ()
bash-4.1$
Hi,
It is from the tarball source. I am using Membase 1.6.4.1. Any thoughts?
-Jon
I've just built 1.6.4.1 tarball and it runs without issues. Maybe you've build under say root and try to run under somebody else ?
Hi,
Thanks. I didn't realize that would be a problem. Should I always build under the membase user if running from that user?
Thanks.
-Jon
membase currently doesn't have 'make install' target. So no you don't need to be root to build it.
And general recommendations is to build under normal user and gain root only for make install.
Looks like a problem creating log file. Is that from git source or from tarball source ? And, please, give details of what version of membase you're trying to run.