Forum

Results 1 to 4 of 4
  1. #1
    Join Date
    May 2010
    Location
    Indiana, Pennsylvania, US
    Posts
    5

    Question Cannot create virtual server

    Hey all,

    I just started getting this issue on a TS3 server:

    2011-06-12 22:35:52.957364|ERROR |VirtualSvrMgr | | addServer() failed to copy defaults
    2011-06-12 22:54:41.765706|INFO |Query | | query from 1438 *ipremoved*:4921 issued: servercreate virtualserver_name=TempName virtualserver_port=14186 virtualserver_upload_quota=0 virtualserver_download_quota=0

    I've re-imported permissions to make sure none were missing after the update and the error persists. Everytime I try to create a new ts3 server this scrolls through the logs continuously.

    Any suggestions? I'd rather not reinstall as I have a bunch of virtual servers using this instance.

    Running ts3 in MySQL db btw.

    Thanks in advance =)

    -Mike
    Last edited by mkrug; June 13th, 2011 at 12:52 AM. Reason: removed ip

  2. #2
    Join Date
    May 2010
    Location
    Indiana, Pennsylvania, US
    Posts
    5
    Another add. All virtual servers created prior to this error showing up function properly.

  3. #3
    Join Date
    May 2010
    Posts
    6,310
    Hello

    Quote Originally Posted by mkrug
    addServer() failed to copy defaults
    This message appears when the ID in the instance_properties (database table) does not correspond with the ID of Template Server Group.

    Do you change something rirectly on the database ?

    So, you have to edit your database (to check it)
    - Go on "instance_properties" table and not the value from each ident start with "serverinstance_template"
    - Go to "server_group" table and compare the ID

  4. #4
    Join Date
    May 2010
    Location
    Indiana, Pennsylvania, US
    Posts
    5
    Thanks for your reply =)

    I did indeed edit the db, I removed all references to b_virtualserver_modify_maxclients and i_needed_modify_power_virtualserver_modify_maxclie nts so people could not edit slots. Also, added permissions to individual servers to grant guest permissions to get tsviewer to work. So, I'm painfully aware that I most likely caused this. I've been editing the db for quite awhile and only modify the perms that I am comfortable with. It is perhaps possible that when removing rows that I was a bit too liberal in my checkbox clicking

    The groups exist in each as shown below. TBH, there are duplicates here for some reason, not sure if that is causing my problem or not. But this is the contents of the tables that you mentioned may contain the issue. Thoughts?

    instance_properties (serverinstance_template_*):
    server_id id ident value
    0 0 serverinstance_template_channeladmin_group 1 NULL
    0 0 serverinstance_template_channeladmin_group 1 NULL
    0 0 serverinstance_template_channeladmin_group 1
    0 0 serverinstance_template_channeldefault_group 4 NULL
    0 0 serverinstance_template_channeldefault_group 4 NULL
    0 0 serverinstance_template_channeldefault_group 4
    0 0 serverinstance_template_serveradmin_group 3 NULL
    0 0 serverinstance_template_serveradmin_group 3
    0 0 serverinstance_template_serveradmin_group 3 NULL
    0 0 serverinstance_template_serverdefault_group 5
    0 0 serverinstance_template_serverdefault_group 5 NULL
    0 0 serverinstance_template_serverdefault_group 5

    groups_server (for server 0):
    group_id server_id name type
    1 0 Guest Server Query 2
    2 0 Admin Server Query 2
    3 0 Server Admin 0
    4 0 Normal 0
    5 0 Guest 0

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cannot create a second virtual server.
    By Birdtalon in forum Linux / FreeBSD
    Replies: 1
    Last Post: July 17th, 2011, 06:45 PM
  2. Can I create another virtual server?
    By shhht! in forum Windows
    Replies: 6
    Last Post: August 10th, 2010, 07:16 AM
  3. cannot create 2nd virtual server
    By TheChris in forum Permission System
    Replies: 1
    Last Post: July 14th, 2010, 02:19 PM
  4. How to create a Virtual Server?
    By naitsirk in forum Server Support
    Replies: 9
    Last Post: April 4th, 2010, 06:56 PM
  5. Create a new virtual server
    By alyor in forum Windows
    Replies: 3
    Last Post: January 6th, 2010, 12:11 AM

Tags for this Thread

Posting Permissions

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