![]() |
||
The Crucial Blog - Archive September 16, 2008
cPanel Error: Uncompressing cplyr1-cPanelExtraction failedIf you are receiving the following error in cpanel/WHM:
Then you probably need to install tar, which can be done as follows on CentOS: Tags: centos, cpanel, linux (1) Comment Filed under: Uncategorized by — aaron @ 2:59 am September 16, 2008
How to install cPanel/WHM on Fedora 9At the time of writing cPanel/WHM was not officially support Fedora 9, however to install cPanel you can do the following: Tags: cpanel, fedora, linux No Comments Filed under: Uncategorized by — aaron @ 2:57 am April 30, 2008
Installing and configuring postgreSQL (pgsql) under cPanelPostgreSQL is fairly easy to install under cPanel/WHM, you can just run the following command: # /scripts/installpostgres Tags: cpanel, databases, system administrationNo Comments Filed under: Uncategorized by — aaron @ 4:15 am April 12, 2008
cPanel Error: Invalid License FilecPanel Error: Invalid License File Solution: First ensure your IP address is actually licensed: http://verify.cpanel.net If its showing as licensesd, then run # rdate -s rdate.darkorb.net If the error is still occurring run: #/usr/local/cpanel/cpkeyclt If you continue to have the error, please contact your vendor or if a Crucial Paradigm customer please submit a tech support ticket. Tags: cpanel, system administrationNo Comments Filed under: Uncategorized by — aaron @ 9:01 pm March 27, 2008
Creating and Running a Ruby On Rails application in cPanel – Crucial ParadigmA number of clients have approached us asking how to get their Ruby on Rails application running on cPanel, so we wrote a tutorial to help alleviate some of doubt:
After starting the application, you can access it using the URL : http://domainname/app_name/public/ Each application will be using a port above 12000(>12000). The application will be automatically assigned a port when we are creating the application from cpanel. Note : If we are creating the application under public_html directory, the application’s source code and configuration files can be viewed by anyone on the web. So, to avoid this you have two options:
You can create the application in the home directory (/home/username) and then use the rewrite option in cpanel(Cpanel >> Ruby On Rails >> Create A Rewrite). On the right hand side of each application, click the link “Create Rewrite” and save the required rewrite rule. For example: if you want to redirect the main domain to your rails application port, say http://domainname:12002, Select the main domain in “Domain & URL to be redirected to rails app” section and click save. Similarly, you can redirect a subdomain to the rails application by selecting the corresponding subdomains from the list(Domain & URL to be redirected to rails app). But before that you should create that particular subdomain in cPanel. Each user can run 4 rails applications at a time. Simple test application :
When you access the URL http://domainname:port, the default ruby welcome page will be displayed. If you want to see the application on the main page, set the corresponding route in the configuration file routes.rb. For example: In the above test application example, to display the welcome page of our home controller, instead of rails welcome page, uncomment and change the following line in routes.rb (home/username/public_html/example/config/routes.rb). Move the default rails welcome index file “/home/username/public_html/example/public/index.html” to another name(index.html.bak) or you can remove the file.
Creating a simple database application :
Rails strongly recommends the following:
Rails Environments :
Mongrel : Cpanel uses Mongrel webserver for rails applications. Starting mongrel :
NOTE: Thanks to Anusha for this great article! Tags: cpanel, ruby-on-railsNo Comments Filed under: Uncategorized by — aaron @ 6:28 pm March 16, 2008
Spamd child process causing high server loadSometimes, spamd child process for a particular user can cause high server load. This is a bug with spamassassin and is reported here: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5612 To fix the issue, apply the patch mentioned in the bug. For cPanel servers, run the following scripts: /scripts/autorepair spamd_dbm_fix No Comments Filed under: Uncategorized by — aaron @ 2:59 pm March 13, 2008
Gem Error Ruby on Rails cPanel: uninitialized constant Gem::GemRunner (NameError)Error: uninitialized constant Gem::GemRunner (NameError) When: Installing Ruby on Rails gem on cPanel Solution: 1. Open the file /usr/bin/gem 2. Simply add the line to that file 3. Save and exit Tags: cpanel, ruby-on-rails, system administrationNo Comments Filed under: Uncategorized by — aaron @ 1:34 am March 13, 2008
How to install mod_proxy on apache 1.3 on cPanelIf you are looking to install mod_proxy on Apache 1.3 under cPanel do the following: 1. Goto /home/cpin/installd/buildapache/apache_1.3.37/src/modules/proxy 2. Run this command 3. Now edit the httpd.conf file and add the below entry to it. LoadModule proxy_module libexec/mod_proxy.so 4. Save and exit the conf file. 5. Restart apache. Tags: apache, cpanel, system administration(2) Comments Filed under: Uncategorized by — aaron @ 1:33 am March 5, 2008
404 Error when to accessing /wp-admin/admin-ajax.phpWhen you receive this error:ForbiddenYou don’t have permission to access /wp-admin/admin-ajax.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. If you are receiving this error, then its likely you have mod_security installed on your server, and you will need to update your mod_security rules. Find the following in your mod_security configuration:
Change it to:
If you don’t have access to mod_security configuration (i.e. you are not the administrator of the server), then you can add the following to a .htaccess file for your site: Tags: blog, cpanel, security, server-administration, wordpress No Comments Filed under: Uncategorized by — aaron @ 4:56 pm February 25, 2008
cPanel/WHM: quotacheck: Can’t find filesystem to check or filesystem not mounted with quota option.When you receive this error message in cPanel/WHM: /scripts/fixquotas quotacheck: Can’t find filesystem to check or filesystem not mounted with quota option. ….Done First make sure you have the usrquota option for your / partition on /etc/fstab and then reboot the server. If you are still having issues, make sure your kernel supports quotas. Tags: cpanel, quotas, system administrationNo Comments Filed under: Uncategorized by — aaron @ 2:30 am |
Tag Cloud
cpanel
vmware
windows 2008 server
microsoft
subversion
raid
debian
php
yum
mail
gentoo
ssh
cisco
storage
windows server
linux
security
fantastico
centos5
hypervm
exchange
firewall
ruby-on-rails
ubuntu
lxadmin
lxlabs
joomla
control panels
vps
fedora
vds
servers
networking
xen
server-administration
virtualization
esxi
windows
system administration
wordpress
webmin
XenServer
apache
centos
virtual dedicated servers
|
|
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers
© Copyright 2003-2008
Crucial Paradigm
ABN 97 125 618 662