Project

General

Profile

questions about User does not exist: vhost-manager

Raylin lin
Added almost 5 years ago

hi,all:

  my init.properties file is :

--admins=admin@10.232.82.54

--virt-hosts = www.173start.com

--debug=server,xmpp,db

--user-db=mysql

--user-db-uri=jdbc:mysql://10.66.122.25:3306/tigase?user=admin&password=newpassword&noAccessToProcedureBodies=true&useUnicode=true&characterEncoding=UTF-8

--cluster-connect-all=true

--cluster-mode=true

#--cl-conn-repo-class=tigase.cluster.repo.ClConConfigRepository

--cross-domain-policy-file=/etc/tigase/cross-domain-policy.xml

--bosh-extra-headers-file=/etc/tigase/bosh-extra-headers-file.txt

--bosh-ports=5280

i started tigase server and got this error log:

2014-04-21 17:55:11.932 [hostnames] UserRepoRepository.reload() SEVERE: Problem with loading items list from the database.

tigase.db.UserNotFoundException: User does not exist: vhost-manager

    at tigase.db.jdbc.JDBCRepository.getUserUID(JDBCRepository.java:1544)

    at tigase.db.jdbc.JDBCRepository.getNodeNID(JDBCRepository.java:1520)

    at tigase.db.jdbc.JDBCRepository.getData(JDBCRepository.java:313)

    at tigase.db.jdbc.JDBCRepository.getData(JDBCRepository.java:389)

    at tigase.db.UserRepositoryMDImpl.getData(UserRepositoryMDImpl.java:195)

    at tigase.db.comp.UserRepoRepository.reload(UserRepoRepository.java:133)

    at tigase.db.comp.ConfigRepository$1.run(ConfigRepository.java:78)

    at java.util.TimerThread.mainLoop(Timer.java:555)

    at java.util.TimerThread.run(Timer.java:505)

Replies (2)

Added by Wojciech Kapcia TigaseTeam almost 5 years ago

Do you have any other exceptions? Does db connection without any problems? This is the system user and should be created during server startup (if it doesn't exists) so there had to be some issue earlier.

Added by Raylin lin almost 5 years ago

this maybe caused by db problems, I've recreated db tables, and It works now.

    (1-2/2)