support facility
Currently having 5 visitors online.
outsource trial support web hosting support
outsource live chat outsource hosting support 24x7 hosting support
outsource hosting home outsource hosting company outsource hosting technical support outsource hosting 24x7 support outsource hosting plans outsource hosting plans  

SSH failed – PRNG is not seeded

March 3rd, 2010

On a linux based VPS, a client rebooted their system and could not get the SSH of their VPS. As this is a VPS, we entered to their VPS from the hardware node and tried to restart SSH but got the below errors:

root@localhost:/# /etc/init.d/ssh restart
PRNG is not seeded

After investigation we found that the /dev/urandom was not there on the VPS.

root@localhost:/dev# ls -al /dev/random
crw-r--r-- 1 root root 1, 8 Mar  2 19:28 /dev/random

root@localhost:/dev# ls -al /dev/urandom
ls: cannot access /dev/urandom: No such file or directory

By the below command, we created it and restarted SSH

root@localhost:/dev# mknod /dev/urandom c 1 9
root@localhost:/dev# /etc/init.d/ssh  restart
* Restarting OpenBSD Secure Shell server sshd
...done.

All is perfect now!

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.

IonCube error on 64 bit server

January 22nd, 2010

On a 64 bit dedicated server we came accross an error:

[root@server ~]# php -v
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:
/usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32

If you come across such issue it seems that you have installed the wrong version of the IonCube Loader. For 64 bit remember to use the path /usr/lib64/php/modules/ioncube

I hope this helps you!

Delete an IP address from linux cPanel dedicated server

December 10th, 2009

Normally, to delete an IP from a cPanel server you can login to WHM and remove the IP using the function “Show or delete current IP address” under “IP functions” or use linux command.

For some reason we were having problems with the datacenter and we were asked to remove the IP using KVM. In this case, we entered the KVM and checked the if the IP was listed on the server by using ifconfig – we found that the IP was listed there. To remove the IP edit the file.

root@server# nano /etc/ips

and now remove the line of the IP and then restart the ipaliases service by the command

root@server# service ipaliases restart

It will show failed, you can ignore those warnings. And you can recheck if the IP has gone by using the command ifconfig. You’ll see the IP is not seen in the ifconfig output. Now, you can ask the datacenter to get the server online and then if you check from the WHM you will see that the IP is not available there.

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.

Wordpress blog upgrade

November 17th, 2009

If you’re looking to upgrade your Wordpress blog, please check this URL.

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.

Quota issue related to statistics log on plesk dedicated server

October 31st, 2009

While working on a quota issue for a domain on a plesk dedicated server, we found that the disk usage for the domain in the plesk control panel was overused. When checked from SSH the actual disk usage showed very low. The problem here was due to stats not getting updated for this particular domain.

To get this issue fix, you need to update the statistic logs for this domain on the plesk.

First of all login in to the server by the root access, use the below command to update the statistics for all the domains on the server.

/usr/local/psa/admin/sbin/statistics

Later, we updated the stats for the domain by the below command:

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.com

This fixed the statistics issue, as well as everything in the plesk control panel for disk usage shows fine now for the domain.

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.

Exim error on a cPanel server – host lookup did not complete

September 23rd, 2009

On a shared cPanel web server, we came around below error:

some-email@gmail.com cannot be resolved at this time: host lookup did not complete

So while troubleshooting this error, we found that the problem was in /etc/resolv.conf

There were invalid IPs there, just changing them the right ones fixed the problem for us.

Hope this helps guys who come around this error. If anyone has come around such error and have a different way to fix it – you can reply here with your solution!

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.

Uninstall fantastico on cPanel dedicated server

August 30th, 2009

While installing fantastico we had issues with wget as you know this is well-known issue of fantastico. Once it was installed , but it was not successful. So, we decided to uninstall fantastico from this dedicated cPanel server and do a fresh installation of fantastico.

Below are the path where fantastico on your cPanel server, you can us the command “rm –rf <filename>” to delete the fantastico files and directories.

Once you have logged in SSH of your cPanel server with root logins, you can follow the below commands:

rm -rf /var/netenberg/
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/
rm -rf /usr/local/cpanel/3rdparty/fantastico*
rm -rf /usr/local/cpanel/base/frontend/*/fantastico
rm -f /usr/local/cpanel/base/frontend/x/cells/fantastico.html
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi

Now, you can proceed for a fresh installation of fantastico. I believe you know the steps to install fantastico. If not, we can help you with 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.

Temporary URL for Direct Admin control panel

July 22nd, 2009

On a linux dedicated server which has DirectAdmin control panel on it, if you have couple of sites under your user account and you need to view the site without changing the DNS. You can view the default domain by the URL;

http://server-ip/~username/

But, if you have an addon domain and need to view the site without changing the DNS, you can set the addon domain to default and view it with the above URL. The other way is to set the IP and domain name in the hosts file in your windows system.

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 sBNC on a linux dedicated server

July 12th, 2009

One of our client needed sBNC to be installed on his dedicated server, here is how we helped him setup sBNC on his server.

Downloaded the source, kindly see below:

wget http://mirror.shroudbnc.info/sbnc-current.tar.gz
tar -zxf sbnc-current.tar.gz
cd sbnc-1.1
ls
./configure

Here we got an error of c++ compiler:

configure: error: C++ compiler cannot create executables

To fix this, you need to install c++ compiler on your system. I did it using yum:

yum install gcc-c++

After this is done, again giving the below command to install it:

./configure # without SSL-support
./configure --enable-ssl=yes # with SSL-support
make
make install

Now, if you need web interface, you will have to do this:

cd tickle
./configure
make
make install

Got errors while “make” , TCL was not installed on the server – you can install TCL on your dedicated server by doing this:

wget http://mesh.dl.sourceforge.net/sourceforge/tcl/tcl8.4.13-src.tar.gz
tar xfvz tcl8.4.13-src.tar.gz
cd tcl8.4.13/unix
./configure
make
make install

Then, you can proceed for the configuration by the conftool:

cd sbnc/sbnc
./conftool

Here, you can set the port number, username and password.

Start sbnc by:

./sbnc

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 PDFlib PHP on cPanel Dedicated server

June 27th, 2009

One web developer contacted us and requested us to install PDFlib on their cPanel dedicated server which has PHP 5. As you must be knowing that PDFlib is not supported in the current cPanel easyapache, and especially with PHP 5 so we installed PDFlib Lite manually for him. Here is how we had installed it for them:

Download the pacakge, their official site is www.pdflib.com

root@server# wget http://www.pdflib.com/binaries/PDFlib/703/PDFlib-Lite-7.0.3.tar.gz
root@server#  tar xvzf PDFlib-Lite-7.0.3.tar.gz
root@server#  cd PDFlib-Lite-7.0.3
root@server#  ./configure --prefix=$HOME/usr --without-java
root@server#  make
root@server#  make install

Once this is done, we built PDFlib DSO by the below commands:

root@server#  cd ~/tmp
root@server#  pecl download pdflib
root@server#  tar xvzf pdflib-*.tgz
root@server#  cd pdflib-*
root@server#  phpize
root@server#  ./configure --with-pdflib=$HOME/usr
root@server#  make
root@server#  make test

Then, copied the PDFlib extensions to a seperate directory:

root@server#  cd ~
root@server#  mkdir extensions
root@server#  cp ~/tmp/pdflib-*/modules/pdf.so ~/extensions

Added the extensions in the php.ini using the below steps:

root@server#   php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini

Add the below line in php.ini

root@server#  nano /usr/local/lib/php.ini

extension_dir = "/root/extensions"
extension = "pdf.so"

Save php.ini file
Create a test PHP file under your domain to check if it works, below is the test code:


<?php

try {
$p = new PDFlib();

/*  open new PDF file; insert a file name to create the PDF on disk */
if ($p->begin_document(”", “”) == 0) {
die(”Error: ” . $p->get_errmsg());
}

$p->set_info(”Creator”, “hello.php”);
$p->set_info(”Author”, “Rainer Schaaf”);
$p->set_info(”Title”, “Hello world (PHP)!”);

$p->begin_page_ext(595, 842, “”);

$font = $p->load_font(”Helvetica-Bold”, “winansi”, “”);

$p->setfont($font, 24.0);
$p->set_text_pos(50, 700);
$p->show(”Hello world!”);
$p->continue_text(”(says PHP)”);
$p->end_page_ext(”");

$p->end_document(”");

$buf = $p->get_buffer();
$len = strlen($buf);

header(”Content-type: application/pdf”);
header(”Content-Length: $len”);
header(”Content-Disposition: inline; filename=hello.pdf”);
print $buf;
}
catch (PDFlibException $e) {
die(”PDFlib exception occurred in hello sample:\n” .
“[" . $e->get_errnum() . "] ” . $e->get_apiname() . “: ” .
$e->get_errmsg() . “\n”);
}
catch (Exception $e) {
die($e);
}
$p = 0;
?>

You need to get the below output in PDF format within your browser.

Hello world!
(Says PHP)

Let us know if this was helpful for you?

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.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Home | Company | Testimonials | Infrastructure | Contact | Outsourcing Advantages | How outsourcing works | Web Hosting Support Articles
� 2007. Support Facility.com Privacy and Policy