Archive

Archive for the ‘Linux’ Category

Windows Azure IaaS: Ubuntu apt-get update is not running “404 Not Found”

January 30, 2013 1 comment

After provisioing a new VM in Windows Azure with Ubuntu Server 12.10 and while trying to install Apache on it running

apt-get install apache2 mysql-server php5 php5-mysql libapache2-mod-auth-mysql libapache2-mod-php5 php5-xsl php5-gd php-pear

I get an error, So I tried to get some packages installed via apt-get and still see that some files are misconfigured and not able to find packages in http://azure.archive.ubuntu.com

# apt-get install lamp-server

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
  lamp-server
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 28.2 kB of archives.
After this operation, 147 kB of additional disk space will be used.
Err http://azure.archive.ubuntu.com/ubuntu/ quantal/main lamp-server

403  Forbidden
Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/w/lamp-server 403  Forbidden
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
root@Admin:~# apt-get update
Ign http://azure.archive.ubuntu.com quantal InRelease
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://azure.archive.ubuntu.com quantal-updates InRelease
Hit http://security.ubuntu.com quantal-security Release.gpg
Ign http://azure.archive.ubuntu.com quantal Release.gpg
Hit http://security.ubuntu.com quantal-security Release
Ign http://azure.archive.ubuntu.com quantal-updates Release.gpg
Ign http://azure.archive.ubuntu.com quantal Release
Hit http://security.ubuntu.com quantal-security/main Sources
Hit http://security.ubuntu.com quantal-security/universe Sources
Ign http://azure.archive.ubuntu.com quantal-updates Release
Ign http://azure.archive.ubuntu.com quantal/main Sources/DiffIndex
Hit http://security.ubuntu.com quantal-security/main amd64 Packages
Hit http://security.ubuntu.com quantal-security/universe amd64 Packages
Ign http://azure.archive.ubuntu.com quantal/universe Sources/DiffIndex
Ign http://azure.archive.ubuntu.com quantal/main amd64 Packages/DiffIndex
Hit http://security.ubuntu.com quantal-security/main Translation-en
Ign http://azure.archive.ubuntu.com quantal/universe amd64 Packages/DiffIndex
Hit http://security.ubuntu.com quantal-security/universe Translation-en
Hit http://azure.archive.ubuntu.com quantal/main Translation-en
Hit http://azure.archive.ubuntu.com quantal/universe Translation-en
Ign http://azure.archive.ubuntu.com quantal-updates/main Sources/DiffIndex
Ign http://azure.archive.ubuntu.com quantal-updates/universe Sources/DiffIndex
Ign http://azure.archive.ubuntu.com quantal-updates/main amd64 Packages/DiffIndex
Ign http://azure.archive.ubuntu.com quantal-updates/universe amd64 Packages/DiffIndex
Hit http://azure.archive.ubuntu.com quantal-updates/main Translation-en
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US
Hit http://azure.archive.ubuntu.com quantal-updates/universe Translation-en
Ign http://azure.archive.ubuntu.com quantal/main Translation-en_US
Ign http://azure.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://azure.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://azure.archive.ubuntu.com quantal-updates/universe Translation-en_US
Err http://azure.archive.ubuntu.com quantal/main Sources
  404  Not Found
Err http://azure.archive.ubuntu.com quantal/universe Sources
  404  Not Found
Err http://azure.archive.ubuntu.com quantal/main amd64 Packages
  404  Not Found
Err http://azure.archive.ubuntu.com quantal/universe amd64 Packages
  404  Not Found
Err http://azure.archive.ubuntu.com quantal-updates/main Sources
  404  Not Found
Err http://azure.archive.ubuntu.com quantal-updates/universe Sources
  404  Not Found
Err http://azure.archive.ubuntu.com quantal-updates/main amd64 Packages
  404  Not Found
Err http://azure.archive.ubuntu.com quantal-updates/universe amd64 Packages
  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal/main/source/Sources  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal/universe/source/Sources  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/source/Sources  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/source/Sources  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

 

Solution:

Edit edit /etc/apt/sources.list and add those Universe and Multiverse repositories

 

deb http://archive.ubuntu.com/ubuntu quantal universe multiverse
deb-src http://archive.ubuntu.com/ubuntu quantal universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal universe
deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-updates multiverse

deb http://security.ubuntu.com/ubuntu quantal-security universe
deb-src http://security.ubuntu.com/ubuntu quantal-security universe
deb http://security.ubuntu.com/ubuntu quantal-security multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-security multiverse
Categories: Azure, Linux Tags:

RHEL 5.9 RELEASED WITH HYPER-V INTEGRATION!

January 9, 2013 Leave a comment

The Hyper-V momentum continues and Microsoft commitment to interoperability pays off again. Today, Red Hat announced the release of RHEL 5.9 which includes the Hyper-V Linux Integration Services built-in.

http://www.redhat.com/about/news/press-archive/2013/1/red-hat-announces-general-availability-of-red-hat-enterprise-linux-5-9

From the press release, Red Hat touts the included Hyper-V drivers:

New Virtualization Capabilities and Flexibility in Multi-vendor Environments. Red Hat Enterprise Linux 5.9 enhances the operating system’s usability in multi-vendor environments by introducing Microsoft Hyper-V drivers for improved performance. This enhances the usability of Red Hat Enterprise Linux 5 for guests in heterogeneous, multi-vendor virtualized environments and provides improved flexibility and interoperability for enterprises.

Ubuntu 12.04 Will Have Hyper-V Drivers By Default

Over the weekend, Mike Sterling (PM for the open source side of Hyper-V), tweeted that:

Since it has been a while, will make it worth it…Ubuntu 12.04 has Hyper-V drivers included by default for easy VM deployment.

Check the rest there

Categories: Hyper-V, Hyper-V R2, Linux Tags:

#Hyper-V: #Linux Integration Services no longer function after a kernel upgrade

August 31, 2010 1 comment

Consider the following scenario:

  • You are running Linux based virtual machines on Hyper-V with the 2.1 version of the Linux Integration Services installed.
  • You apply an updated kernel in the Linux based virtual machine.

After applying the kernel update, the Linux based guest operating system fails to boot with “Unable to mount root file system”.

This problem occurs because the Linux Integration Services must be recompiled after a kernel upgrade to function.

To prevent this issue, enable Dynamic Kernel Module Support (DKMS) before applying kernel updates.

Check MS KB http://support.microsoft.com/default.aspx?scid=kb;en-us;2387594&sd=rss&spid=14134

#Microsoft: ‘We love open source’

August 23, 2010 Leave a comment

A very interesting article in network world about Microsoft and Open Source.

Everyone in the Linux world remembers Microsoft CEO Steve Ballmer’s famous comment that Linux is a “cancer” that threatened Microsoft’s intellectual property.

Ballmer is still CEO of Microsoft, but that comment occurred in 2001, a lifetime ago in the technology market. While Microsoft hasn’t formally rescinded its declaration that Linux violates its patents, at least one Microsoft executive admits that the company’s earlier battle stance was a mistake. Microsoft wants the world to understand, whatever its issues with Linux, it no longer has any gripe toward open source.

Read it there

Hyper-V Linux Integration Services v2.1 Now ready

We are really excited to announce the availability of the Hyper-V Linux Integration Services for Linux Version 2.1. This release marks yet another milestone in providing a comprehensive virtualization platform to our customers. Customers who have a heterogeneous operating system environment desire their virtualization platform to provide support for all operating systems that they have in their datacenters. We have supported Linux as a guest operating system on our virtualization platform from the days of Virtual Server and continue to enhance our support in that regard.

The following features are included in the 2.1 release:

Driver support for synthetic devices: Linux Integration Services supports the synthetic network controller and the synthetic storage controller that were developed specifically for Hyper-V.

Fastpath Boot Support for Hyper-V: Boot devices take advantage of the block Virtualization Service Client (VSC) to provide enhanced performance.

Timesync: The clock inside the virtual machine will remain synchronized with the clock on the host.

Integrated Shutdown: Virtual machines running Linux can be gracefully shut down from either Hyper-V Manager or System Center Virtual Machine Manager.

Symmetric Multi-Processing (SMP) Support: Supported Linux distributions can use up to 4 virtual processors (VP) per virtual machine.

Heartbeat: Allows the host to detect whether the guest is running and responsive.

Pluggable Time Source: A pluggable clock source module is included to provide a more accurate time source to the guest.

This version of the integration services for Hyper-V supports Novell SUSE Linux Enterprise Server 10 SP3, SUSE Linux Enterprise Server 11, and Red Hat Enterprise Linux 5.2 / 5.3 / 5.4 / 5.5.

Customers can obtain the Linux IC’s via the Microsoft Download Center at this link: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551

Categories: Hyper-V, Hyper-V R2, Linux

Linux Integration Services v2.1 Release Candidate Now Available

Microsoft announces the availability of the RC release of the Linux Integration Services v2.1. This new version includes new functionality, including timesync, integrated shutdown, and SMP support.

When installed on a virtual machine that is running a supported Linux operating system, the Linux Integration Services for Hyper-V provide the following functionality:

  • Driver support for synthetic devices: The Linux Integration Services support the synthetic network controller and the synthetic storage controller that were developed specifically for Hyper-V.
  • Fastpath Boot Support for Hyper-V: Boot devices now take advantage of the block Virtualization Service Client (VSC) to provide enhanced performance.
  • NEW: Timesync: The clock inside the virtual machine will now remain synchronized with the clock on the host.
  • NEW: Integrated Shutdown: Virtual machines running Linux can now be shut down from either the Hyper-V Manager or the VMConnect application using the “Shut Down” command.
  • NEW: Symmetric Multi-Processing (SMP) Support: Supported Linux distributions can now properly use up to 4 virtual processors (VP) per virtual machine.
  • NEW FOR RC: Heartbeat: Allows the host to detect whether the guest is running and responsive.
  • NEW FOR RC: Pluggable Time Source: A pluggable clock source module is included to provide a more accurate time source to the guest.

This version of the integration services for Hyper-V can be downloaded from here, and supports Novell SUSE Linux Enterprise Server 10 SP3, SUSE Linux Enterprise Server 11, and Red Hat Enterprise Linux 5.2 / 5.3 / 5.4 / 5.5.

Follow

Get every new post delivered to your Inbox.

Join 1,018 other followers

%d bloggers like this: