Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    9

    Default CPGS Teamspeak 3 File question

    Hello,
    I changed the default serveradmin password for my Teamspeak 3 server due to a compromise in security. Here is how I changed it (Via command prompt outside of CPGS):

    ./ts3server_startscript.sh start serveradmin_password=1234

    I then stopped the server to confirm the change however Now when I log in to my Cpanel and go to game servers it says NA I click on it and I still have basic access but it says:

    Error communicating with TS3 server: Error ID ( 3329 ) , Error Message ( connection failed, you are banned extra_msg=you may retry in 172 seconds )

    I have tried to update it in these files
    .cpgs_admp - All this file apparently does is display the key in CPGS if you have it enabled.
    .cpgs_custom - This is an empty file so I left it alone.
    .cpgskey - Not sure what this is but all it had in it was: secret=kdoeir30493werk
    .launchrc - This is an empty file so I left it alone

    So the question is how do I update cpgs Teamspeak 3 install (0) to the new password I did lets say I changed it to 1234 how do I have CPGS use the new password instead of the old one so I can see the statistics in cpanel?

    Thanks.

  2. #2
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default Re: CPGS Teamspeak 3 File question

    The .cpgs_admp file is the one that holds the server admin password, for instance:

    ( /home/cpgstest/.gameservers/ts3_2 )=-=( 12:35 PM )=-=( root@darren.dev.cpanel.net )
    : cat .cpgs_admp
    31yg4mob0zg

    ( /home/cpgstest/.gameservers/ts3_2 )=-=( 12:35 PM )=-=( root@darren.dev.cpanel.net )
    : telnet 10.115.115.203 31111
    Trying 10.115.115.203...
    Connected to 10.115.115.203.
    Escape character is '^]'.
    TS3
    Welcome to the TeamSpeak 3 ServerQuery interface, type "help" for a list of commands and "help <command>" for information on a specific command.
    login client_login_name=serveradmin client_login_password=31yg4mob0zg
    error id=0 msg=ok
    whoami
    virtualserver_status=unknown virtualserver_unique_identifier virtualserver_port=0 virtualserver_id=0 client_id=0 client_channel_id=0 client_nickname client_database_id=1 client_login_name=serveradmin client_unique_identifier=serveradmin
    error id=0 msg=ok

    If you update it outside of cPGS, just add the new pass you chose to that file so it will be able to log in and get server status details in cPGS. Make sure the permissions on the file are chmod 0600 to prevent other users from being able to read it :

    : ls -al .cpgs_admp
    -rw------- 1 cpgstest cpgstest 11 Aug 11 14:36 .cpgs_admp
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

Similar Threads & Tags
Similar threads

  1. Teamspeak Question
    By Belaird in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-16-2010, 08:11 AM
  2. TeamSpeak stuck / How to reboot cPGS?
    By fkatzenb in forum cPGS Discussions
    Replies: 3
    Last Post: 01-22-2010, 10:20 AM
  3. FILE.cpgs question
    By appleboy in forum cPGS Discussions
    Replies: 1
    Last Post: 01-20-2009, 01:22 PM
  4. Replies: 4
    Last Post: 08-27-2008, 10:58 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube