Bug 196945 - audio/teamspeak3-server: file input/output error
Summary: audio/teamspeak3-server: file input/output error
Status: Closed Not Enough Information
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-20 19:05 UTC by Adam Gabryś
Modified: 2015-02-09 22:01 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (hirner)


Attachments
Client logs (2.22 KB, image/png)
2015-01-20 19:05 UTC, Adam Gabryś
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Gabryś 2015-01-20 19:05:54 UTC
Created attachment 151918 [details]
Client logs

Hi,
I cannot open File Browser from client.

Environment:
 uname -a
   FreeBSD hostname 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

 pkg version -v | grep teamspeak
   teamspeak3-server-3.0.11,1         =   up-to-date with index

 cat /etc/rc.conf | grep teamspeak
   teamspeak_enable="YES"

 TeamSpeak Client 3.0.16 (04-08-2014 15:42:43) Windows 8.1 x64


Logs:
  root@ftp:/var/db/teamspeak # sudo -u teamspeak /usr/local/libexec/teamspeak_server dbsqlpath=/usr/local/share/teamspeak/server/sql/ inifile=/
  2015-01-20 18:48:53.438734|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.11 (2014-09-29 15:33:46)
  2015-01-20 18:48:53.441273|INFO    |ServerLibPriv |   | SystemInformation: FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 2
  2015-01-20 18:48:53.457090|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
  2015-01-20 18:48:53.458370|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
  2015-01-20 18:48:53.462739|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
  2015-01-20 18:48:53.709241|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
  2015-01-20 18:49:00.309634|INFO    |              |   | Puzzle precompute time: 6482
  2015-01-20 18:49:00.310902|INFO    |FileManager   |   | listening on 0.0.0.0:30033
  2015-01-20 18:49:00.459904|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
  2015-01-20 18:49:00.460872|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1,
  2015-01-20 18:49:00.462662|INFO    |Query         |   | listening on 0.0.0.0:10011
  2015-01-20 18:49:03.956803|INFO    |VirtualServerBase|  1| client connected 'agabrys'(id:109) from XXX.XXX.XXX.XXX:64282
  2015-01-20 18:49:19.891924|ERROR   |FileListManager|   | caught exception getting filelist(exists) for 'files/virtualserver_1/channel_25/': locale::facet::_S_create_c_locale name not valid
  2015-01-20 18:49:20.753620|ERROR   |FileListManager|   | caught exception getting filelist(exists) for 'files/virtualserver_1/channel_25/': locale::facet::_S_create_c_locale name not valid

I found a similar problem on the forum TeamSpeak: http://forum.teamspeak.com/showthread.php/107260-file-input-output-error

Solution:
 append line
   export LC_ALL="C"
 under
   load_rc_config $name
 in file
   /usr/local/etc/rc.d/teamspeak

solved the problem

Best regards,
   Adam Gabryś
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-20 19:05:54 UTC
Maintainer CC'd
Comment 2 hirner 2015-01-20 19:45:20 UTC
Can't reproduce the problem, file browser is working here.

Which locale do you use normally?
Comment 3 Adam Gabryś 2015-01-20 20:11:59 UTC
From login.conf
  :charset=UTF-8:\
  :lang=en_US.UTF-8:
Comment 4 Adam Gabryś 2015-01-20 20:14:48 UTC
User teamspeak is locked
Comment 5 hirner 2015-01-24 12:01:36 UTC
Looks like a software problem and not a port problem for me. Did you already report this to upstream? http://forum.teamspeak.com/forumdisplay.php/120-Bug-Reports
Comment 6 Adam Gabryś 2015-01-26 19:04:11 UTC
I post message to Thread: http://forum.teamspeak.com/showthread.php/104070-TS3-file-input-output-error

More information:

Server started by teamspeak user.

ls -lah /var/db/teamspeak/
 total 284
 drwxr-xr-x   2 teamspeak  teamspeak   512B Jan 26 19:46 .
 drwxr-xr-x  15 root       wheel       512B Jan 26 07:02 ..
 lrwxr-xr-x   1 teamspeak  teamspeak    15B Jan 20 19:26 files -> /data/teamspeak
 -rw-r--r--   1 teamspeak  teamspeak     1B Aug 14 19:53 query_ip_blacklist.txt
 -rw-r--r--   1 teamspeak  teamspeak    10B Aug 14 19:53 query_ip_whitelist.txt
 -rw-------   1 root       teamspeak     3B Jan 25 14:02 teamspeak_server.pid
 -rw-r--r--   1 teamspeak  teamspeak   261K Jan 26 19:46 ts3server.sqlitedb

ls -lah /var/db/teamspeak/files/
 total 16
 drwxr-x---   4 teamspeak  teamspeak   512B Aug 14 20:17 .
 drwxr-xr-x   7 root       wheel       1.0K Aug 14 20:12 ..
 drwxr-x---   3 teamspeak  teamspeak   512B Aug 14 20:15 internal
 drwxr-x---  13 teamspeak  teamspeak   512B Aug 14 22:04 virtualserver_1

ls -lah /var/db/teamspeak/files/virtualserver_1/
 total 52
 drwxr-x---  13 teamspeak  teamspeak   512B Aug 14 22:04 .
 drwxr-x---   4 teamspeak  teamspeak   512B Aug 14 20:17 ..
 drwxr-x---   2 teamspeak  teamspeak   512B Oct 16 18:53 channel_1
 drwxr-x---   2 teamspeak  teamspeak   512B Oct 16 18:54 channel_16
 drwxr-x---   2 teamspeak  teamspeak   512B Aug 14 20:17 channel_17
 drwxr-x---   2 teamspeak  teamspeak   512B Aug 14 20:17 channel_18
 drwxr-x---   2 teamspeak  teamspeak   512B Aug 14 20:17 channel_24
 drwxr-x---   2 teamspeak  teamspeak   512B Jan 20 19:32 channel_25
 drwxr-x---   2 teamspeak  teamspeak   512B Sep 28 20:42 channel_51
 drwxr-x---   2 teamspeak  teamspeak   512B Aug 14 20:34 channel_61
 drwxr-x---   2 teamspeak  teamspeak   512B Aug 14 20:34 channel_62
 drwxr-x---   2 teamspeak  teamspeak   512B Aug 14 20:34 channel_63
 drwxr-x---   3 teamspeak  teamspeak   512B Aug 14 20:34 internal
Comment 7 hirner 2015-01-31 12:09:04 UTC
It seems like there's no need to set LC_ALL by default.

I don't know the cause of your issues, but I guess it's related to your system.

How shall we continue with handle this bug report?
Comment 8 hirner 2015-02-09 16:12:34 UTC
As people in the TeamSpeak forums don't recommend to set LC_ALL in general, I suggest to close this issue unless further information arrives.

Do you know how I can change the status of the issue? It's assigned to the FreeBSD ports mailing list instead of me.
Comment 9 Adam Gabryś 2015-02-09 22:01:42 UTC
Sorry for the late reply, I missed notification in the mail box.

1) How shall we continue with handle this bug report?
I modified rc.d script on my own, so you can close this bug

2) Do you know how I can change the status of the issue?
I don't know but I can close it. I think the best resolution is "Not Enough Information".