Project

General

Profile

Assistance needed with installation

Mark Tetrode
Added over 5 years ago

Hi

I need some assistance with the installation / configuration of Tigase. The current status is:

  • I installed Tigase on a linux server using the GUI installer

  • I can start and stop the server

  • I can login with admin username using Pidgin

I need some help with

  • Logging in with PSI; I understand that using service discovery additional clients can be added and additional commands can be given. Currently, I cannot use PSI, logging in gives an error.

  • Getting some pointers in understanding the server; what files go where, what to look for in logfiles.

  • how to set up SNMP

  • how to set up clustering

I'm not expecting to get all answers in one go, though - when can can assist me with one of the points above it would already be great!

Thanks

Mark


Replies (4)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

Currently, I cannot use PSI, logging in gives an error.

what error?

Getting some pointers in understanding the server; what files go where

this is relatively straightforward; binaries goes in jars/@, configuration (main @init.properties and tigase.conf@) goes in @etc/ (as well as any other configuration files), certificates in PEM files are place in certs/ directory.

how to set up SNMP

This has been covered in Setting up remote monitoring in the server

how to set up clustering

--cluster-mode and --cluster-nodes covers almost everything. Recent versions in repository introduce new, automatic node discovery making second configuration option not necessary.

Added by Mark Tetrode over 5 years ago

Hi

The error that PSI gave me was:


admin@pepermunt: Server Error


There was an error communicating with the server.

Details: Disconnected


OK


Not so very helpful. Now, by changing options, I am now able to connect, however, I'm not sure what exactly I'm doing - or why Tigase is sometimes not allowing me to connect. My current settings for PSI - and these work:

============================================================

account properties

account name: admin@pepermunt

Account

XMPP Address: admin@pepermunt

Password: tigase

Settings: Log message history ON, the rest is off

Details

Nothing entered here

Privacy

Nothing entered here

Connection

Proxy: none

Encryption: never

Plaintext auth: always

Misc.

Use hostname as resource: checked Prio 5

Rest unchecked

============================================================

After experimenting with all the settings, I found out that this Connection part configuration is vital:

Encryption: never

Plaintext auth: always

============================================================

  • Can someone please explain why the connection will time out when I chose any other settings?

  • For encryption, I obviously need certificates. Is there an explanation available how to generate self-signed certificates and how to install them?

  • what is an easy way of adding / removing users via an API / commandline / another automated method?

BOSH, SNMP, Cluster - I will come back to that later.

Thanks

Mark

Added by Wojciech Kapcia TigaseTeam over 5 years ago

  • Can someone please explain why the connection will time out when I chose any other settings?

You could try enabling XML console in Psi (RMB on account name and select XML console) and see all communication with the server - it would help identifying problem. Also - providing Tigase configuration would help.

  • For encryption, I obviously need certificates. Is there an explanation available how to generate self-signed certificates and how to install them?

Actually Tigase generates self-signed certificates for configured VHosts if no certificate is present. If you prefer to generate it on your own then there is a variety of HOW-TOs around the web, mostly using openssl. Afterwards you should put resulting certificate PEM file (certificate, private key) in certs/Vhost.domain.tld.pem

  • what is an easy way of adding / removing users via an API / commandline / another automated method?

You can use either TCLMT utility or HTTP REST API component.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

What Tigase server version are you using?

    (1-4/4)