Archive for the ‘Troubleshoot’ Category

Upgrading to new git version on Mac OSX

March 14, 2013 1 comment

Mac OSX comes with git pre-installed. You can find the installation here: /usr/bin.

To check its version, type the following:

$ git --version

To upgrade to the latest version of git, do the following:

  1. Download and install latest git from This will install it in /usr/local/git folder. Make sure it did that.
  2. Open terminal and run the following
    $ vi ~/.bash_profile

  3. Go to insert mode (press "i" on your keyboard)
  4. Paste the following
    export PATH=/usr/local/git/bin:$PATH

  5. If there already stuff in .bash_profile file, just append "/usr/local/git/bin" appropriately. For example, in my case, the android sdk path was already set in it. So it was appended at the end as shown below:
    export PATH=/Users/sukamat/android-dev/sdk/platform-tools:/Users/sukamat/android-dev/sdk/tools:/usr/local/git/bin:$PATH

  6. Save the file.
  7. Quit terminal
  8. Reopen terminal
  9. Type the following:
    $ git --version

It should show the version you installed.


WAMP Server Offline Error

July 7, 2010 51 comments

Some of you might get the “Server Offline” error after you install WAMP on your windows 7 system. This happens if IIS server was installed in the system prior to the installation of WAMP thus creating the clash of the port address where both the servers are trying to access http://localhost/

This issue can be resolved by changing the port address for the WAMP server. Follow the below given steps to do the same:

  1. Go to c:\wamp\bin\apache\Apache2.2.11\conf
  2. Open httpd.conf file
  3. Change the line “Listen 80” to “Listen 8080” (or Listen <some number>)
  4. Save the file and close it
  5. Go to c:\wamp\ and open wampmanager.ini
  6. Change all http://localhost/ references in the file to http://localhost:8080/
  7. Save the file and close it
  8. Go to c:\wamp\ and open wampmanager.tpl
  9. Change all http://localhost/ references in the file to http://localhost:8080/
  10. Restart the WAMP Server

The above solution helps you to run both servers at the same time.Alternatively, you can also run only one server at a time i.e. running either IIS or WAMP server which does not require the above file modifications. But in some cases, this did not resolve the issue for unknown reasons.

The solution for this issue has been tested on Windows 7. The solution may be same for Windows Vista and Windows XP operating systems.

    %d bloggers like this: