STEAM GROUP
Linux Game Server Managers linuxgsm
STEAM GROUP
Linux Game Server Managers linuxgsm
52
IN-GAME
519
ONLINE
Founded
February 9, 2015
andyy Nov 6, 2016 @ 4:36am
[FIXED] TeamSpeak3 admin password not changing
./ts3server pw <enter new password> ./ts3server start telnet ts3ip 10011 > login serveradmin <newpassword> error id=520 msg=invalid\sloginname\sor\spassword

What's up with this? Why can I not change the server admin password?

Default install on CentOS 6.8
Last edited by UltimateByte; Nov 7, 2016 @ 10:35am
< >
Showing 1-15 of 17 comments
Mazer Nov 6, 2016 @ 5:56am 
Looks like your script is old. The new versions have a different prompt/response.

Try:
./ts3server uf ./ts3server uf ./ts3server pw
andyy Nov 6, 2016 @ 6:16am 
Nope, still not altering.

./ts3server pw TeamSpeak 3 ServerAdmin Password Change ================================= Press "CTRL+b d" to exit console. Information! You are about to change the TeamSpeak 3 ServerAdmin password. Warning! TeamSpeak 3 will restart during this process. Continue? [Y/n]y Enter new password : <pass> [ INFO ] TS3 Change Password ts3-server: Applying new password [ OK ] Stopping ts3-server: London LYNX TS [londonlynx@delta TeamSpeak3]$ ./ts3server start [ OK ] Starting ts3-server: London LYNX TS

Then the telnet output:
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 serveradmin <pass> error id=520 msg=invalid\sloginname\sor\spassword

also tried:
login client_login_name=serveradmin client_login_password=<pass> error id=520 msg=invalid\sloginname\sor\spassword

I didn't actually copy and paste the actual output before. Was just summarising :)
Last edited by andyy; Nov 6, 2016 @ 6:18am
UltimateByte Nov 6, 2016 @ 12:53pm 
If the issue is replicated, then we should fix that.
Something might have broken the feature.
andyy Nov 6, 2016 @ 1:59pm 
I can replicate it cos I can't fix it..
UltimateByte Nov 6, 2016 @ 2:00pm 
teamspeak logs ?
andyy Nov 6, 2016 @ 2:34pm 
2016-11-06 22:52:03.496355|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.0.13.5 (2016-10-24 11:53:53)
2016-11-06 22:52:03.496466|INFO |ServerLibPriv | |SystemInformation: Linux 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 i686 Binary: 32bit
2016-11-06 22:52:03.496494|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale!
2016-11-06 22:52:03.496517|INFO |ServerLibPriv | |Using hardware aes
2016-11-06 22:52:03.497265|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2016-11-06 22:52:03.497305|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2016-11-06 22:52:03.497557|INFO |DatabaseQuery | |checking database integrity (may take a while)
2016-11-06 22:52:03.508098|WARNING |Accounting | |Unable to find valid license key, falling back to limited functionality
2016-11-06 22:52:05.660057|INFO | | |Puzzle precompute time: 2125
2016-11-06 22:52:05.660350|INFO |FileManager | |listening on 0.0.0.0:30033, :::30033
2016-11-06 22:52:05.675468|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1/32, ::1/128,
2016-11-06 22:52:05.675646|INFO |Query | |listening on 0.0.0.0:10011, :::10011
2016-11-06 22:52:05.675320|INFO |VirtualServer |1 |listening on 0.0.0.0:9987, :::9987

2016-11-06 22:55:01.948888|INFO |Query | |query from 47 127.0.0.1:54239 attempted to login with account "serveradmin" and failed!

don't really know what this will tell you..
Last edited by andyy; Nov 6, 2016 @ 2:35pm
UltimateByte Nov 7, 2016 @ 5:09am 
2016-11-06 22:52:03.508098|WARNING |Accounting | |Unable to find valid license key, falling back to limited functionality

Do you have an invalid license on this server ? Or is this the expected message when no license is here ? I think it's the 1st option.

Is this the log corresponding to an attempt to change the serveradmin password ?
andyy Nov 7, 2016 @ 8:20am 
I don't have a license at all, thought you could run up to 32slots without a license

This is the log from starting server, attempting to change pw, then restarting and testing a telnet connection w/ serveradmin login
UltimateByte Nov 7, 2016 @ 9:18am 
"thought you could run up to 32slots without a license"
Yes you can.

OK thanks. I'm trying to reproduce the issue. > I can say the command doesn't behave as intended. I'll check LGSM code to know more.
andyy Nov 7, 2016 @ 9:24am 
Thanks, if you find an issue and want me to test you can put it on a branch and I'll happily check it out and test
UltimateByte Nov 7, 2016 @ 10:01am 
Allright, the issue, it seems, is that other commands triggered an exit, preventing the password change to actually occur, so it had to be bypassed.

You can try my devbranch, i just made a hotfix.
-- stripped --

If it works for you, then i'll improve the output a little bit, then push a hotfix to master branch.

BTW, thanks for reporting and trying it. Since most issues are user based one, we assumed it was a user issue first, don't take it personally. :)
Last edited by UltimateByte; Nov 7, 2016 @ 11:01am
UltimateByte Nov 7, 2016 @ 10:24am 
And i just fixed the fix, so you can run uf again.

Sample log:
http://hastebin.com/quxulezila.rb

Looks allright to me
"2016-11-07 18:21:21.146456|INFO |ServerLibPriv | |updated server query admin password"
&
"2016-11-07 18:22:03.999342|INFO |ServerLibPriv | |updated server query admin password"

Will push to master.
UltimateByte Nov 7, 2016 @ 10:35am 
Aight, you can stay on master branch, just ./ts3server uf
It's fixed. Sorry for the inconvenience and thanks for reporting.
Last edited by UltimateByte; Nov 7, 2016 @ 11:02am
andyy Nov 7, 2016 @ 12:12pm 
Thanks buddy, will give it a go!
andyy Nov 7, 2016 @ 1:31pm 
All good now, thanks buddy
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Nov 6, 2016 @ 4:36am
Posts: 17