This looks like the user you are running matterhorn with does not have
the appropriate rights to write to the $FELIX_HOME directory.
I assume that all your files are in /opt/matterhorn and $FELIX is
/opt/matterhorn/felix and the user would be matterhorn. If you use
centos skip the "sudo".
edit /etc/init.d/matterhorn (use sudo if you are not root):
MATTERHORN_USER="matterhorn"
In the shell:
chown -R matterhorn:matterhorn /opt/matterhorn
rm -rf /opt/matterhorn/felix/felix-cache
sudo service matterhorn start
Alternative if this does not work you may have an issue with your
firewalls, I would guess.
Rüdiger
Am 24.11.2011 00:16, schrieb Frank Van Damme:
Hi list,
I'm trying to install Matterhorn (on Debian 6.0/Squeeze).
Afterinstallation I only get a 404 error on http://localhost:8080
(same with/, /admin, or /admin/ at the end of the url).
the "lb" command shows nearly all bundles as "active" though, and a
fewas "installed". Matterhorn-kernel, for example, is not "active".
Issuinga start command throws an exception:
matterhorn> felix:start
matterhorn-kernelorg.osgi.framework.BundleException: Unable to cache
bundle:matterhorn-kernel at
org.apache.felix.framework.Felix.installBundle(Felix.java:2703)
atorg.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
atorg.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:138)
at org.apache.felix.gogo.command.Basic.start(Basic.java:724)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
atorg.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
atorg.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
atorg.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
atorg.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
atorg.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.felix.gogo.shell.Console.run(Console.java:62)
at org.apache.felix.gogo.shell.Shell.console(Shell.java:203) at
org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
atorg.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
atorg.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
atorg.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
atorg.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
atorg.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
at java.lang.Thread.run(Thread.java:636)Caused by:
java.net.MalformedURLException: no protocol: matterhorn-kernel
at java.net.URL.<init>(URL.java:583)
atorg.apache.felix.framework.util.SecureAction.createURL(SecureAction.java:250)
atorg.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:148)
atorg.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:77)
atorg.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:878)
atorg.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:550)
atorg.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:153)
atorg.apache.felix.framework.cache.BundleCache.create(BundleCache.java:277)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2699)
... 32 morejava.net.MalformedURLException: no protocol:
matterhorn-kernel
these are the server's startup messages:
Listening for transport dt_socket at address: 8000ERROR: Bundle
com.springsource.org.openid4java [58] Error
startinghttp://repository.opencastproject.org/nexus/content/repositories/public/org/openid4java/com.springsource.org.openid4java/0.9.5/com.springsource.org.openid4java-0.9.5.jar(org.osgi.framework.BundleException:
Unresolved constraint in bundlecom.springsource.org.openid4java [58]:
Unable to resolve 58.0: missingrequirement [58.0]
osgi.wiring.package;(&(osgi.wiring.package=org.apache.html.dom)(version>=2.8.1)(!(version>=3.0.0)))[caused
by: Unable to resolve 56.0: missing requirement
[56.0]osgi.wiring.package;
(osgi.wiring.package=org.w3c.dom.html)])org.osgi.framework.BundleException:
Unresolved constraint in bundlecom.springsource.org.openid4java [58]:
Unable to resolve 58.0: missingrequirement [58.0]
osgi.wiring.package;(&(osgi.wiring.package=org.apache.html.dom)(version>=2.8.1)(!(version>=3.0.0)))[caused
by: Unable to resolve 56.0: missing requirement
[56.0]osgi.wiring.package; (osgi.wiring.package=org.w3c.dom.html)]
atorg.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
atorg.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
atorg.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:636)ERROR: Bundle
org.springframework.security.openid [59] Error
startinghttp://repository.opencastproject.org/nexus/content/repositories/public/org/springframework/security/org.springframework.security.openid/3.0.2.RELEASE/org.springframework.security.openid-3.0.2.RELEASE.jar(org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.springframework.security.openid
[59]: Unable to resolve 59.0:missing requirement [59.0]
osgi.wiring.package;(&(osgi.wiring.package=org.openid4java.association)(version>=0.9.5)(!(version>=1.0.0)))[caused
by: Unable to resolve 58.0: missing requirement
[58.0]osgi.wiring.package;(&(osgi.wiring.package=org.apache.html.dom)(version>=2.8.1)(!(version>=3.0.0)))[caused
by: Unable to resolve 56.0: missing requirement
[56.0]osgi.wiring.package;
(osgi.wiring.package=org.w3c.dom.html)]])org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.springframework.security.openid
[59]: Unable to resolve 59.0:missing requirement [59.0]
osgi.wiring.package;(&(osgi.wiring.package=org.openid4java.association)(version>=0.9.5)(!(version>=1.0.0)))[caused
by: Unable to resolve 58.0: missing requirement
[58.0]osgi.wiring.package;(&(osgi.wiring.package=org.apache.html.dom)(version>=2.8.1)(!(version>=3.0.0)))[caused
by: Unable to resolve 56.0: missing requirement
[56.0]osgi.wiring.package; (osgi.wiring.package=org.w3c.dom.html)]]
atorg.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
atorg.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
atorg.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:636)ERROR: Bundle
org.eclipse.persistence.jpa [27] Error
startinghttp://repository.opencastproject.org/nexus/content/repositories/public/org/eclipse/persistence/org.eclipse.persistence.jpa/2.0.2/org.eclipse.persistence.jpa-2.0.2.jar(org.osgi.framework.BundleException:
Uses constraint violation. Unableto resolve bundle revision
org.eclipse.persistence.jpa [27.0] because itis exposed to package
'javax.transaction.xa' from bundle
revisionsorg.apache.geronimo.specs.geronimo-jta_1.1_spec [63.0]
andorg.apache.felix.framework [0] via two dependency chains.
Chain 1: org.eclipse.persistence.jpa [27.0] import:
(&(osgi.wiring.package=javax.transaction.xa)(version>=1.1.0)) |
export: osgi.wiring.package=javax.transaction.xa
org.apache.geronimo.specs.geronimo-jta_1.1_spec [63.0]
Chain 2: org.eclipse.persistence.jpa [27.0]
import:(&(osgi.wiring.package=org.eclipse.persistence.tools.schemaframework)(version>=2.0.2.v20100323-r6872))
|
export:osgi.wiring.package=org.eclipse.persistence.tools.schemaframework;uses:=javax.persistence.spi
org.eclipse.persistence.core [26.0] import:
(&(osgi.wiring.package=javax.persistence.spi)(version>=1.0.0)) |
export: osgi.wiring.package=javax.persistence.spi; uses:=javax.sql
org.apache.geronimo.specs.geronimo-jpa_2.0_spec [62.0] import:
(osgi.wiring.package=javax.sql) | export:
osgi.wiring.package=javax.sql; uses:=javax.transaction.xa export:
osgi.wiring.package=javax.transaction.xa org.apache.felix.framework
[0])org.osgi.framework.BundleException: Uses constraint violation.
Unable toresolve bundle revision org.eclipse.persistence.jpa [27.0]
because it isexposed to package 'javax.transaction.xa' from bundle
revisionsorg.apache.geronimo.specs.geronimo-jta_1.1_spec [63.0]
andorg.apache.felix.framework [0] via two dependency chains.
Chain 1: org.eclipse.persistence.jpa [27.0] import:
(&(osgi.wiring.package=javax.transaction.xa)(version>=1.1.0)) |
export: osgi.wiring.package=javax.transaction.xa
org.apache.geronimo.specs.geronimo-jta_1.1_spec [63.0]
Chain 2: org.eclipse.persistence.jpa [27.0]
import:(&(osgi.wiring.package=org.eclipse.persistence.tools.schemaframework)(version>=2.0.2.v20100323-r6872))
|
export:osgi.wiring.package=org.eclipse.persistence.tools.schemaframework;uses:=javax.persistence.spi
org.eclipse.persistence.core [26.0] import:
(&(osgi.wiring.package=javax.persistence.spi)(version>=1.0.0)) |
export: osgi.wiring.package=javax.persistence.spi; uses:=javax.sql
org.apache.geronimo.specs.geronimo-jpa_2.0_spec [62.0] import:
(osgi.wiring.package=javax.sql) | export:
osgi.wiring.package=javax.sql; uses:=javax.transaction.xa export:
osgi.wiring.package=javax.transaction.xa org.apache.felix.framework
[0]
atorg.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3824)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
atorg.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
atorg.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:636)ERROR: Bundle
com.springsource.org.cyberneko.html [34] Error
startinghttp://repository.opencastproject.org/nexus/content/repositories/public/net/sourceforge/nekohtml/com.springsource.org.cyberneko.html/1.9.13/com.springsource.org.cyberneko.html-1.9.13.jar(org.osgi.framework.BundleException:
Unresolved constraint in bundlecom.springsource.org.cyberneko.html
[34]: Unable to resolve 34.0:missing requirement [34.0]
osgi.wiring.package;(&(osgi.wiring.package=org.apache.xerces.impl)(version>=2.0.2)(version<=3.0.0))[caused
by: Unable to resolve 56.0: missing requirement
[56.0]osgi.wiring.package;
(osgi.wiring.package=org.w3c.dom.html)])org.osgi.framework.BundleException:
Unresolved constraint in bundlecom.springsource.org.cyberneko.html
[34]: Unable to resolve 34.0:missing requirement [34.0]
osgi.wiring.package;(&(osgi.wiring.package=org.apache.xerces.impl)(version>=2.0.2)(version<=3.0.0))[caused
by: Unable to resolve 56.0: missing requirement
[56.0]osgi.wiring.package; (osgi.wiring.package=org.w3c.dom.html)]
atorg.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
atorg.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
atorg.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:636)ERROR: Bundle
org.apache.servicemix.bundles.xmlsec [54] Error
startinghttp://repository.opencastproject.org/nexus/content/repositories/public/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xmlsec/1.3.0_1/org.apache.servicemix.bundles.xmlsec-1.3.0_1.jar(org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.apache.servicemix.bundles.xmlsec
[54]: Unable to resolve 54.0:missing requirement [54.0]
osgi.wiring.package;(osgi.wiring.package=org.w3c.dom.traversal))org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.apache.servicemix.bundles.xmlsec
[54]: Unable to resolve 54.0:missing requirement [54.0]
osgi.wiring.package;(osgi.wiring.package=org.w3c.dom.traversal)
atorg.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
atorg.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
atorg.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:636)ERROR: Bundle
org.apache.servicemix.bundles.wss4j [55] Error
startinghttp://repository.opencastproject.org/nexus/content/repositories/public/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wss4j/1.5.4_1/org.apache.servicemix.bundles.wss4j-1.5.4_1.jar(org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.apache.servicemix.bundles.wss4j
[55]: Unable to resolve 55.0:missing requirement [55.0]
osgi.wiring.package;(osgi.wiring.package=org.apache.xml.security)
[caused by: Unable toresolve 54.0: missing requirement [54.0]
osgi.wiring.package;(osgi.wiring.package=org.w3c.dom.traversal)])org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.apache.servicemix.bundles.wss4j
[55]: Unable to resolve 55.0:missing requirement [55.0]
osgi.wiring.package;(osgi.wiring.package=org.apache.xml.security)
[caused by: Unable toresolve 54.0: missing requirement [54.0]
osgi.wiring.package;(osgi.wiring.package=org.w3c.dom.traversal)]
atorg.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
atorg.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
atorg.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:636)ERROR: Bundle
org.apache.servicemix.bundles.xerces [56] Error
startinghttp://repository.opencastproject.org/nexus/content/repositories/public/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xerces/2.9.1_3/org.apache.servicemix.bundles.xerces-2.9.1_3.jar(org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.apache.servicemix.bundles.xerces
[56]: Unable to resolve 56.0:missing requirement [56.0]
osgi.wiring.package;(osgi.wiring.package=org.w3c.dom.html))org.osgi.framework.BundleException:
Unresolved constraint in bundleorg.apache.servicemix.bundles.xerces
[56]: Unable to resolve 56.0:missing requirement [56.0]
osgi.wiring.package;(osgi.wiring.package=org.w3c.dom.html)
atorg.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
atorg.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
atorg.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:636)Welcome to Matterhorn
1.2=========================
Type 'help' to see a list of commands. Type 'help [command]' for
moredetails on how to use a command. Type "stop 0" to
exit.matterhorn> 14:22:25 WARN (ConfigurationManager:126) - Malformed
URLfor capture.config.remote.endpoint.url, disabling polling.14:22:25
INFO (ConfigurationManager:131) - No remote configurationendpoint was
found, relying on local config.14:22:26 INFO
(EncodingProfileScanner:241) - Registering encodingprofiles from
/opt/matterhorn/felix/conf/encoding/epiphan-split.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profileepiphan.presenter14:22:27 INFO (EncodingProfileScanner:245) -
Installed profileepiphan.presentation14:22:27 INFO
(EncodingProfileScanner:241) - Registering encodingprofiles from
/opt/matterhorn/felix/conf/encoding/engage-images.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profilesearch-cover.http14:22:27 INFO (EncodingProfileScanner:245) -
Installed profileplayer-preview.http14:22:27 INFO
(EncodingProfileScanner:245) - Installed
profileplayer-slides.http14:22:27 INFO (EncodingProfileScanner:241) -
Registering encodingprofiles from
/opt/matterhorn/felix/conf/encoding/other-movies.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profiledvd-ntsc.http14:22:27 INFO (EncodingProfileScanner:245) -
Installed profile dvd-pal.http14:22:27 INFO
(EncodingProfileScanner:241) - Registering encodingprofiles
from/opt/matterhorn/felix/conf/encoding/matterhorn-movies.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profileaudio-only.work14:22:27 INFO (EncodingProfileScanner:245) -
Installed profilevideo-only.work14:22:27 INFO
(EncodingProfileScanner:245) - Installed profile trim.work14:22:27
INFO (EncodingProfileScanner:245) - Installed
profilevideo-segmentation.http14:22:27 INFO
(EncodingProfileScanner:245) - Installed profile mux-av.work14:22:27
INFO (EncodingProfileScanner:245) - Installed profile av.work14:22:27
INFO (EncodingProfileScanner:241) - Registering encodingprofiles
from/opt/matterhorn/felix/conf/encoding/matterhorn-images.properties14:22:27
INFO (StaticResourceServlet:79) - serving static files
from'/tmp/opencast/downloads'14:22:27 INFO
(EncodingProfileScanner:245) - Installed
profileimage-conversion.http14:22:27 INFO
(EncodingProfileScanner:245) - Installed
profiletext-analysis.http14:22:27 INFO (EncodingProfileScanner:241) -
Registering encodingprofiles
from/opt/matterhorn/felix/conf/encoding/engage-movies-multi-quality.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profileflash-high.http14:22:27 INFO (EncodingProfileScanner:245) -
Installed profileflash-vga-medium.http14:22:27 INFO
(EncodingProfileScanner:245) - Installed
profileflash-vga-low.http14:22:27 INFO (EncodingProfileScanner:245) -
Installed profileflash-vga-hd.http14:22:27 INFO
(EncodingProfileScanner:245) - Installed profileflash-hd.http14:22:27
INFO (EncodingProfileScanner:245) - Installed
profileflash-medium.http14:22:27 INFO (EncodingProfileScanner:245) -
Installed profileflash-low.http14:22:27 INFO
(EncodingProfileScanner:245) - Installed
profileflash-vga-high.http14:22:27 INFO (EncodingProfileScanner:241)
- Registering encodingprofiles from
/opt/matterhorn/felix/conf/encoding/engage-movies.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profileflash-preview.http14:22:27 INFO (EncodingProfileScanner:245) -
Installed profileflash-audio.http14:22:27 INFO
(EncodingProfileScanner:245) - Installed profileflash-vga.http14:22:27
INFO (EncodingProfileScanner:245) - Installed profile
flash.http14:22:27 INFO (EncodingProfileScanner:241) - Registering
encodingprofiles from
/opt/matterhorn/felix/conf/encoding/feed-images.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profilefeed-cover.http14:22:27 INFO (EncodingProfileScanner:241) -
Registering encodingprofiles from
/opt/matterhorn/felix/conf/encoding/feed-movies.properties14:22:27
INFO (EncodingProfileScanner:245) - Installed
profilefeed-m4a.http14:22:27 INFO (EncodingProfileScanner:245) -
Installed profilefeed-avi.http
--
________________________________________________
Rüdiger Rolf, M.A.
Universität Osnabrück - Zentrum virtUOS
Heger-Tor-Wall 12, 49069 Osnabrück
Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
E-Mail: [email protected]
Internet: www.virtuos.uni-osnabrueck.de
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users