Windows 2003 plesk 8.4 – IP address conflict

August 6th, 2008

While working on a windows 2003 server which has a plesk 8.4 control panel, I got the following error:

Unable to add ip xx.xx.xx.xx with mask 255.255.255.0 to interface PublicNetwork, WMI error code 42
Execute file name: C:\Program Files\SWsoft\Plesk\admin\bin\ifmng.exe

This means that there is an IP conflict, to get this fixed – you have to contact your dedicated server provider and ask them to remove the IP address or to provide a new IP address.

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.

Popularity: 2% [?]

Rvskin giving error on cPanel server

July 3rd, 2008

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

………………….
…………………
main::cpanel_parse(’GLOB(0×9c3af58)’) 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:

mkdir /root/rvadmin
cd /root/rvadmin
rm -f rvauto.tar.bz2
wget http://download.rvglobalsoft.com/download.php/download/rvskin-auto/saveto/rvauto.tar.bz2
tar -xvjf rvauto.tar.bz2
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.

Popularity: 4% [?]

Plesk: Enable allow_url_fopen for a domain

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:

/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.

Popularity: 4% [?]

Disk space commands on linux

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.

Popularity: 5% [?]

Disable safe mode for subdomain on plesk

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.

Popularity: 6% [?]

Upgrade from plesk 8.3 to 8.4 on windows 2003 server

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.

Popularity: 8% [?]

Open remote desktop connection from console on windows

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.

Popularity: 7% [?]

Mailbox quota shown wrong on cPanel

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.

Popularity: 9% [?]

Chkconfig to activate and deactivate services

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.

Popularity: 8% [?]

Install chkrootkit

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.

Popularity: 8% [?]