On May 7, 2017, at 8:59 PM, Michael Knill <michael.kn...@ipcsolutions.com.au> wrote:
> Im getting this: > May 8 11:57:14 1222-IBC-APP1 user.info prosody: XMPP SSL configuration > error, failed to start. > May 8 11:57:14 1222-IBC-APP1 user.info prosody: Try generating an Asterisk > SIP-TLS Server Certificate, which XMPP will use by default. > > So I go to the SIP TLS page and create new and it still wont start! > > Any ideas? What can I check? > > Regards > Michael Knill That error is generated from the /etc/init.d/prosody script, when the function gen_xmpp_config() returns non-zero, in particularly this code snippet: -- cert="${XMPP_CERT:-/etc/prosody/certs/server.crt}" key="${XMPP_KEY:-/etc/prosody/certs/server.key}" if [ ! -f "$cert" ] || [ ! -f "$key" ]; then return 1 fi if [ "$(stat -c '%U:%G' "$cert")" != "prosody:prosody" -o "$(stat -c '%U:%G' "$key")" != "prosody:prosody" ]; then return 1 fi -- My guess is the /mnt/kd/prosody/certs/server.crt and /mnt/kd/prosody/certs/server.key files exist but may not be prosody:prosody user/group. If that is the case, one solution is to remove those server.* file and restart XMPP. Or, -- chown prosody:prosody /mnt/kd/prosody/certs/server.crt chown prosody:prosody /mnt/kd/prosody/certs/server.key -- Lonnie ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.