[ejabberd] xenial

Randy Bush randy at psg.com
Sat Sep 24 02:05:42 MSK 2016


i apt removed ejabberd and autoremoved
then apt installed ejabberd

xmpp.rg.net:/root# apt install ejabberd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  erlang-edoc erlang-goldrush erlang-jiffy erlang-lager erlang-odbc erlang-p1-cache-tab erlang-p1-iconv erlang-p1-stringprep erlang-p1-tls erlang-p1-utils erlang-p1-xml erlang-p1-yaml erlang-p1-zlib erlang-proper erlang-xmerl libodbc1 libyaml-0-2
Suggested packages:
  apparmor-utils libunix-syslog-perl imagemagick | graphicsmagick-imagemagick-compat ejabberd-contrib erlang-luerl erlang-oauth2 erlang-p1-mysql erlang-p1-pam erlang-p1-pgsql erlang-p1-sip erlang-p1-stun erlang-riak erlang-sqlite3 erlang-redis-client erlang erlang-manpages erlang-doc libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
  ejabberd erlang-edoc erlang-goldrush erlang-jiffy erlang-lager erlang-odbc erlang-p1-cache-tab erlang-p1-iconv erlang-p1-stringprep erlang-p1-tls erlang-p1-utils erlang-p1-xml erlang-p1-yaml erlang-p1-zlib erlang-proper erlang-xmerl libodbc1 libyaml-0-2
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,318 kB of archives.
After this operation, 11.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
...
Setting up ejabberd (1:16.09-1~ubuntu16.04) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `screen-cleanup'
Job for ejabberd.service failed because a configured resource limit was exceeded. See "systemctl status ejabberd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ejabberd, action "restart" failed.
dpkg: error processing package ejabberd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 ejabberd
E: Sub-process /usr/bin/dpkg returned an error code (1)

upstart/systemd confusion?

-- Unit ejabberd.service has begun starting up.
Sep 23 23:00:24 xmpp.rg.net systemd[1]: ejabberd.service: PID file /run/ejabberd/ejabberd.pid not readable (yet?) after start: No such file or directory
Sep 23 23:00:24 xmpp.rg.net audit[2940]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/ejabberdctl" name="/usr/lib/" pid=2940 comm="async_2" requested_mask="r" denied_mask="r" fsuid=106 ouid=0
Sep 23 23:00:24 xmpp.rg.net kernel: audit: type=1400 audit(1474671624.408:40): apparmor="DENIED" operation="open" profile="/usr/sbin/ejabberdctl" name="/usr/lib/" pid=2940 comm="async_2" requested_mask="r" denied_mask="r" fsuid=106 ouid=0
Sep 23 23:00:24 xmpp.rg.net systemd[1]: ejabberd.service: Daemon never wrote its PID file. Failing.
Sep 23 23:00:24 xmpp.rg.net systemd[1]: Failed to start A distributed, fault-tolerant Jabber/XMPP server.
-- Subject: Unit ejabberd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the ejabberd mailing list