Archive for July, 2008



Rvskin giving error on cPanel server

Thursday, July 3rd, 2008

For some reason when upcp completed on cPanel server rvskin started giving errors like below:


......................
.....................
main::cpanel_parse('GLOB(0x9c3af58)') called at cpanel.pl line 2912
main::doinclude('rvbranding/indexheader.html', 2) called at cpanel.pl line 1673
main::exectag('<cpanel relinclude="rvbranding/indexheader.html">') called at cpanel.pl line 4797
main::dotag(undef) called at cpanel.pl line 4664
......................................................
.....................................................

To get this fixed do the following:

root# mkdir /root/rvadmin
root# cd /root/rvadmin
root# rm -f rvauto.tar.bz2
root# wget http://download.rvglobalsoft.com/download.php/download/rvskin-auto/saveto/rvauto.tar.bz2
root# tar -xvjf rvauto.tar.bz2
root# perl /root/rvadmin/auto_rvskin.pl

This worked for us!

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.


Plesk: Enable allow_url_fopen for a domain

Thursday, July 3rd, 2008

Assuming that you have a plesk dedicated server and a domain hosted on it, and you need allow_url_fopen to be “ON” (enabled). Just follow the below steps to get this done.

Create a vhost.conf file under /home/httpd/vhost/domain.com/conf and add the following code.


<Directory /home/httpd/vhost/domain.com/httpdocs/>
php_admin_value allow_url_fopen On
</Directory>

Once done, you will have reconfigure plesk and the command to do so is:

root# /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com

Now, restart apache on the server.

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.


Disk space commands on linux

Tuesday, July 1st, 2008

Linux console is the best place for a system admin, some useful commands to check disk space on a linux system are:

Show files by size, biggest last:

ls -lSr 

Show top disk users in current dir.

du -s * | sort -k1,1rn | head

Show free space on mounted filesystems

df -h

Show free inodes on mounted filesystems

df -i 

Show disks partitions sizes and types

fdisk -l

List all packages by installed size (Bytes) on rpm distros

rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n

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.