buy tb500

Archive for September, 2010

cron job in windows plesk

Thursday, September 30th, 2010

refer to below article

http://www.mywebsitedesigner.com.au/blog/id/2/setting-up-whmcs-cron-jobs-using-plesk-windows

thank you.

RHEL Red hat enterprise Linux

Wednesday, September 29th, 2010

You can check the version using the below command

#uname -mrs   to check how many bit 64 or 32

#cat /etc/redhat-release  this to check the version

References

http://www.cyberciti.biz/tips/vmware-on-centos5-rhel5-64-bit-version.html

RVsirebuilder Cpanel issue

Tuesday, September 28th, 2010

if you got below error

The encoded file /var/cpanel/rvglobalsoft/rvsitebuilder/www/ionctestlicense.php requires a license file.
The license file /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilder.lic has expired. in Unknown on line 0

this is the solution

1. SSH to the server as root and run this command.

rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/var/INSTALL_COMPLETE.php
rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilderversion.txt
perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi

2. Go to root WHM/RVSiteBuilder, it will automatically rebuild the database for you.

i have tried the solution my self and it is working fine,

References

http://forums.rvskin.com/index.php?showtopic=3268

qmail in plesk

Tuesday, September 28th, 2010

this command to check the logs     vi  /usr/local/psa/var/log/maillog

refer to the below article will give you more details on how to mange the mail queue

http://logicsupport.com/blog/?p=101

Thank you.

plesk power panel issues

Sunday, September 19th, 2010

power panel port 4643

if power panel for client side can not show any content inside then you need to login to the container admin side and use below command

option 1

k indly check for ldap service inside service container : Kindly execute following command from hardware mode :#vzctl enter 1

-bash-2.05b# service ldap.fds status

If it is stopped status kindly start the ldap service and check : #service ldap.fds start

Option 2 :
If the issue still persists we would request you to follow the below mentioned steps :
1)Backup PIM data base by referring the below mentioned KB article:
2)Reinstall Service Container by referring the KB article mentioned below:
3)Restore PIM database by referring by refering below mentioned KB article:

install URL rewrite in windows 2008 iis7

Monday, September 6th, 2010

just install normal installation from the below URL

http://blogs.iis.net/ruslany/archive/2010/03/11/iis-url-rewrite-2-0-release-to-web.aspx

then restart IIS

Thank you.

use permalink custom strucutre in wordpress windows iis7

Monday, September 6th, 2010

if you want to use  custom strucutre =  /%postname%/    then yo need to use below code in .htaccess if linux or in URL rewrite if windows 2008

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase / 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Reference
http://wordpress.org/support/topic/page-not-found-after-changing-permalink-to-postname


find database name location in linux or find text in text file

Sunday, September 5th, 2010

use below command in ssh

grep -lir “databasename” *

thank you.

JSP test code

Sunday, September 5th, 2010

code should be .jsp   for example  test.jsp

========

<html>
<head>
<title>Hello from JSP</title>
<%!
String message = “Hello, World. From JSP test page Tomcat is running.”;
%>
</head>
<body>
<hr color=”#000000″ />
<center>
<h2><font color=”#3366cc”><%= message%></font></h2>
<h3><font color=”#0000ff”><%= new java.util.Date() %> </font></h3>
<hr color=”#000000″ />
</center>
</body>
</html>

==============

Thank you.

Install tomcat in linux server WHM

Sunday, September 5th, 2010

1- WHM>> then easyapache then follow the step and select tomcat

or

you can run below scripts in SSH

/scripts/easyapache

then follow

after done you need to go to WHM >> install servlets>> then select the domain that you want to enable it to use tomcat and press install .

after done that you can test using below code

code should be .jsp for example test.jsp in your domain

alzwea.com/test.jsp

==============

<html>
<head>
<title>Hello from JSP</title>
<%!
String message = “Hello, World. From JSP test page Tomcat is running.”;
%>
</head>
<body>
<hr color=”#000000″ />
<center>
<h2><font color=”#3366cc”><%= message%></font></h2>
<h3><font color=”#0000ff”><%= new java.util.Date() %> </font></h3>
<hr color=”#000000″ />
</center>
</body>
</html>

==============

tomcat use for jsp, to make your website support jsp code

references

http://www.eukhost.com/forums/f15/how-install-enable-tomcat-account-whm-6447/

Thank you.