Ejabberd:安装期间的故障转储
Ejabberd: Crash Dump during installation
昨天我尝试先通过源代码安装 Ejabberd,然后使用 Ubuntu 特定的软件包。
我想我弄得一团糟,因为现在我遇到了这个具有威胁性的 Crash dump
错误。
(base) marco@pc01:~$ sudo aptitude install ejabberd
The following NEW packages will be installed:
ejabberd erlang-asn1{a} erlang-base{a} erlang-base64url{a}
erlang-crypto{a} erlang-edoc{a} erlang-fs-listener{a} erlang-goldrush{a}
erlang-inets{a} erlang-jiffy{a} erlang-jose{a} erlang-lager{a}
erlang-mnesia{a} erlang-odbc{a} erlang-os-mon{a} erlang-p1-cache-tab{a}
erlang-p1-eimp{a} erlang-p1-iconv{a} erlang-p1-stringprep{a}
erlang-p1-tls{a} erlang-p1-utils{a} erlang-p1-xml{a} erlang-p1-xmpp{a}
erlang-p1-yaml{a} erlang-p1-zlib{a} erlang-proper{a} erlang-public-key{a}
erlang-runtime-tools{a} erlang-snmp{a} erlang-ssl{a}
erlang-syntax-tools{a} erlang-xmerl{a} inotify-tools{a}
libinotifytools0{a} libodbc1{a} libsctp1{a}
0 packages upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/22,9 MB of archives. After unpacking 40,9 MB will be used.
Do you want to continue? [Y/n/?] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 395356 files and directories currently installed.)
Preparing to unpack .../00-erlang-base_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-base (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-asn1.
Preparing to unpack .../01-erlang-asn1_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-asn1 (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-crypto.
Preparing to unpack .../02-erlang-crypto_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-crypto (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-mnesia.
Preparing to unpack .../03-erlang-mnesia_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-mnesia (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-runtime-tools.
Preparing to unpack .../04-erlang-runtime-tools_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-runtime-tools (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-public-key.
Preparing to unpack .../05-erlang-public-key_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-public-key (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-ssl.
Preparing to unpack .../06-erlang-ssl_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-ssl (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-inets.
Preparing to unpack .../07-erlang-inets_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-inets (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package libodbc1:amd64.
Preparing to unpack .../08-libodbc1_2.3.4-1.1ubuntu3_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.4-1.1ubuntu3) ...
Selecting previously unselected package erlang-odbc.
Preparing to unpack .../09-erlang-odbc_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-odbc (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-syntax-tools.
Preparing to unpack .../10-erlang-syntax-tools_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-syntax-tools (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package libinotifytools0.
Preparing to unpack .../11-libinotifytools0_3.14-2_amd64.deb ...
Unpacking libinotifytools0 (3.14-2) ...
Selecting previously unselected package inotify-tools.
Preparing to unpack .../12-inotify-tools_3.14-2_amd64.deb ...
Unpacking inotify-tools (3.14-2) ...
Selecting previously unselected package erlang-fs-listener.
Preparing to unpack .../13-erlang-fs-listener_4.1-1_amd64.deb ...
Unpacking erlang-fs-listener (4.1-1) ...
Selecting previously unselected package erlang-xmerl.
Preparing to unpack .../14-erlang-xmerl_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-xmerl (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-proper.
Preparing to unpack .../15-erlang-proper_1.2+git988ea0ed9f+dfsg-1_amd64.deb ...
Unpacking erlang-proper (1.2+git988ea0ed9f+dfsg-1) ...
Selecting previously unselected package erlang-jiffy.
Preparing to unpack .../16-erlang-jiffy_0.14.11+dfsg-2_amd64.deb ...
Unpacking erlang-jiffy (0.14.11+dfsg-2) ...
Selecting previously unselected package erlang-base64url.
Preparing to unpack .../17-erlang-base64url_1.0-2_amd64.deb ...
Unpacking erlang-base64url (1.0-2) ...
Selecting previously unselected package erlang-jose.
Preparing to unpack .../18-erlang-jose_1.8.4-2_amd64.deb ...
Unpacking erlang-jose (1.8.4-2) ...
Selecting previously unselected package erlang-goldrush.
Preparing to unpack .../19-erlang-goldrush_0.1.9-4_amd64.deb ...
Unpacking erlang-goldrush (0.1.9-4) ...
Selecting previously unselected package erlang-lager.
Preparing to unpack .../20-erlang-lager_3.5.2-2_amd64.deb ...
Unpacking erlang-lager (3.5.2-2) ...
Selecting previously unselected package erlang-snmp.
Preparing to unpack .../21-erlang-snmp_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-snmp (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-os-mon.
Preparing to unpack .../22-erlang-os-mon_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-os-mon (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-edoc.
Preparing to unpack .../23-erlang-edoc_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-edoc (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-p1-utils.
Preparing to unpack .../24-erlang-p1-utils_1.0.10-2_amd64.deb ...
Unpacking erlang-p1-utils (1.0.10-2) ...
Selecting previously unselected package erlang-p1-cache-tab.
Preparing to unpack .../25-erlang-p1-cache-tab_1.0.12-2_amd64.deb ...
Unpacking erlang-p1-cache-tab (1.0.12-2) ...
Selecting previously unselected package erlang-p1-eimp.
Preparing to unpack .../26-erlang-p1-eimp_1.0.2-2_amd64.deb ...
Unpacking erlang-p1-eimp (1.0.2-2) ...
Selecting previously unselected package erlang-p1-iconv.
Preparing to unpack .../27-erlang-p1-iconv_1.0.6-2_amd64.deb ...
Unpacking erlang-p1-iconv (1.0.6-2) ...
Selecting previously unselected package erlang-p1-stringprep.
Preparing to unpack .../28-erlang-p1-stringprep_1.0.10-2_amd64.deb ...
Unpacking erlang-p1-stringprep (1.0.10-2) ...
Selecting previously unselected package erlang-p1-tls.
Preparing to unpack .../29-erlang-p1-tls_1.0.20-1ubuntu0.2_amd64.deb ...
Unpacking erlang-p1-tls (1.0.20-1ubuntu0.2) ...
Selecting previously unselected package erlang-p1-xml.
Preparing to unpack .../30-erlang-p1-xml_1.1.28-1_amd64.deb ...
Unpacking erlang-p1-xml (1.1.28-1) ...
Selecting previously unselected package erlang-p1-xmpp.
Preparing to unpack .../31-erlang-p1-xmpp_1.1.19-1_amd64.deb ...
Unpacking erlang-p1-xmpp (1.1.19-1) ...
Selecting previously unselected package erlang-p1-yaml.
Preparing to unpack .../32-erlang-p1-yaml_1.0.12-2_amd64.deb ...
Unpacking erlang-p1-yaml (1.0.12-2) ...
Selecting previously unselected package erlang-p1-zlib.
Preparing to unpack .../33-erlang-p1-zlib_1.0.3-2_amd64.deb ...
Unpacking erlang-p1-zlib (1.0.3-2) ...
Preparing to unpack .../34-ejabberd_18.01-2_amd64.deb ...
Generating SSL certificate /etc/ejabberd/ejabberd.pem...
Unpacking ejabberd (18.01-2) ...
dpkg: warning: unable to delete old directory '/opt/ejabberd-21.04/logs': Directory not empty
dpkg: warning: unable to delete old directory '/opt/ejabberd-21.04': Directory not empty
Selecting previously unselected package libsctp1:amd64.
Preparing to unpack .../35-libsctp1_1.0.17+dfsg-2_amd64.deb ...
Unpacking libsctp1:amd64 (1.0.17+dfsg-2) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Setting up libinotifytools0 (3.14-2) ...
Setting up libodbc1:amd64 (2.3.4-1.1ubuntu3) ...
Setting up inotify-tools (3.14-2) ...
Setting up erlang-base (1:20.2.2+dfsg-1ubuntu2) ...
Searching for services which depend on erlang and should be started...none found.
Setting up libsctp1:amd64 (1.0.17+dfsg-2) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Setting up erlang-xmerl (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-crypto (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-asn1 (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-mnesia (1:20.2.2+dfsg-1ubuntu2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Setting up erlang-base64url (1.0-2) ...
Processing triggers for systemd (237-3ubuntu10.46) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up erlang-runtime-tools (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-syntax-tools (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-odbc (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-proper (1.2+git988ea0ed9f+dfsg-1) ...
Setting up erlang-fs-listener (4.1-1) ...
Setting up erlang-p1-zlib (1.0.3-2) ...
Setting up erlang-jiffy (0.14.11+dfsg-2) ...
Setting up erlang-public-key (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-snmp (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-ssl (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-inets (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-goldrush (0.1.9-4) ...
Setting up erlang-jose (1.8.4-2) ...
Setting up erlang-os-mon (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-edoc (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-lager (3.5.2-2) ...
Setting up erlang-p1-utils (1.0.10-2) ...
Setting up erlang-p1-stringprep (1.0.10-2) ...
Setting up erlang-p1-yaml (1.0.12-2) ...
Setting up erlang-p1-iconv (1.0.6-2) ...
Setting up erlang-p1-tls (1.0.20-1ubuntu0.2) ...
Setting up erlang-p1-cache-tab (1.0.12-2) ...
Setting up erlang-p1-xml (1.1.28-1) ...
Setting up erlang-p1-eimp (1.0.2-2) ...
Setting up erlang-p1-xmpp (1.1.19-1) ...
Setting up ejabberd (18.01-2) ...
(base) marco@pc01:~$ ejabberdctl
{"init terminating in [do_boot",{undef,[{ejabberd_ctl,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}](url)
init terminating in do_boot ({undef,[{ejabberd_ctl,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
Crash dump is being written to: /usr/local/var/log/ejabberd/erl_crash_20210427-084312.dump...done
这是完整的转储文件:
https://drive.google.com/file/d/1PkEQkx0aWO8MsuvZiA8NVfl8uLluTzQc/view?usp=sharing
O.S: Ubuntu 18.04.4. Deskotp
Erlang Version:
cat /usr/lib/erlang/releases/RELEASES
%% coding: utf-8
[{release,"Erlang/OTP","20","9.2",
[{kernel,"5.4.1","/usr/lib/erlang/lib/kernel-5.4.1"},
{stdlib,"3.4.3","/usr/lib/erlang/lib/stdlib-3.4.3"},
{sasl,"3.1.1","/usr/lib/erlang/lib/sasl-3.1.1"}],
如何从这个严重错误中恢复 Crash dump
以便从头开始安装?
期待您的帮助
Yesterday I tried to install Ejabberd first through souce code
只是好奇:你发现了什么问题,更喜欢使用 Ubuntu 包?
您是否从源代码安装?如果是这样,你后来卸载了吗?也许卸载在那里留下了一些文件(在 make uninstall 中有一些与此相关的错误)...如果您可以查看安装路径并删除剩余的 ejabberd 文件,这将有所帮助和目录,特别是文件 ejabberdctl.
and then with Ubuntu specific packages
好吧,这可能是两个安装混合了...或者 Ubuntu 包可能有一些与您之前的安装无关的问题。保持所有调查热线畅通:)
{"init terminating in [do_boot",{undef,[{ejabberd_ctl,start,[],
此错误消息表示 erlang 无法找到文件 ejabberd_ctl.beam,或者文件未定义函数 start[=31] =].
只是一个疯狂的想法:也许你是 运行 来自源安装的“ejabberdctl”脚本(指向旧的 ejabberd beam 文件),但现在你将 ejabberd beam 文件安装在不同的位置(通过 Ubuntu 包)。
昨天我尝试先通过源代码安装 Ejabberd,然后使用 Ubuntu 特定的软件包。
我想我弄得一团糟,因为现在我遇到了这个具有威胁性的 Crash dump
错误。
(base) marco@pc01:~$ sudo aptitude install ejabberd
The following NEW packages will be installed:
ejabberd erlang-asn1{a} erlang-base{a} erlang-base64url{a}
erlang-crypto{a} erlang-edoc{a} erlang-fs-listener{a} erlang-goldrush{a}
erlang-inets{a} erlang-jiffy{a} erlang-jose{a} erlang-lager{a}
erlang-mnesia{a} erlang-odbc{a} erlang-os-mon{a} erlang-p1-cache-tab{a}
erlang-p1-eimp{a} erlang-p1-iconv{a} erlang-p1-stringprep{a}
erlang-p1-tls{a} erlang-p1-utils{a} erlang-p1-xml{a} erlang-p1-xmpp{a}
erlang-p1-yaml{a} erlang-p1-zlib{a} erlang-proper{a} erlang-public-key{a}
erlang-runtime-tools{a} erlang-snmp{a} erlang-ssl{a}
erlang-syntax-tools{a} erlang-xmerl{a} inotify-tools{a}
libinotifytools0{a} libodbc1{a} libsctp1{a}
0 packages upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/22,9 MB of archives. After unpacking 40,9 MB will be used.
Do you want to continue? [Y/n/?] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 395356 files and directories currently installed.)
Preparing to unpack .../00-erlang-base_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-base (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-asn1.
Preparing to unpack .../01-erlang-asn1_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-asn1 (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-crypto.
Preparing to unpack .../02-erlang-crypto_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-crypto (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-mnesia.
Preparing to unpack .../03-erlang-mnesia_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-mnesia (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-runtime-tools.
Preparing to unpack .../04-erlang-runtime-tools_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-runtime-tools (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-public-key.
Preparing to unpack .../05-erlang-public-key_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-public-key (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-ssl.
Preparing to unpack .../06-erlang-ssl_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-ssl (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-inets.
Preparing to unpack .../07-erlang-inets_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-inets (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package libodbc1:amd64.
Preparing to unpack .../08-libodbc1_2.3.4-1.1ubuntu3_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.4-1.1ubuntu3) ...
Selecting previously unselected package erlang-odbc.
Preparing to unpack .../09-erlang-odbc_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-odbc (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-syntax-tools.
Preparing to unpack .../10-erlang-syntax-tools_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-syntax-tools (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package libinotifytools0.
Preparing to unpack .../11-libinotifytools0_3.14-2_amd64.deb ...
Unpacking libinotifytools0 (3.14-2) ...
Selecting previously unselected package inotify-tools.
Preparing to unpack .../12-inotify-tools_3.14-2_amd64.deb ...
Unpacking inotify-tools (3.14-2) ...
Selecting previously unselected package erlang-fs-listener.
Preparing to unpack .../13-erlang-fs-listener_4.1-1_amd64.deb ...
Unpacking erlang-fs-listener (4.1-1) ...
Selecting previously unselected package erlang-xmerl.
Preparing to unpack .../14-erlang-xmerl_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-xmerl (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-proper.
Preparing to unpack .../15-erlang-proper_1.2+git988ea0ed9f+dfsg-1_amd64.deb ...
Unpacking erlang-proper (1.2+git988ea0ed9f+dfsg-1) ...
Selecting previously unselected package erlang-jiffy.
Preparing to unpack .../16-erlang-jiffy_0.14.11+dfsg-2_amd64.deb ...
Unpacking erlang-jiffy (0.14.11+dfsg-2) ...
Selecting previously unselected package erlang-base64url.
Preparing to unpack .../17-erlang-base64url_1.0-2_amd64.deb ...
Unpacking erlang-base64url (1.0-2) ...
Selecting previously unselected package erlang-jose.
Preparing to unpack .../18-erlang-jose_1.8.4-2_amd64.deb ...
Unpacking erlang-jose (1.8.4-2) ...
Selecting previously unselected package erlang-goldrush.
Preparing to unpack .../19-erlang-goldrush_0.1.9-4_amd64.deb ...
Unpacking erlang-goldrush (0.1.9-4) ...
Selecting previously unselected package erlang-lager.
Preparing to unpack .../20-erlang-lager_3.5.2-2_amd64.deb ...
Unpacking erlang-lager (3.5.2-2) ...
Selecting previously unselected package erlang-snmp.
Preparing to unpack .../21-erlang-snmp_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-snmp (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-os-mon.
Preparing to unpack .../22-erlang-os-mon_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-os-mon (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-edoc.
Preparing to unpack .../23-erlang-edoc_1%3a20.2.2+dfsg-1ubuntu2_amd64.deb ...
Unpacking erlang-edoc (1:20.2.2+dfsg-1ubuntu2) ...
Selecting previously unselected package erlang-p1-utils.
Preparing to unpack .../24-erlang-p1-utils_1.0.10-2_amd64.deb ...
Unpacking erlang-p1-utils (1.0.10-2) ...
Selecting previously unselected package erlang-p1-cache-tab.
Preparing to unpack .../25-erlang-p1-cache-tab_1.0.12-2_amd64.deb ...
Unpacking erlang-p1-cache-tab (1.0.12-2) ...
Selecting previously unselected package erlang-p1-eimp.
Preparing to unpack .../26-erlang-p1-eimp_1.0.2-2_amd64.deb ...
Unpacking erlang-p1-eimp (1.0.2-2) ...
Selecting previously unselected package erlang-p1-iconv.
Preparing to unpack .../27-erlang-p1-iconv_1.0.6-2_amd64.deb ...
Unpacking erlang-p1-iconv (1.0.6-2) ...
Selecting previously unselected package erlang-p1-stringprep.
Preparing to unpack .../28-erlang-p1-stringprep_1.0.10-2_amd64.deb ...
Unpacking erlang-p1-stringprep (1.0.10-2) ...
Selecting previously unselected package erlang-p1-tls.
Preparing to unpack .../29-erlang-p1-tls_1.0.20-1ubuntu0.2_amd64.deb ...
Unpacking erlang-p1-tls (1.0.20-1ubuntu0.2) ...
Selecting previously unselected package erlang-p1-xml.
Preparing to unpack .../30-erlang-p1-xml_1.1.28-1_amd64.deb ...
Unpacking erlang-p1-xml (1.1.28-1) ...
Selecting previously unselected package erlang-p1-xmpp.
Preparing to unpack .../31-erlang-p1-xmpp_1.1.19-1_amd64.deb ...
Unpacking erlang-p1-xmpp (1.1.19-1) ...
Selecting previously unselected package erlang-p1-yaml.
Preparing to unpack .../32-erlang-p1-yaml_1.0.12-2_amd64.deb ...
Unpacking erlang-p1-yaml (1.0.12-2) ...
Selecting previously unselected package erlang-p1-zlib.
Preparing to unpack .../33-erlang-p1-zlib_1.0.3-2_amd64.deb ...
Unpacking erlang-p1-zlib (1.0.3-2) ...
Preparing to unpack .../34-ejabberd_18.01-2_amd64.deb ...
Generating SSL certificate /etc/ejabberd/ejabberd.pem...
Unpacking ejabberd (18.01-2) ...
dpkg: warning: unable to delete old directory '/opt/ejabberd-21.04/logs': Directory not empty
dpkg: warning: unable to delete old directory '/opt/ejabberd-21.04': Directory not empty
Selecting previously unselected package libsctp1:amd64.
Preparing to unpack .../35-libsctp1_1.0.17+dfsg-2_amd64.deb ...
Unpacking libsctp1:amd64 (1.0.17+dfsg-2) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Setting up libinotifytools0 (3.14-2) ...
Setting up libodbc1:amd64 (2.3.4-1.1ubuntu3) ...
Setting up inotify-tools (3.14-2) ...
Setting up erlang-base (1:20.2.2+dfsg-1ubuntu2) ...
Searching for services which depend on erlang and should be started...none found.
Setting up libsctp1:amd64 (1.0.17+dfsg-2) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Setting up erlang-xmerl (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-crypto (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-asn1 (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-mnesia (1:20.2.2+dfsg-1ubuntu2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Setting up erlang-base64url (1.0-2) ...
Processing triggers for systemd (237-3ubuntu10.46) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up erlang-runtime-tools (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-syntax-tools (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-odbc (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-proper (1.2+git988ea0ed9f+dfsg-1) ...
Setting up erlang-fs-listener (4.1-1) ...
Setting up erlang-p1-zlib (1.0.3-2) ...
Setting up erlang-jiffy (0.14.11+dfsg-2) ...
Setting up erlang-public-key (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-snmp (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-ssl (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-inets (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-goldrush (0.1.9-4) ...
Setting up erlang-jose (1.8.4-2) ...
Setting up erlang-os-mon (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-edoc (1:20.2.2+dfsg-1ubuntu2) ...
Setting up erlang-lager (3.5.2-2) ...
Setting up erlang-p1-utils (1.0.10-2) ...
Setting up erlang-p1-stringprep (1.0.10-2) ...
Setting up erlang-p1-yaml (1.0.12-2) ...
Setting up erlang-p1-iconv (1.0.6-2) ...
Setting up erlang-p1-tls (1.0.20-1ubuntu0.2) ...
Setting up erlang-p1-cache-tab (1.0.12-2) ...
Setting up erlang-p1-xml (1.1.28-1) ...
Setting up erlang-p1-eimp (1.0.2-2) ...
Setting up erlang-p1-xmpp (1.1.19-1) ...
Setting up ejabberd (18.01-2) ...
(base) marco@pc01:~$ ejabberdctl
{"init terminating in [do_boot",{undef,[{ejabberd_ctl,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}](url)
init terminating in do_boot ({undef,[{ejabberd_ctl,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
Crash dump is being written to: /usr/local/var/log/ejabberd/erl_crash_20210427-084312.dump...done
这是完整的转储文件: https://drive.google.com/file/d/1PkEQkx0aWO8MsuvZiA8NVfl8uLluTzQc/view?usp=sharing
O.S: Ubuntu 18.04.4. Deskotp
Erlang Version:
cat /usr/lib/erlang/releases/RELEASES
%% coding: utf-8
[{release,"Erlang/OTP","20","9.2",
[{kernel,"5.4.1","/usr/lib/erlang/lib/kernel-5.4.1"},
{stdlib,"3.4.3","/usr/lib/erlang/lib/stdlib-3.4.3"},
{sasl,"3.1.1","/usr/lib/erlang/lib/sasl-3.1.1"}],
如何从这个严重错误中恢复 Crash dump
以便从头开始安装?
期待您的帮助
Yesterday I tried to install Ejabberd first through souce code
只是好奇:你发现了什么问题,更喜欢使用 Ubuntu 包?
您是否从源代码安装?如果是这样,你后来卸载了吗?也许卸载在那里留下了一些文件(在 make uninstall 中有一些与此相关的错误)...如果您可以查看安装路径并删除剩余的 ejabberd 文件,这将有所帮助和目录,特别是文件 ejabberdctl.
and then with Ubuntu specific packages
好吧,这可能是两个安装混合了...或者 Ubuntu 包可能有一些与您之前的安装无关的问题。保持所有调查热线畅通:)
{"init terminating in [do_boot",{undef,[{ejabberd_ctl,start,[],
此错误消息表示 erlang 无法找到文件 ejabberd_ctl.beam,或者文件未定义函数 start[=31] =].
只是一个疯狂的想法:也许你是 运行 来自源安装的“ejabberdctl”脚本(指向旧的 ejabberd beam 文件),但现在你将 ejabberd beam 文件安装在不同的位置(通过 Ubuntu 包)。