Author Topic: DCERouter not starting after reboot  (Read 7539 times)

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
DCERouter not starting after reboot
« on: December 07, 2008, 07:08:58 pm »
Hello,

  I receive my USB IR Transceiver yesterday, I was going through setting up the AV devices attached to the MD and set up a test media scenario. This morning I rebooted my core and found that I the DCERouter will not start. I've since backed out all configuration changes I've made yesterday and have attempted the solutions recommended by previous posts.

Here's a sample of the dcerouter.log:
========== NEW LOG SECTION ==========
1       12/07/08 12:03:38       DCERouter (server)      Starting... 1
Sun Dec  7 12:03:38 CST 2008 Starting
05      12/07/08 12:03:38.621           Socket::ReceiveData 0x8112e80 failed, bytes left 0 start: 40000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 8 Incoming_Conn Socket 8 127.0.0.1 <0xb3c6cb90>
05      12/07/08 12:03:38.622           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 8 127.0.0.1 <0xb3c6cb90>
05      12/07/08 12:03:38.622           TCPIP: Closing connection to -1 (Router Dev #0) 0x8112e80 m_Socket: -1 <0xb3c6cb90>
05      12/07/08 12:03:38.622           Router::RemoveAndDeleteSocket 0x8112e80 -1 <0xb3c6cb90>
05      12/07/08 12:03:39.039           Loaded plug-in device: 3 master device: 10 -- ./File_Grids_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.071           Loaded plug-in device: 4 master device: 27 -- ./General_Info_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.078           Loaded plug-in device: 5 master device: 31 -- ./Climate_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.090           Loaded plug-in device: 6 master device: 9 -- ./Datagrid_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.105           Loaded plug-in device: 7 master device: 39 -- ./Infrared_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.126           Loaded plug-in device: 8 master device: 32 -- ./Lighting_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.185           Loaded plug-in device: 9 master device: 12 -- ./Orbiter_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.235           Loaded plug-in device: 10 master device: 2 -- ./Media_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.306           Loaded plug-in device: 11 master device: 34 -- ./Telecom_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.319           Loaded plug-in device: 12 master device: 52 -- ./Event_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.331           Loaded plug-in device: 13 master device: 33 -- ./Security_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.344           Loaded plug-in device: 14 master device: 1809 -- ./Plug_And_Play_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.355           Loaded plug-in device: 27 master device: 6 -- ./Xine_Plugin.so <0xb6c736c0>
05      12/07/08 12:03:39.370           Loaded plug-in device: 31 master device: 36 -- ./MythTV_PlugIn.so <0xb6c736c0>
05      12/07/08 12:03:39.456           Plugin 3 activated <0xb6c736c0>
05      12/07/08 12:03:39.540           Plugin 4 activated <0xb6c736c0>
05      12/07/08 12:03:39.620           Plugin 5 activated <0xb6c736c0>
05      12/07/08 12:03:39.700           Plugin 6 activated <0xb6c736c0>
05      12/07/08 12:03:39.780           Plugin 7 activated <0xb6c736c0>
05      12/07/08 12:03:39.860           Plugin 8 activated <0xb6c736c0>
05      12/07/08 12:03:39.982           Plugin 9 activated <0xb6c736c0>
05      12/07/08 12:03:40.108           Plugin 10 activated <0xb6c736c0>
05      12/07/08 12:03:40.193           Phone device 35 with extension 200 <0xb6c736c0>
01      12/07/08 12:03:40.195           Telecom_Plugin::GetConfig - no pbx device <0xb6c736c0>
05      12/07/08 12:03:40.210           Plugin 11 activated <0xb6c736c0>
05      12/07/08 12:03:40.299           Plugin 12 activated <0xb6c736c0>
05      12/07/08 12:03:40.381           Plugin 13 activated <0xb6c736c0>
05      12/07/08 12:03:40.464           Plugin 14 activated <0xb6c736c0>
05      12/07/08 12:03:40.544           Plugin 27 activated <0xb6c736c0>
05      12/07/08 12:03:40.628           Plugin 31 activated <0xb6c736c0>
05      12/07/08 12:03:40.630           Remote Control 41 has no orbiter <0xb6c736c0>
05      12/07/08 12:03:40.632           Remote Control 44 has no orbiter <0xb6c736c0>
Return code: 139
3       12/07/08 12:03:40       DCERouter (server)      Device died... count=1/200 dev=DCERouter
Sun Dec  7 12:03:40 CST 2008 died

Here is a successful start from yesterday (section):
========== NEW LOG SECTION ==========
1       12/06/08 08:54:30       DCERouter (server)      ^[[1;00mStarting... 1^[[1;00m
Sat Dec  6 08:54:30 CST 2008 Starting
05      12/06/08 8:54:30.860            ^[[33;1mSocket::ReceiveData 0x8112c28 failed, bytes left 0 start: 50000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 7 Incoming_Conn Socket 7 127.0.0.1^[[0m <0xb3bd7b90>
05      12/06/08 8:54:30.860            ^[[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 7 127.0.0.1^[[0m <0xb3bd7b90>
05      12/06/08 8:54:30.860            ^[[33;1mTCPIP: Closing connection to -1 (Router Dev #0) 0x8112c28 m_Socket: -1^[[0m <0xb3bd7b90>
05      12/06/08 8:54:30.860            ^[[33;1mRouter::RemoveAndDeleteSocket 0x8112c28 -1^[[0m <0xb3bd7b90>
05      12/06/08 8:54:31.341            ^[[33;1mLoaded plug-in device: 3 master device: 10 -- ./File_Grids_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.382            ^[[33;1mLoaded plug-in device: 4 master device: 27 -- ./General_Info_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.389            ^[[33;1mLoaded plug-in device: 5 master device: 31 -- ./Climate_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.400            ^[[33;1mLoaded plug-in device: 6 master device: 9 -- ./Datagrid_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.416            ^[[33;1mLoaded plug-in device: 7 master device: 39 -- ./Infrared_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.437            ^[[33;1mLoaded plug-in device: 8 master device: 32 -- ./Lighting_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.495            ^[[33;1mLoaded plug-in device: 9 master device: 12 -- ./Orbiter_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.545            ^[[33;1mLoaded plug-in device: 10 master device: 2 -- ./Media_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.617            ^[[33;1mLoaded plug-in device: 11 master device: 34 -- ./Telecom_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.630            ^[[33;1mLoaded plug-in device: 12 master device: 52 -- ./Event_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.641            ^[[33;1mLoaded plug-in device: 13 master device: 33 -- ./Security_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.655            ^[[33;1mLoaded plug-in device: 14 master device: 1809 -- ./Plug_And_Play_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.665            ^[[33;1mLoaded plug-in device: 27 master device: 6 -- ./Xine_Plugin.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.681            ^[[33;1mLoaded plug-in device: 31 master device: 36 -- ./MythTV_PlugIn.so^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.774            ^[[33;1mPlugin 3 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.873            ^[[33;1mPlugin 4 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:31.954            ^[[33;1mPlugin 5 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.034            ^[[33;1mPlugin 6 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.124            ^[[33;1mPlugin 7 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.214            ^[[33;1mPlugin 8 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.336            ^[[33;1mPlugin 9 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.479            ^[[33;1mPlugin 10 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.563            ^[[33;1mPhone device 35 with extension 200^[[0m <0xb6bde6c0>
01      12/06/08 8:54:32.565            ^[[31;1mTelecom_Plugin::GetConfig - no pbx device^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.588            ^[[33;1mPlugin 11 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.706            ^[[33;1mPlugin 12 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.817            ^[[33;1mPlugin 13 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.903            ^[[33;1mPlugin 14 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:32.986            ^[[33;1mPlugin 27 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:33.116            ^[[33;1mPlugin 31 activated^[[0m <0xb6bde6c0>
05      12/06/08 8:54:33.118            ^[[33;1mRemote Control 41 has no orbiter^[[0m <0xb6bde6c0>
05      12/06/08 8:54:33.118            ^[[33;1mRemote Control 44 has no orbiter^[[0m <0xb6bde6c0>
08      12/06/08 8:54:33.206            Received Message from 11 (^[[36;1mTelecom Plug-in / ^[[0m) to 0 (^[[36;1munknown / ^[[0m), type 1 id 922 Command:^[[35;1mSend Asterisk Status^[[0m, retry retry, parameters: <0xa8014b90>
05      12/06/08 8:54:33.234            ^[[33;1mMythTV_PlugIn::SetPaths: won't create tv_shows for device 0. We are probably out of sync!^[[0m <0xb6bde6c0>
05      12/06/08 8:54:34.420            ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb6bde6c0>
05      12/06/08 8:54:35.420            ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb6bde6c0>
05      12/06/08 8:54:36.420            ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb6bde6c0>
05      12/06/08 8:54:36.420            ^[[33;1mClientSocket::Connect() not successful^[[0m <0xb6bde6c0>
                                                                                                               


  I've searched the previous posts and attempted to disable the mythtv plugin and other plugins, but re-enabled when that did not work. I'm not certain what the issue is, would anyone be able to point me in the right direction of a more verbose log or suggest an idea on what the issue may be?


Thank you,

Ryan
« Last Edit: December 07, 2008, 07:20:21 pm by Murdock »

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: DCERouter not starting after reboot
« Reply #1 on: December 07, 2008, 07:19:57 pm »
try apt-getting gdb, and running gdb DCERouter

run

wait for it to crash

bt

and paste the output.

-Thom

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: DCERouter not starting after reboot
« Reply #2 on: December 07, 2008, 07:24:51 pm »
Thank you Thom, output is below:

(gdb) run
Starting program: /usr/pluto/bin/DCERouter
[Thread debugging using libthread_db enabled]
[New Thread -1228335424 (LWP 17811)]
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the Pluto Public License, available at:
http://plutohome.com/index.php?section=public_license
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the Pluto Public License for more details.
---------------

[New Thread -1228338288 (LWP 17815)]
[New Thread -1238369392 (LWP 17816)]
[New Thread -1246762096 (LWP 17817)]
[New Thread -1255154800 (LWP 17818)]
[New Thread -1263547504 (LWP 17819)]
[New Thread -1271940208 (LWP 17820)]
05      12/07/08 12:24:13.577           Loaded plug-in device: 3 master device: 10 -- ./File_Grids_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:13.865           Loaded plug-in device: 4 master device: 27 -- ./General_Info_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:13.922           Loaded plug-in device: 5 master device: 31 -- ./Climate_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:13.974           Loaded plug-in device: 6 master device: 9 -- ./Datagrid_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:14.043           Loaded plug-in device: 7 master device: 39 -- ./Infrared_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:14.100           Loaded plug-in device: 8 master device: 32 -- ./Lighting_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:14.354           Loaded plug-in device: 9 master device: 12 -- ./Orbiter_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:14.682           Loaded plug-in device: 10 master device: 2 -- ./Media_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:14.976           Loaded plug-in device: 11 master device: 34 -- ./Telecom_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:15.060           Loaded plug-in device: 12 master device: 52 -- ./Event_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:15.151           Loaded plug-in device: 13 master device: 33 -- ./Security_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:15.275           Loaded plug-in device: 14 master device: 1809 -- ./Plug_And_Play_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:15.353           Loaded plug-in device: 27 master device: 6 -- ./Xine_Plugin.so <0xb6c916c0>
05      12/07/08 12:24:15.470           Loaded plug-in device: 31 master device: 36 -- ./MythTV_PlugIn.so <0xb6c916c0>
[New Thread -1292096624 (LWP 17869)]
[New Thread -1300489328 (LWP 17870)]
05      12/07/08 12:24:15.560           Plugin 3 activated <0xb6c916c0>
[New Thread -1308882032 (LWP 17871)]
[New Thread -1317274736 (LWP 17872)]
[New Thread -1325667440 (LWP 17873)]
05      12/07/08 12:24:15.645           Plugin 4 activated <0xb6c916c0>
[New Thread -1334060144 (LWP 17874)]
[New Thread -1342452848 (LWP 17875)]
05      12/07/08 12:24:15.729           Plugin 5 activated <0xb6c916c0>
[New Thread -1350845552 (LWP 17876)]
[New Thread -1359238256 (LWP 17877)]
05      12/07/08 12:24:15.813           Plugin 6 activated <0xb6c916c0>
[New Thread -1367630960 (LWP 17878)]
[New Thread -1376023664 (LWP 17879)]
05      12/07/08 12:24:15.897           Plugin 7 activated <0xb6c916c0>
[New Thread -1384416368 (LWP 17881)]
[New Thread -1392809072 (LWP 17882)]
[New Thread -1401201776 (LWP 17884)]
05      12/07/08 12:24:15.982           Plugin 8 activated <0xb6c916c0>
[New Thread -1409594480 (LWP 17885)]
[New Thread -1417987184 (LWP 17886)]
[New Thread -1426379888 (LWP 17890)]
[New Thread -1434772592 (LWP 17891)]
05      12/07/08 12:24:16.104           Plugin 9 activated <0xb6c916c0>
[New Thread -1443165296 (LWP 17892)]
[New Thread -1451558000 (LWP 17893)]
[New Thread -1459950704 (LWP 17897)]
[New Thread -1468343408 (LWP 17898)]
05      12/07/08 12:24:16.218           Plugin 10 activated <0xb6c916c0>
[New Thread -1476736112 (LWP 17899)]
[New Thread -1485128816 (LWP 17900)]
05      12/07/08 12:24:16.306           Phone device 35 with extension 200 <0xb6c916c0>
01      12/07/08 12:24:16.315           Telecom_Plugin::GetConfig - no pbx device <0xb6c916c0>
05      12/07/08 12:24:16.315           Plugin 11 activated <0xb6c916c0>
[New Thread -1493521520 (LWP 17911)]
[New Thread -1501914224 (LWP 17930)]
[New Thread -1510306928 (LWP 17931)]
[New Thread -1518699632 (LWP 17932)]
[New Thread -1527092336 (LWP 17933)]
05      12/07/08 12:24:16.408           Plugin 12 activated <0xb6c916c0>
[New Thread -1535485040 (LWP 17934)]
[New Thread -1543877744 (LWP 17935)]
[New Thread -1552270448 (LWP 17938)]
[New Thread -1560663152 (LWP 17939)]
07      12/07/08 12:24:16.500           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
05      12/07/08 12:24:16.500           Plugin 13 activated <0xb6c916c0>
[New Thread -1569055856 (LWP 17940)]
[New Thread -1577448560 (LWP 17941)]
07      12/07/08 12:24:16.586           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
05      12/07/08 12:24:16.587           Plugin 14 activated <0xb6c916c0>
[New Thread -1585841264 (LWP 17943)]
[New Thread -1594233968 (LWP 17944)]
07      12/07/08 12:24:16.674           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
05      12/07/08 12:24:16.674           Plugin 27 activated <0xb6c916c0>
[New Thread -1602626672 (LWP 17945)]
[New Thread -1611019376 (LWP 17946)]
07      12/07/08 12:24:16.762           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
[New Thread -1619412080 (LWP 17948)]
[New Thread -1627804784 (LWP 17949)]
05      12/07/08 12:24:16.768           Plugin 31 activated <0xb6c916c0>
[New Thread -1636197488 (LWP 17950)]
[New Thread -1644590192 (LWP 17951)]
[New Thread -1652982896 (LWP 17952)]
[New Thread -1661375600 (LWP 17953)]
[Thread -1644590192 (LWP 17951) exited]
[New Thread -1669768304 (LWP 17954)]
[New Thread -1678161008 (LWP 17955)]
[New Thread -1686553712 (LWP 17956)]
[Thread -1669768304 (LWP 17954) exited]
[New Thread -1694946416 (LWP 17957)]
[New Thread -1703339120 (LWP 17958)]
[New Thread -1711731824 (LWP 17959)]
[Thread -1694946416 (LWP 17957) exited]
[New Thread -1720124528 (LWP 17960)]
[New Thread -1728517232 (LWP 17961)]
[New Thread -1736909936 (LWP 17962)]
[New Thread -1745302640 (LWP 17963)]
[Thread -1720124528 (LWP 17960) exited]
[New Thread -1753695344 (LWP 17964)]
[New Thread -1762088048 (LWP 17965)]
[New Thread -1770480752 (LWP 17966)]
[New Thread -1778873456 (LWP 17967)]
05      12/07/08 12:24:16.860           Remote Control 41 has no orbiter <0xb6c916c0>
05      12/07/08 12:24:16.860           Remote Control 44 has no orbiter <0xb6c916c0>
[New Thread -1787266160 (LWP 17968)]
[New Thread -1795658864 (LWP 17969)]
[Thread -1745302640 (LWP 17963) exited]
07      12/07/08 12:24:16.768           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.874           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.874           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
[New Thread -1804051568 (LWP 17970)]
07      12/07/08 12:24:16.879           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.880           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.880           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.880           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
08      12/07/08 12:24:16.880           Received Message from 9 (Orbiter Plug-in / ) to 15 (App Server / Workout Room), type 1 id 67 Command:Spawn Application, retry retry, parameters: <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 13(Filename): /usr/pluto/bin/flickr.pl <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 50(Name): screen_saver_flickr.pl <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 51(Arguments): 100  1000    700      <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 94(SendOnFailure):  <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 95(SendOnSuccess):  <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 115(Show logo): 0 <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 120(Retransmit): 0 <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 126(Exclusive): 0 <0xabfb4b90>
08      12/07/08 12:24:16.880             Parameter 241(Detach): 0 <0xabfb4b90>
05      12/07/08 12:24:16.880           The target device 15 (routed to 15) has not registered. <0xb6c90b90>
07      12/07/08 12:24:16.880           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.880           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.881           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.881           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.881           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 51 Event:Sunrise, retry none, parameters: <0xa6faab90>
07      12/07/08 12:24:16.881           Received Message from 12 (Event Plug-in / ) to -1001 (unknown / ), type 2 id 52 Event:Sunset, retry none, parameters: <0xa6faab90>
08      12/07/08 12:24:16.881           Received Message from 9 (Orbiter Plug-in / ) to 15 (App Server / Workout Room), type 1 id 67 Command:Spawn Application, retry retry, parameters: <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 13(Filename): /usr/pluto/bin/getxmls <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 50(Name): getxmls <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 51(Arguments):  <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 94(SendOnFailure):  <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 95(SendOnSuccess):  <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 115(Show logo): 0 <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 120(Retransmit): 0 <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 126(Exclusive): 0 <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 241(Detach): 0 <0xabfb4b90>
05      12/07/08 12:24:16.881           The target device 15 (routed to 15) has not registered. <0xb6c90b90>
08      12/07/08 12:24:16.881           Received Message from 9 (Orbiter Plug-in / ) to 15 (App Server / Workout Room), type 1 id 67 Command:Spawn Application, retry retry, parameters: <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 13(Filename): /usr/pluto/bin/flickr.pl <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 50(Name): screen_saver_flickr.pl <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 51(Arguments): 100  1000    700      <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 94(SendOnFailure):  <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 95(SendOnSuccess):  <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 115(Show logo): 0 <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 120(Retransmit): 0 <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 126(Exclusive): 0 <0xabfb4b90>
08      12/07/08 12:24:16.881             Parameter 241(Detach): 0 <0xabfb4b90>
05      12/07/08 12:24:16.881           The target device 15 (routed to 15) has not registered. <0xb6c90b90>
08      12/07/08 12:24:16.881           Received Message from 9 (Orbiter Plug-in / ) to 15 (App Server / Workout Room), type 1 id 67 Command:Spawn Application, retry retry, parameters: <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 13(Filename): /usr/pluto/bin/getxmls <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 50(Name): getxmls <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 51(Arguments):  <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 94(SendOnFailure):  <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 95(SendOnSuccess):  <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 115(Show logo): 0 <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 120(Retransmit): 0 <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 126(Exclusive): 0 <0xabfb4b90>
08      12/07/08 12:24:16.882             Parameter 241(Detach): 0 <0xabfb4b90>
05      12/07/08 12:24:16.882           The target device 15 (routed to 15) has not registered. <0xb6c90b90>

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228335424 (LWP 17811)]
0xb758aab0 in Row_MediaType_DesignObj::FK_MediaType_get () from /usr/pluto/lib/libpluto_main.so

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: DCERouter not starting after reboot
« Reply #3 on: December 07, 2008, 07:35:22 pm »
have you recompiled anything? this is indicative that the sql2cpp libraries that access the database aren't in synch anymore.

-Thom

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: DCERouter not starting after reboot
« Reply #4 on: December 07, 2008, 08:11:39 pm »
Hi Thom, I have not recompiled anything, just made some changes via the admin website. No system level changes have been made between the last successful start yesterday and this morning. Do you have any suggestions on next steps for troubleshooting?

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: DCERouter not starting after reboot
« Reply #5 on: December 07, 2008, 08:42:35 pm »
Upon further consideration, it is possible the router was recompiled as a byproduct of the scripts I  was running in /usr/pluto/bin/ this morning trying to troubleshoot the original issue. Thoughts?

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: DCERouter not starting after reboot
« Reply #6 on: December 07, 2008, 08:49:59 pm »
Upon further consideration, it is possible the router was recompiled as a byproduct of the scripts I  was running in /usr/pluto/bin/ this morning trying to troubleshoot the original issue. Thoughts?

That is not very likely, but this upcoming new trend in trying to "fix" things by randomly running scripts found in /usr/pluto/bin does worry me a bit.
"Change is inevitable. Progress is optional."
-- Anonymous


Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: DCERouter not starting after reboot
« Reply #7 on: December 07, 2008, 09:06:55 pm »
Ok, knowing this would you recommend rebuilding the system at  this point?

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: DCERouter not starting after reboot
« Reply #8 on: December 07, 2008, 09:15:42 pm »
Yes, definitely, sorting this kind of incidental problem will likely be way more effort, even for a skilled lmce hacker.
"Change is inevitable. Progress is optional."
-- Anonymous


uplink

  • Administrator
  • Guru
  • *****
  • Posts: 192
  • Linux and LinuxMCE witchdoctor
    • View Profile
Re: DCERouter not starting after reboot
« Reply #9 on: December 07, 2008, 09:28:32 pm »
Actually, I'd be curious of what you did to get a broken foreign key. According to your long post, something's pointing to an inexistend entry in the MediaType table, and it does so from the MediaType_DesignObj table.

No randomly ran scripts from /usr/pluto/bin should do that.

How good are you with SQL? Are you able to join those two tables and find out what's going on?

You should run these on your database:

Code: [Select]
SELECT PK_MediaType FROM MediaType;
just to make sure the entries are all there. You should get about 26 rows with numbers from 1 to 29, with a few holes. If this is wrong, that's nasty.

If this is fine, run this:

Code: [Select]
SELECT * FROM MediaType_DesignObj WHERE FK_MediaType NOT IN (SELECT PK_MediaType FROM MediaType);
It shouldn't return anything. In my case it returns a row, because I added there, and it will probably break my build tomorrow with exactly the same error that you get.
« Last Edit: December 07, 2008, 10:05:19 pm by uplink »

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: DCERouter not starting after reboot
« Reply #10 on: December 07, 2008, 09:47:16 pm »
not a problem on the rebuild, I will have it back up in an hour or two. regarding the sql items, im not extrmely proficient. is there any logging or anything I can grab beforere I rebuild?

uplink

  • Administrator
  • Guru
  • *****
  • Posts: 192
  • Linux and LinuxMCE witchdoctor
    • View Profile
Re: DCERouter not starting after reboot
« Reply #11 on: December 07, 2008, 10:00:03 pm »
well, run this command:

Code: [Select]
mysql pluto_main
and run those two commands, verbatim, on the prompt that you get. Be sure that the commands end with a semicolon.

Then paste the results here.

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: DCERouter not starting after reboot
« Reply #12 on: December 07, 2008, 10:20:25 pm »
Hi Uplink, below is the output.

dcerouter_97614:/usr/pluto/bin# mysql pluto_main
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5708
Server version: 5.0.45-Debian_1ubuntu3 Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SELECT PK_MediaType FROM MediaType;
+--------------+
| PK_MediaType |
+--------------+
|            1 |
|            2 |
|            3 |
|            4 |
|            5 |
|            6 |
|            7 |
|           11 |
|           12 |
|           13 |
|           14 |
|           15 |
|           16 |
|           17 |
|           18 |
|           19 |
|           20 |
|           21 |
|           22 |
|           23 |
|           24 |
|           25 |
|           26 |
|           27 |
|           28 |
|           29 |
+--------------+
26 rows in set (0.00 sec)

mysql> SELECT * FROM MediaType_DesignObj WHERE FK_MediaType NOT IN (SELECT PK_MediaType FROM MediaType);
Empty set (0.00 sec)


uplink

  • Administrator
  • Guru
  • *****
  • Posts: 192
  • Linux and LinuxMCE witchdoctor
    • View Profile
Re: DCERouter not starting after reboot
« Reply #13 on: December 07, 2008, 11:31:57 pm »
Alright, that actually looks good. That means your router shouldn't crash where it does.