Archive for January, 2009



Unrouteable address on exim – cPanel

Thursday, January 29th, 2009

On a cPanel server we were facing problems while sending mails it was giving the below errors:

2009-01-29 15:58:22 1LSYLW-0005Is-8d <= root@hostname.com U=root P=local S=377
2009-01-29 15:58:22 1LSYLW-0005Is-8d ** user@domain.com: Unrouteable address

The solution for this issue is find if the domains entry is present within /etc/localdomains , /etc/userdomains and /etc/trueuserdomains . If the domains entry is missing in any of the file – do add the domain within the files.

Also, make sure that the domains entry is in the /etc/valiases/domain.com , if this file is blank do add the line:

*: username

Then, you can test the mail from your server using the command line:

root# mail -s "Test Mail" user@domain.com

Here are the exim logs, which says the delivery is completed.

2009-01-29 16:06:39 1LSYTX-0007Jo-6D => user <user@domain.com> R=virtual_user T=virtual_userdelivery
2009-01-29 16:06:39 1LSYTX-0007Jo-6D Completed

That’s it.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Kerio : unable to login in account

Saturday, January 24th, 2009

A user using kerio mail server is facing a problem connecting to their account using webmail interface and the Kerio sync connector is also rejecting the passwords.

Solution:

During investigation we have found that they were blocked n the sercurity policy, To get this fixed you will have to login to Kerio Admin console then over there 1. Click on Advance option under Configuration tab click on Security policy over there you will see”unlock all accounts now” just hit it.

That’s it!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Install Asterisk on linux dedicated server

Saturday, January 24th, 2009

Asterisk is the world’s leading open source telephony engine and tool kit. Offering flexibility unheard of in the world of proprietary communications, Asterisk empowers developers and integrators to create advanced communication solutions…for free.

Asterisk® is released as open source under the GNU General Public License (GPL), and it is available for download free of charge. Asterisk® is the most popular open source software available, with the Asterisk Community being the top influencer in VoIP.

Official site : www.asterisk.org

Let’s start installing it on the server now.

Login to your server as root.

I am using asterisk 1.4 (I have done this on 64 bit server – make sure to download the right tarball) – you can download asterisk by the command:

root# wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.23.tar.gz

Now, we will start the installation process. If you get any errors of dependencies you will have to install it. I have installed it using yum ( few were ncurses, gcc, gcc-c++, zaptel, subversion) – install ncurses before the installation starts this will make “make menuconfig” command work perfect.

root# tar zxvf asterisk-1.4.23.tar.gz
root# cd asterisk-1.4.23
root#./configure
root# make menuconfig    -- hit 'x' to save and exit with default setting
root# make
root# make install
root# make samples
root# asterisk

Now, open the ports in the firewall by the commands:

root# iptables -I INPUT -p tcp --dport 8088 -j ACCEPT
root# iptables -I INPUT -p udp --dport 8088 -j ACCEPT
root# service iptables save
root# service iptables restart

root# iptables -I INPUT -p tcp --dport 5308 -j ACCEPT
root# iptables -I INPUT -p udp --dport 5308 -j ACCEPT
root# service iptables save
root# service iptables restart

Asterisk is installed, now proceeding to installation of Asterisk-GUI

svn checkout http://svn.digium.com/svn/asterisk-gui/branches/2.0/ asterisk-gui
cd asterisk-gui/
./configure
make
make install

Edit /etc/asterisk/http.conf with your favourite editor and change the following lines:

enabled=yes
enablestatic=yes
bindaddr=123.123.123.123

Where 123.123.123.123 is your server IP.

This enables the HTTP server, enables it to serve static content (the GUI itself) and binds to the standard address, so that any browser from a remote machine can access it.

Now, configuring the manager access
Edit /etc/asterisk/manager.conf and change the following lines:

enabled = yes
webenabled = yes

Then add a new section at the end of the file


[admin]
secret = supportfacility
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config

This will allow a user called admin to connect with the password supportfacility and do nearly everything on the system.

Now restart Asterisk by the command:

root# asterisk

Do one last check with the command

make checkconfig

If everything goes well, and you get a “Good Luck” connect with your browser to:

http://Server-IP:8088/asterisk/static/config/cfgbasic.html

Username: admin
Password: supportfacility

This will take sometime and then you will get the below URL.

http://Server-IP:8088/asterisk/static/config/index.html

Start configuring your Asterisk now.

Best of luck!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


Install cPanel on a dedicated server

Wednesday, January 21st, 2009

You have a fresh linux dedicated server from your data center and need to install cpanel on the server, to do so proceed with the following steps:

Login to your dedicated server as root

root# wget http://layer1.cpanel.net/latest
root# sh latest

Once installed access the server in your favourite browser by:

http://your-server-IP:2086

Follow the steps to get it setup properly.

That’s it!

Once cPanel is installed on your dedicated server, you must be thinking of migrating accounts from your old cpanel server to this new cpanel server. Isn’t it? For this you can check Hosting account migration manually on cpanel server – other than this the migration can also be done from cpanel to cpanel using copy accounts function.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


cPanel : Unactivated License File

Monday, January 19th, 2009

On your cPanel dedicated server you must have come across the error:

Unactivated License File

To get this fixed do the following:

Login to your web server as root, once you’re in the console execute the below command:

/usr/local/cpanel/cpkeyclt

This will fix the issue, considering that your dedicated cPanel server IP has a valid cPanel license.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.