Am Montag, den 28.07.2008, 17:46 +0400 schrieb Sergei Golovan: > severity 492725 normal > thanks > > On 7/28/08, Michael Flaig <[EMAIL PROTECTED]> wrote: > > > > After installation of the package ejabberd is started. However a > > ejabberdctl command fails. > > As I noticed epmd is running but beam is not > > This is likely a bug #463538 which is fixed in erlang 1:12.b.3-4 (it > will go to testing soon).
okay, I'll watch for the update Then purge and reinstall, to see what happens. > > To make ejabberdctl work I needed to "killall empd" > > and /etc/init.d/ejabberd start > > Any distributed erlang service should attach to an existing epmd and > not run another epmd instance. If you see two epmd daemons then > something goes wrong. Though I don't know yet where to search for a > bug. This is also how I understand it, however what happens if rpc is not available, how would epmd know where to attach to? So is it true that beam controlls interprocess communication for ejabberd trough rpc? ejabberd would be the empd process then, right? So if beam is not started that would be the thing to check why. And having multiple epmd is a result of the rpc not working and ejabberdctl starting a new epmd when invoked Do you have a lenny box to reproduce the reported issue? And if you would also have a sid installation verify that the problem does not exist anymore with erlang 1:12.b.3-4? > Are there any log messages about epmd in /var/log/syslog? Jul 29 00:03:55 nagios epmd: epmd: epmd running - daemon = 1 I did the installation yet again, same result at the 3rd try However I didn't kill epmd this time but checked the logs sasl.log is there ejabberd.log is not however: telnet localhost 4369 works nagios:/var/log/ejabberd# telnet localhost 4369 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. sasl.log is attached nagios:/var/log/ejabberd# ejabberdctl RPC failed on the node [EMAIL PROTECTED]: nodedown One more thing I noticed concerning removal of ejabberd To have a running "clean" setup running, I did my workaround (killed all epmd and restarted). Then I dpkg purged ejabberd --- snip --- nagios:~# killall epmd nagios:~# /etc/init.d/ejabberd restart Restarting jabber server: ejabberd is not running. Starting ejabberd. nagios:~# ps ax PID TTY STAT TIME COMMAND 1 ? Ss 0:32 init [2] 306 ? Ss 0:02 /sbin/syslog-ng -p /var/run/syslog-ng.pid 649 ? Ss 0:00 /usr/sbin/cron 9938 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 11542 ? Ss 0:00 sshd: [EMAIL PROTECTED]/0 11544 pts/0 Ss 0:00 -bash 13161 ? Ss 0:00 /usr/sbin/apache2 -k start 13982 ? S 0:00 /usr/sbin/apache2 -k start 13983 ? Sl 0:00 /usr/sbin/apache2 -k start 13985 ? Sl 0:00 /usr/sbin/apache2 -k start 14115 ? SNs 0:02 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg 18493 ? Ss 0:04 /usr/sbin/sshd 20672 ? S 0:00 /usr/lib/erlang/erts-5.6.3/bin/epmd -daemon 20689 pts/0 Sl 0:01 /usr/lib/erlang/erts-5.6.3/bin/beam -K false -P 250000 -- -root /usr/lib/erlang -progname erl -- -home 20695 ? Ss 0:00 inet_gethost 4 20696 ? S 0:00 inet_gethost 4 20697 pts/0 R+ 0:00 ps ax nagios:~# telnet localhost 4369 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. --- snap --- All good!? Now purge ... --- snip --- nagios:~# dpkg --purge ejabberd (Lese Datenbank ... 16991 Dateien und Verzeichnisse sind derzeit installiert.) Entferne ejabberd ... The ejabberd database has been backed up to /var/backups/ejabberd-2008-07-29T00:15:11.Y20729/ejabberd-database. Stopping jabber server: ejabberd. Lösche Konfigurationsdateien von ejabberd ... Entferne Benutzer »ejabberd« ... Warning: group `ejabberd' has no more members. Fertig. Die Gruppe »ejabberd« existiert nicht. Verarbeite Trigger für man-db ... nagios:~# ps ax PID TTY STAT TIME COMMAND 1 ? Ss 0:32 init [2] 306 ? Ss 0:02 /sbin/syslog-ng -p /var/run/syslog-ng.pid 649 ? Ss 0:00 /usr/sbin/cron 9938 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 11542 ? Ss 0:00 sshd: [EMAIL PROTECTED]/0 11544 pts/0 Ss 0:00 -bash 13161 ? Ss 0:00 /usr/sbin/apache2 -k start 13982 ? S 0:00 /usr/sbin/apache2 -k start 13983 ? Sl 0:00 /usr/sbin/apache2 -k start 13985 ? Sl 0:00 /usr/sbin/apache2 -k start 14115 ? RNs 0:02 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg 18493 ? Ss 0:04 /usr/sbin/sshd 20672 ? S 0:00 /usr/lib/erlang/erts-5.6.3/bin/epmd -daemon 20896 pts/0 R+ 0:00 ps ax nagios:~# telnet localhost 4369 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. --- snap --- epmd still running and responding after purging. Not good either. -- Michael Flaig <[EMAIL PROTECTED]> PROLinux.de
=PROGRESS REPORT==== 29-Jul-2008::00:04:48 === supervisor: {local,sasl_safe_sup} started: [{pid,<0.47.0>}, {name,alarm_handler}, {mfa,{alarm_handler,start_link,[]}}, {restart_type,permanent}, {shutdown,2000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:48 === supervisor: {local,sasl_safe_sup} started: [{pid,<0.48.0>}, {name,overload}, {mfa,{overload,start_link,[]}}, {restart_type,permanent}, {shutdown,2000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:48 === supervisor: {local,sasl_sup} started: [{pid,<0.46.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==== 29-Jul-2008::00:04:48 === supervisor: {local,sasl_sup} started: [{pid,<0.49.0>}, {name,release_handler}, {mfa,{release_handler,start_link,[]}}, {restart_type,permanent}, {shutdown,2000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:48 === application: sasl started_at: [EMAIL PROTECTED] =PROGRESS REPORT==== 29-Jul-2008::00:04:48 === supervisor: {local,kernel_safe_sup} started: [{pid,<0.53.0>}, {name,disk_log_sup}, {mfa,{disk_log_sup,start_link,[]}}, {restart_type,permanent}, {shutdown,1000}, {child_type,supervisor}] =PROGRESS REPORT==== 29-Jul-2008::00:04:48 === supervisor: {local,kernel_safe_sup} started: [{pid,<0.54.0>}, {name,disk_log_server}, {mfa,{disk_log_server,start_link,[]}}, {restart_type,permanent}, {shutdown,2000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_sup} started: [{pid,<0.67.0>}, {name,mnesia_event}, {mfa,{mnesia_sup,start_event,[]}}, {restart_type,permanent}, {shutdown,30000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.69.0>}, {name,mnesia_monitor}, {mfa,{mnesia_monitor,start,[]}}, {restart_type,permanent}, {shutdown,3000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.70.0>}, {name,mnesia_subscr}, {mfa,{mnesia_subscr,start,[]}}, {restart_type,permanent}, {shutdown,3000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.71.0>}, {name,mnesia_locker}, {mfa,{mnesia_locker,start,[]}}, {restart_type,permanent}, {shutdown,3000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.72.0>}, {name,mnesia_recover}, {mfa,{mnesia_recover,start,[]}}, {restart_type,permanent}, {shutdown,180000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,kernel_safe_sup} started: [{pid,<0.76.0>}, {name,dets_sup}, {mfa,{dets_sup,start_link,[]}}, {restart_type,permanent}, {shutdown,1000}, {child_type,supervisor}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,kernel_safe_sup} started: [{pid,<0.77.0>}, {name,dets}, {mfa,{dets_server,start_link,[]}}, {restart_type,permanent}, {shutdown,2000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,kernel_safe_sup} started: [{pid,<0.86.0>}, {name,timer_server}, {mfa,{timer,start_link,[]}}, {restart_type,permanent}, {shutdown,1000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.73.0>}, {name,mnesia_tm}, {mfa,{mnesia_tm,start,[]}}, {restart_type,permanent}, {shutdown,30000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.87.0>}, {name,mnesia_checkpoint_sup}, {mfa,{mnesia_checkpoint_sup,start,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.88.0>}, {name,mnesia_snmp_sup}, {mfa,{mnesia_snmp_sup,start,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.89.0>}, {name,mnesia_controller}, {mfa,{mnesia_controller,start,[]}}, {restart_type,permanent}, {shutdown,3000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_kernel_sup} started: [{pid,<0.90.0>}, {name,mnesia_late_loader}, {mfa,{mnesia_late_loader,start,[]}}, {restart_type,permanent}, {shutdown,3000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,mnesia_sup} started: [{pid,<0.68.0>}, {name,mnesia_kernel_sup}, {mfa,{mnesia_kernel_sup,start,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === application: mnesia started_at: [EMAIL PROTECTED] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,crypto_sup} started: [{pid,<0.98.0>}, {name,crypto_server}, {mfa,{crypto_server,start_link,[]}}, {restart_type,permanent}, {shutdown,2000}, {child_type,worker}] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === application: crypto started_at: [EMAIL PROTECTED] =PROGRESS REPORT==== 29-Jul-2008::00:04:49 === supervisor: {local,stringprep_sup} started: [{pid,<0.100.0>}, {name,stringprep}, {mfa,{stringprep,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}]
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil