Project

General

Profile

Account cannot be created

feng xu
Added over 4 years ago

init.properties :config-type=--gen-config-def

--admins=admin@localhost.localdomain

--virt-hosts =localhost.localdomain

--debug=server

--user-db=mysql

--user-db-uri=jdbc:mysql://192.168.248.90:3306/tigase?user=root&password=root&useUnicode=true&characterEncoding=UTF-8

But the spark registered always can't register the account。logs and no error,The spark log shows " stream:error (host-unknown)"


Replies (3)

Added by Wojciech Kapcia TigaseTeam over 4 years ago

It's hard to tell without the logs but the most probable reason is that you are trying to create the account for the user in different domain/VHost than the one configured, i.e. not @localhost.localdomain@. Please take a look at --virt-hosts property description.

Added by feng xu over 4 years ago

virt-host from the hostname ,Centos view the hostname is localhost.localdomain

Added by Wojciech Kapcia TigaseTeam over 4 years ago

But virt-host is separate from the machine hostname (i.e. $ hostname output) - it's the domain that you want to use. Under what domain you want to create user using spark?

    (1-3/3)