Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Howto: TeamSpeak 3 server in pfSense 2.x(Now with scripts amd64) v1.3

    Scheduled Pinned Locked Moved Documentation
    86 Posts 11 Posters 39.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      opjohnny
      last edited by

      @tong:

      ps aux|grep team

      Gives this result:

      root  81623  0.0  0.0  9068  1468  u0  S+    6:39PM  0:00.00 grep team

      Still no log folder however. And I'm beating my head on the firewall rule… Not sure i have it 100% right!

      Btw, did this fresh on a new install, followed all the directions to a T.

      Might be just me and my inexperience so far.

      Are you sure you're checking the /usr/local/lib/teamspeak3-server_freebsd-x86/logs/ directory?

      In the webGUI go to Diagnostics > Edit File.  Click Browse to view folder list.  Single-left-click usr, then local, then lib, then teamspeak3-server_freebsd-x86, then logs.  Are you not seeing the /teamspeak3-server_freebsd-x86/ folder in /usr/local/lib/?

      pfSense Boxes-

      Celeron C1037U MiniPC(HDD, current)
      VIA C7 miniITX(HDD, retired)
      Firebox x750e(CF, retired)
      Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
      Dell PowerEdge 860 w/ ESXi v5.5(Retired)
      Firebox x700(CF, for a coworker)

      1 Reply Last reply Reply Quote 0
      • T
        tong
        last edited by

        @opjohnny:

        Are you sure you're checking the /usr/local/lib/teamspeak3-server_freebsd-x86/logs/ directory?

        In the webGUI go to Diagnostics > Edit File.  Click Browse to view folder list.  Single-left-click usr, then local, then lib, then teamspeak3-server_freebsd-x86, then logs.  Are you not seeing the /teamspeak3-server_freebsd-x86/ folder in /usr/local/lib/?

        Yup, no log folder exists. Directory structure stops at /teamspeak3-server_freebsd-x86/, inside I have 5 folders: doc, redist, serverquerydocs, sql, tsdns.  There's 9 files also but no log folder.

        1 Reply Last reply Reply Quote 0
        • O
          opjohnny
          last edited by

          @tong:

          Yup, no log folder exists. Directory structure stops at /teamspeak3-server_freebsd-x86/, inside I have 5 folders: doc, redist, serverquerydocs, sql, tsdns.  There's 9 files also but no log folder.

          When you first run the command to install TS3 server it spits out a log via cmd prompt.  Did you check to see every step was successful?  Did you reboot pfSense after that?

          Beyond that I'm out of ideas.  I'm still trying to figure out why I'm getting that SQL error which I think is not only keeping it from spitting out my key, but also keeping the server from starting/running properly.  I think it has something to do with TS thinking there is an update when there isn't one, according to a google search of that specific error.

          pfSense Boxes-

          Celeron C1037U MiniPC(HDD, current)
          VIA C7 miniITX(HDD, retired)
          Firebox x750e(CF, retired)
          Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
          Dell PowerEdge 860 w/ ESXi v5.5(Retired)
          Firebox x700(CF, for a coworker)

          1 Reply Last reply Reply Quote 0
          • T
            tong
            last edited by

            @opjohnny:

            When you first run the command to install TS3 server it spits out a log via cmd prompt.  Did you check to see every step was successful?  Did you reboot pfSense after that?

            Beyond that I'm out of ideas.  I'm still trying to figure out why I'm getting that SQL error which I think is not only keeping it from spitting out my key, but also keeping the server from starting/running properly.  I think it has something to do with TS thinking there is an update when there isn't one, according to a google search of that specific error.

            Remove or Install?
            Enter I/i for Install. R/r for Remove.i
            Install
            
            Checking for required files...
            All required files have been found in /root
            Archive Extracting...
            Extraction completed successfully!
            
            Moving pfsense to /usr/local/lib/ ...
            Move completed successfully!
            
            Creating "teamspeak" user...
            Created user successfully!
            
            Moving script "ts3server.sh" to /usr/local/lib/teamspeak3-server_freebsd-x86
            Moving completed successfully!
            
            Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86
            Permissions successful!
            
            Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86/ts3server.sh
            Permissions successful!
            
            Moving script "teamspeak3-server" to /usr/local/etc/rc.d/
            Moving completed successful!
            
            Setting permissions on /usr/local/etc/rc.d/teamspeak3-server
            Permissions successful!
            
            Moving script "run_teamspeak3-server.sh" to /usr/local/etc/rc.d/
            Moving completed successful!
            
            Setting permissions on /usr/local/etc/rc.d/run_teamspeak3-server.sh
            Permissions successful!
            
            Backing up original system file /etc/rc.reboot
            Backup successful!
            
            Editing /etc/rc./reboot
            Editing completed successfully!
            
            Backing up original system file /etc/rc.shutdown
            Backup successful!
            
            Editing /etc/rc./shutdown
            Editing completed successfully!
            
            After checking the output for errors remember to reboot!
            

            There you go, no Log folder

            1 Reply Last reply Reply Quote 0
            • T
              tong
              last edited by

              pfSense 2.1.5-RELEASE-pfSense (amd64)

              Does it matter if I'm using the 64bit ? Could that be my problem?

              1 Reply Last reply Reply Quote 0
              • kevevK
                kevev
                last edited by

                I fixed the issue in the old scripts.

                Be sure to uninstall the old version with the 1.0 script using the Removel option before uploading and installing from the new 1.1 scripts!

                Let me know if the new version works or has issues.  :)

                1 Reply Last reply Reply Quote 0
                • T
                  tong
                  last edited by

                  @kevev:

                  I fixed the issue in the old scripts.

                  Be sure to uninstall the old version with the 1.0 script using the Removel option before uploading and installing from the new 1.1 scripts!

                  Let me know if the new version works or has issues.  :)

                  Thanks kevev, but I'm still at stuck at the same issue, no log folder.  Only thing i can think of is that I'm using the 64bit version of pfsense.

                  Did it on a brand new fresh install just in case too. Still no dice.

                  1 Reply Last reply Reply Quote 0
                  • kevevK
                    kevev
                    last edited by

                    That's not good. Try it on a 32bit system or wait till I post the 64bit install scripts.

                    @tong:

                    @kevev:

                    I fixed the issue in the old scripts.

                    Be sure to uninstall the old version with the 1.0 script using the Removel option before uploading and installing from the new 1.1 scripts!

                    Let me know if the new version works or has issues.  :)

                    Thanks kevev, but I'm still at stuck at the same issue, no log folder.  Only thing i can think of is that I'm using the 64bit version of pfsense.

                    Did it on a brand new fresh install just in case too. Still no dice.

                    1 Reply Last reply Reply Quote 0
                    • T
                      tong
                      last edited by

                      @kevev:

                      That's not good. Try it on a 32bit system or wait till I post the 64bit install scripts.

                      I'll wait, it will give me time to play with this box and learn stuff that i need to know on how to use it.

                      1 Reply Last reply Reply Quote 0
                      • O
                        opjohnny
                        last edited by

                        Just got home from work.  I'll run the 1.0 script uninstall/1.1 script install and report back with my findings.

                        pfSense Boxes-

                        Celeron C1037U MiniPC(HDD, current)
                        VIA C7 miniITX(HDD, retired)
                        Firebox x750e(CF, retired)
                        Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
                        Dell PowerEdge 860 w/ ESXi v5.5(Retired)
                        Firebox x700(CF, for a coworker)

                        1 Reply Last reply Reply Quote 0
                        • O
                          opjohnny
                          last edited by

                          I ran the uninstall but still see the following in /root/….

                          pfsense-teamspeak-install.sh
                          
                          run_teamspeak3-server.sh
                          
                          teamspeak3-server
                          
                          teamspeak3-server_freebsd-x86-3.0.11.2.tar.gz
                          
                          ts3server.sh
                          

                          Am I supposed to delete those before doing the new script install?

                          Also, do I re-follow all steps in the first post for the new script install?

                          pfSense Boxes-

                          Celeron C1037U MiniPC(HDD, current)
                          VIA C7 miniITX(HDD, retired)
                          Firebox x750e(CF, retired)
                          Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
                          Dell PowerEdge 860 w/ ESXi v5.5(Retired)
                          Firebox x700(CF, for a coworker)

                          1 Reply Last reply Reply Quote 0
                          • O
                            opjohnny
                            last edited by

                            Deleted all those TS related files from /root/ except the official archive.  Uploaded script files to /root/.  Ran installer script via puTTy.  Output…

                            Checking for required files...
                            All required files have been found in /root
                            Archive Extracting...
                            Extraction completed successfully!
                            
                            Moving pfsense to /usr/local/lib/ ...
                            Move completed successfully!
                            
                            Creating "teamspeak" user...
                            Created user successfully!
                            
                            Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86
                            Permissions successful!
                            
                            Moving script "teamspeak3-server.sh" to /usr/local/etc/rc.d/
                            Moving completed successful!
                            
                            Setting permissions on /usr/local/etc/rc.d/teamspeak3-server.sh
                            Permissions successful!
                            
                            Moving script "rc.conf.local" to /etc/
                            Moving completed successful!
                            
                            Setting permissions on /etc/rc.conf.local
                            Permissions successful!
                            

                            No reboot reminder, not sure if that was intentional.

                            Rebooted, changed port forwards to resolve to my pfsense IP instead of my rig's IP.

                            Checked logs, noticed log sizes I didn't see before.  First log had a bunch of info, no issues that I could see.  Second log had…a token!  Logged in to my server via the LAN IP of my pfSense box and authenticated as admin.  Hooray!

                            Kevev - You are extremely awesome for taking the time to do this.  You really saved my ass here, and now I can finally turn my main rig off / stop temporarily hosting my gaming community's ts3.  8)

                            pfSense Boxes-

                            Celeron C1037U MiniPC(HDD, current)
                            VIA C7 miniITX(HDD, retired)
                            Firebox x750e(CF, retired)
                            Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
                            Dell PowerEdge 860 w/ ESXi v5.5(Retired)
                            Firebox x700(CF, for a coworker)

                            1 Reply Last reply Reply Quote 0
                            • kevevK
                              kevev
                              last edited by

                              Awesome dude. Glad someone got it working. I will update the script to remind users to reboot.

                              @opjohnny:

                              Deleted all those TS related files from /root/ except the official archive.  Uploaded script files to /root/.  Ran installer script via puTTy.  Output…

                              Checking for required files...
                              All required files have been found in /root
                              Archive Extracting...
                              Extraction completed successfully!
                              
                              Moving pfsense to /usr/local/lib/ ...
                              Move completed successfully!
                              
                              Creating "teamspeak" user...
                              Created user successfully!
                              
                              Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86
                              Permissions successful!
                              
                              Moving script "teamspeak3-server.sh" to /usr/local/etc/rc.d/
                              Moving completed successful!
                              
                              Setting permissions on /usr/local/etc/rc.d/teamspeak3-server.sh
                              Permissions successful!
                              
                              Moving script "rc.conf.local" to /etc/
                              Moving completed successful!
                              
                              Setting permissions on /etc/rc.conf.local
                              Permissions successful!
                              

                              No reboot reminder, not sure if that was intentional.

                              Rebooted, changed port forwards to resolve to my pfsense IP instead of my rig's IP.

                              Checked logs, noticed log sizes I didn't see before.  First log had a bunch of info, no issues that I could see.  Second log had…a token!  Logged in to my server via the LAN IP of my pfSense box and authenticated as admin.  Hooray!

                              Kevev - You are extremely awesome for taking the time to do this.  You really saved my ass here, and now I can finally turn my main rig off / stop temporarily hosting my gaming community's ts3.  8)

                              1 Reply Last reply Reply Quote 0
                              • kevevK
                                kevev
                                last edited by

                                I added a 64bit version.

                                I also updated the x86 version to correct some spelling mistakes and added a reboot reminder.  ;)

                                Let me know if there are issues.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tong
                                  last edited by

                                  @kevev:

                                  I added a 64bit version.

                                  I also updated the x86 version to correct some spelling mistakes and added a reboot reminder.  ;)

                                  Let me know if there are issues.

                                  Can't wait to get home and try the 64bit out… Anything else you want me to try out while this box is still a virgin and not in "production" use?

                                  1 Reply Last reply Reply Quote 0
                                  • kevevK
                                    kevev
                                    last edited by

                                    I have a cups printing tutorial you can try out. :)

                                    I may write scripts for that one too if there is interest.

                                    @tong:

                                    Can't wait to get home and try the 64bit out… Anything else you want me to try out while this box is still a virgin and not in "production" use?

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tong
                                      last edited by

                                      @kevev:

                                      I have a cups printing tutorial you can try out. :)

                                      I may write scripts for that one too if there is interest.

                                      I can test out to see if it installs and that portion of it, I won't be able to test out is use unfortunately…

                                      How about one for mumble (teamspeak alternative)? Might be a popular option for those that want more users but on the same type of VoIP thing?

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tong
                                        last edited by

                                        @kevev:

                                        I added a 64bit version.

                                        I also updated the x86 version to correct some spelling mistakes and added a reboot reminder.  ;)

                                        Let me know if there are issues.

                                        Complete success. Everything went smooth on 64bit as instructed.

                                        Kevev, can you change this:

                                        4.)  Run the install script for your architecture

                                        pfsense-teamspeak-install_x86.sh

                                        or

                                        pfsense-teamspeak-install_amd64.sh

                                        to this:

                                        4.)  Run the install script for your architecture

                                        ./pfsense-teamspeak-install_x86.sh

                                        or

                                        ./pfsense-teamspeak-install_amd64.sh

                                        I was beating myself over the head trying to remember the ./ for the install.  Like I said I'm a complete newb at this; but by following your directions, it's installed, and running, sweet.

                                        Thank you very much, I hope this helps someone else too.

                                        1 Reply Last reply Reply Quote 0
                                        • kevevK
                                          kevev
                                          last edited by

                                          ./pfsense-teamspeak-install_x86.sh

                                          ./pfsense-teamspeak-install_amd64.sh

                                          Done.

                                          1 Reply Last reply Reply Quote 0
                                          • O
                                            opjohnny
                                            last edited by

                                            Kevev - Since you had to fix the scripts, do the update instructions change at all?  Want to make sure I have those saved once the next update rolls out.

                                            pfSense Boxes-

                                            Celeron C1037U MiniPC(HDD, current)
                                            VIA C7 miniITX(HDD, retired)
                                            Firebox x750e(CF, retired)
                                            Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
                                            Dell PowerEdge 860 w/ ESXi v5.5(Retired)
                                            Firebox x700(CF, for a coworker)

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.