Hey Brian,

Sorry for replying late, took off for few days. But I am still stuck on same 
error and here is what the log file says.


This is information I got from /opt/matterhorn/logs/ 
from the admin server. (I am not sure if I looked into the correct log file.)

I also realized that whenever I schedule a recording, an error message comes up 
saying "Failed: Failed to start capture" just a minute before scheduled time. 
However it starts all the process of recording and encoding after a minute.

For instance,
If I schedule a recording on 10:00 then i get the error message on 9:59 however 
the process starts as soon as clock hits 10:00. This has really confused me.

2011-01-19 09:04:26  WARN (AdminuiRestService:533) - Could not get state from 
recording: 24a425f5-d956-45af-8a74-fec875d9c126
2011-01-19 09:04:26  WARN (AdminuiRestService:533) - Could not get state from 
recording: 9476ef4d-75f6-4b9c-bf2a-3c29fd35355e
2011-01-19 09:04:26  WARN (AdminuiRestService:533) - Could not get state from 
recording: 22345de1-12e0-4b3c-ada5-da2c3dcfc9db
2011-01-19 09:04:26  WARN (AdminuiRestService:533) - Could not get state from 
recording: 14692f6f-e4f6-4213-8eb7-02d1afe98103
2011-01-19 09:04:26  WARN (AdminuiRestService:533) - Could not get state from 
recording: 7aa55bbd-0b01-40d5-b293-0add5b4d0540
2011-01-19 09:04:26  WARN (AdminuiRestService:533) - Could not get state from 
recording: 8bcb6a0f-7f80-4d64-9f28-e142747f674f


Thanks,
Sandeep Tamrakar

From: [email protected]
Date: Thu, 13 Jan 2011 16:10:59 -0700
Subject: Re: [Matterhorn-users] Distribution Error
To: [email protected]

Sandeep,
Thanks.  Are you able to ssh to the admin server?  If so, you will find all the 
log files located in /opt/matterhorn/felix/logs.  You mentioned that you are 
new to linux, so here are a list of commands that might help.


Change directories:cd /opt/matterhorn/felix/logs
List contents:ls -al
Open a file in a read-only viewer:less %file_name%


You can use the arrow keys to move up or down in the document, or "G" to go to 
the end.  I like the "G" command because often times the stuff I am searching 
for is at the bottom of the page.  However, I recommend that instead of hunting 
for something manually, use the search feature.


Less - search feature:/ %search_string%
In your case, search for "configured server url", i.e. "/ configured server url"


Look to see if you the syntax looks correct.  For instance, the output from my 
admin server says:
2010-12-30 16:10:32  INFO (SecurityConfigurationScanner$ScannerTask:104) - 
Updating the security configuration

2010-12-30 16:10:32  INFO (WorkflowRestService:100) - configured server url is 
http://feather1.boisestate.edu:80802010-12-30 16:10:32  INFO 
(SecurityConfigurationScanner$ScannerTask:113) - registered 
OsgiBundleXmlApplicationContext(bundle=matterhorn-security-impl, 
config=file:/opt/matterhorn/felix/conf/security.xml): startup date [Wed Dec 31 
17:00:00 MST 1969]; root of context hierarchy

2010-12-30 16:10:32  INFO (StaticResource:111) - registering classpath:/sample 
at /workflow/samples with welcome file index.txt , test suite: null from 
classpath null2010-12-30 16:10:32  INFO (SeriesServiceImpl:66) - Series Service 
instantiated

2010-12-30 16:10:32  INFO (SeriesServiceImpl:213) - SeriesService 
activated.2010-12-30 16:10:33  INFO (SeriesRestService:95) - configured server 
url is http://feather1.boisestate.edu:8080

2010-12-30 16:10:33  INFO (CaptureAgentStateServiceImpl:83) - 
CaptureAgentStateServiceImpl starting.

Let me know what you come up with.
Brian


Brian Bolt
Office of Information Technology
Boise State University
208.426.6835
[email protected]




On Thu, Jan 13, 2011 at 3:56 PM, Sandeep Tamrakar <[email protected]> 
wrote:







Hey Brian,
Here are the services that are running in the admin machine.


Workflow REST Endpoint DocsCapture Agent Admin REST Endpoint Docs

Admin UI REST Proxy DocsVersioning Service Docs

Ingest REST Endpoint DocsSeries REST Endpoint Docs

Remote Service REST Endpoint DocsScheduler REST Endpoint Docs

Working File Repository REST Endpoint Docs



thanks,
Sandeep

From: [email protected]
Date: Thu, 13 Jan 2011 15:45:59 -0700


To: [email protected]
Subject: Re: [Matterhorn-users] Distribution Error



Sandeep,
Are you able to post the startup portion of the Matterhorn Admin Service?

Brian

Brian Bolt
Office of Information Technology
Boise State University
208.426.6835


[email protected]




On Thu, Jan 13, 2011 at 9:24 AM, Sandeep Tamrakar <[email protected]> 
wrote:









Thanks Brian,I'm not sure that this is what we are experiencing. Please forgive 
me if some of these questions sound a bit ignorant. We were able to reinstall 
1.0.0 and can capture, encode and get all the way to distributing media before 
it fails with the following error message. 



org.opencastproject.distribution.api.DistributionException: Unable to 
distribute mediapackage d01a2a43-c065-454e-b7bd-e26234532c2e using a remote 
distribution service proxy.







Before leaving, our project lead, Luke said that he set the iptables to 
redirect port 80 traffic to port 8080 and we changed our config file to reflect 
the engage domain name rather than the server IP address. 







This is the start up script used for the redirecting in the firewall.







iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080



iptables -t nat -I PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443







Any additional thoughts as to what may be occurring. Sorry if this is not very 
clear. I am new to Linux and trying to learn as quickly as possible.




Thanks,



Sandeep Tamrakar





From: [email protected]
Date: Wed, 12 Jan 2011 14:16:03 -0700
To: [email protected]




Subject: Re: [Matterhorn-users] Distribution Error

Sandeep,
I had the same problem when I incorporated the new init scripts with the new 
1.0.1 version.  When I went back to the startup logs on my server, I noticed 
that the url listed did not contain the server name.  I was using the Dserver- 
option in the Felix startup script because my distributed installs all use the 
same config.properties and security.xml files located on an NFS mount.  






In prior versions of the init script, the Dserver option was set in the 
start_matterhorn.sh script.  Now, it's in the init script.  As a result, I 
needed to set the Dserver- option in the new init script rather than the 
start_matterhorn.sh script.






Brian
Brian Bolt
Office of Information Technology
Boise State University
208.426.6835
[email protected]










On Wed, Jan 12, 2011 at 1:19 PM, Sandeep Tamrakar <[email protected]> 
wrote:











Hello,
We reinstalled the fresh copy of matterhorn and are having problem distributing 
the recorded media. There might be a small error in the configuration file but 
I have'nt been able to figure out where and what is causing the problem. We are 
running matterhorn  in three virtual machines. We had a backup  from the 
previously working matterhorn files and I even tried the configuration file 
from backup. But still it did not worked.






here is the error message we are getting,,
"





Distributing media to the local distribution channel
org.opencastproject.distribution.api.DistributionException: Unable to 
distribute mediapackage d330b1b1-72ea-4fae-8219-3cea0a63127b using a remote 
distribution service proxy.






"Thanks,Sandeep Tamrakar





                                          

_______________________________________________

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



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

Reply via email to