<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6173482110174394767</id><updated>2012-01-29T04:14:15.278-08:00</updated><category term='linux'/><category term='virtualization'/><category term='build tools'/><category term='sqlserver'/><category term='active directory'/><category term='java'/><category term='pentaho'/><category term='howto'/><category term='programming'/><category term='development'/><category term='vm'/><category term='junit'/><category term='windows'/><category term='virtualpc'/><category term='maven'/><category term='sqlserveragent'/><category term='eclipse'/><category term='testing'/><category term='ubuntu'/><category term='business intelligence'/><category term='error'/><category term='bi'/><title type='text'>Codespin</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6173482110174394767.post-5436761656481434391</id><published>2008-01-26T12:32:00.000-08:00</published><updated>2008-01-26T12:53:43.901-08:00</updated><title type='text'>Fixing Common Tomcat 5.5 Problems on Ubuntu 7.10</title><content type='html'>I've been playing with moving some of my webapps on to an Ubuntu 7.10 environment containing the official Ubuntu Tomcat 5.5 packages (tomcat5.5, tomcat5.5-admin, tomcat5.5-webapps). I had a couple of problems getting my webapps to run.&lt;br /&gt;&lt;br /&gt;When I initially deployed the application, I received errors like the following in Tomcat's catalina-*.log (/var/lib/tomcat5.5/logs):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;25-Jan-2008 8:29:09 PM org.apache.catalina.core.StandardContext start&lt;br /&gt;SEVERE: Error listenerStart&lt;br /&gt;25-Jan-2008 8:29:09 PM org.apache.catalina.core.StandardContext start&lt;br /&gt;SEVERE: Context [/appname] startup failed due to previous errors&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The application was outputting additional error messages to the console, which were being captured in /var/log/daemon.log on my system. This application uses Spring, and was logging huge stack traces including the following:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Jan 25 20:29:09 hostname jsvc.exec[32335]: ERROR - ContextLoader.initWebApplicationContext(206) | Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creatin&lt;br /&gt;...&lt;br /&gt;at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) ^Iat java.security.AccessController.doPrivileged(Native Method) ^Iat javax.security.auth.Subject.doAsPrivileged(Subject.java:517) ^Iat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) ^Iat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) ^Iat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262) ^Iat org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:192) ^Iat org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171) ^Iat java.security.AccessController.doPrivileged(Native Method)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I was able to work around this problem by disabling Tomcat security in /etc/default/tomcat5.5:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;TOMCAT5_SECURITY=no&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After making this change and restarting Tomcat, my application again failed to start, but this time with a different error in catalina-*.log:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;25-Jan-2008 8:51:55 PM org.apache.catalina.core.StandardContext start&lt;br /&gt;SEVERE: Error filterStart&lt;br /&gt;25-Jan-2008 8:51:55 PM org.apache.catalina.core.StandardContext start&lt;br /&gt;SEVERE: Context [/appname] startup failed due to previous errors&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The following was in /var/log/daemon.log:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Jan 25 20:51:55 hostname jsvc.exec[2025]: ERROR - StandardContext.filterStart(3639) | Exception starting filter struts javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found ^Iat javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:119) ^Iat com.opensymphony.xwork2.util.DomHelper$DOMBuilder.&lt;clinit&gt;(DomHelper.java:167) ^Iat com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115) ^Iat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:830) ^Iat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131) ^Iat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100) ^Iat com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130) ^Iat com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configurati&lt;br /&gt;...&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After consulting a Java forum thread, I removed the /usr/share/tomcat5.5/common/endorsed/xml-apis.jar symlink and restarted Tomcat. After making this change, my application started and functioned correctly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6173482110174394767-5436761656481434391?l=codespin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/5436761656481434391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6173482110174394767&amp;postID=5436761656481434391' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/5436761656481434391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/5436761656481434391'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/2008/01/fixing-common-tomcat-55-problems-on.html' title='Fixing Common Tomcat 5.5 Problems on Ubuntu 7.10'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6173482110174394767.post-1307314563142575205</id><published>2008-01-23T09:29:00.000-08:00</published><updated>2008-01-30T07:51:58.235-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><category scheme='http://www.blogger.com/atom/ns#' term='junit'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Enabling JUnit Testing in Eclipse for Ubuntu</title><content type='html'>After installing Eclipse from the official Ubuntu packages for Ubuntu 7.10 (Gutsy Gibbon), the JUnit test integration does not work. When you attempt to run a JUnit Test, you will receive an error message like:&lt;br /&gt;&lt;blockquote&gt;An internal error occurred during: 'Launching'&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;To resolve this error, you will need to update from the Eclipse repository outside of the Ubuntu package management tools. Follow these steps to install the Eclipse updates:&lt;br /&gt;&lt;br /&gt;1. Open a terminal, and type:&lt;br /&gt;&lt;blockquote&gt;sudo eclipse&lt;/blockquote&gt;&lt;br /&gt;Note that you need to use sudo; if you do not, you will not be able to install the updates. When prompted, keep the default workspace location and click "OK".&lt;br /&gt;&lt;br /&gt;2. Choose "Help -&gt; Software Updates -&gt; Find and Install..." from the Eclipse menu bar.&lt;br /&gt;&lt;br /&gt;3. Leave "Search for updates of the currently installed features" selected, and click on "Finish".&lt;br /&gt;&lt;br /&gt;4. When prompted, choose the mirror that is closest to you, or scroll to the bottom of the list and choose "The Eclipse Project Updates". Click "OK" when you have chosen the mirror you wish to use.&lt;br /&gt;&lt;br /&gt;5. Eclipse will download information about the available updates. When finished, it will display a dialog allowing you to select the features to install/update. Leave the defaults selected, and click on "Finish".&lt;br /&gt;&lt;br /&gt;6. When prompted, accept the license agreement.&lt;br /&gt;&lt;br /&gt;When installation is complete, exit out of eclipse, and launch it again from your Applications menu in Ubuntu. You should now be able to run JUnit tests using Eclipse's JUnit support.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6173482110174394767-1307314563142575205?l=codespin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/1307314563142575205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6173482110174394767&amp;postID=1307314563142575205' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/1307314563142575205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/1307314563142575205'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/2008/01/enabling-junit-testing-in-eclipse-for.html' title='Enabling JUnit Testing in Eclipse for Ubuntu'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6173482110174394767.post-1294521784847071589</id><published>2008-01-22T12:36:00.000-08:00</published><updated>2008-02-04T07:56:37.072-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='build tools'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Installing Apache Maven 2 on Ubuntu 7.10 Desktop</title><content type='html'>The Maven software project management tool is indispensable for managing the build process, reporting and documentation for Java development projects. Naturally, one of the first things I wanted to do on my new project was set up the build environment. Unfortunately, Maven is not available as a package for Ubuntu 7.10. It is available in the current unstable release (Hardy Heron).&lt;br /&gt;&lt;br /&gt;To install Maven on Ubuntu 7.10, download the following packages from Hardy Heron:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/devel/maven2"&gt;maven2&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/devel/libdoxia-java"&gt;libdoxia-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libplexus-container-default-java"&gt;libplexus-container-default-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libclassworlds-java"&gt;libclassworlds-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libplexus-velocity-java"&gt;libplexus-velocity-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libjtidy-java"&gt;libjtidy-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libplexus-interactivity-api-java"&gt;libplexus-interactivity-api-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libplexus-component-api-java"&gt;libplexus-component-api-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libplexus-classworlds-java"&gt;libplexus-classworlds-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libplexus-utils-java"&gt;libplexus-utils-java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/hardy/libs/libwagon-java"&gt;libwagon-java&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When all of the packages are downloaded, open a terminal and navigate to the directory that contains the packages. Execute the following command:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;dpkg -i *.deb&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt; Per some comments, it may be necessary to execute the following command as well:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;sudo apt-get install -f&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;dpkg will download the remaining dependencies and install all of the packages. When installation has completed, you can verify that Maven is installed and working by typing:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;mvn --version&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You should see something like:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Maven version: 2.0.8&lt;br /&gt;Java version: 1.5.0_13&lt;br /&gt;OS name: "linux" version: "2.6.22-14-generic" arch: "i386" Family: "unix"&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6173482110174394767-1294521784847071589?l=codespin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/1294521784847071589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6173482110174394767&amp;postID=1294521784847071589' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/1294521784847071589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/1294521784847071589'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/2008/01/installing-apache-maven-2-on-ubuntu-710.html' title='Installing Apache Maven 2 on Ubuntu 7.10 Desktop'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6173482110174394767.post-3382658666642558135</id><published>2008-01-18T09:09:00.000-08:00</published><updated>2008-01-18T09:44:31.868-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='active directory'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Fix for Inability to Select Domain Users in Windows Select Users Dialog</title><content type='html'>This week, I set up a number of virtual servers using Windows 2003 and Windows XP. I noticed that I was not not able to select domain users or groups using the Windows Select Users dialog on any of the machines in the domain, except for the domain controller itself.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Symptoms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When attempting to specify a domain user or group in the Select Users dialog (for example, when modifying sharing or security settings on a folder), a Name Not Found dialog is displayed, with the following message:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;The following object is not from a domain listed in the Select Location dialog box, and is therefore not valid:&lt;/blockquote&gt;Here are some screenshots showing an example of this problem:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R5DiaFCAZwI/AAAAAAAAAHc/iZKNih8Fiwc/s1600-h/select-users.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R5DiaFCAZwI/AAAAAAAAAHc/iZKNih8Fiwc/s320/select-users.png" alt="" id="BLOGGER_PHOTO_ID_5156870510994286338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R5DiaFCAZxI/AAAAAAAAAHk/-N4wLdgokPg/s1600-h/name-not-found.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R5DiaFCAZxI/AAAAAAAAAHk/-N4wLdgokPg/s320/name-not-found.png" alt="" id="BLOGGER_PHOTO_ID_5156870510994286354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When you click on the Locations... button, the only location displayed is the local machine.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R5DiaVCAZyI/AAAAAAAAAHs/BC4iBU9QtcU/s1600-h/locations.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R5DiaVCAZyI/AAAAAAAAAHs/BC4iBU9QtcU/s320/locations.png" alt="" id="BLOGGER_PHOTO_ID_5156870515289253666" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The system's DNS settings do not include the DNS that stores information for the domain.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Modify the TCP/IP DNS settings for your network connection so that the DNS server for your windows domain is the primary DNS. For example, change this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R5DkCFCAZ0I/AAAAAAAAAH8/50My1akkEbI/s1600-h/tcp-ip-properties-before.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R5DkCFCAZ0I/AAAAAAAAAH8/50My1akkEbI/s320/tcp-ip-properties-before.png" alt="" id="BLOGGER_PHOTO_ID_5156872297700681538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R5DkB1CAZzI/AAAAAAAAAH0/j6RgQ6f1fro/s1600-h/tcp-ip-properties-after.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R5DkB1CAZzI/AAAAAAAAAH0/j6RgQ6f1fro/s320/tcp-ip-properties-after.png" alt="" id="BLOGGER_PHOTO_ID_5156872293405714226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After making this change, you should be able to successfully use domain users and groups in the Select Users dialog. You may need to close out of the applications/utilities/windows that you were using to select users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6173482110174394767-3382658666642558135?l=codespin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/3382658666642558135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6173482110174394767&amp;postID=3382658666642558135' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/3382658666642558135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/3382658666642558135'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/2008/01/fix-for-inability-to-select-domain.html' title='Fix for Inability to Select Domain Users in Windows Select Users Dialog'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_glKTV7lo7nU/R5DiaFCAZwI/AAAAAAAAAHc/iZKNih8Fiwc/s72-c/select-users.png' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6173482110174394767.post-658563834480706182</id><published>2008-01-17T10:08:00.000-08:00</published><updated>2008-01-17T11:03:22.624-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='sqlserveragent'/><title type='text'>Fixing Startup Failure of SQL Server Agent Service in SQL Server 2005</title><content type='html'>I recently set up a new SQL Server 2005 + service pack 2 installation in a Windows 2003 Server environment. The services were configured to start using the network service account (NT AUTHORITY\NetworkService). All of the services started successfully, except for SQL Server Agent.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Symptoms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A warning dialog will appear with the following error message:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;The SQL Server Agent (MSSQLSERVER) service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt; &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4-bmVCAZsI/AAAAAAAAAG8/w1Uckzj_urM/s1600-h/sql-server-agent-service-start-error.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4-bmVCAZsI/AAAAAAAAAG8/w1Uckzj_urM/s320/sql-server-agent-service-start-error.png" alt="" id="BLOGGER_PHOTO_ID_5156511181145401026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;In Event Viewer, an error event is logged with the following description:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SQLServerAgent could not be started (reason: Error creating a new session).&lt;/blockquote&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4-bmlCAZtI/AAAAAAAAAHE/cawmqH_L0A0/s1600-h/sql-server-agent-service-start-event.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4-bmlCAZtI/AAAAAAAAAHE/cawmqH_L0A0/s320/sql-server-agent-service-start-event.png" alt="" id="BLOGGER_PHOTO_ID_5156511185440368338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The following appears in the SQL Server Agent log file (located at C:\program files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\SQLAGENT.OUT on my system, but this will depend on the particulars of your installation):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;2008-01-17 11:04:40 - ! [298] SQLServer Error: 15247, User does not have permission to perform this action. [SQLSTATE 42000] (DisableAgentXPs)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;2008-01-17 11:04:40 - ! [298] SQLServer Error: 229, The EXECUTE permission was denied on the object 'sp_sqlagent_has_server_access', database 'msdb', schema 'dbo'. [SQLSTATE 42000] (ConnIsLoginSysAdmin)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;2008-01-17 11:04:40 - ! [298] SQLServer Error: 229, The EXECUTE permission was denied on the object 'sp_sqlagent_get_startup_info', database 'msdb', schema 'dbo'. [SQLSTATE 42000]&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;2008-01-17 11:04:40 - ! [298] SQLServer Error: 229, The INSERT permission was denied on the object 'syssessions', database 'msdb', schema 'dbo'. [SQLSTATE 42000]&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;2008-01-17 11:04:40 - ! [000] Error creating a new session&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;2008-01-17 11:04:41 - ? [098] SQLServerAgent terminated (normally)&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Cause&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;The account under which the SQL Server Agent runs does not have the permissions required to start the service successfully.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;On my system, SQL Server Agent is configured to run as NT AUTHORITY\NetworkService. You will need to identify the user that runs SQL Server Agent on your system. To do this, open the Services administrative tool, right click on the SQL Server Agent (MSSQLSERVER) service, and choose properties. Click on the Log On tab, and note the user:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4-hllCAZuI/AAAAAAAAAHM/GB9I5iNbliM/s1600-h/sql-server-agent-service-logon.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4-hllCAZuI/AAAAAAAAAHM/GB9I5iNbliM/s320/sql-server-agent-service-logon.png" alt="" id="BLOGGER_PHOTO_ID_5156517765330265826" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;I gave this account the sysadmin server role in SQL Server. To do this, open SQL Server Management Studio and log in to the database engine. Drill down into Security, and then Logins. Right click on the user that runs SQL Server Agent, and choose properties. Under Select a page in the top left corner of the properties window, click on Server Roles. Enable the sysadmin role by clicking on the check box in the Server Roles pane, and then click on OK.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4-illCAZvI/AAAAAAAAAHU/-OTOtNYkPU8/s1600-h/sql-server-agent-service-logon-roles.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4-illCAZvI/AAAAAAAAAHU/-OTOtNYkPU8/s320/sql-server-agent-service-logon-roles.png" alt="" id="BLOGGER_PHOTO_ID_5156518864841893618" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;You should now be able to start SQL Server Agent successfully.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6173482110174394767-658563834480706182?l=codespin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/658563834480706182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6173482110174394767&amp;postID=658563834480706182' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/658563834480706182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/658563834480706182'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/2008/01/fixing-startup-failure-of-sql-server.html' title='Fixing Startup Failure of SQL Server Agent Service in SQL Server 2005'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_glKTV7lo7nU/R4-bmVCAZsI/AAAAAAAAAG8/w1Uckzj_urM/s72-c/sql-server-agent-service-start-error.png' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6173482110174394767.post-471791659519889930</id><published>2008-01-11T12:54:00.000-08:00</published><updated>2008-01-16T18:40:42.150-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='pentaho'/><category scheme='http://www.blogger.com/atom/ns#' term='bi'/><category scheme='http://www.blogger.com/atom/ns#' term='business intelligence'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Installing Pentaho 1.6 and MySQL on Ubuntu 7.10</title><content type='html'>In my &lt;a href="http://codespin.blogspot.com/2008/01/installing-ubuntu-710-on-microsoft.html"&gt;previous post&lt;/a&gt;, I documented how I created a virtual machine using &lt;a href="http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx"&gt;Microsoft Virtual PC 2007&lt;/a&gt;, and installed &lt;a href="http://www.ubuntu.com/products/WhatIsUbuntu/desktopedition"&gt;Ubuntu 7.10 Desktop&lt;/a&gt; on it. I'm going to be using this virtual machine for some work with the &lt;a href="http://www.pentaho.com/"&gt;Pentaho BI Suite&lt;/a&gt;. This post documents the steps I used to install the Pentaho suite of business intelligence software on my Ubuntu 7.10 system.&lt;br /&gt;&lt;br /&gt;First, you will need to install MySQL and the Sun Java development kit. To do this, you will use the Synaptic Package Manager to download MySQL and Java, conveniently packaged for Ubuntu.&lt;br /&gt;&lt;br /&gt;The Synaptic Package Manager is found in the System menu, as shown in this screenshot:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R45utlCAZeI/AAAAAAAAAFM/E5uEil4HVKs/s1600-h/launch-synaptic-package-manager.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R45utlCAZeI/AAAAAAAAAFM/E5uEil4HVKs/s320/launch-synaptic-package-manager.png" alt="" id="BLOGGER_PHOTO_ID_5156180352699491810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After launching, Synaptic will display a lengthy list of packages that are available for installation.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R45uuFCAZfI/AAAAAAAAAFU/5uZIS-Y6D5A/s1600-h/synaptic-package-manager-1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R45uuFCAZfI/AAAAAAAAAFU/5uZIS-Y6D5A/s320/synaptic-package-manager-1.png" alt="" id="BLOGGER_PHOTO_ID_5156180361289426418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To find the MySQL package, click on the Search button in the toolbar at the top of the Synaptic window, and use the dialog to search for mysql.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R45uuVCAZgI/AAAAAAAAAFc/ad0S42OW2QI/s1600-h/synaptic-package-manager-2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R45uuVCAZgI/AAAAAAAAAFc/ad0S42OW2QI/s320/synaptic-package-manager-2.png" alt="" id="BLOGGER_PHOTO_ID_5156180365584393730" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Many packages related to mysql will be found. The package that you want to install is "mysql-server". This is a meta-package, meaning that it does not install anything, but instead depends on another package. Installing the meta-package will cause all of it's dependencies to be installed. As of this post, mysql-server depends on mysql-server-5.0, so version 5.0 of mysql will be installed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R45uuVCAZhI/AAAAAAAAAFk/VhIPKr5NjTY/s1600-h/synaptic-package-manager-3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R45uuVCAZhI/AAAAAAAAAFk/VhIPKr5NjTY/s320/synaptic-package-manager-3.png" alt="" id="BLOGGER_PHOTO_ID_5156180365584393746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To install mysql-server, left click and choose "Mark for installation" from the menu.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R45uulCAZiI/AAAAAAAAAFs/khUBH-t0JQw/s1600-h/synaptic-package-manager-4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R45uulCAZiI/AAAAAAAAAFs/khUBH-t0JQw/s320/synaptic-package-manager-4.png" alt="" id="BLOGGER_PHOTO_ID_5156180369879361058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The entire dependency tree for mysql-server needs to be installed. Synaptic will display a dialog similar to the following to confirm that you want to install of the dependencies. Click on the "Mark" button in the bottom right to mark all of them for installation.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R45wOVCAZjI/AAAAAAAAAF0/g0M7-sAdjwI/s1600-h/synaptic-package-manager-5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R45wOVCAZjI/AAAAAAAAAF0/g0M7-sAdjwI/s320/synaptic-package-manager-5.png" alt="" id="BLOGGER_PHOTO_ID_5156182014851835442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The checkboxes for all of the required packages will now be marked with an icon indicating that they will be installed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R45wOlCAZkI/AAAAAAAAAF8/uqpO1Bt7t6Q/s1600-h/synaptic-package-manager-6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R45wOlCAZkI/AAAAAAAAAF8/uqpO1Bt7t6Q/s320/synaptic-package-manager-6.png" alt="" id="BLOGGER_PHOTO_ID_5156182019146802754" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Next, click on the Search button again, and search for "Java 5". Several packages will be found; the one you will need to install is "sun-java5-jdk". Follow the same steps that you did with "mysql-server" to mark the JDK for installation.&lt;br /&gt;&lt;br /&gt;Click on the Apply button in the Synaptic toolbar. You will be prompted with a dialog summarizing the packages that are being installed; click on "Apply" to start the installation process.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R45wOlCAZlI/AAAAAAAAAGE/tzhEnfctJ10/s1600-h/synaptic-package-manager-7.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R45wOlCAZlI/AAAAAAAAAGE/tzhEnfctJ10/s320/synaptic-package-manager-7.png" alt="" id="BLOGGER_PHOTO_ID_5156182019146802770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Synaptic will then download and install the packages. Depending on your connection speed, this may take a few minutes.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R45wO1CAZmI/AAAAAAAAAGM/5vNzctebpsE/s1600-h/synaptic-package-manager-8.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R45wO1CAZmI/AAAAAAAAAGM/5vNzctebpsE/s320/synaptic-package-manager-8.png" alt="" id="BLOGGER_PHOTO_ID_5156182023441770082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Eventually, you will be presented with a dialog box that will allow you to set the password for the MySQL "root" user. Be careful in typing this password, as the configuration dialog does not prompt you to enter it twice.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R45wO1CAZnI/AAAAAAAAAGU/M9_VqEA4tU0/s1600-h/configure-mysql-server-password.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R45wO1CAZnI/AAAAAAAAAGU/M9_VqEA4tU0/s320/configure-mysql-server-password.png" alt="" id="BLOGGER_PHOTO_ID_5156182023441770098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;You will also be prompted with a dialog box asking for confirmation of the Java license agreement. Review it, and if you accept, click on the checkbox and then "Forward".&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R453DFCAZpI/AAAAAAAAAGk/a5NjCLIDNxg/s1600-h/configuring-sun-java5-bin.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R453DFCAZpI/AAAAAAAAAGk/a5NjCLIDNxg/s320/configuring-sun-java5-bin.png" alt="" id="BLOGGER_PHOTO_ID_5156189518159701650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When the installation is complete, you will be presented with a confirmation dialog. Close this window, and then exit Synaptic.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R45xf1CAZoI/AAAAAAAAAGc/9dUireeG12w/s1600-h/synaptic-package-manager-9.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R45xf1CAZoI/AAAAAAAAAGc/9dUireeG12w/s320/synaptic-package-manager-9.png" alt="" id="BLOGGER_PHOTO_ID_5156183415011174018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Next, you will install the Pentaho BI Suite. Download the &lt;a href="http://downloads.sourceforge.net/pentaho/pentaho_demo_mysql5-1.6.0.GA.863.tar.gz?modtime=1191930150&amp;amp;big_mirror=0"&gt;Pentaho 1.6 for MySQL demo archive&lt;/a&gt;. Extract the contents of the archive to a directory on your system; I chose to extract it to a subdirectory of my home folder: ~/pentaho-demo.&lt;br /&gt;&lt;br /&gt;To create and configure the MySQL databases that the Pentaho platform will use, open a terminal and navigate to the pentaho-demo directory. Execute the following command:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;mysql -u root -p -e \&lt;br /&gt;"source data/SampleDataDump_MySql.sql"&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You will be prompted for the password of the MySQL root user; it is the password that you created when prompted by the Synaptic package manager. The script should run for a few seconds, and then drop back to the terminal prompt.&lt;br /&gt;&lt;br /&gt;To start the demo, open a terminal (or use the same one that you used to create the databases) and navigate to the pentaho-demo directory. This directory contains a shell script that can be used to start the server. Execute this command in the terminal:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;./start-pentaho.sh&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The script will display a notification that the platform contains a version checker that will communicate with Pentaho's servers to determine if newer versions of the software are available. Read the notification, and press Enter if you wish to continue.&lt;br /&gt;&lt;br /&gt;Depending on your system, it may take a few minutes for the server to start. When it has finished starting, you will see a message similar to the following:&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;14:32:11,508 INFO  [STDOUT] Pentaho BI Platform server is ready. (Pentaho BI Platform 1.6.0.GA.863) Base Url = http://localhost:8080/pentaho/, Solution Path = /home/codespin/pentaho-demo/pentaho-solutions&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To start playing with the demo, navigate to &lt;a href="http://localhost:8080/pentaho/"&gt;http://localhost:8080/pentaho/&lt;/a&gt; in your browser. Choose one of the users in the dropdown, and then click "Login". To start learning more about the Pentaho BI platform, visit the &lt;a href="http://www.pentaho.com/"&gt;Pentaho website&lt;/a&gt; and &lt;a href="http://wiki.pentaho.org/"&gt;wiki&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R457YlCAZqI/AAAAAAAAAGs/RqX1U67zu74/s1600-h/pentaho-demo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R457YlCAZqI/AAAAAAAAAGs/RqX1U67zu74/s320/pentaho-demo.png" alt="" id="BLOGGER_PHOTO_ID_5156194285573400226" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6173482110174394767-471791659519889930?l=codespin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/471791659519889930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6173482110174394767&amp;postID=471791659519889930' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/471791659519889930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/471791659519889930'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/2008/01/installing-pentaho-16-and-mysql-on.html' title='Installing Pentaho 1.6 and MySQL on Ubuntu 7.10'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_glKTV7lo7nU/R45utlCAZeI/AAAAAAAAAFM/E5uEil4HVKs/s72-c/launch-synaptic-package-manager.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6173482110174394767.post-5187288953836098123</id><published>2008-01-10T17:56:00.001-08:00</published><updated>2008-01-16T18:41:09.447-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtualpc'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='vm'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Installing Ubuntu 7.10 on Microsoft Virtual PC 2007</title><content type='html'>I've had to setup (and re-setup) a few virtual machines lately, so I thought I'd document the steps I use to get an &lt;a href="http://www.ubuntu.com/products/WhatIsUbuntu/desktopedition"&gt;Ubuntu 7.10 Desktop&lt;/a&gt; installation set up on &lt;a href="http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx"&gt;Microsoft Virtual PC&lt;/a&gt; 2007. I'll be using this particular one for an installation of the &lt;a href="http://www.pentaho.com/"&gt;Pentaho BI suite&lt;/a&gt;. I like to separate unrelated software installations into virtual machines that would resemble the setup that clients would have on their servers.&lt;br /&gt;&lt;br /&gt;Before I describe the installation process, I'd like to thank Robert C. Cain and Martin Woodward, who both posted &lt;a href="http://arcanecode.wordpress.com/2007/10/18/installing-ubuntu-710-under-virtual-pc-2007/"&gt;similar&lt;/a&gt; &lt;a href="http://www.woodwardweb.com/programming/000387.html"&gt;articles&lt;/a&gt; at their blogs. My article is similar because we were attempting the same thing, but the process I followed differs slightly from theirs. I encourage you to read theirs as well if you would like additional perspectives on how to set up your virtual machine.&lt;br /&gt;&lt;br /&gt;First, you'll need to &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6&amp;amp;displaylang=en"&gt;download Virtual PC 2007&lt;/a&gt; from Microsoft. There is a version for x86 and a version for x64. Note that even if you download and install the x64 version, you will still only be able to run x86 operating systems in Virtual PC.&lt;br /&gt;&lt;br /&gt;Once you have downloaded the appropriate version for your PC, you'll need to create a new virtual machine. Click the New... button in the Virtual PC Console, and walk through the wizard.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4bs4FCAY2I/AAAAAAAAAAM/k-8epSgb6qY/s1600-h/new-virtual-machine-wizard-1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4bs4FCAY2I/AAAAAAAAAAM/k-8epSgb6qY/s320/new-virtual-machine-wizard-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5154067271739532130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4bs4FCAY3I/AAAAAAAAAAU/q-8p4CeJQL4/s1600-h/new-virtual-machine-wizard-2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4bs4FCAY3I/AAAAAAAAAAU/q-8p4CeJQL4/s320/new-virtual-machine-wizard-2.jpg" alt="" id="BLOGGER_PHOTO_ID_5154067271739532146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I chose the name "Ubuntu Pentaho Virtual Machine", as I plan to install Ubuntu, and then the Pentaho BI Suite.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4bs4VCAY4I/AAAAAAAAAAc/ejEvgkVkchs/s1600-h/new-virtual-machine-wizard-3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4bs4VCAY4I/AAAAAAAAAAc/ejEvgkVkchs/s320/new-virtual-machine-wizard-3.JPG" alt="" id="BLOGGER_PHOTO_ID_5154067276034499458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Select "Other" as the operating system. You will be able to adjust the memory and virtual disk size in the next screen in the wizard.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4bs4VCAY5I/AAAAAAAAAAk/fWC_mkTLGH0/s1600-h/new-virtual-machine-wizard-4.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4bs4VCAY5I/AAAAAAAAAAk/fWC_mkTLGH0/s320/new-virtual-machine-wizard-4.JPG" alt="" id="BLOGGER_PHOTO_ID_5154067276034499474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Adjust the RAM to the amount that you want the virtual machine to use. You will need to allocate at least 256MB in order to install Ubuntu Desktop.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4bs4VCAY6I/AAAAAAAAAAs/UIxMvf6W0rc/s1600-h/new-virtual-machine-wizard-5.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4bs4VCAY6I/AAAAAAAAAAs/UIxMvf6W0rc/s320/new-virtual-machine-wizard-5.JPG" alt="" id="BLOGGER_PHOTO_ID_5154067276034499490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Unless you already have an existing virtual hard disk created by Virtual PC 2007, you will need to create a new virtual hard disk, so select the appropriate option on the next screen of the wizard.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4bv91CAY7I/AAAAAAAAAA0/_mB_p0mO_cM/s1600-h/new-virtual-machine-wizard-6.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4bv91CAY7I/AAAAAAAAAA0/_mB_p0mO_cM/s320/new-virtual-machine-wizard-6.jpg" alt="" id="BLOGGER_PHOTO_ID_5154070669058663346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I chose to use the default size of virtual hard disk, as it will be enough for what I plan to do with this installation. I also kept the default location of the virtual hard disk file, but you can override this to fit your needs.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4bv-FCAY8I/AAAAAAAAAA8/K-AYjiqdm9Q/s1600-h/new-virtual-machine-wizard-7.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4bv-FCAY8I/AAAAAAAAAA8/K-AYjiqdm9Q/s320/new-virtual-machine-wizard-7.JPG" alt="" id="BLOGGER_PHOTO_ID_5154070673353630658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The final screen of the wizard allows you to verify the options you chose. Click Finish and the virtual machine will be created.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4bv-FCAY9I/AAAAAAAAABE/kyVUwWR-wW4/s1600-h/new-virtual-machine-wizard-8.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4bv-FCAY9I/AAAAAAAAABE/kyVUwWR-wW4/s320/new-virtual-machine-wizard-8.JPG" alt="" id="BLOGGER_PHOTO_ID_5154070673353630674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Your virtual machine is now created. Next, we'll alter one setting. Click on the Settings button.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4b2XFCAY-I/AAAAAAAAABM/e-5zJ02G240/s1600-h/virtual-pc-console-1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4b2XFCAY-I/AAAAAAAAABM/e-5zJ02G240/s320/virtual-pc-console-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5154077699920126946" border="0" /&gt;&lt;/a&gt;Click on Hardware Virtualization in the list on the left side of the window. If hardware-assisted virtualization is available on your computer, you can enable hardware-assisted virtualization using the checkbox on the right side of the window. You can also alter any of the other settings to suit your needs; I didn't make any other changes to the default settings. Click on OK when you are finished your changes to the settings.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4b2q1CAY_I/AAAAAAAAABU/TTtG6yARxlc/s1600-h/virtual-machine-settings-hardware-virtualization.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4b2q1CAY_I/AAAAAAAAABU/TTtG6yARxlc/s320/virtual-machine-settings-hardware-virtualization.JPG" alt="" id="BLOGGER_PHOTO_ID_5154078039222543346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the Start button on the Virtual PC Console. Before the boot process gets to far, use the CD menu to attach to either a physical CD/DVD drive or to an ISO disk image. I previously downloaded an ISO of Ubuntu 7.10, and chose the "Capture ISO Image..." option in the CD menu to attach to it. If the virtual machine was too far into the boot process to boot from the CD, you will need to reset the virtual machine using the command in the Action menu. Otherwise, you'll see a screen similar to this next:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4b4flCAZBI/AAAAAAAAABk/A6RxhU0Mavc/s1600-h/install-cd-boot-menu.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4b4flCAZBI/AAAAAAAAABk/A6RxhU0Mavc/s320/install-cd-boot-menu.jpg" alt="" id="BLOGGER_PHOTO_ID_5154080044972270610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Scroll down to "Start Ubuntu in safe graphics mode", and press F6 to enter other options. By default, the boot options will not allow Ubuntu to see the virtual mouse provided by Virtual PC. On the next screen, you will need to add "i8042.noloop" to the end of the boot options. There should be one space between "--" and "i8042.noloop". When you've added this option, hit Enter to proceed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4b5VFCAZCI/AAAAAAAAABs/YbZ7bTXDm9A/s1600-h/install-cd-boot-menu-options.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4b5VFCAZCI/AAAAAAAAABs/YbZ7bTXDm9A/s320/install-cd-boot-menu-options.jpg" alt="" id="BLOGGER_PHOTO_ID_5154080964095271970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The system will boot into a "Live CD" environment that will allow you to install Ubuntu Desktop from the same GUI that you will use after Ubuntu Desktop is installed. On my system, the virtual machine window was only displaying the top left corner of the Ubuntu desktop, as shown in this image:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4b6JVCAZDI/AAAAAAAAAB0/tAfGnZ0h_FQ/s1600-h/install-screen-wrong-size.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4b6JVCAZDI/AAAAAAAAAB0/tAfGnZ0h_FQ/s320/install-screen-wrong-size.jpg" alt="" id="BLOGGER_PHOTO_ID_5154081861743436850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;It's possible to  cycle through the available resolutions using Ctrl-Alt-Numpad- and Ctrl-Alt-Numpad+. I used these to cycle through until the window displayed the entire desktop:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4b6JVCAZEI/AAAAAAAAAB8/-CNcYEOdB0M/s1600-h/install-screen-right-size.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4b6JVCAZEI/AAAAAAAAAB8/-CNcYEOdB0M/s320/install-screen-right-size.jpg" alt="" id="BLOGGER_PHOTO_ID_5154081861743436866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;You'll notice that the network icon in the top right corner of the screen is indicating that there is no network connection. To ensure that the installer is able to access the Ubuntu apt sources, you can left-click on the icon and choose Wired Network, as shown in this image:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4b6JlCAZFI/AAAAAAAAACE/vHvveFTHjxs/s1600-h/install-screen-network-enabled.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4b6JlCAZFI/AAAAAAAAACE/vHvveFTHjxs/s320/install-screen-network-enabled.jpg" alt="" id="BLOGGER_PHOTO_ID_5154081866038404178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Double click on the Install icon, and an installation wizard will start. Walk through each step in the wizard; I selected the defaults in all of the screens shown. Note that unless you choose to manually partition the virtual hard disk, there will be no step 5 of 7 in the 7 step wizard.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4b6JlCAZGI/AAAAAAAAACM/_0ZmrhJaRT0/s1600-h/install-step-1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4b6JlCAZGI/AAAAAAAAACM/_0ZmrhJaRT0/s320/install-step-1.JPG" alt="" id="BLOGGER_PHOTO_ID_5154081866038404194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4b6J1CAZHI/AAAAAAAAACU/IWN_eI0dOW4/s1600-h/install-step-2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4b6J1CAZHI/AAAAAAAAACU/IWN_eI0dOW4/s320/install-step-2.JPG" alt="" id="BLOGGER_PHOTO_ID_5154081870333371506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4b80FCAZII/AAAAAAAAACc/X0kdlDq1Dik/s1600-h/install-step-3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4b80FCAZII/AAAAAAAAACc/X0kdlDq1Dik/s320/install-step-3.jpg" alt="" id="BLOGGER_PHOTO_ID_5154084795206100098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4b80VCAZJI/AAAAAAAAACk/MuA4X_7GApk/s1600-h/install-step-4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4b80VCAZJI/AAAAAAAAACk/MuA4X_7GApk/s320/install-step-4.jpg" alt="" id="BLOGGER_PHOTO_ID_5154084799501067410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4b80VCAZKI/AAAAAAAAACs/_S9pAKA6suo/s1600-h/install-step-6.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4b80VCAZKI/AAAAAAAAACs/_S9pAKA6suo/s320/install-step-6.jpg" alt="" id="BLOGGER_PHOTO_ID_5154084799501067426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The last screen of the wizard confirms the choices you've made on the previous screens of the wizard. Click Install to begin the installation process.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4b80VCAZLI/AAAAAAAAAC0/aV8_PXTehEc/s1600-h/install-step-7.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4b80VCAZLI/AAAAAAAAAC0/aV8_PXTehEc/s320/install-step-7.jpg" alt="" id="BLOGGER_PHOTO_ID_5154084799501067442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The installation process will take a few minutes, so feel free to take a break. If you did not enable networking as described earlier, you may receive an error message at some point in the installation process, otherwise the installation should proceed without errors.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4b9d1CAZMI/AAAAAAAAAC8/I36EdipwUNM/s1600-h/installing-system.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4b9d1CAZMI/AAAAAAAAAC8/I36EdipwUNM/s320/installing-system.jpg" alt="" id="BLOGGER_PHOTO_ID_5154085512465638594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When the installation is complete, you will be prompted to restart or continue using the live CD. Choose the latter, so that you can release the CD from the virtual machine. After you've released the CD, click on the orange power icon in the top right corner of the screen and shut down.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4b9d1CAZNI/AAAAAAAAADE/V_6bNV2HgqM/s1600-h/installation-complete.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4b9d1CAZNI/AAAAAAAAADE/V_6bNV2HgqM/s320/installation-complete.JPG" alt="" id="BLOGGER_PHOTO_ID_5154085512465638610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4b9eFCAZOI/AAAAAAAAADM/cU9RkdXYlZk/s1600-h/shutdown-after-installation-complete.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4b9eFCAZOI/AAAAAAAAADM/cU9RkdXYlZk/s320/shutdown-after-installation-complete.jpg" alt="" id="BLOGGER_PHOTO_ID_5154085516760605922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The shutdown process has occasionally frozen on my virtual machine, at a screen like this. If you encounter this, just choose Close from the Action menu and choose to turn off the virtual machine. If you are unable to move the mouse pointer to the action menu, press the right alt key on your keyboard to release the mouse from the virtual machine.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4b9eFCAZPI/AAAAAAAAADU/Qj-WYtxXdSw/s1600-h/freeze-after-shutdown.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4b9eFCAZPI/AAAAAAAAADU/Qj-WYtxXdSw/s320/freeze-after-shutdown.jpg" alt="" id="BLOGGER_PHOTO_ID_5154085516760605938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After the machine has shut down, start it up again. You will need to modify the Grub boot loader's settings so that Ubuntu will be able to use the mouse (similar to the modification that you made when booting from the CD). When you see the text "Grub Loading", press Escape to go to the Grub boot loader's menu. Note that you will only have a few seconds to hit escape before Grub will begin the boot process. If you hit Escape quickly enough, you will see a menu like the following.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4b9eVCAZQI/AAAAAAAAADc/0p3ahOEAn4U/s1600-h/grub-menu-1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4b9eVCAZQI/AAAAAAAAADc/0p3ahOEAn4U/s320/grub-menu-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5154085521055573250" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;With the first item in the menu highlighted, hit e to edit the command.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4b--FCAZRI/AAAAAAAAADk/JemwbE_C7Wo/s1600-h/grub-menu-2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4b--FCAZRI/AAAAAAAAADk/JemwbE_C7Wo/s320/grub-menu-2.jpg" alt="" id="BLOGGER_PHOTO_ID_5154087166028047634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;On the next menu, scroll down to the second item, and again hit e to edit. Modify the command to include the i8042.noloop option, as shown in the image below. When finished, press enter to accept the changes to the command, and then press b to boot.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4b--FCAZSI/AAAAAAAAADs/yyCVYQdWi_c/s1600-h/grub-menu-3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4b--FCAZSI/AAAAAAAAADs/yyCVYQdWi_c/s320/grub-menu-3.jpg" alt="" id="BLOGGER_PHOTO_ID_5154087166028047650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After the system finished booting, you should see the Ubuntu login screen. Enter the username and password that you chose in the installation wizard.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4cAClCAZTI/AAAAAAAAAD0/ynfVmx96CUg/s1600-h/login-screen.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4cAClCAZTI/AAAAAAAAAD0/ynfVmx96CUg/s320/login-screen.jpg" alt="" id="BLOGGER_PHOTO_ID_5154088342849086770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Congratulations, you now have a functional Ubuntu 7.10 Desktop installed in a virtual machine!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4cAC1CAZUI/AAAAAAAAAD8/DiNJCZOKpQs/s1600-h/after-first-login.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4cAC1CAZUI/AAAAAAAAAD8/DiNJCZOKpQs/s320/after-first-login.jpg" alt="" id="BLOGGER_PHOTO_ID_5154088347144054082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Note that there are still a few issues to correct:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The system is not configured to use the i8042.noloop option each time it boots. To avoid having to enter this option each time we boot, we'll configure the Grub loader to use this option from now on.&lt;/li&gt;&lt;li&gt;The system is not using modules for the virtual network card and virtual sound card provided by Virtual PC. We'll configure this below.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The system is not connected to the network, as indicated by the network icon in the top right corner. As described in installation, you can left click on the network icon and select the network adapter each time you use the system, but it's better to configure it once and for all to avoid this manual step in the future. We'll configure it below.&lt;/li&gt;&lt;li&gt;The system is not up-to-date, as indicated by the icon and tooltip in the top right corner of the screen. We'll update it below.&lt;/li&gt;&lt;/ol&gt;To correct the Grub configuration, you will need to edit the file /boot/grub/menu.lst. I opened a terminal (Applications-&gt;Accessories-&gt;Terminal):&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4emXlCAZcI/AAAAAAAAAE8/PXZF7NTRPks/s1600-h/terminal.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4emXlCAZcI/AAAAAAAAAE8/PXZF7NTRPks/s320/terminal.jpg" alt="" id="BLOGGER_PHOTO_ID_5154271222556550594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;and then used the following command to edit the file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sudo vi /boot/grub/menu.lst&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can substitute vi with another editor such as nano if you prefer.&lt;br /&gt;&lt;br /&gt;Scroll to the end of the file, and edit the kernel options to include i8042.noloop and clock=pit as shown below. The clock=pit option is to prevent the virtual machine's clock from becoming out of synch with the PC's clock. More information about this problem is available in an &lt;a href="http://www.woodwardweb.com/programming/000387.html"&gt;article by Martin Woodward&lt;/a&gt;, and in a &lt;a href="http://support.microsoft.com/Default.aspx?kbid=918461"&gt;Microsoft Knowledge Base article&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_glKTV7lo7nU/R4eg3FCAZVI/AAAAAAAAAEE/9OKv8Ony8cU/s1600-h/edit-grub-menu.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_glKTV7lo7nU/R4eg3FCAZVI/AAAAAAAAAEE/9OKv8Ony8cU/s320/edit-grub-menu.png" alt="" id="BLOGGER_PHOTO_ID_5154265166652663122" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Next, edit the /etc/modules file to include the tulip and snd-sb16 modules, as shown below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4ei1VCAZWI/AAAAAAAAAEM/54tcuNQi2_Q/s1600-h/edit-etc-modules.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4ei1VCAZWI/AAAAAAAAAEM/54tcuNQi2_Q/s320/edit-etc-modules.png" alt="" id="BLOGGER_PHOTO_ID_5154267335611147618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Next, we'll configure the network so that you will automatically be connected, rather than needing to select the network adapter using the network icon in the top right corner of the screen.&lt;br /&gt;&lt;br /&gt;Left-click on the network icon, and choose "Manual Configuration...". A dialog box similar to the one below will be shown. Note that the Wired connection is in roaming mode; we will disable this and configure the network adapter to use DHCP.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4ejaVCAZXI/AAAAAAAAAEU/wBzQCWbasGM/s1600-h/network-settings-1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4ejaVCAZXI/AAAAAAAAAEU/wBzQCWbasGM/s320/network-settings-1.png" alt="" id="BLOGGER_PHOTO_ID_5154267971266307442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the Wired connection, and then click on the Properties button. The following dialog box will be displayed. Uncheck the "Enable roaming mode" checkbox, and then choose "Automatic configuration (DHCP)" from the Configuration dropdown. Click on OK when the settings match those shown below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4ejaVCAZYI/AAAAAAAAAEc/r7xd1eOQgms/s1600-h/eth0-properties.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4ejaVCAZYI/AAAAAAAAAEc/r7xd1eOQgms/s320/eth0-properties.png" alt="" id="BLOGGER_PHOTO_ID_5154267971266307458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;In the Network Settings dialog, you should see "Address: dhcp" under the Wired connection. Check the checkbox next to the Wired connection; this will activate the interface. On my virtual machine, I needed to reboot to get network connectivity.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_glKTV7lo7nU/R4ejaVCAZZI/AAAAAAAAAEk/hasaKDARVO8/s1600-h/network-settings-2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_glKTV7lo7nU/R4ejaVCAZZI/AAAAAAAAAEk/hasaKDARVO8/s320/network-settings-2.png" alt="" id="BLOGGER_PHOTO_ID_5154267971266307474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now, we'll update the system to include the latest version of all installed packages from Ubuntu. Click on the orange notification icon in the top right corner of the screen to open the update manager.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4elRlCAZaI/AAAAAAAAAEs/TQiZ1fP_v88/s1600-h/update-manager-1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4elRlCAZaI/AAAAAAAAAEs/TQiZ1fP_v88/s320/update-manager-1.png" alt="" id="BLOGGER_PHOTO_ID_5154270019965707682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the Install Updates button. When the updates have completed, you'll see the following:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_glKTV7lo7nU/R4elelCAZbI/AAAAAAAAAE0/GVvL8ptfUsw/s1600-h/update-complete.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_glKTV7lo7nU/R4elelCAZbI/AAAAAAAAAE0/GVvL8ptfUsw/s320/update-complete.png" alt="" id="BLOGGER_PHOTO_ID_5154270243304007090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IMPORTANT: &lt;/span&gt;After the updates have completed, you will likely need to edit the /boot/grub/menu.lst file again to ensure that the i8042.noloop and clock=pit options are specified. Do this &lt;span style="font-weight: bold;"&gt;before&lt;/span&gt; you reboot your system to ensure that your mouse will continue to work after installing the updates.&lt;br /&gt;&lt;br /&gt;Your system may need to be rebooted in order for all of the updates to be active (for example, if the kernel was updated). The update manager will notify you of this.&lt;br /&gt;&lt;br /&gt;Congratulations, you now have a functioning Ubuntu 7.10 Desktop virtual machine with sound and network connectivity, ready to use as you wish!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_glKTV7lo7nU/R4emt1CAZdI/AAAAAAAAAFE/Tnbf151W3-Q/s1600-h/done.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_glKTV7lo7nU/R4emt1CAZdI/AAAAAAAAAFE/Tnbf151W3-Q/s320/done.jpg" alt="" id="BLOGGER_PHOTO_ID_5154271604808639954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Note that I have not managed to get the mousewheel working in Virtual PC 2007. According to the comments on &lt;a href="http://blogs.usd.edu/jrbethke/entry/ubuntu_linux_in_virtual_pc"&gt;this article&lt;/a&gt;, it's not possible to enable the mousewheel. I found other advice on &lt;a href="http://ubuntuforums.org/showthread.php?t=302862"&gt;a thread related to Ubuntu 6.10&lt;/a&gt; on the Ubuntu forums, but I was not able to get the mousewheel working using any of the suggestions posted. I tried using xev to watch the events that occur when using the mouse; I see events related to button presses and moving the mouse, but no events related to moving the mousewheel. If anyone has any advice on how to use the mousewheel with Ubuntu 7.10 on Virtual PC 2007, please post it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6173482110174394767-5187288953836098123?l=codespin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codespin.blogspot.com/feeds/5187288953836098123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6173482110174394767&amp;postID=5187288953836098123' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/5187288953836098123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6173482110174394767/posts/default/5187288953836098123'/><link rel='alternate' type='text/html' href='http://codespin.blogspot.com/2008/01/installing-ubuntu-710-on-microsoft.html' title='Installing Ubuntu 7.10 on Microsoft Virtual PC 2007'/><author><name>codespin</name><uri>http://www.blogger.com/profile/12753629713895760784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_glKTV7lo7nU/R4bs4FCAY2I/AAAAAAAAAAM/k-8epSgb6qY/s72-c/new-virtual-machine-wizard-1.jpg' height='72' width='72'/><thr:total>7</thr:total></entry></feed>
