Posts Tagged ‘Linux’

Teamspeak 3 Server: instance check error

December 20th, 2009 by Andreas - Posted in Linux, Server

Teamspeak 3 Beta1 is out and there are some problems running it under Linux. I wrote a step by step howto to set up a ts3 server on linux.

HowTo:

First you have to create a user which runs the ts3 server (root is a bad idea):

useradd ts3

After this change to the user and move to his home directory:

su ts3
cd ~

Download and extract the Teamspeak 3 server (this is the 64bit version):

wget http://ftp.4players.de/pub/hosted/ts3/releases/beta-1/teamspeak3-server_linux-amd64-3.0.0-beta1.tar.gz
tar zxvf teamspeak3-server_linux-amd64-3.0.0-beta1.tar.gz

Now move to the extracted folder and start the Teamspeak 3 server:

cd teamspeak3-server_linux-amd64
./ts3server_linux_amd64 &

Write down the user name and password which is shown on the screen for server admin rights. The first log file under /logs in the ts3 server folder contains the admin token. This token can be used once to register a user with admin rights.

Problems:

2009-12-20 10:49:39.852960|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta1 [Build: 9366]
2009-12-20 10:49:39.890852|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, (c)TeamSpeak Systems GmbH
2009-12-20 10:49:39.891284|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.4
2009-12-20 10:49:39.971083|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
2009-12-20 10:49:40.312599|ERROR   |Accounting    |   | failed to register accounting service
2009-12-20 10:49:40.318183|ERROR   |ServerLibPriv |   | Server() error while starting servermanager, error: instance check error

If you are not able to start the ts3 server (after you started is with root rights or with another users), empty the /tmp server. Teamspeak 3 creates a lock file to check if the service runs.

[strace error information]
...
unlink("/tmp/7gbhujb54g8z9hu43jre8")    = -1 EPERM (Operation not permitted)
open("/tmp/7gbhujb54g8z9hu43jre8", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0777) = -1 EEXIST (File exists)
...

Tags: , , , , , ,
1 Stars2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Compiz under Ubuntu 8.10 with VirtualBox 2.2.0

April 9th, 2009 by Andreas - Posted in Linux

VirtualBox 2.2.0 supports 3D acceleration (Open GL) with Linux guests. It is now possible to run compiz effects with Ubuntu 8.10.

For me it worked not out of the box. I had to change some things to get it working.

  1. Enable 3D acceleration in the settings of your VM guest.
  2. Install the new guest tools of VirtualBox 2.2.0 under Ubuntu 8.10.
  3. Edit the /etc/X11/xorg.conf
    Section "Device"
            Identifier      "VirtualBox Video Card"
            Driver          "vboxvideo"
    EndSection
  4. Edit ~/.config/compiz/compiz-manager
    mkdir ~/.config/compiz
    gedit ~/.config/compiz/compiz-manager

    Add in this empty file:

    SKIP_CHECKS=yes
  5. Reboot your guest system.
  6. Navigate to System->Preferences->Appearance.  Select under Visual Effects normal or extra.

After this you have desktop effects enabled with Ubuntu 8.10 as guest system and VirtualBox 2.2.0.


Tags: , , ,
1 Stars2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Kubuntu 8.10 VirtualBox vmTools:mouse lock

January 22nd, 2009 by Tobias - Posted in Linux

After installing vmTools in the virtual machine mouse capture often didn´t work probably.
By this you still have to use host key to release mouse from the vm.

To solve this you have to install vmmouse paket

sudo apt-get install xserver-xorg-input-vmmouse

After this xorg.conf has to be edited. It is located at /etc/X11 directory

sudo vim /etc/X11/xorg.conf

Insert following description and save file using “:wq”

Section "InputDevice"
        Identifier      "Mouse 1"
        Driver          "vmmouse"
        Option          "Device"        "/dev/mouse"
        Option          "Protocol"      "Auto"
EndSection

Now restart your vm and mouse capturing should work fine.


Tags: , , ,
1 Stars2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

APT-Get: No space left on device

December 15th, 2008 by Andreas - Posted in Linux

On the Debian installation the vServer values for the /tmp folder size is by default only 16MB. This small space could result in an error while using apt-get or building sources.

The solution is quite easy, you only have to edit

/etc/vservers/<guestname>/fstab

and change the size from 16m

none /tmp tmpfs size=16m,mode=1777 0 0

to 128m (or more)

none /tmp tmpfs size=128m,mode=1777 0 0

Now just restart the vServer to set the /tmp folder to the new size.

vserver <guestname> restart

Tags: , , , , , , ,
1 Stars2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Manpage from everywhere

November 21st, 2008 by Andreas - Posted in Linux

For a situation you have no linux os running but need help for a command, you can use man.cx.

It includes up to 98660 manpages mostly from the debian system. Another good feature is the possibility to add it in the firefox search toolbar.

For more information visit man.cx.


Tags: , , , , ,
1 Stars2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

How to run TeamSpeak on a 64bit linux system

October 9th, 2008 by Andreas - Posted in Linux

If you want to start TeamSpeak on a 64bit system you will get a error that the executable “linux_server” could not be found. But the file is in the same folder and also marked as executeable.

The problem is another. TeamSpeak is a 32bit software and needs the 32bit runtime libraries. The system have no 32bit runtime installed by default. So you have to do this by your own.

This could be easily done by following command (Debian):
apt-get install ia32-libs

After this TeamSpeak is working on a 64bit system.


Tags: , , , , , , ,
1 Stars2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...