I'm running out of ideas as well  :)

I have the correct mediainfo version
no firewalls
servers are listed in mysql
no startup errors
services are listed on the welcome page

I use a shared medium, NFS.

On monday I'll try to reinstall everything again, including the admin, and post any progress or failures here.

Thanks for the help, much appreciated.

Kristof

On 01/28/2011 03:33 PM, Ruediger Rolf wrote:
I mus confess that I run out of ideas. Just to summarize:
- you have the correct mediainfo version installed
- you have no firewalls blocking the servers
- the servers are listed in the SERVICE_REGISTRATION table in your mysql server.
- all servers don't have any startup errors
- on the welcome page of these servers (espacially the worker server) you see all needed services for the servertype

Do you use a shared medium (NFS, Samba, ...)? Or do you expect Matterhorn to copy the files between the servers?

Rüdiger

Am 28.01.2011 13:36, schrieb Kristof Keppens:
checked that, ports are open, so that can't be the issue.
We also have another opencast server running, an all-in-one installation and that works as it should. But the distributed install
keeps giving problems.


On 01/28/2011 10:17 AM, Ruediger Rolf wrote:
Have you checked that there are no firewalls blocking the ports that you need for matterhorn (usually 8080 for mysql 3306 and for red5, if you use it 1935 and 5080).

on ubuntu you can check this with sudo ufw status
On RHEL/Centos use service iptables status

Rüdiger

Kristof Keppens wrote:
When trying to use the /ingest rest function on the worker server with the url I find in the admin logs : 2011-01-28 09:31:01 ERROR (WorkflowOperationWorker:70) - Workflow operation ''inspect' Operation Handler' failed with error: java.lang.RuntimeException: Unable to enrich http://ictoocw1.ugent.be:8080/files/mediapackage/unscheduled-ugent-rec-1296203448454/track-3/audio_out.mp3 (presentation/source, application/octet-stream) using a remote inspection service
I get the following errors :
2011-01-28 09:45:50 INFO (WorkspaceImpl:208) - Downloading /srv/opencast/files/mediapackage/Unscheduled-ugent-rec-1296203448454/track-3/audio_out.mp3 to /srv/opencast/workspace/srv/opencast/files/mediapackage/Unscheduled-ugent-rec-1296203448454/track-3/audio_out.mp3 2011-01-28 09:45:50 WARN (WorkspaceImpl:222) - Could not copy /srv/opencast/files/mediapackage/Unscheduled-ugent-rec-1296203448454/track-3/audio_out.mp3 to /srv/opencast/workspace/srv/opencast/files/mediapackage/Unscheduled-ugent-rec-1296203448454/track-3/audio_out.mp3 2011-01-28 09:45:50 WARN (MediaInspectionServiceImpl$1:146) - File null was not found and can therefore not be inspected

This is probably the cause of the error in the admin, however I don't see why this error is there. The original file is found on the worker server and
this directory is writable to the opencast user.

Is this a misconfiguration on my part or some other issue?

Thanks for all the help so far.
Kristof



On 01/28/2011 09:39 AM, Kristof Keppens wrote:
I rebuild the server with -Pworker,workspace-stub . Admin, worker and streaming server use the same storage.

When I tried to build the worker now I did get a test failed with ocropus compaining about the us-en language package not found. I reinstalled 3d party tools but still get this test failed.

Mediainfo is v0.7.19, as installed with the 3d party script.

Kristof


On 01/28/2011 09:34 AM, Ruediger Rolf wrote:
Then I would say that you have a different version of mediainfo installed than we support. The output of mediainfo --version should be:
MediaInfo Command line,
MediaInfoLib - v0.7.19

From version to version the output format of mediainfo changes so that we only support 0.7.19 in matterhorn 1.0.x. This version is provided if you installed $MATTERHORN_TRUNK/docs/scripts/3rd_party_tools

Matterhorn 1.1.x uses a later version of mediainfo.

Rüdiger

Kristof Keppens wrote:
The Ingest service is on the admin server now and mediainfo and ffmpeg are working correctly. The problem stays the same, I do have an info message on the worker server complaining about xpath:


2011-01-27 16:07:39 INFO (MediaInspectionRestEndpoint:99) - XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:98) at org.opencastproject.mediapackage.elementbuilder.AbstractElementBuilderPlugin.<init>(AbstractElementBuilderPlugin.java:46) at org.opencastproject.mediapackage.elementbuilder.AbstractAttachmentBuilderPlugin.<init>(AbstractAttachmentBuilderPlugin.java:70) at org.opencastproject.mediapackage.elementbuilder.AbstractAttachmentBuilderPlugin.<init>(AbstractAttachmentBuilderPlugin.java:61) at org.opencastproject.mediapackage.elementbuilder.AttachmentBuilderPlugin.<init>(AttachmentBuilderPlugin.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
at org.opencastproject.mediapackage.MediaPackageElementBuilderImpl.createPlugin(MediaPackageElementBuilderImpl.java:185) at org.opencastproject.mediapackage.MediaPackageElementBuilderImpl.elementFromManifest(MediaPackageElementBuilderImpl.java:111) at org.opencastproject.inspection.impl.endpoints.MediaInspectionRestEndpoint.enrichTrack(MediaInspectionRestEndpoint.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:133) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:110) at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:423) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:139) at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111) at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

Could this be related to the problems I'm having?

Kristof


On 01/27/2011 04:35 PM, Ruediger Rolf wrote:
The ingest package/service should be on the admin server in 1.0.1.

Is mediainfo and ffmpeg working on the worker server? try it with "ffmpeg -version" and "mediainfo --version".

Rüdiger

Am 27.01.2011 14:27, schrieb Kristof Keppens:
I'm using 1.0.1, worker server is correctly listed in SERVICE_REGISTRATION. When starting the worker server I see no errors or warnings. Did I install the worker server correctly
or should I omit the ingest package ?

On 01/27/2011 02:08 PM, Ruediger Rolf wrote:
Hi Kristof!

Are you using matterhorn 1.0 or the new 1.1.x branch that is currently in QA? If you use 1.1.x you should be aware that this is not released yet we are now looking for bugs and try to fix them.

Do you have errors on your worker server during startup? You should look for database errors. Another check would be to login to mysql and look if the worker server is listed when you do "select * from SERVICE_REGISTRATION;". If not the worker is not connected with the admin.

In some cases with the 1.0 installation I had this problem with some damaged media. But this would only be the case if some media can be processed and other media not.

Rüdiger


Am 27.01.2011 12:28, schrieb Kristof Keppens:
Hi,

At the university of Ghent we're setting up a pilot project of opencast. At the moment I'm trying to configure a distributed server installation. We have an admin/engage server, a worker server and a streaming server.

I installed the admin/engage with -Padmin,workspace,engage,dist,worker-stub , the worker was installed with
-Pworker,ingest,workspace .

The database server used is a mysql server. The servers are running debian.

I can start both servers and they appear to be working ok until I capture something with the capture agent. When it arrives
at the admin server I get the following error :

2011-01-27 12:17:40 INFO (IngestServiceImpl:114) - Ingesting zipped media package to /srv/opencast/ingest-temp/8cb64327-5aa2-4e4d-82e5-f9f6a8813fc8/f997da9a-932d-4cb1-bac9-7401775e8075.zip 2011-01-27 12:17:40 INFO (WorkflowServiceImpl:372) - Starting a new workflow instance with ID=914ca7dc-dcf5-48a7-bcb0-d4f951349b11 2011-01-27 12:17:41 INFO (InspectWorkflowOperationHandler:124) - Inspecting track 'track-3' of Unscheduled-ugent-rec-1296127050614 2011-01-27 12:17:41 INFO (MediaInspectionServiceRemoteImpl:100) - Enriching http://ictooca1.ugent.be:8080/files/mediapackage/unscheduled-ugent-rec-1296127050614/track-3/audio_out.mp3 (presentation/source, application/octet-stream) using a remote media inspection service 2011-01-27 12:17:41 WARN (RemoteBase:128) - {POST http://ictoocw1.ugent.be:8080/inspection/rest/enrich=HTTP/1.1 500 Internal Server Error} 2011-01-27 12:17:41 ERROR (WorkflowOperationWorker:70) - Workflow operation ''inspect' Operation Handler' failed with error: java.lang.RuntimeException: Unable to enrich http://ictooca1.ugent.be:8080/files/mediapackage/unscheduled-ugent-rec-1296127050614/track-3/audio_out.mp3 (presentation/source, application/octet-stream) using a remote inspection service 2011-01-27 12:17:42 INFO (ZipWorkflowOperationHandler$1:183) - Archiving mediapackage Unscheduled-ugent-rec-1296127050614 in workflow java.lang.String@3ed0e918[914ca7dc-dcf5-48a7-bcb0-d4f951349b11,full] 2011-01-27 12:17:42 INFO (ZipWorkflowOperationHandler$1:201) - Adding zipped mediapackage Unscheduled-ugent-rec-1296127050614 to the failed.zips archive 2011-01-27 12:17:42 INFO (ZipWorkflowOperationHandler$1:215) - Zipped mediapackage Unscheduled-ugent-rec-1296127050614 moved to the failed.zips archive

Any idea what could be wrong?

Thanks

Kristof Keppens
University of Ghent
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users










_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users




_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users




_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to