home   |   about us   |   our network   |   services   |   affiliates   |   contact
 
Services
» Web Hosting
» Reseller Hosting
» Dedicated Servers
» Windows/ASP.net Hosting
» Managed Web Hosting
» Server Security / Auditing
» Remote Backup / Storage
» Linux VDS
» Windows VDS
 
Support
» Support Desk
» Client Login
» Forums
» FAQs
» Help Files
» Acceptable Use Policy
» Client Testimonials
» Blog
 
Tutorials
» Dedicated Server Tutorial
» Website Optimization
» Search Engine Optimization
» Web Hosting Tutorials
» Web Programming Tutorials
» Networking Tutorials
» Virtual Server Tutorials
» Resources

The Crucial Blog - Archive

February 2, 2009

Fantastico not installing (Not Installed)

Sometimes, even after we install it will show as “Not Installed”. Or during the installation itself, it may show an error message like “Buggy version of wget”.

To fix this, we need to correct the version of wget.

For 32-bit:

rpm -qa wget
wget http://mirrors.kernel.org//core/5/i386/os/
Fedora/RPMS/wget-1.10.2-3.2.1.i386.rpm
rpm -e wget
rpm -ivh –force wget-1.10.2-3.2.1.i386.rpm
rpm -qa wget

For 64-bit:

rpm -qa wget
wget http://download.fedora.redhat.com/pub/fedora//releases/7/
Everything/x86_64/os/Fedora/wget-1.10.2-15.fc7.x86_64.rpm
rpm -e wget
rpm -ivh –force wget-1.10.2-15.fc7.x86_64.rpm
rpm -qa wget

Thats it!!!

Thanks for this article Gopi!

Tags: , , ,

No Comments

Filed under: Uncategorized by — aaron @ 9:35 pm


February 1, 2009

How to disable TRACE in httpd.conf

If you need to disable TRACE in httpd.conf, you can do it using the following:

# disable TRACE
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]

What is TRACE (in )?

The HTTP TRACE method is described in the HTTP 1.1 standard (RFC 2616, section 9.8):

9.8 TRACE
The TRACE method is used to invoke a remote, application-layer loop-
back of the request message. The final recipient of the request
SHOULD reflect the message received back to the client as the
entity-body of a 200 (OK) response.

If the request is valid, the response SHOULD contain the entire
request message in the entity-body, with a Content-Type of
“message/http”. Responses to this method MUST NOT be cached.

Tags: , ,

No Comments

Filed under: Uncategorized by — aaron @ 8:59 pm


December 28, 2008

HOWTO install Webmin on Fedora

login to your shell, i will be using ssh so i send this command:

wget http://prdownloads.sourceforge.net/webadmin/-1.350-1.noarch.rpm

once it has finished downloadin i send this command:

rpm -U webmin-1.350-1.noarch.rpm

The rest of the install will be done automatically to the directory /usr/libexec/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/ .

Webmin install complete. You can now login to https://hostname.domain:10000/
as root with your root password.

NOTE: the default login and password is your root and root password. this is the same login you used with you ssh to your server or whatever your root password is, so your login will be like this:

Username: root
Password: xxxx (what ever your root password is)

courtesy of http://www.wallpaperama.com
END.

Tags: , ,

No Comments

Filed under: Uncategorized by — ijan @ 2:52 pm


December 17, 2008

ip_conntrack: table full, dropping packet.

If you see something like the following in your log files:

ip_conntrack: table full, dropping packet.
printk: 73 messages suppressed.
ip_conntrack: table full, dropping packet.
printk: 84 messages suppressed.
ip_conntrack: table full, dropping packet.
printk: 157 messages suppressed.
ip_conntrack: table full, dropping packet.
printk: 145 messages suppressed.
ip_conntrack: table full, dropping packet.
printk: 118 messages suppressed.
ip_conntrack: table full, dropping packet.
printk: 121 messages suppressed.
ip_conntrack: table full, dropping packet.
printk: 93 messages suppressed.
ip_conntrack: table full, dropping packet.
printk: 128 messages suppressed.
ip_conntrack: table full, dropping packet.

It will probably look like you are experiencing a network issue with a lot of packet loss, but in fact it isn’t one at all!

This error has to do with the value in /proc/sys/net/ipv4/ip_conntrack_max set to low, and letting the system only handle a few connections at once. This value is usually imposed when APF is installed, and the following should be done to correct it:

echo “138304″ > /proc/sys/net/ipv4/ip_conntrack_max

add the following to /etc/sysctl.conf:

sys.net.ipv4.ip_conntrack_max = 138304

If you are running APF modify the following line to:

SYSCTL_CONNTRACK=”138304″

To check what the current value is you can use:

cat /proc/sys/net/ipv4/ip_conntrack_max

Tags: , ,

(4) Comments

Filed under: Uncategorized by — aaron @ 2:22 pm


November 17, 2008

How to disable Firewall or SELinux in CentOS 5

Disabling the Firewall and/or SELinux on 5 is fairly easy, just run the following command and you can make all the necessary changes!

/usr/bin/system-config-securitylevel-tui

Tags: , , ,

No Comments

Filed under: Uncategorized by — aaron @ 5:56 pm


November 10, 2008

CentOS 5 yum error: Error: None

On some new installs of we have been getting the following error while using :

[root@s yum]# yum upgrade
Error: None

To fix this phython sqlite and yum must be re-installed.

First remove phython sqlite and yum, then download and re-install them using the following:

rpm -ivh yum-metadata-parser-1.1.2-2.el5.x86_64.rpm
rpm -ivh python-sqlite-1.1.7-1.2.1.x86_64.rpm
rpm -ivh yum-3.2.8-9.el5.centos.1.noarch.rpm
rpm -ivh yum-updatesd-0.9-2.el5.noarch.rpm

Then execute:

yum clean all
yum upgrade

This should fix the issue.

If you are still having issues try the following:

rm /var/lib/rpm/__db*
rpm –rebuilddb
yum clean all
yum upgrade

Thanks Gopi for this article!

Tags: , , ,

No Comments

Filed under: Uncategorized by — aaron @ 4:32 pm


September 30, 2008

How to move a running process to the background Linux/UNIX

To move a running process to the background do the following:

CTRL + Z

bg

This is quite useful if you need to do something else via the commandline while you have already started running a process.

Tags: ,

No Comments

Filed under: Uncategorized by — aaron @ 3:34 pm


September 27, 2008

How to install Webmin on Debian 3 or 4 using Debian (.deb) Packages

Pre-installation Requirements:

apt-get install wget perl libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl libmd5-perl

Download the latest version of from the website: http://www..com/download.html

For Debian or other similar variants of , use the .deb package.  The latest one at time of writing is: http://prdownloads.sourceforge.net/webadmin/webmin_1.430_all.deb

Install (running as root):

dpkg -i webmin_1.430_all.deb

Tags: , , ,

(1) Comment

Filed under: Uncategorized by — aaron @ 3:10 am


September 27, 2008

Reset Default Lxadmin Password via commandline/backend

Sometimes when you intially setup , you can have problems resetting it from default.  To get around this can you can do the following:

1. Login via SSH to your VPS.

2. Run:

cd /usr/local/lxlabs/lxadmin/httpdocs

3. Then run:

/usr/bin/lphp.exe  ../bin/common/resetpassword.php master <your-new-password>

Tags: , ,

No Comments

Filed under: Uncategorized by — aaron @ 2:39 am


September 27, 2008

lxadmin Error: sh: vgdisplay: command not found

Error:

sh: vgdisplay: command not found

If you are receiving this, its probably due to the hostname being set to something which is causing a problem, so do the following to fix:

hostname temp.domain.com
cd /usr/local/lxlabs/lxadmin/httpdocs/
lphp.exe ../bin/update.php

Tags: , ,

No Comments

Filed under: Uncategorized by — aaron @ 2:07 am




     

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