Archive

Archive for the ‘technology’ Category

Error mounting HDD from my Linux machine

September 7, 2011 3 comments

Encountered below error upon mounting my WD HDD in my Linux laptop:

Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0).Failed to mount ‘/dev/sdb1′: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the ‘dmraid’ documentation for more details.

To fix, first install ntfsprogs utility by typing in the terminal:

sudo apt-get install ntfsprogs

Then type

sudo ntfsfix /dev/partitionName

In my case, sudo ntfsfix /dev/sdb1

To check if the fix was successful, these commands should be displayed:

exist@exist:~/Projects/ehealth/lib$ sudo ntfsfix /dev/sdb1
Mounting volume… FAILED
Attempting to correct errors…
Processing $MFT and $MFTMirr…
Reading $MFT… OK
Reading $MFTMirr… OK
Comparing $MFTMirr to $MFT… FAILED
Correcting differences in $MFTMirr record 0…OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition… OK
Going to empty the journal ($LogFile)… OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.

Whew! Now I was able to access my HDD =) Thanks to forums online!

Categories: technology, ubuntu Tags: ,

Fix Asus K52J speaker sounds with Ubuntu 10.10

April 15, 2011 Leave a comment

I don’t want to annoy my colleagues with the music I’m listening, but the sounds in my company issued laptop, ASUS K52J with OS(Ubuntu 10.10) persistently comes from the speakers even after plugging my headphones :(

Was able to resolve this issue by installing Linux Alsa Driver Modules

1. In your terminal, add the ppa

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa

sudo apt-get update

2. Install the linux-alsa-driver-modules package

sudo apt-get install linux-alsa-driver-modules-$(uname -r)

3. Restart your machine

Thanks to this wiki page :) works like gem!

Categories: technology, ubuntu Tags: ,

Oracle SQL Developer 2.1.1 Installation in Ubuntu 9.10

September 9, 2010 1 comment

1. Go to Oracle site

2. Download appropriate SQL Developer distribution file based on your machine requirements. In my case I selected Oracle SQL Developer for 32-bit Windows (though I’m using an Ubuntu box)

3. Extract the file to your desired folder

4. Launch terminal, go to your extracted file and type: bash sqldeveloper.sh

This will ask for the path/directory of your  java installation. I continue by inputting: /usr/lib/jvm/<java folder>

At this point your SQL Developer 2.1.1. should already launch and should enable you to create new connections to your DB. ;)

Hint:

To launch your SQL Developer again, clicking the sqldeveloper.sh file should do this for you. In any case it won’t work,

1. Right click on the .sh file, go to Properties

2. Enable ‘Allow executing file as program’

Categories: technology, ubuntu Tags: , ,

Cross Browser compatibility testing tools

April 5, 2010 Leave a comment

As software quality assurance, one concern that we want to resolve is how our application looks across different browsers with its different versions. Looking around, here are some of the ways to do it efficiently.

1. Spoon – http://www.spoon.net/Browsers/

Spoon allows you to run your application using different browsers. All you need to do is install the plugin, and from there you could choose from different versions of Microsoft Internet Explorer, Mozilla Firefox, Apple Safari, Google Chrome, Opera. This so far is the coolest way I’ve ever tried and one more thing it’s FREE! :D

Spoon-Browsers

2. Browsershots – http://browsershots.org/

Browsershots is an online service that automatically captures full page screenshot images of your website in various browsers and versions across all different OS platforms(Linux, Wndows, Mac OS). Tick the particular browser that you want to test, input your application URL and submit.

Browsershots

3. Multiple IE in one machine

Download Multiple IE Installer and check this link http://tredosoft.com/Multiple_IE for more information.

4. For IE testers, you can download Developers Tool (Firebug counterpart of Firefox). From Tools\Developer Tools menu of your IE browser find the “Browser Mode” option where you can shift from IE7 to IE8 mode.

5. Install Virtual Machines in your PC, then install a different browser on your VM that you can use for testing.

6. Try proprietary softwares like BrowserCam that offers wide range of services.

Just to make a balance, though it’s a good practice to do cross browser compatibility test to our application so we can minimize the problems when it is viewed using other browser. We can already have a full coverage test by verifying our application against the supported browsers as specified in the project requirement.

ESET NOD32 Antivirus 4.0.314 cannot access localhost

April 20, 2009 1 comment

Testlink application was properly configured in my localhost through XAMPP, not until I changed my antivirus to ESET NOD32 Antivirus 4.0.314. After successful installation of the free antivirus, I can no longer access applications on my local, from the previous working URL:

http://localhost:8081/testlink/login.php

I was directed to http://www.localhost.com:8081/testlink/login.php, with an error message of

Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.

After uninstalling NOD32, everything works back to normal.

Categories: technology Tags: , ,

Configure Mozilla Thunderbird and MS Outlook side by side

March 30, 2009 Leave a comment

We received an issue from our client on receiving email with multiple information on single line. Basically the web app allows user to fill out an application form. This application will be received by  the Sales team as email for approval. The email should display the details with proper indention, one detail per line. However our client received an email where multiple information are being displayed in a single line.

This issue was not reproducible in our end using Mozilla Thunderbird2.0, all fields are displayed accordingly. So I tried to simulate it in MS Outlook Express.

To do this, I need to setup MS Outlook and configure my corporate email where I will receive the sent application form having the same settings on my Thunderbird.  Since I have Internet Explorer7.0 installed in my box, it comes with MS Outlook Express6.0 SP2 as a component. Now let’s do the configuration part:

1.  Go to Tools>Accounts, Click Add>New Mail

2. Follow wizard and provide the following information:

Display name: <yourname>

Email address: <youremail> (in my case I use my corporate email account)

Incoming mail server: pop.gmail.com (since I’m currently using POP Mail Server on my Thunderbird)

Outgoing mail server: smtp.gmail.com

4. After the wizard, Go to Tools> Accounts, click “Mail” tab, you should be able to see your pop.gmail.com account in the list

outlook_accounts

5. Select pop.gmail.com then click Properties, Go to Servers tab and verify details as follows:

outlook_server

6. Go to “Advanced” tab and set corresponding PORT for each server SMTP = 465; POP = 995. Don’t forget to set server to use secure connection (SSL)

outlook_settings

Here’s the trick, since we are using the same email account in two different email client using POP3 incoming mail server. We need to set the 2nd email client not to delete the incoming emails in the server when we refreshed. We also do this in the “Advanced” tab by checking Delivery options as shown above.

With these setting, receiving mails in the MS Outlook will still allow user to receive the same incoming mails in the Thunderbird.

Now I can test the same scenario using email sent on Mozilla Thunderbird and MS Outlook.

Online file converters

January 19, 2009 1 comment

Once had a problem converting your file? No worries because now we have a lot of file converters out there just waiting for you to use them… No need to download and best deal is it’s FREE :D

To give you a handful of it, here’s a list of my personal favorites:

youconvertit2

Their tagline shouts, “Free! Converts any media file format (Documents, Images, Audio, Video & Archives) without buying or installing anything on your PC.”

And if you’re still not impressed, this site gives you an options to convert file, convert online video, send files and convert units.

In converting a file, which is their main thing, all you need to so is follow 3 steps:

1. enter your email address

2. select the file you wish to convert and its output format

3. hit convert

In a flash it sends the converted file in your email.

zamzar-logo

Allows you to convert file upto 1GB… Download videos… and Manage files once you register to them…

Zamzar will require you to do 4 simple steps:

1. Select file or URL to convert

2. Choose the format to convert to

3. Enter your email address to receive converted files

4. Convert(by clicking you agree to their terms)

mc-logo

Aside from local file conversion, they also provide conversion from URL,  File Hosting, Web site screenshot and Sending file to mobile. Really a cool stuff…

And so far this is the only online converter in this list that will not require you to input your email address instead, Media-Convert will provide a download link after every successful conversion…

Try converting a file by providing 2 things:

1. select a file you wish to convert

2. input format is automatically detected so need to worry on this (in case detection fails, its time to do it manually :P)

3. identify output format
mediaconverter-logo3

Media Converted has its unique Conversion Wizard which allows users to:

- convert a video directly from other portals like youtube, veoh, etc.

- convert a video or music by URL

upload a video, audio or office file from your local hard disk

Happy file conversion !

Categories: technology
Follow

Get every new post delivered to your Inbox.