Mittwoch, 27. Juni 2012

Mac "The operation can't be completed because the item xxx is in use"

This error is in all Mac OS X Versions up to 10.7

Delete something in a Network Drive

It happens then I want to delete something from the network drive.
It turned out that the program Quicklook use the file.
This is the case then you use the finder in the cover view mode.
The file, in my case a picture,  is viewed with Quicklook.
Use the normal list mode and you can delete normally.

How to find out which program is using your file

Open the Terminal
lsof -l +L -R -V | grep "Name-of-the-file"
alternativelly you can use
lsof -l +L -R -V | grep /Volumes
in the case your file is on the network drive

Stopp using
Killall Finder
to stopp  Finder  to use the file

Remove with Terminal
sudo rm -rf "path-and-name-of-the-file"
drag and drop the file to the Terminal windows you get the correct path and name!

If you get this error deleting the trash

Simple solution

Right click the trash and use "Secure Empty Trash"
You find this also in the Finder, menue Finder, Secure Empty Trash





Montag, 11. Juni 2012

Mac Hardisk not Booting - partition map

Apple iMac (Mac OS X 10.4) is not booting.

1. Start iMac and press "T"
Connect by firewire cable to another Mac Computer (Mac OS 10.7).
Start "Disk utility" program.

"First Aid"
"Verify Disk"
"Repair Disk"

Error was found
"Problems were found with the partition map witch might prevent booting."

In my case the "First Aid" could not help.

2. I tried to boot the iMac with Disk Warrior (v.4).
But the repair program could not repair the hard disk.

3. I installed the Windows program "MacDrive" on PC Windows XP.
(5 day free test program)
Connect my Mac Harddisk to windows, with USB external hard disk device.
But MacDrive found error on harddisk and could not repair.

4. Found blog from "Broes"
http://www.broes.nl/2008/01/restore-an-apple-partition-map/
I installed "TestDisk" on Mac (10.7).
Connect the hard disk with USB external hard disk device.
Tried to understand the program.
The program could not see the rotten hard disk.

5. Idea to use TestDrive on Windows Computer.
Connect the rotten hard disk by USB external device to Windows PC.
Suddenly the rotten Mac Hard disk is mapped.
I could copy all the data to another external hard disk.

Summary: I could not really understand the "repair" of the hard disk.


Dienstag, 27. März 2012

Windows 7 Volume Licence - Phone Activation

Windows 7 (32 bit und 64 bit, englisch) no online activation possible.
Error: 0xC004C020 "The activation server reported theta the Multiple Activation key has exceeded ist limit"

The phone activation was not shown in the tool.

Therefore start the activation tool by the "slui.exe 4" command.

Start
Run
slui.exe 4

Start the phone activation.

At phone
2,1,1
Type in a lot of numbers

Freitag, 23. März 2012

WebDav Ubuntu 11.10
Create Folder for WebDav

http://www.SemperVideo.de

http://www.youtube.com/watch?v=wGgFY80YigA

http://www.youtube.com/watch?v=Da7pnDu0I6E

Install Apache Webserver:
sudo apt-get apache2

Module for WebDav:
sudo a2enmod dav
sudo a2enmod dav_fs

Create Folder in Web Home for WebDav:
mkdir /var/www/davhome

sudo chgrp www-data /var/www/davhome/
sudo chmod 775 /var/www/davhome/

Create user davuser1 and password file
sudo htpasswd -c /var/www/davhome/.DAVlogin davuser1
New password:***
Re-type new password:***

Configure dav_fs.conf
sudo nano /etc/apache2/mods-enabled/dav_fs.conf

---Nano dav_fs.conf---
(...)
#DavMinTimeout 600
§Location /davhome/§
Dav on
AuthType Basic
AuthName davuser1
AuthUserFile /var/www/davhome/.DAVlogin
§LimitExcept OPTIONS§
Require user davuser1
§/LimitExcept§
§/Location§

----Nano---

Notes:
§ = angle brackets, in this blog I can not write xml brackets
§LimitExcept OPTIONS§--- Required Password for Reading and Writing
§LimitExcept GET OPTIONS§--- Required Password for Writing
§LimitExcept GET PUT OPTIONS§--- No Password requried

Restart Apache:
sudo /etc/init.d/apache2 restart