Topics

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Friday, February 4, 2011

how to solve "Service Unavailable" Error

Check the System Event Log (run "eventvwr /s"). You should see and Error and maybe a Warning as well from the W3SVC Source at the time you were trying to view the web site/service. One of these will give you a slightly more specific problem which should be resolved in this document. Sour neilstuff.com

How to solve HTTP 404: The page cannot be found. (ASMX or ASPX)

IIS 6+ is setup to return a 404 on executable types that are unrecognized or prohibited. This is the case with both ASP.NET 1.1 and 2.0.
  1. Open the "Internet Information Services (IIS) Manager" under "Administrative Tools".
  2. Navigate to the "Web Service Extensions" node.
  3. Select "ASP.NET v1.1.4322" or "ASP.NET v2.0.50727" in the right pane.
  4. Click "Allow".
If you don't see the expected version of ASP.NET listed under "Web Service Extensions", it's typically because IIS was installed after .NET. You can run the aspnet_regiis.exe utility to remedy this:
  1. Get to a command prompt, e.g. Start>Run "cmd".
  2. Enter "CD /D C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322" or "CD /D C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" depending on which version of ASP.NET.
  3. Enter "aspnet_regiis.exe -i".
  4. Wait for the finished message; "Start installing ASP.NET (1.1.4322.0)" or "Start installing ASP.NET (2.0.50727.0)" depending on which version of ASP.NET.
  5. Follow the previous set of steps to enabled ASP.NET in Web Service Extensions.
    Source Neilstuff.coom

Linux Web Hosting

There many operating systems to choose from when it comes to web hosting. Here you will find some companies offering affordable packages whereas some charge a lot higher. It is crucial for you to bear in mind that different hosting packages will equip your site with different types of resources.
Magic Host is one of the reasonable services that you can get in the market. You can choose shared hosting plan because of its affordability. You don't have to invest a lot of money with Magic Host and you will be very satisfied with your investment if you opt for their service.
Linux will be the best operating system to choose because it is reliable and reasonable. Unlike other systems, Linux will not require monthly or yearly and setup charges. Therefore when you use Linux operating system, you would not have any frustrations or complaints that you did not get the services that you paid for.
Magic Host provides various types of Linux hosting plans that you can choose from. Basically you have to make your choice based on the bandwidth and web space size that your website requires. These packages also come with free setup and some even offer free domain setup.
This company also offers buy out advantage. Lets say you are subscribed to another company's hosting service and want to buy out from you current provider, Magic Host gives you a cheap way to do so. Even if you are already using the service, you can buy out from your hosting plan. The starting price is from $4.50 and you can have a well equipped business website. Magic Host provides you with all the benefit you can ask for and whats left for you to do is to choose.
Are you aware of how popular Hostgator has become? With more than 2 million domains hosted, they are definitely one of the giant web host in the internet. However, their success does not make a sense if they do not bring any good to you. So, check out this Hostgator review to see exactly how they could help you and your website. Source ezinearticles.com

Easy Linux backups

We would all like to think that, since we are using Linux, we will never really need a backup of our data. Now, let's look at this realistically. Even if your OS is 100% rock solid, with nary a nanosecond of downtime, that hardware running that OS can not possibly give 100% forever. Add to that the irresistible urge to upgrade hardware and you have the serious makings for the need to back up.
When you need to back up where do you turn? Of course you could slap together a good ol' fashion Bash script using rsync, ssh, tar, and a few other Linux tools. But for those who haven't the slightest idea how to cobble together their own Bash scripts, what is there to use to back up all of that precious data? Those of you who don't want to “roll your own” or those just looking for something easy to use, you're in luck... thanks to Lucky Backup! Lucky Backup is a very user-friendly backup tool that will have you backing up remotely or locally in no time. Once you've seen Lucky Backup in action you will never think Linux backups are difficult again.

Features

Of all the backup utilities I have used I have to say Lucky Backup is the easiest. It has a user-friendly interface that will make any user happy, and has the following features:
  • Create full backups.
  • Create snapshot backups.
  • Sync data directories.
  • Data checks to ensure nothing is erased.
  • Simple and advanced options.
  • Include/Exclude files.
  • Local or remote backups.
  • Scheduled backups.
  • Backup simulation.
  • Logging.
  • Command line option.
  • Profiles.

Installation

Installing Lucky Backup is simple. All you need to do is open up your Add/Remove Software utility, search for “luckybackup” (no quotes), select Lucky Backup for installation, and click Apply to install. Once installed you will find the tool in Applications > Accessories on GNOME. It might vary on other desktops.

Using Lucky Backup


When you open Lucky Backup the main window (see Figure 1) has pretty much everything you need to create and run a backup. Let's take a look at the process for creating a scheduled local backup.
Let's assume you are only going to need one profile for backup. You could, of course, create multiple profiles which would allow you to have multiple backup sets that could be run at different times (making Lucky Backup fairly flexible). But for the sake of simplicity, let's stick with a single profile.
The first step is to click the Add button which will open up the Task Properties window (see Figure 2). In this window you will need fill out a few pieces of information. As you can see you can only add one directory
per task. If you need multiple sources for this profile you simply create a task for each source.
Obviously you will not want your Source and Destination to be located on the same drive. For a local backup you will want to have either a second drive or an external drive attached. This drive will be your Destination for your tasks. You will also want to pay close attention to the Type of backup you are creating. You can do a full backup (copy all files/sub-folders from the source to the destination) or a synchronized backup (make sure source and destination are the same).
If you want to do any file/folder exclusion make sure you click on the Advanced button. In the Advanced section you can setup excludes, remote options, command options, and extra executables. Before you click the OK button it is always wise to click the Validate button to ensure your backup settings are good to go.

Once you have all of your tasks created you will want to set up the scheduled aspect of the backup. To do this click Profile > Schedule and then click the Add button in the new window (see Figure 3).
When the Schedule window opens click the Add button which will open up the scheduler. From here you can choose a Profile to schedule and then set the interval in which to back up. After you set the time for the backup click OK and the schedule is set...but not complete. After you set the schedule up you then need to click the crontIT! button which will then automatically create a cron job for the backup job.
Multiple backups
Let's say you have multiple directories you want to back up. You might even want different directories to back up in different way, to different locations, or to be run at different times or intervals. For this you will want to create multiple tasks. You could easily create a task for such backups as:
  • Documents
  • Music
  • Pictures
  • Videos
You get the idea. You can have as many tasks as you want. You can even create specific profiles and then create different tasks for each profile. Very flexible.

Remote backups

ou can do remote backups with Lucky Backup as well. Attended remote backups are actually quite easy to do. It is only when you want to do scheduled remote backups that you run into any difficulty. Let's take a look at how to do a single instance of a remote backup first. To do this you would create your backup as you normally would, but you must click on the Advanced button. From the Advanced properties click the Remote tab and begin to fill out the information necessary (see Figure 4).
To do an attended remote backup you will only need to fill out the following:
  • Destination (you need to make sure this directory exists on the remote machine).
  • User (this user must exist on the remote machine).
  • Host (this IP address or host name of the remote machine).
You will also need to select the ssh checkbox. After you complete that information click the Validate button to make sure everything is correct. If it checks out click Okay and you are then ready to run the backup.
There is one thing you will find when running a Lucky Backup remote backup. You will want to start Lucky Backup from the command line so you will be able to enter your ssh password (for the remote host). To start Lucky Backup from the command line open up a terminal window and issue the command luckybackup. Now when you hit the start button on Lucky Backup you will see your console window prompting for your ssh password. Enter the password and hit the Enter key to continue on with your backup.
If you want to schedule a remote backup you will have to set secure shell up to do password-less authentication. This is not necessarily the most secure process. If, however, you want to set this up just follow these steps:
On the local machine issue the command:
ssh-keygen -t dsa
This command will generate public keys that you can then copy to your remote machine. During the key generation do not enter a password, just hit enter when prompted. After the keys are generated copy them to the server with the command:
ssh-copy-id -i .ssh/id_dsa.pub username@destination
Where username is the user you will log into the remote server with and destination is the IP address of the server. To test this go back to the local machine and attempt to ssh into the server. You should automatically be logged into the remote machine. You can now set up scheduled, remote backups.

Running a backup

In order to manually run a backup (such as a remote backup) select the task you want to run and then click the Start button. You can optionally check the “simulator” check box to simulate the backup to make sure it will run properly. That's all you need to do! Let your backup run to completion and you're finished.

How to Enable/Disable IMAP service for a domain from MailEnable?

In order to enable/disable IMAP service for a particular domain from MailEnable one need to perform below mentioned steps:

1) Login into MailEnable Professional.
2) Click on MailEnable -> MailEnable Management -> Messaging Center -> Post Offices.
3) Right Click on domain name -> Properties for which one need to perform the task.
4) Go to the Tab “Service Selection”.
5) Select the ‘Enable or Disable’ from drop down menu against IMAP Service.
6) Click on apply and Ok.