Problem With Solutions

Something Different In Linux

Home » 2009 » August

Error occurred during initialization of VM

Posted by Rishikesh Vispute Categories: Tomcat

If  you are facing following error when restarting the tomcat service or check the java version on the server. =============================== Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. =============================== then  you need to increase the java heap size by using following commnad.  [ Read More ]

.htaccess rule

Posted by Rishikesh Vispute Categories: Knowledge

1. Creating a custom error page with .htaccess on a linux apache is a very simple task. Using you a text editor like notepad you create an .htaccess files. Custom error pages give your website an professional look and catch those visitors who reach your website following a back link. ErrorDocument 401 /error/401.php ErrorDocument 403  [ Read More ]

Database Hostname In mysql config file

Posted by Rishikesh Vispute Categories: mysql

Hosting Company ============================= DB_HOST Value Guess ====================== 1and1 db12345678 AN Hosting localhost BlueHost localhost DreamHost mysql.example.com GoDaddy h41mysql52.secureserver.net HostGator localhost HostICan localhost ICDSoft localhost:/tmp/mysql5.sock LaughingSquid localhost MediaTemple GridServer internal-db.s44441.gridserver.com one.com localhost pair Networks dbnnnx.pair.com Yahoo mysql Hosts with cPanel localhost Hosts with Plesk localhost Hosts with DirectAdmin ============================= localhost =======================

osCommerce error ‘Cannot reassign this’

Posted by Rishikesh Vispute Categories: PHP

osCommerce error ‘Cannot reassign this’ The error appears because your OS Commerce is based on PHP4 rather than PHP5. To resolve the error message, you should follow the instructions below: 1. Go to your cPanel. Refer to SiteGround cPanel access guide. 2. Click on the File Manager icon. 3. Click on the folder icon next to public_html folder  [ Read More ]

Tomcat – java.lang.OutOfMemoryError: PermGen space

Posted by Rishikesh Vispute Categories: Tomcat

Tomcat – java.lang.OutOfMemoryError: PermGen space When you have access the .jsp page then some time it shows the following error on the page. ============================ HTTP Status 500 – type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root  [ Read More ]

This notice is self-explanatory and prevents you from using cPanel’s phpMyAdmin and Fantastico tools. The easiest way to resolve it is to log out and then log in as a regular user. However, sometimes even when logged in with a regular account you may see this warning. Usually this means that the server’s root password  [ Read More ]

Linux realted question

Posted by Rishikesh Vispute Categories: Knowledge

1) Which command is used to change settings on IDE hard disk drives? 1. hdparm 2. hddparm 3. diskparm 4. hdparam 5. ideconfig Ans : hdparm hdparm is a command line utility for the Linux operating system to set and view IDE hard disk hardware parameters. It can set parameters such as drive caches, sleep  [ Read More ]

How to disable banner for server.

Posted by Rishikesh Vispute Categories: How to

How to disable banner for server. anter server ip address in centralops.net/com then click on —- you will see server naem and operating system : this you need to disable vi /usr/local/apache/conf/modsec.conf add one line in the file SecServerSignature “IIS admin”

Difference between sub-domain and Addon domain.

Posted by Rishikesh Vispute Categories: Knowledge

Following is the descriptive difference between sub-domain and Addon domain. ==================================================================================================== 1. Sub Domain A subdomain will be in the form sudomain.maindomain.com. When you create a subdomain using cPanel it will create a directory in your public_html folder. You should out all your subdomain folder in that directory. In our case our maindomain is “maindomain.com”  [ Read More ]

Outlook just asking PWD again and again

Posted by Rishikesh Vispute Categories: Outlook problem

You are able to login successfully webmail but not outlook. Outlook just asking PWD again and again, It means this is problem of pop3 service, just go through as following to resolve this issue. 1) vi /etc/xinetd.d/popa3d then make change disable = yes in this file. 2) you have make same changes into /etc/xinetd.d/popa3ds file  [ Read More ]

Optimized by SEO Ultimate