Discussion:
Prosody Failed on start
(too old to reply)
Sabir Mohammed
2017-08-11 19:38:08 UTC
Permalink
Raw Message
Hi,

I am installed prosody successfully and it worked without any problem at
first. After that I reboot the server and again started prosody. But at
this time, it shows failed message.


[***@server ~]# service prosody restart
Restarting prosody (via systemctl): Job for prosody.service failed because
the control process exited with error code. See "systemctl status
prosody.service" and "journalctl -xe" for details.
[FAILED]
[***@server ~]# systemctl status prosody.service
* prosody.service - LSB: Flexible communications server for Jabber/XMPP
Loaded: loaded (/etc/rc.d/init.d/prosody; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-08-11 22:35:08 UTC;
12s ago
Docs: man:systemd-sysv-generator(8)
Process: 1384 ExecStart=/etc/rc.d/init.d/prosody start (code=exited,
status=1/FAILURE)

Aug 11 22:35:01 server systemd[1]: Starting LSB: Flexible communications
server for Jabber/XMPP...
Aug 11 22:35:01 server runuser[1386]: pam_unix(runuser:session): session
opened for user prosody by (uid=0)
Aug 11 22:35:08 server systemd[1]: prosody.service: control process exited,
code=exited status=1
Aug 11 22:35:08 server prosody[1384]: Starting Prosody XMPP (Jabber)
server: Still waiting...
Aug 11 22:35:08 server prosody[1384]: Prosody is still not running. Please
give it some time or check your log files for errors.
Aug 11 22:35:08 server prosody[1384]: [FAILED]
Aug 11 22:35:08 server systemd[1]: *Failed to start LSB: Flexible
communications server for Jabber/XMPP.*
Aug 11 22:35:08 server systemd[1]: Unit prosody.service entered failed
state.
Aug 11 22:35:08 server systemd[1]: prosody.service failed.
[***@server ~]#

What is the solution.? Anyone help..
--
*Thanks & Regards*
*Sabir S M*
Tomasz Torcz
2017-08-11 20:39:49 UTC
Permalink
Raw Message
Post by Sabir Mohammed
Hi,
I am installed prosody successfully and it worked without any problem at
first. After that I reboot the server and again started prosody. But at
this time, it shows failed message.
* prosody.service - LSB: Flexible communications server for Jabber/XMPP
First, this is completely wrong. Prosody has system support (https://github.com/daurnimator/mod_systemd),
you should be using normal systemd unit. Here you use init.d SYSV script
via the compatibility layer.
Probably your distribution shipped something wrong, please open a bug
with them.
Post by Sabir Mohammed
Aug 11 22:35:08 server prosody[1384]: Prosody is still not running. Please
give it some time or check your log files for errors.
What is the solution.? Anyone help..
Do as the message say and check the log files. Those should be
in /var/log/prosody/ IIRC.
--
Tomasz Torcz ,,If you try to upissue this patchset I shall be seeking
xmpp: ***@chrome.pl an IP-routable hand grenade.'' -- Andrew Morton (LKML)
Loading...