Forum

Results 1 to 9 of 9
  1. #1
    Join Date
    February 2009
    Location
    HU
    Posts
    10

    Unhappy Server Crash beta28-pre (permission_manager.cpp:895;)

    Hello!

    The server often stop. Why is that?


    1 day:
    Code:
    [...]
    2010-08-18 21:04:07.705913|INFO    |VirtualServer |  1| query client connected 'Unknown from 4.79.145.85:52997'(id:2797)
    2010-08-18 21:04:09.067025|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 4.79.145.85:52997'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-18 21:06:05.808591|INFO    |VirtualServer |  1| query client connected 'Unknown from 68.232.167.111:41107'(id:2797)
    2010-08-18 21:06:07.195449|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 68.232.167.111:41107'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-18 21:06:11.385121|INFO    |VirtualServer |  1| query client connected 'Unknown from 212.187.209.12:55555'(id:2797)
    2010-08-18 21:06:11.862439|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 212.187.209.12:55555'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-18 21:07:15.091129|ERROR   |PermissionMgr |  1| startChannel: 297 , clientDBID: 1957
    2010-08-18 21:07:15.171347|ERROR   |PermissionMgr |  1| member of groupID: 5
    2010-08-18 21:07:15.198476|ERROR   |PermissionMgr |  1| member of groupID: 17
    2010-08-18 21:07:15.198863|CRITICAL|PermissionMgr |  1| Assertion "groups.size() < 2" failed at server/serverlib/permission_manager.cpp:895;
    2 day:
    Code:
    [...]
    2010-08-19 11:42:06.805782|INFO    |VirtualServer |  1| query client connected 'Unknown from 68.232.160.112:57612'(id:2797)
    2010-08-19 11:42:08.164036|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 68.232.160.112:57612'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-19 11:44:07.667865|INFO    |VirtualServer |  1| query client connected 'Unknown from 216.155.159.10:56968'(id:2797)
    2010-08-19 11:44:08.663559|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 216.155.159.10:56968'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-19 11:44:12.744055|INFO    |VirtualServer |  1| query client connected 'Unknown from 212.187.246.128:59321'(id:2797)
    2010-08-19 11:44:13.259145|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 212.187.246.128:59321'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-19 11:44:17.959076|ERROR   |PermissionMgr |  1| startChannel: 288 , clientDBID: 2589
    2010-08-19 11:44:17.959517|ERROR   |PermissionMgr |  1| member of groupID: 5
    2010-08-19 11:44:17.959827|ERROR   |PermissionMgr |  1| member of groupID: 18
    2010-08-19 11:44:17.960214|CRITICAL|PermissionMgr |  1| Assertion "groups.size() < 2" failed at server/serverlib/permission_manager.cpp:895;
    3 day:
    Code:
    [...]
    2010-08-20 07:56:12.519246|INFO    |VirtualServer |  1| query client connected 'Unknown from 68.232.167.101:35184'(id:2797)
    2010-08-20 07:56:13.788959|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 68.232.167.101:35184'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-20 07:58:10.176227|INFO    |VirtualServer |  1| query client connected 'Unknown from 8.12.21.192:34363'(id:2797)
    2010-08-20 07:58:11.235669|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 8.12.21.192:34363'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-20 07:58:14.024595|INFO    |VirtualServer |  1| query client connected 'Unknown from 195.122.134.142:46482'(id:2797)
    2010-08-20 07:58:14.774523|INFO    |VirtualServer |  1| query client disconnected 'Unknown from 195.122.134.142:46482'(id:2797) reason 'reasonmsg=connection lost'
    2010-08-20 07:58:15.567393|INFO    |ServerMain    |   | Received signal SIGTERM, shutting down.
    2010-08-20 07:58:16.889453|INFO    |VirtualServer |  1| stopped
    After restart run, but again are expected crash?

    I look forward to your answers.


    Thanks,
    S.Daniel

  2. #2
    Join Date
    February 2009
    Location
    HU
    Posts
    10

    Question

    3.day/2.crash..
    Code:
    2010.08.20. 8:28:22   PermGroupMgr    Warning   cldbid: 19, double assigned for sgid: 7, ignoring!	
    2010.08.20. 8:28:22   VirtualServer   Info   listening on 0.0.0.0:9987	
    2010.08.20. 8:28:22   CIDRManager     Info   updated query_ip_whitelist ips: 127.0.0.1, 79.172.***.***, 79.172.***.***, 	
    2010.08.20. 8:28:22   Query           Info   listening on 0.0.0.0:10011	
    2010.08.20. 21:11:05   PermissionMgr   Error   startChannel: 1288 , clientDBID: 1957	
    2010.08.20. 21:11:05   PermissionMgr   Error   member of groupID: 5	
    2010.08.20. 21:11:05   PermissionMgr   Error   member of groupID: 17	
    2010.08.20. 21:11:05   PermissionMgr   Critical   Assertion "groups.size() < 2" failed at server/serverlib/permission_manager.cpp:895;
    Idea?

    Server informations:

    OS: Linux (Debian) - amd64
    V: beta-28-pre
    SLOTS: 512
    Average user statistic: 150-200 user

  3. #3
    Join Date
    February 2009
    Location
    HU
    Posts
    10

    Solved...

    VERY thanks to help.

  4. #4
    Join Date
    June 2008
    Posts
    18,306
    This is a rare bug.
    Can you tell us, how this can happen? Or what happens before this?
    Does anybody create a channel or sets a permission /channel or servergroup?

  5. #5
    Join Date
    February 2009
    Location
    HU
    Posts
    10
    Hello!

    Unfortunately, only the reinstallation helped. Somehow corrupted the database. But now all is well.

    First realized was that the logs are full.

    Code:
    2010-08-13 07:25:00.720712|CRITICAL|ServerLibPriv |   | Server() DatabaseError database disk image is malformed
    Much has been logged, because the data were important to us.

    Maybe some kind of a character is entered, which should not have.

    Look:
    Code:
    <16:38:24> "asd" connected
    <16:38:25> "" disconnected (leaving)
    The person is the same!

    I hope I could help.

  6. #6
    Join Date
    May 2010
    Posts
    6,310
    @dante696

    I found how it happens.

    I tried to assign two channel group to an user directly in the database.
    And I got the same error message and crash the server.

    The server does not understand why there are two channel group, and it crashes and it's normal.

    Code:
    VirtualServer   Info   client connected 'Florian'(id:13) from 192.168.1.98:1754	
    PermissionMgr   Error   startChannel: 15 , clientDBID: 13	
    PermissionMgr   Error   member of groupID: 17	
    PermissionMgr   Error   member of groupID: 18	
    PermissionMgr   Critical   Assertion "groups.size() < 2" failed at server\serverlib\permission_manager.cpp:895;
    Last edited by florian_fr40; September 2nd, 2010 at 10:26 AM.

  7. #7
    Join Date
    June 2008
    Posts
    18,306
    We need a way per query or client. Editing the database can cause many crashes, but this isn't our fault then.

  8. #8
    Join Date
    May 2010
    Posts
    6,310
    Quote Originally Posted by dante696 View Post
    We need a way per query or client. Editing the database can cause many crashes, but this isn't our fault then.
    I'm agree.

    We never say enought
    Do not touch the database if you are unsure of what you do.
    Last edited by florian_fr40; September 2nd, 2010 at 10:55 AM.

  9. #9
    Join Date
    April 2010
    Location
    Germany
    Posts
    26

    Recent server crashs

    Hi,

    recently, I'm getting more and more server crashs, most of the time the server log ends with one of the following critical errors:

    CRITICAL|PermissionMgr | 3| Assertion "groups.size() < 2" failed at server\serverlib\permission_manager.cpp:544;

    CRITICAL|PermissionMgr | 3| channelGroupSetClient() unable to remove client from channelgroup

    Seems as something with the servers permission database is messed up... is there a tool to check the database for logical inconsistencies???

    tom

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Upgrade from 3.0.0-beta28 to RC1 issue
    By Anaksimandar in forum Linux / FreeBSD
    Replies: 0
    Last Post: June 1st, 2011, 03:15 PM
  2. Beta 30. Server Crashes (permission_manager.cpp:895;)
    By Ethaniel in forum Bug Reports [EN/DE]
    Replies: 16
    Last Post: November 24th, 2010, 05:24 PM
  3. TeamSpeak 3 Server 3.0.0-beta28 Available
    By Peter in forum Archive
    Replies: 40
    Last Post: October 5th, 2010, 10:47 AM
  4. TeamSpeak 3 Client 3.0.0-beta28 Available
    By Peter in forum Archive
    Replies: 7
    Last Post: September 9th, 2010, 10:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •