A very common problem with Virus affected drives are that when try double click open it, it give you an option of “Open With“. To get rid of this problem you have to play a little bit with the registry of the computer. This is also helpful if you are getting an error message “cannot find *.exe“. Although altering the registry may be a bit risky, but being careful in modifying the registry prevents such mishaps. I would suggest you to back up the registry before applying any changes. [Read more…]
Ubuntu update error with Firefox
Problem:
Recently when Ubuntu Update Manager ran on my Ubuntu 11.04 for the latest update it generated following error:
E: /var/cache/apt/archives/ubufox_0.9.1-0ubuntu0.10.04.1~mfn3_all.deb: trying to overwrite ‘/etc/xul-ext/ubufox.js’, which is also in package xul-ext-ubufox 0
Reason:
Probing a little further I found out that it is a problem in upgrading to Firefox 5.0 and this ubufox is a modified version of Firefox for Ubuntu.
Solution:
Follow these steps:
- Open Synaptic Packet Manager
- Search and mark xul-ext-ubufox for removal
- Search and mark ubufox for upgrade
- Apply the changes
- Now open terminal (Ctrl+Alt+T) and use the following command:
sudo apt-get install firefox
Hope it solves your problem. Question, suggestions and feedback are most welcomed. Enjoy
Related articles
- How to solve: Cannot boot into Windows after installing Ubuntu Linux (computerandu.wordpress.com)
- How to solve: Ubuntu update error (computerandu.wordpress.com)
How to solve: fatal: remote origin already exists
Problem:
I have started working on git lately. An extremely organised way of version control. Since I am new with git, I keep messing with small things. One of the problem which I encountered was to get the following error:
fatal: remote origin already exists
when I am trying to run the following command:
git remote add origin [email protected]
:me/project.git
Reason:
Reason is explained in the error itself. Remote origin already exists i.e. its already been added.
Solution:
The way to solve it is to remove the origin previously added. Use the following command:
git remote rm origin
Hope it solved your problem also. Question, suggestions and feedback are welcomed. Enjoy
Related articles
- How to solve: This does not look like a tar archive (computerandu.wordpress.com)
- How to solve: error while loading shared libraries (computerandu.wordpress.com)
- Troubleshooting FreeRADIUS (computerandu.wordpress.com)
- How to solve: Ubuntu update error (computerandu.wordpress.com)
- Sharing your development environment across branches (micknelson.wordpress.com)
- Git for beginners: The definitive practical guide (stackoverflow.com)
How to solve: error while loading shared libraries
Problem:
It has happened more than once with me. When I installed an application (freeradius, in this case) from its source code, it gives the following error:
radiusd: error while loading shared libraries:
libfreeradius-radius-2.1.10.so:
cannot open shared object file: No such file or directory
Reason:
The reason for this error is that the libraries have been installed in a place where dynamic linker cannot find it.
Solution:
Whenever I faced such problem, I used the following command. It has never failed me, not till now 😛
sudo /sbin/ldconfig -v
Hope this command solves your problem as well. Do provide me with your feedback, suggestions and questions. Don’t forget to like/vote the post. Enjoy
Related articles
- Troubleshooting FreeRADIUS (computerandu.wordpress.com)
How to solve: This does not look like a tar archive
Problem:
Sometimes compressed files are not what they look from the extension. Recently I downloaded a .tar.gz file (say, we call it as filename.tar.gz) but when I tried to extract it, it gave error. It went something like this:
command: tar xvzf filename.tar.gz
output: tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Reason:
The error says it all. This does not look like a tar archive. What does it look like than? The way to find it out is using “file” command in the following manner:
command: file filename.tar.gz
output: filename.tar.gz: gzip compressed data,from Unix
Solution:
So here we go. a gzip compressed data. The best way to deal with it to use “unzip” command line tool. You can install it using this command:
sudo apt-get install gunzip
Now loaded with gunzip we are ready to tackle this file. First gunzip the file to a .tar file and then untar it using tar command somewhat in following manner:
gunzip filename.tar.gz
tar xvzf filename.tar
Hope the post has helped you. Feedback, suggestions are most welcome. Enjoy
Related articles
- How to extract .tar.bz2 and .tar.gz file in Linux (computerandu.wordpress.com)
- How to shutdown the computer in Gnome 3 on Ubuntu 11.04 (computerandu.wordpress.com)
How to solve: Windows was unable to complete the format
Mostly there are no problems while formatting the USB drive but sometimes they just refuse to be formatted especially when they are in bootable format. I used my USB key as booting device to install Ubuntu. After that when I tried formatting the USB drive in Windows, I got this error “Windows was unable to complete the format”.
There are several ways to solve this problem. One of them might work for you. Try them one by one.
Try formatting with different file systems: Right click on the drive and click format. First approach should be to format the drive using different file systems. Try formatting with all the available file systems (exFAT in particular if it was a bootable drive).
Use Windows Disk Management:
- Right click on Computer.
- Choose Manage
- Choose Disk Management under Storage on the left panel
- Choose your disk and right click for formatting
- Click yes for the pop-ups
Use Specialized softwares: You can use Easeus Partition Master for a forced format. Here is the download link:
Hope it helps you. Questions and suggestions are welcomed. Enjoy
Troubleshooting FreeRADIUS
Recently I was working with FreeRADIUS to do PEAP authentication. I went under a lot of trouble from installing to configuring the FreeRADIUS. Thankfully, I noted down the problems I encountered and the solution I followed. This is not a complete guide for FreeRADIUS installation but provides you with possible solution to a few errors.
1.
While executing radiusd -X, it may throw the following error:
radiusd: error while loading shared libraries:
libfreeradius-radius-2.1.10.so:
cannot open shared object file: No such file or directory
The reason for this error is that the libraries have been installed in a place where dynamic linker cannot find it. To solve this problem use this command:
sudo /sbin/ldconfig -v
2.
While running in debug mode the RADIUS server may give the following error:
Ignoring EAP-Type/tls because we do not have OpenSSL support.
[eap] Request found, released from the list
[eap] EAP NAK
[eap] NAK asked for unsupported type PEAP
[eap] No common EAP types found.
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
The reason for this error is that open ssl dev library “libssl-dev” is not installed. Install the library (sudo apt-get install libssl-dev) and re-configure (by running configure, make and make install) FreeRADIUS server.
3.
Running the RADIUS server may also result in the following error:
Error: Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812
The reason for this error is that another instance of radius is running and has occupied the port.
See which radius process is running:
ps aux | grep radius
And then kill that process:
sudo kill -9 process_id
4.
While running the RADIUS sever it may also throw an error: “no soh-server”. To solve it, copy “soh” file in /usr/local/etc/raddb/sites-available to /usr/local/etc/raddb/sites-enabled.
I hope it helped you. Questions and suggestions are welcomed. Enjoy
How to run ex_ file by converting ex_ to exe file
Recently I came across a new type of file format which is “ex_” instead of “exe“. First I tried executing it by simply renaming it from “filename.ex_” to “filename.exe” but it did not work that way. “ex_” is actually compressed form of “exe” files and they need to be expanded. The most suitable way is to use command line. Follow the given steps:
- Open the command prompt by going to “Start->All Programs->Accessories->Run” and then type “cmd” in Run window. Run can also be opened by pressing “Windows button + r“
- In the command prompt go to the folder where your file “filename.ex_” is stored. For ease I would suggest you to manually copy the file into C drive. Make a new folder named say “new“
- If you are in different directory than C then type “cd ..” and press enter. Do it a couple of time until you are :C directory.
- Now use the command: expand filename.ex_ c:newfilename.exe
- This command may result in following error: EXPAND.EXE Error Msg: Can’t Open Output File
- The reason is very simple. You might not have write permission for the “filename.ex_” or for the folder “new” or for both
- Right click on the file/folder and select properties. If the “Read Only” box is checked, de-select it.
- Now run the previous command again. Use the expanded file in .exe format wherever you want.
Questions and Suggestions are welcomed. Enjoy
Sources: Microsoft