Archive for June, 2008



Disable safe mode for subdomain on plesk

Wednesday, June 25th, 2008

If you need to disable safe more for subdomain on a plesk server, follow this:

Edit the file:

/var/www/vhosts/domain.com/subdomains/<subdomain-name>/conf/vhost.conf

Add the below code in this vhost.conf :

<Directory /var/www/vhosts/domain.com/subdomains/<subdomain-name>/httpdocs>
php_admin_flag safe_mode off
</Directory>

The, reconfigure plesk by the command:

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

Now restart Apache with the command:

# /etc/rc.d/init.d/httpd restart

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.


Upgrade from plesk 8.3 to 8.4 on windows 2003 server

Friday, June 20th, 2008

You have a windows server with plesk 8.3 and are looking to upgrade it to plesk 8.4 , to do this first download the installer from here on your server.

Then install it and follow the steps, this may take time depending on number of domains present on the server. Once finished you are requested to reboot the server and then try access plesk with port 8443 and you will see that you have plesk 8.4 login screen.

This worked perfectly for us, try at your own risk :)

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.


Open remote desktop connection from console on windows

Wednesday, June 18th, 2008

If you looking to open remote desktop connection using console, do the following:

Open command prompt
Then, type: mstsc /console
This will start the remote desktop, type the computer IP to which you need to connect.
Configure the options and then click on connect.

To view all the options, in the console type: mstsc /?

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.


Mailbox quota shown wrong on cPanel

Wednesday, June 4th, 2008

On your cPanel dedicated server, for an email the mailbox quota is displayed wrong – follow the below steps:

Login to your server as root
cd /home/username/mail/domain.com/emailaccount
rm -rf maildirsize

Now, login to cPanel
Go to email account and change the quota for particular email account.
(Once you change quota, it will recreate file maildirsize automatically)

You can also delete maildirsize file from cpanel > file manager

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.


Chkconfig to activate and deactivate services

Tuesday, June 3rd, 2008

The chkconfig command can be used to activate and deactivate services. You use “chkconfig –list” to query a service in “/etc/rc.d”, that service’s settings for each runlevel are displayed. For example, the command “chkconfig –list httpd” returns the following output:

httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Viewing chkconfig Entries:

root@server# chkconfig –list | grep on

Modifying a chkconfig entry is almost as easy as listing the existing configuration. The form is:

chkconfig [--level <levels>] <name> <on|off|reset>

Runlevels (–level)

0. System halt
1. Single-user mode
2. Multiuser, without NFS
3. Complete multiuser mode
4. User defined
5. X11 (XDM login)
6. Reboot

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 chkrootkit

Monday, June 2nd, 2008

chkrootkit is a tool to locally check for signs of a rootkit. It contains:

chkrootkit: shell script that checks system binaries for rootkit modification.
ifpromisc.c: checks if the interface is in promiscuous mode.
chklastlog.c: checks for lastlog deletions.
chkwtmp.c: checks for wtmp deletions.
check_wtmpx.c: checks for wtmpx deletions. (Solaris only)
chkproc.c: checks for signs of LKM trojans.
chkdirs.c: checks for signs of LKM trojans.
strings.c: quick and dirty strings replacement.
chkutmp.c: checks for utmp deletions.

Installation procedure:

cd /
wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
tar -zxvf chkrootkit.tar.gz
cd chkrootkit-0.48
make sense

You can now execute: /chkrootkit-0.48/chkrootkit

For more information of chkrootkit you can check here

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.


Find top large files and directories

Monday, June 2nd, 2008

If you want to find large files and directories within your directory in linux here is the command:

du -sh /home/username/* | sort -nr | head

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