Summary: | media-sound/teamspeak-server-bin-3.0.0_beta30: Crashes when starting from stock init script - VirtualServer(1) failed to start, error: unable to bind network port | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Citrine Oak <citrine.oak> |
Component: | [OLD] Server | Assignee: | Tom Wijsman (TomWij) (RETIRED) <tomwij> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
This is a fix for /etc/init.d/teamspeak3-server
a temporary fix for /opt/teamspeak3-server/ts3server_minimal_runscript.sh |
Description
Citrine Oak
2011-06-08 19:45:29 UTC
Created attachment 276307 [details]
This is a fix for /etc/init.d/teamspeak3-server
This is not a patch but this should be what the init script has in it or the program doesn't run.
Created attachment 276309 [details]
a temporary fix for /opt/teamspeak3-server/ts3server_minimal_runscript.sh
Both of these files need to be replaced and then the server will run.
I just wanted to help all of you because it took me HOURS to solve it...
Though there is another problem
If you get a bind error it is likely that a zombie TS3 Server is still running grep for it in ps aux... the problem still remains in the init script that the stop script doesn't work.
I found out something else.... the superadmin password that will give you query admin powers and move you from level 75 to level 100 never shows up in the log.. the simple fix is to do this in your ts3server_minimal_runscript.sh.... kinda a spehgetti code fix but it works... and my server is up and running... I do this because I know there are others who are going to want it and all of these fixes for everything that was broken was a lot of work... so here we go: Look for this line... "/usr/sbin/ts3server" $@ Change it ONCE to: "/usr/sbin/ts3server" serveradmin_password=passwordhere $@ Then start your server and run this query: login serveradmin passwordhere use sid=1 servergroupaddclient sgid=2 cldbid=2 And then you can remove that line from your runscript. This solves this thread: http://bugs.gentoo.org/show_bug.cgi?id=326513 There is still a problem because that stop script doesn't work... the only way to do it is to kill it with: kill `ps aux | grep teamspeak | grep -v grep | awk '{print $2}'` It is really sloppy but like I said before it works, just change your stop script to that. Still valid with latest version in the tree? > Still valid with latest version in the tree?
Please reopen the bug if this still occurs.
|