Date: Mon, 29 Aug 2016 13:11:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 212237] audio/teamspeak3-server: not starting under FreeBSD 11 Message-ID: <bug-212237-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212237 Bug ID: 212237 Summary: audio/teamspeak3-server: not starting under FreeBSD 11 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: freebsd@jonathanprice.org CC: Ultima1252@gmail.com Flags: maintainer-feedback?(Ultima1252@gmail.com) CC: Ultima1252@gmail.com I have been trying to get teamspeak3-server running on FreeBSD 11, and below are my findings so far. Please note that I HAVE managed to get it running, = just not with the correct paths / user, so the issue should be resolvable by the port. I initially tried running the port without modification. This produced the following in /var/log/teamspeak: 2016-08-29 12:23:15.560913|ERROR |DatabaseQuery | |db_connect() failed unable to open database file 2016-08-29 12:23:15.560949|CRITICAL|ServerLibPriv | |Server() DatabaseErr= or out of memory I then edited the "command_args" line of /usr/local/etc/rc.d/teamspeak, and removed the "-u teamspeak" section, meaning that the daemon was being start= ed as root. I then found that this was creating the files that should be in /var/db/teamspeak directly in /. Next, I ran the command "/usr/local/libexec/ts3server" directly, and found = that it writes the database files to my pwd, wherever that happens to be. Lookin= g at the rc file, this is known behaviour, as it includes the line "teamspeak_chdir=3D$db_dir", which should set the pwd to /var/db/teamspeak = when the script is executed. It appears that this line is being ignored.=20 I am continuing to look into this, but somebody who better understands the = rc system may quickly spot the issue. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212237-13>