<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9" -->
<rss version="0.92">
<channel>
	<title>SupportSages</title>
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Tue, 09 Mar 2010 17:34:17 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>who manages domain names &amp; ip addresses</title>
		<description><![CDATA[<strong>IANA &#38; ICANN</strong>
--------------------

The assignment of identifiers such as addresses and names, to ensure that they are created and allocated in a way that is acceptable to all is the main factor for the success of the Internet. So some sort of centralized organization is required. The organization originally responsible for this task was Internet Assigned Names and Numbers (IANA). IANA was originally charged with the task of managing which IP address blocks had been assigned to different companies and groups, and maintaining periodically-published lists of Internet parameters such as tcp and udp port no.s. It also was in charge of ...]]></description>
		<link>http://www.supportsages.com/blog/2010/03/who-manages-domain-names-ip-addresses/</link>
			</item>
	<item>
		<title>MSSQL &#8211; Two common issues while restoring a backup and it&#8217;s solutions</title>
		<description><![CDATA[There are two most common issues while restoring the database (usually ending in .bak format).


<strong>First error</strong>
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing '<strong>user_database</strong>' database. (Microsoft.SqlServer.Express.Smo)


<strong>Solution for First error</strong>
	<li>Connect to the database server</li>
<a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png"><img class="alignnone size-full wp-image-626" title="Logging in" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png" alt="Logging in to the web server" width="368" height="273" /></a>
	<li>Go to the restore option and select Restore Database

<a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png"><img class="alignnone size-full wp-image-627" title="Screenshot-1" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png" alt="" /></a></li>
	<li>On the Restore page that loads up, make sure that the <strong>Destination for restore</strong> has the database you want to restore and in the<strong> Source for Restore</strong>, choose<strong> From device:</strong> ...]]></description>
		<link>http://www.supportsages.com/blog/2010/02/mssql-two-common-issues-while-restoring-a-backup-and-its-solutions/</link>
			</item>
	<item>
		<title>HTTP 405: The HTTP verb used to access this page is not allowed</title>
		<description><![CDATA[On an html page, one of our customers was getting this issue. Despite asking him to change the extension to .asp, he insisted to have html extension and still process the HTTP verbs, where it is POST method here. 

Situation becomes like this a static page wants to be read a dynamic page and process the values obtaining from POST method. Solution is to make the .html read as .asp with asp dll, just like we do html parse as php in Linux boxes Here are the steps to do it on a Windows 2003 machine

1. <strong>Start</strong> --> Run --> ...]]></description>
		<link>http://www.supportsages.com/blog/2010/02/http-405-the-http-verb-used-to-access-this-page-is-not-allowed/</link>
			</item>
	<item>
		<title>SSH passwordless login and sudo user</title>
		<description><![CDATA[Password less SSH login to another server can be very useful when you want to configure a remote backup server or when migrating servers. For enabling this you need to have openSSH installed on the server. Here is a tutorial on how to configure password less SSH login to server 'mars' from server 'earth'


1. Login to earth as <strong>root</strong>.


2. Run the command <strong>ssh-keygen -t rsa</strong>
If the key already exists you can either go to step 3 or you can generate a new key by overwriting existing key (see image). It would be better to overwrite the existing key if you ...]]></description>
		<link>http://www.supportsages.com/blog/2010/01/ssh-passwordless-login-and-sudo-user/</link>
			</item>
	<item>
		<title>Postgresql issues with a cPanel server</title>
		<description><![CDATA[Recently with a cPanel server, we had this issue of not being able to create postgresql database even after the postgresql package is installed and database server is running. Fixing of one issue lead to another there by needing to fix all the errors.

<blockquote>Cpanel::AdminBin::adminrun(postgres) set error in context postgres
[2010-01-16 12:24:18 -0500] warn [postgres::listdbs] Encountered error in postgres::listdbs: Error from postgres wrapper: PostgreSQL has not been configured by the administrator. Unable to locate pgpass file.</blockquote>

This was fixed by doing these,

<strong>Login to WHM => SQL Services => Postgres Config => Click on “Install Config”.
Login to WHM => SQL Services => Postgres Config ...]]></description>
		<link>http://www.supportsages.com/blog/2010/01/postgresql-issues-with-a-cpanel-server/</link>
			</item>
	<item>
		<title>Bad Request (Invalid Hostname) when accessing via IP</title>
		<description><![CDATA[Customer wanted to have a dedicated IP, but once I change the IP from the plesk control panel, I couldn't get the website when accessed using IP. Instead, it was giving me the plesk control panel's default page. Reason ? Default Website was having the IP as "All Unassigned". Set that to the main IP address. But after that I was getting a new error.

What I could get was "Bad Request (Invalid Hostname)" in bold letters. Here is what I did to fix the same.

Start -> Run -> inetmgr -> Expand the (+) -> Websites -> Right click on the ...]]></description>
		<link>http://www.supportsages.com/blog/2009/12/bad-request-invalid-hostname-when-accessing-via-ip/</link>
			</item>
	<item>
		<title>Rebuilding Software RAID</title>
		<description><![CDATA[One of our clients had a hard drive fail. The harddisk was marked faulty and removed as well. Client inserted new HDDs, and needed us to rebuild the array. Hot swappable HDs would have done the job real quick. But not here. There is some process involved in rebuilding the array. 

A normal array will have the output similar to below - Notice the [UU] - U could mean "Used". A fully functional RAID system would show [UU] for each slice. 

<code>
cat /proc/mdstat 
Personalities : [raid1] 
md0 : active raid1 sda1[0] sdb1[1]
      1052160 blocks [2/2] ...]]></description>
		<link>http://www.supportsages.com/blog/2009/12/rebuilding-software-raid/</link>
			</item>
	<item>
		<title>Enabling mod_rewrite in Apache 2.2</title>
		<description><![CDATA[By default CentOS or RHEL flavours of Linux has Apache 2.2 installed. It often becomes a requirement to enable mod_rewrite on these servers. Techs who have been working with cPanel and server with control panels often finds it difficult to troubleshoot issues with a bare server. There are a few things to check or commands to execute in such case where mod_rewrite is shown enabled in the httpd.conf, but not working.


<blockquote>
[root@cave html]# httpd -V
Server version: Apache/2.2.3</blockquote>

<blockquote>[root@cave html]# httpd -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 auth_digest_module (shared)
....
.......
....
rewrite_module (shared)
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module ...]]></description>
		<link>http://www.supportsages.com/blog/2009/12/enabling-mod_rewrite-in-apache-2-2/</link>
			</item>
	<item>
		<title>Magento Suhosin Values</title>
		<description><![CDATA[Known .htaccess and php.ini values to override suhosin restrictions for proper working of Magento]]></description>
		<link>http://www.supportsages.com/blog/2009/12/magento-suhosin-values/</link>
			</item>
	<item>
		<title>How to redirect non ssl (http links) traffic to SSL (https links)</title>
		<description><![CDATA[Our Level I techs often gets tickets like how to make http:// or http://www. redirect to https:// or https://www. Often the answer is simple, but for the newbies and yours use, I am putting it here. 

First requirement is to have an SSL certificate installed. Add the following lines in a .htaccess file:


<blockquote>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}</blockquote>

I assume when you directly access https://www.domainname.com , the site loads fine.
]]></description>
		<link>http://www.supportsages.com/blog/2009/12/how-to-redirect-non-ssl-http-links-traffic-to-ssl-https-links/</link>
			</item>
</channel>
</rss>
