Thursday, 2 February 2012

'TS3ANetwork::Connect failed error: 111' 'Unable to connect to accounting server' ' Server() error while starting servermanager, error: unable to connect to accounting server'

You may see the below errors in Teamspeak error log file.
Error:
2012-02-03 02:31:05.061747 |INFO    |SQL      |   | pruning old database log entries where timestamp is older than 90 days
2012-02-03 02:31:05.123310 |ERROR   |         |   | TS3ANetwork::ResolveHostName failed error: -5 (No address associated with hostname) 110
2012-02-03 02:31:05.238214 |ERROR   |         |   | TS3ANetwork::Connect failed error: 111
2012-02-03 02:31:05.238322 |ERROR   |Accounting    |   | Unable to connect to accounting server
2012-02-03 02:31:05.238389 |ERROR   |ServerLibPriv |   | Server() error while starting servermanager, error: unable to connect to accounting server
Solution:
Move the  licensekey.dat  file to some other directory and try to start the teamspeak....

# /etc/init.d/teamspeak restart

# /etc/init.d/teamspeak status
Server is running

Wednesday, 25 January 2012

Error: Domain 'vm00' does not exist. Error: Unable to open config file: vm00

You may get the below errors while starting or enter into vps from node on xen.

[root@test ~]# xm start vm00
Error: Domain 'vm00' does not exist.

[root@test ~]# xm reboot vm00
Error: Domain 'vm00' does not exist.

[root@test ~]# xm create vm00
Error: Unable to open config file: vm00


Solution :
[root@test ~]# xm create /home/xen/vm00/vm00.cfg
Using config file "/home/xen/vm00/vm00.cfg".
Started domain vm00 (id=27)


Errors: apache2: Could not reliably determine the server's fully qualified domain name, using x.x.x.x for ServerName

Solution:
To fix that problem, you need to edit the httpd.conf file. Open the terminal and type,  
sudo gedit /etc/apache2/httpd.conf

By default httpd.conf file will be blank. Now, simply add the following line to the file.  
ServerName localhost

Save the file and exit from gEdit. Finally restart the server.  
sudo /etc/init.d/apache2 restart

How to Install and Configure Apache, PHP, MySql and phpmyadmin on Ubuntu

Installing Apache:


Open the Terminal and type the below command to Install Apache

sudo apt-get install apache2

Type your ubuntu password and press enter. 

Type y and hit enter to confirm apache installation.


To Confirm


Open your browser and type 


http;//localhost/


Installing PHP:


sudo apt-get install php5 libapache2-mod-php5

After successful Installation, restart your apache2

# /etc/init.d/apache2 restart

To check
# vi /var/www/phpinfo.php

and type the below code

<?php  phpinfo() ?>

Now open your browser and type

http://localhost/phpinfo.php


Installing MySql

apt-get install mysql-server

give mysql root password when it requires.









Command to List Load Average of Each VPS in Openvz

Enter into node and type the following command to list the load average of each vps and their vps id.

# vzlist -o veid,laverage

Output :
CTID LAVERAGE  
300 0.25/0.39/0.34  
340 0.10/0.09/0.11 
310 0.83/0.89/0.86  
030 1.62/1.62/1.38

Sunday, 13 November 2011

Direct Admin


How to Update  Direct Admin License manually :

Run the following Commands to Update Direct Admin License manually..

   cd /usr/local/directadmin/scripts 
   ./getLicense.sh 123 1234                 // [123- client ID , 1234- License ID]
   service directadmin restart



GNUPanel


How to Install and configure GNUPanel on Debian:

0- Edit /etc/hosts to add this line:
xxx.xxx.xxx.xxx my_domain.com my_machine
(xxx.xxx.xxx.xxx is your public IP and “my_domain” is the domain where the panel listen)
1- Log in to your shell as root.
2- Run dpkg-reconfigure locales and mark all “en_US”, “es_ES” and “es_AR”.
3- Edit /etc/apt/sources.list and modify to looks like this:
deb http://ftp.debian.org/debian/ etch main contrib
deb http://security.debian.org/ etch/updates main contrib
(this two lines)
4- Update the system running:
apt-get update
apt-get dist-upgrade
5- Download the last stable version of GNUPanel and unpack on a directory.
mkdir /directory
tar -xzvf fichero.tar.gz -C /directory
o
tar -xjvf fichero.tar.bz2 -C /directory
6- Change to the previous directory and run these scripts in order:
./install-debian-dep.sh
./gnupanel-install.sh
gnupanel-config.sh
7- When the process is finished you will find the GNUPanel administrator interface in:
http://public_ip/admin
Now you should add all IP addresses for the server:
Main menu –> Add IP
and any secondary servers you may have.
8- Create the first reseller plan and the first reseller associated to your main domain (the corresponding user will be automatically created).
9- From now on you can enter all GNUPanel levels:
https://gnupanel.main_domain/admin
https://gnupanel.main_domain/reseller
https://gnupanel.main_domain/users
https://gnupanel.main_domain/mail