Nope, you shouldn't have to run as a super user.  But make sure that
the felix directory is writable by the user that you are running
Matterhorn as.

Chris

On Tue, 05 Jul 2011 08:46:46 -0700 (PDT) Madhurima Bandyopadhyay
<[email protected]> wrote:

> Hi Chris,
> 
> Thanks for your help. 
> 
> Building of Matterhorn is done successfully.
> 
> But as I trying to run Matterhorn an error message is coming, 
> 
> 
> Listening for transport dt_socket at address: 8000
> 
> ERROR: Unable to create cache
> directory: /opt/matterhorn/felix/felix-cache ERROR: Error creating
> bundle cache. (java.lang.RuntimeException: Unable to create cache
> directory.) java.lang.RuntimeException: Unable to create cache
> directory. at
> org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107)
> at org.apache.felix.framework.Felix.init(Felix.java:599) at
> org.apache.felix.main.Main.main(Main.java:288) Could not create
> framework: org.osgi.framework.BundleException: Error creating bundle
> cache. org.osgi.framework.BundleException: Error creating bundle
> cache. at org.apache.felix.framework.Felix.init(Felix.java:604) at
> org.apache.felix.main.Main.main(Main.java:288) Caused by:
> java.lang.RuntimeException: Unable to create cache directory. at
> org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:107)
> at org.apache.felix.framework.Felix.init(Felix.java:599) ... 1 more
> 
> 
> Do you think I have to login as super user to run it ?
> 
> Thanks,
> Madhurima
> 
> 
> 
> ________________________________
> From: "[email protected]" <[email protected]>
> To: Madhurima Bandyopadhyay <[email protected]>; Matterhorn
> Users <[email protected]> Sent: Monday, July 4,
> 2011 11:06 PM Subject: Re: [Matterhorn-users] Problem in Matterhorn
> 1.1 installation
> 
> Hi Madhurima,
> 
> This is a bug that is resolved in trunk and in the 1.2 branch, and I
> hope will be ported over to 1.1.1.  It's cropped up because of
> version changes in a library we depend upon.  You should be able to
> work around this by:
> 
> Changing
> 
> <dependency>
> <groupId>net.fortuna.ical4j</groupId>
> <artifactId>ical4j</artifactId>
> <version>1.0-rc1</version>
> </dependency>
> 
> to
> 
> <dependency>
> <groupId>net.fortuna.ical4j</groupId>
> <artifactId>ical4j</artifactId>
> </dependency>
> 
> in modules/matterhorn-capture-agent-impl/pom.xml
> 
> And adding:
> 
> <dependency>
> <groupId>net.fortuna.ical4j</groupId>
> <artifactId>ical4j</artifactId>
> <version>1.0-rc2-patched</version>
> </dependency>
> 
> to the dependency management section of the top level pom.xml.
> 
> Regards,
> 
> Chris
> 
> 
> Quoting Madhurima Bandyopadhyay <[email protected]>:
> 
> > Hi all,
> >
> > I was trying to install Matterhorn 1.1 in a ubuntu machine, and
> > followed the steps from
> >
> http://opencast.jira.com/wiki/display/MHDOC/Install+Source+Linux+All+in+One++V1.1.
> > While I tried to build Matterhorn I got some error message given
> > below,
> >
> > [INFO] [resources:copy-resources {execution: copy-jquery}]
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] Copying 19 resources
> > [INFO] [resources:resources {execution: default-resources}]
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] Copying 11 resources
> > [INFO] [compiler:compile {execution: default-compile}]
> > [INFO] Compiling 85 source files to
> > /opt/matterhorn/1.1.0/modules/matterhorn-capture-agent-impl/target/classes
> > [INFO] -------------------------------------------------------------
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR] error: error reading
> > /home/rit/.m2/repository/net/fortuna/ical4j/ical4j/1.0-rc1/ical4j-1.0-rc1.jar;
> > error in opening zip file
> > [INFO] 1 error
> > [INFO] -------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> > error: error reading
> > /home/rit/.m2/repository/net/fortuna/ical4j/ical4j/1.0-rc1/ical4j-1.0-rc1.jar;
> > error in opening zip file
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 27 minutes 40 seconds
> > [INFO] Finished at: Fri Jul 01 16:39:30 EDT 2011
> > [INFO] Final Memory: 211M/504M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > Then I tried to build them individually. When I executed the
> > command for capture agent again I got the same error message.
> > (command used --"mvn clean install -P capture
> > -DdeployTo=/opt/matterhorn/felix/matterhorn")
> >
> > Please suggest me how I can overcome this problem.
> >
> > Also please let me know, how to uninstall Matterhorn, so that it
> > can be reinstalled again.
> >
> > Thanks,
> > Madhurima B.
> >



-- 
Christopher Brooks, BSc, MSc
ARIES Laboratory, University of Saskatchewan

Web: http://www.cs.usask.ca/~cab938
Phone: 1.306.966.1442
Mail: Advanced Research in Intelligent Educational Systems Laboratory
     Department of Computer Science
     University of Saskatchewan
     176 Thorvaldson Building
     110 Science Place
     Saskatoon, SK
     S7N 5C9
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to