Difference between revisions of "Installer Problems"
(→2. Sorry, for the dutch error log) |
(Undo revision 9382 by Orc4tZelbo (Talk)) |
||
(13 intermediate revisions by 8 users not shown) | |||
Line 98: | Line 98: | ||
pluto-dcerouter | pluto-dcerouter | ||
E: Sub-process /usr/bin/dpkg returned an error code (1) | E: Sub-process /usr/bin/dpkg returned an error code (1) | ||
+ | |||
+ | '''Solution:''' sudo rm /usr/pluto/orbiter/floorplans | ||
+ | |||
+ | === 4. MySQL problem === | ||
+ | |||
+ | If you have a problem with this message: "Orbiter cannot register with router" go to /var/log/pluto and watch the DCERouter.log. You will see messages like this: | ||
+ | 05 04/02/07 21:24:46.855 Socket::ReceiveData 0x84f2dc8 failed, bytes left 0 start: 750000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 118 Incoming_Conn Socket 118 127.0.0.1 dev 21 <0x87b90ba0> | ||
+ | 05 04/02/07 21:24:46.855 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 118 127.0.0.1 dev 21 <0x87b90ba0> | ||
+ | 05 04/02/07 21:24:46.855 Router::RemoveAndDeleteSocket 0x84f2dc8 21 <0x87b90ba0> | ||
+ | 01 04/02/07 21:24:46.855 Query failed (MySQL server has gone away): UPDATE Device SET Registered=0,psc_mod=psc_mod WHERE PK_Device=21 (-1) <0x87b90ba0> | ||
+ | 05 04/02/07 21:24:46.855 Resetting mysql connection <0x87b90ba0> | ||
+ | 01 04/02/07 21:24:46.855 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x87b90ba0> | ||
+ | 05 04/02/07 21:24:47.584 The target device 26 (routed to 26) has not registered. <0x89b94ba0> | ||
+ | 05 04/02/07 21:24:47.584 Sender: 27 sent message type: 5 ID: 6 and expected a message reply from 26 <0x89b94ba0> | ||
+ | 08 04/02/07 21:24:48.407 Received Message from 28 (Photo Screen Saver / ) to Orbiter Plug-in(9), type 1 id 818 Command:Get Screen Saver Files, parameters: <0x859ffba0> | ||
+ | 08 04/02/07 21:24:48.407 Parameter 2(PK_Device): 19 <0x859ffba0> | ||
+ | 08 04/02/07 21:24:48.407 Parameter 13(Filename): <0x859ffba0> | ||
+ | 01 04/02/07 21:24:48.408 Query failed (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)): SELECT DISTINCT PK_File,Path,Filename FROM File JOIN File_Attribute ON FK_File=PK_File JOIN Attribute ON FK_Attribute=PK_Attribute AND FK_AttributeType=30 WHERE (Name='' OR Name='*' OR Name='19') AND Missing=0 AND Filename like '%jpg' (-1) <0x96baeba0> | ||
+ | 05 04/02/07 21:24:48.408 Resetting mysql connection <0x96baeba0> | ||
+ | 01 04/02/07 21:24:48.408 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x96baeba0> | ||
+ | 01 04/02/07 21:24:48.411 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=28 (-1) <0x849fdba0> | ||
+ | 05 04/02/07 21:24:48.411 Resetting mysql connection <0x849fdba0> | ||
+ | 01 04/02/07 21:24:48.411 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x849fdba0> | ||
+ | 01 04/02/07 21:24:48.527 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=18 AND `FK_DeviceData`=88] MySQL server has gone away <0x851feba0> | ||
+ | 01 04/02/07 21:24:48.546 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=20 AND `FK_DeviceData`=31] MySQL server has gone away <0x851feba0> | ||
+ | 01 04/02/07 21:24:49.901 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=22 (-1) <0x819f7ba0> | ||
+ | 05 04/02/07 21:24:49.901 Resetting mysql connection <0x819f7ba0> | ||
+ | 01 04/02/07 21:24:49.901 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x819f7ba0> | ||
+ | 07 04/02/07 21:24:49.979 Event 12 has no handlers <0x829f9ba0> | ||
+ | 07 04/02/07 21:24:49.979 Received Message from 22 (Xine Player / ) to -1001 (unknown / ), type 2 id 12 Event:Playback Completed, parameters: <0x829f9ba0> | ||
+ | 07 04/02/07 21:24:49.979 Parameter 4(MRL): <0x829f9ba0> | ||
+ | 07 04/02/07 21:24:49.979 Parameter 9(Stream ID): 0 <0x829f9ba0> | ||
+ | 07 04/02/07 21:24:49.979 Parameter 37(With Errors): 0 <0x829f9ba0> | ||
+ | 01 04/02/07 21:24:51.038 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=24 (-1) <0x801f4ba0> | ||
+ | 05 04/02/07 21:24:51.038 Resetting mysql connection <0x801f4ba0> | ||
+ | 01 04/02/07 21:24:51.038 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x801f4ba0> | ||
+ | 01 04/02/07 21:24:51.261 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=21 (-1) <0x7e9f1ba0> | ||
+ | 05 04/02/07 21:24:51.261 Resetting mysql connection <0x7e9f1ba0> | ||
+ | 01 04/02/07 21:24:51.261 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x7e9f1ba0> | ||
+ | 01 04/02/07 21:24:51.366 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=18 AND `FK_DeviceData`=88] MySQL server has gone away <0x829f9ba0> | ||
+ | 01 04/02/07 21:24:52.348 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=20 AND `FK_DeviceData`=31] MySQL server has gone away <0x851feba0> | ||
+ | 05 04/02/07 21:24:52.349 Socket::ReceiveData 0x8506d10 failed, bytes left 0 start: 810000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 118 Incoming_Conn Socket 118 127.0.0.1EVENT 20 T=1759 Event 20 <0x851feba0> | ||
+ | 05 04/02/07 21:24:52.350 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 118 127.0.0.1EVENT 20 T=1759 Event 20 <0x851feba0> | ||
+ | 05 04/02/07 21:24:52.350 TCPIP: Closing connection to 20 (Router Dev 0) 0x8506d10 m_Socket: -1 <0x851feba0> | ||
+ | 05 04/02/07 21:24:52.350 Router::RemoveAndDeleteSocket 0x8506d10 20 <0x851feba0> | ||
+ | 01 04/02/07 21:24:52.350 Query failed (MySQL server has gone away): UPDATE Device SET Registered=0,psc_mod=psc_mod WHERE PK_Device=20 (-1) <0x851feba0> | ||
+ | 05 04/02/07 21:24:52.350 Resetting mysql connection <0x851feba0> | ||
+ | 01 04/02/07 21:24:52.350 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x851feba0> | ||
+ | |||
+ | A possible resolvation can be restarting the system, because it will restart also the mysql server. | ||
+ | |||
+ | |||
+ | [[Category: Testing]] |
Latest revision as of 09:17, 3 March 2008
1. vim package
If your /var/log/mce-install* log file is ending with:
The following packages have unmet dependencies. pluto-dcerouter: Depends: pluto-confirm-dependencies (>= 1.0) but it is not going to be installed Depends: pluto-confirm-dependencies (< 1.1) but it is not going to be installed Depends: pluto-createdevice (>= 1.0) but it is not going to be installed Depends: pluto-createdevice (< 1.1) but it is not going to be installed Depends: pluto-install-scripts (>= 1.0) but it is not going to be installed Depends: pluto-install-scripts (< 1.1) but it is not going to be installed Depends: pluto-local-database (>= 1.0) but it is not going to be installed Depends: pluto-local-database (< 1.1) but it is not going to be installed Depends: pluto-std-plugins (>= 1.0) but it is not going to be installed Depends: pluto-std-plugins (< 1.1) but it is not going to be installed Depends: pluto-system-database (>= 1.0) but it is not going to be installed Depends: pluto-system-database (< 1.1) but it is not going to be installed Depends: pluto-website-admin (>= 1.0) but it is not going to be installed Depends: pluto-website-admin (< 1.1) but it is not going to be installed Depends: pluto-boot-scripts (>= 1.0) but it is not going to be installed Depends: pluto-boot-scripts (< 1.1) but it is not going to be installed PreDepends: vim but it is not going to be installed E: Broken packages
If you will try to install the vim package 'apt-get install vim', you will get the error:
The following packages have unmet dependencies. vim: Depends: vim-common (= 1:7.0-035+1ubuntu5) but 1:7.0-164+1ubuntu6~edgy1 is to be installed
Solution: Remove and install vim again:
apt-get remove --purge vim-common ; apt-get install vim
Remove the 'edgy-backports' line from /etc/apt/sources.list
Once the vim package is updated/installed well, try again to install LinuxMCE.
2. Sorry, for the dutch error log
But I wasnt able to find a solution yet for this problem. There goes something wrong while it wants to configure.
dpkg: vereistenproblemen verhinderen de configuratie van pluto-dcerouter: pluto-dcerouter is afhankelijk van pluto-local-database (>= 1.0); maar: Pakket pluto-local-database is nog niet geconfigureerd. pluto-dcerouter is afhankelijk van pluto-local-database (<< 1.1); maar: Pakket pluto-local-database is nog niet geconfigureerd. pluto-dcerouter is afhankelijk van pluto-std-plugins (>= 1.0); maar: Pakket pluto-std-plugins is nog niet geconfigureerd. pluto-dcerouter is afhankelijk van pluto-std-plugins (<< 1.1); maar: Pakket pluto-std-plugins is nog niet geconfigureerd. pluto-dcerouter is afhankelijk van pluto-system-database (>= 1.0); maar: Pakket pluto-system-database is nog niet geconfigureerd. pluto-dcerouter is afhankelijk van pluto-system-database (<< 1.1); maar: Pakket pluto-system-database is nog niet geconfigureerd. dpkg: fout bij afhandelen van pluto-dcerouter (--configure): vereistenproblemen - blijft ongeconfigureerd Instellen van pluto-boot-scripts (1.0) ... Instellen van pluto-createdevice (1.0) ... Instellen van pluto-confirm-dependencies (1.0) ... Instellen van pluto-install-scripts (1.0) ... Instellen van pluto-website-admin (1.0) ... ln: kan symbolische koppeling ``/usr/pluto/orbiter/floorplans naar ``/home/pluto/floorplans niet aanmaken: File exists dpkg: fout bij afhandelen van pluto-website-admin (--configure): subproces post-installation script gaf een foutwaarde 1 terug Fouten gevonden tijdens behandelen van: pluto-database-settings pluto-sqlcvs pluto-local-database pluto-media-database pluto-security-database pluto-system-database pluto-telecom-database pluto-std-plugins pluto-dcerouter pluto-website-admin
Seems to be that pluto-database-settings tries to acces mysql database with root with no password.
Solution: Reset temporary your mysql root password to none
3. New problem
Instellen van pluto-website-admin (1.0) ... ln: kan symbolische koppeling ``/usr/pluto/orbiter/floorplans naar ``/home/pluto/floorplans niet aanmaken: File exists dpkg: fout bij afhandelen van pluto-website-admin (--configure): subproces post-installation script gaf een foutwaarde 1 terug dpkg: vereistenproblemen verhinderen de configuratie van pluto-dcerouter: pluto-dcerouter is afhankelijk van pluto-website-admin (>= 1.0); maar: Pakket pluto-website-admin is nog niet geconfigureerd. pluto-dcerouter is afhankelijk van pluto-website-admin (<< 1.1); maar: Pakket pluto-website-admin is nog niet geconfigureerd. dpkg: fout bij afhandelen van pluto-dcerouter (--configure): vereistenproblemen - blijft ongeconfigureerd Fouten gevonden tijdens behandelen van: pluto-website-admin pluto-dcerouter E: Sub-process /usr/bin/dpkg returned an error code (1)
Solution: sudo rm /usr/pluto/orbiter/floorplans
4. MySQL problem
If you have a problem with this message: "Orbiter cannot register with router" go to /var/log/pluto and watch the DCERouter.log. You will see messages like this:
05 04/02/07 21:24:46.855 Socket::ReceiveData 0x84f2dc8 failed, bytes left 0 start: 750000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 118 Incoming_Conn Socket 118 127.0.0.1 dev 21 <0x87b90ba0> 05 04/02/07 21:24:46.855 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 118 127.0.0.1 dev 21 <0x87b90ba0> 05 04/02/07 21:24:46.855 Router::RemoveAndDeleteSocket 0x84f2dc8 21 <0x87b90ba0> 01 04/02/07 21:24:46.855 Query failed (MySQL server has gone away): UPDATE Device SET Registered=0,psc_mod=psc_mod WHERE PK_Device=21 (-1) <0x87b90ba0> 05 04/02/07 21:24:46.855 Resetting mysql connection <0x87b90ba0> 01 04/02/07 21:24:46.855 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x87b90ba0> 05 04/02/07 21:24:47.584 The target device 26 (routed to 26) has not registered. <0x89b94ba0> 05 04/02/07 21:24:47.584 Sender: 27 sent message type: 5 ID: 6 and expected a message reply from 26 <0x89b94ba0> 08 04/02/07 21:24:48.407 Received Message from 28 (Photo Screen Saver / ) to Orbiter Plug-in(9), type 1 id 818 Command:Get Screen Saver Files, parameters: <0x859ffba0> 08 04/02/07 21:24:48.407 Parameter 2(PK_Device): 19 <0x859ffba0> 08 04/02/07 21:24:48.407 Parameter 13(Filename): <0x859ffba0> 01 04/02/07 21:24:48.408 Query failed (Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)): SELECT DISTINCT PK_File,Path,Filename FROM File JOIN File_Attribute ON FK_File=PK_File JOIN Attribute ON FK_Attribute=PK_Attribute AND FK_AttributeType=30 WHERE (Name= OR Name='*' OR Name='19') AND Missing=0 AND Filename like '%jpg' (-1) <0x96baeba0> 05 04/02/07 21:24:48.408 Resetting mysql connection <0x96baeba0> 01 04/02/07 21:24:48.408 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x96baeba0> 01 04/02/07 21:24:48.411 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=28 (-1) <0x849fdba0> 05 04/02/07 21:24:48.411 Resetting mysql connection <0x849fdba0> 01 04/02/07 21:24:48.411 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x849fdba0> 01 04/02/07 21:24:48.527 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=18 AND `FK_DeviceData`=88] MySQL server has gone away <0x851feba0> 01 04/02/07 21:24:48.546 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=20 AND `FK_DeviceData`=31] MySQL server has gone away <0x851feba0> 01 04/02/07 21:24:49.901 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=22 (-1) <0x819f7ba0> 05 04/02/07 21:24:49.901 Resetting mysql connection <0x819f7ba0> 01 04/02/07 21:24:49.901 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x819f7ba0> 07 04/02/07 21:24:49.979 Event 12 has no handlers <0x829f9ba0> 07 04/02/07 21:24:49.979 Received Message from 22 (Xine Player / ) to -1001 (unknown / ), type 2 id 12 Event:Playback Completed, parameters: <0x829f9ba0> 07 04/02/07 21:24:49.979 Parameter 4(MRL): <0x829f9ba0> 07 04/02/07 21:24:49.979 Parameter 9(Stream ID): 0 <0x829f9ba0> 07 04/02/07 21:24:49.979 Parameter 37(With Errors): 0 <0x829f9ba0> 01 04/02/07 21:24:51.038 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=24 (-1) <0x801f4ba0> 05 04/02/07 21:24:51.038 Resetting mysql connection <0x801f4ba0> 01 04/02/07 21:24:51.038 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x801f4ba0> 01 04/02/07 21:24:51.261 Query failed (MySQL server has gone away): UPDATE Device SET Registered=1,psc_mod=psc_mod WHERE PK_Device=21 (-1) <0x7e9f1ba0> 05 04/02/07 21:24:51.261 Resetting mysql connection <0x7e9f1ba0> 01 04/02/07 21:24:51.261 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x7e9f1ba0> 01 04/02/07 21:24:51.366 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=18 AND `FK_DeviceData`=88] MySQL server has gone away <0x829f9ba0> 01 04/02/07 21:24:52.348 Table_Device_DeviceData::FetchRow Cannot perform query [select * from Device_DeviceData where `FK_Device`=20 AND `FK_DeviceData`=31] MySQL server has gone away <0x851feba0> 05 04/02/07 21:24:52.349 Socket::ReceiveData 0x8506d10 failed, bytes left 0 start: 810000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 118 Incoming_Conn Socket 118 127.0.0.1EVENT 20 T=1759 Event 20 <0x851feba0> 05 04/02/07 21:24:52.350 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 118 127.0.0.1EVENT 20 T=1759 Event 20 <0x851feba0> 05 04/02/07 21:24:52.350 TCPIP: Closing connection to 20 (Router Dev 0) 0x8506d10 m_Socket: -1 <0x851feba0> 05 04/02/07 21:24:52.350 Router::RemoveAndDeleteSocket 0x8506d10 20 <0x851feba0> 01 04/02/07 21:24:52.350 Query failed (MySQL server has gone away): UPDATE Device SET Registered=0,psc_mod=psc_mod WHERE PK_Device=20 (-1) <0x851feba0> 05 04/02/07 21:24:52.350 Resetting mysql connection <0x851feba0> 01 04/02/07 21:24:52.350 Connect failed Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) <0x851feba0>
A possible resolvation can be restarting the system, because it will restart also the mysql server.