System is a FreeBSD 12.1, TS is installed inside a jail witj sysvipc enabled. I can start TS as root without any problems but when i start is as normal user it stops with:
To be absolutly shure i deleted the directory and started with a fresh install. Same results. Some entries more for creating ssh key and tokens, but same error message and same result:
You suggested right, i started TS as root first. There’s no /dev/shm. A s far as i know /dev/shm is some linux stuff, neither my other jails nor my hosts has it.
Interesting is, that i found a /tmp/
Hi FakE,
thanks for your response but i don’t know how this thread should help me in solving my puzzle. As i said, FreeBSD doesn’t use /dev/shm, that’s a linux thing.
I’ve started TS as root and had a look at open files, a lot in the homedirectory, outside 2 files, one /dev/pts/1 and one in /tmp. Both are also accessible by my teamspeak user.
When i start TS as ts-user, it exits with errorlevel 0, so the only difference to the root user is that error in the logfile which OLFMSQL already mentioned. Sadly it doesn’t says anything about which file already exists.
I’ve made a clean install, changed the ownership to the ts-user and started as root, then i looked for changed ownership and timestamps in the complete filesystem. Nothing there, the one in /dev, one in /tmp and a lot in ts-home.
Seems i have to run it as root.
Hi FakE,
thanks for this great advise which points in the right direction.
For any other users who might stumble over the same problem:
You can view all shm from the host with “posixshmcontrol ls”.
After finding the correspondig segment you can delete it with “posixshmcontrol rm /corresponding segment”
I’ve done this and now i can start the TS server without any problem.
Thanks again