Archive for June, 2008

Nero 3 Linux Ubuntu 8.04

Since two weeks I am becoming Ubuntu fan and I am missing some of my windows applications. Nero is one of those and thanks to Nero they ported their burning solution for Linux also. Download the trial from Nero.com website here.

image

Start a  new terminal session and run dpkg to install the Linux version of Nero Burning Rom.

sudo dpkg -i nerolinux-3.5.1.0-x86_64.deb

Go to Applications / Sound & Video/ Nero Linux and start the burning solution.

image

image

Pretty straight forward; right? Think about when installing Nero on Windows ;) . First we have this 100MB+ installation source and than install the complete suite of tools; with Linux installation I get what I want.

Read the rest of this entry »

Ubuntu Desktop 8.0.4 Cannot mount device

After installing the latest updates and reboot the auto mount feature for Windows NTFS volumes and my USB disk drive failed. If you open File Browser and try to open one of your harddisks you may have same problem as I did.

image

Cannot mount volume. Error org.freedesktop.DBus.Error.AccessDenied. Details A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file….

I reboot the machine couple times; tried to find a solution though google but no real work around for this problem. I found one specific bug published for adding additional host in hosts file https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/242186, because /var/log/daemon.log was filling up with Jun 28 17:46:56 workstation1 console-kit-daemon[5892]: WARNING: Failed to acquire org.freedesktop.ConsoleKit events.

I got frustrated in getting my personal share online. The folder was sitting in one of my 500GB SATA disk. Right click and choosing mount volume did also fail. I opened a terminal and started to query my physical disks with:

sudo fdisk -l

image

Create new folder in /mnt/ named sda1 and manually mount the volume.

sudo mount -t ntfs-3g /dev/sda1 /mnt/sda1 -o force

image

If you want to have the volumes automatically mount after each time you reboot than you need to add additional entries in /etc/fstab. The following lines were added in my fstab configuration. Make sure the folders are created in /mnt.

/dev/sda1    /mnt/sda1    ntfs nls=utf8,umask=0222 0 0
/dev/sdb1    /mnt/sdb1    ntfs nls=utf8,umask=0222 0 0
/dev/sdc1    /mnt/sdc1    ntfs nls=utf8,umask=0222 0 0

Lucida Grande and Linux Ubuntu Desktop 8.0.4

I am using the following CSS font-family setting for Networknet.nl font-family:”Lucida Grande”, “Lucida Sans Unicode”, Helvetica, Arial, sans-serif;. When opening Networknet.nl blog on a Linux machine Firefox displays my blog as show below; the fonts are not corresponding with my style sheet. Why ;) ? My Ubuntu has no Lucida Grande fonts installed. Common Windows Fonts are not installed by default  on Linux and some can be installed afterwards. After installing the msttcorefonts package I was  still missing the Lucida Grande.

The msttcorefonts contain the following fonts:

  • Andale Mono
  • Arial Black
  • Arial (Bold, Italic, Bold Italic)
  • Comic Sans MS (Bold)
  • Courier New (Bold, Italic, Bold Italic)
  • Georgia (Bold, Italic, Bold Italic)
  • Impact
  • Times New Roman (Bold, Italic, Bold Italic)
  • Trebuchet (Bold, Italic, Bold Italic)
  • Verdana (Bold, Italic, Bold Italic)
  • Webdings

These can be installed with running sudo apt-get install msttcorefonts .

clip_image001

I found a good post how to get the Lucida Grande font but than I was forced to install wine and safari applications. If you own a Windows installation and than you can copy the fonts from your C:\Windows\Fonts directory and place them /usr/share/fonts/ttf and that’s what I did.

Don’t forget to get them configured. Run sudo dpkg-reconfigure fontconfig. After restarting Firefox my blog was pretty much as on Windows.

clip_image002

Font is OK now, but still some things with spacing. Anyway this is how I quickly got my Windows fonts on Ubuntu Desktop 8.04 desktop machine.

Some links for Linux and Fonts

http://packages.debian.org/stable/x11/msttcorefonts

http://www.convexhull.com/mandrake_fonts.html

http://avi.alkalay.net/linux/docs/font-howto/Font.html

VMware Workstation 6.04 linux x64 unrecoverable error

I am running Ubuntu 8.04 LTS Desktop Edition 64bit edition and after I installed VMWare Workstation 6.04 Linux x64 edition I got the following error when trying to start my virtual machines sitting on a NTFS USB disk volume.

VMware Workstation unrecoverable error: (vcpu-0)
Failed to allocate page for guest RAM!
A log file is available in “/media/USB_DATA/NET-DC-01/vmware.log”.  Please request support and include the contents of the log file.
To collect data to submit to VMware support, select Help > About and click “Collect Support Data”. You can also run the “vm-support” script in the Workstation folder directly.
We will respond on the basis of your support entitlement.

image

Please click OK and locate the vm file. Open the vmx file with nano or another text editor and add the setting below. Save the file and try to start the virtual machine again.

mainMem.useNamedFile = “FALSE”

This setting doesn’t use named-file – use for VMs on USB-disks or other slow disks
Windows: useNamedFile= “FALSE” causes memory to be backed by the host’s swap space.
Linux: useNamedFile= “FALSE” causes a hidden file to be created in a temporary directory, which is immediately deleted when you power off the VM

Help my windows server root volume is full!

This morning my Cacti appliance warned me by email that the windows root volume was getting above the 90% threshold. I configured this a while ago for getting notified in front.

image 

When installing and configuring this Windows server I didn’t plan the configuration in the right way and my free space for C:\ volume is limited. If you install a fresh server again think about having one volume using the complete physical RAID disk space and not having one 18GB disk as I used now. My main problem is that server has 4GB of RAM and paging file is sitting on C:\.

I was not able to move the paging file nor could I  move the production virtual machine another volume. I went to C:\Windows and found a lot of blue directories which were used by the Automatic Updates. It used more than 500MB.

To safely remove Hotfix Backup files and the Add/Remove Programs Registry entries go to here and download the tool. Run the tool and remove all hotfixe backup files.

image

After you run the tool; go to c:\Windows and delete all blue marked directories. They all should start with $ sign.

image

Now we have on directory we need have closer look. Mine on this particular server grow to 600+ mb. Go to C:\WINDOWS\SoftwareDistribution\Download and verify your size.

image

Stop the “Automatic Updates” service or run “net stop wuauserv” from cmd.

Delete all subfolders within C:\WINDOWS\SoftwareDistribution\Download. Restart the “Automatic Updates”  service. You can safely remote these. The procedure can be executed on a Windows XP or a Windows Server 2003 system.

Hyper-V and DC as virtual machine

When I try to open the “Active Directly Sites and Services” MMC console I got the following error message.

image

Naming information cannot be located because: The clocks on the client and server machines are skewed. Contact your system administrator to verify that your domain is properly configured and is currently online.

My Hyper-V host is running in a workgroup and not being member of a AD DS domain. Therefore it is not syncing the time with a managed NTP time service. One of my remote domain controllers is running on this host and I am having issues to authenticate myself on the AD DS running as virtual machine. The best option in this case is to disable the time synchronization within the virtual machine options. Another option is to fix the host time, but if you are selling the Hyper-V as a service to customers than you won’t be member of their domain ;)

Right click the virtual machine; choose settings within the Hyper-V management console. Go to Integration Services and uncheck “Time synchronization”. 

image

After the reboot the domain controller synced the time with the correct values.