Author Topic: Error connection to host 'sqlcvs.linuxmce.org' in 08.10  (Read 654 times)

axel

  • Newbie
  • *
  • Posts: 14
    • View Profile
Error connection to host 'sqlcvs.linuxmce.org' in 08.10
« on: February 06, 2012, 10:13:07 pm »
I have installed a development environment onto core in a chroot environment in according to wiki: Building_LinuxMCE_0810. When I tried to run build-scripts/import-databases.sh I got some sql-connection errors.

Here are the errors.

Code: [Select]
root@axel-kub:/usr/local/lmce-build# build-scripts/import-databases.sh
20:11:07  *** STEP: Importing Databases
20:11:07  Getting a sqldump of main_sqlcvs_utf8
20:11:08  ERROR: Undefined error in build-scripts/import-databases.sh


ing dependencies for Command_Impl.cpp done
Computing dependencies for AlarmManager.cpp done
Computing dependencies for ServerLogger.cpp done
Computing dependencies for SocketListener.cpp done
Computing dependencies for ServerSocket.cpp done
Computing dependencies for Socket.cpp done
Computing dependencies for Message.cpp done
Computing dependencies for Logger.cpp done
Computing dependencies for PlainClientSocket.cpp done
Computing dependencies for ClientSocket.cpp done
Computing dependencies for DataGrid.cpp done
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 DataGrid.cpp -o DataGrid.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 ClientSocket.cpp -o ClientSocket.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 PlainClientSocket.cpp -o PlainClientSocket.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 Logger.cpp -o Logger.o
Logger.cpp:34: предупреждение: deprecated conversion from string constant to ‘char*’
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 Message.cpp -o Message.o                                                                
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 Socket.cpp -o Socket.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 ServerSocket.cpp -o ServerSocket.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 SocketListener.cpp -o SocketListener.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 ServerLogger.cpp -o ServerLogger.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 AlarmManager.cpp -o AlarmManager.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 Command_Impl.cpp -o Command_Impl.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 Event_Impl.cpp -o Event_Impl.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 HandleRequestSocket.cpp -o HandleRequestSocket.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 DeviceData_Router.cpp -o DeviceData_Router.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 DeviceData_Impl.cpp -o DeviceData_Impl.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 DeviceData_Base.cpp -o DeviceData_Base.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 DCEConfig.cpp -o DCEConfig.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 DCEMySqlConfig.cpp -o DCEMySqlConfig.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 Virtual_Device_Translator.cpp -o Virtual_Device_Translator.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 arp-cache.cpp -o arp-cache.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 MessageBuffer.cpp -o MessageBuffer.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 ../db_wrapper/db_wrapper.cpp -o ../db_wrapper/db_wrapper.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 ../db_wrapper/ClientSocket.cpp -o ../db_wrapper/ClientSocket.o
g++ -c -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -fPIC -Wall -ggdb3 ../db_wrapper/Socket.cpp -o ../db_wrapper/Socket.o
g++ -shared -fPIC -Wall -ggdb3 -I./ -I../ -I../DCE/ -I../VIPShared/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DUSE_LZO_DATAGRID -D_GNU_SOURCE -DLINK_TO_ROUTER  -I/usr/include/mysql -o libDCECommon.so DataGrid.o ClientSocket.o PlainClientSocket.o Logger.o Message.o Socket.o ServerSocket.o SocketListener.o ServerLogger.o AlarmManager.o Command_Impl.o Event_Impl.o HandleRequestSocket.o DeviceData_Router.o DeviceData_Impl.o DeviceData_Base.o DCEConfig.o DCEMySqlConfig.o Virtual_Device_Translator.o arp-cache.o MessageBuffer.o ../db_wrapper/db_wrapper.o ../db_wrapper/ClientSocket.o ../db_wrapper/Socket.o -L../lib -lmysqlclient_r -lpthread -lSerializeClass
cp libDCECommon.so ../lib
for dir in ; do cd $dir; make all; cd ..; done
/usr/local/lmce-build
/var/lmce-build/svn/branches/LinuxMCE-0810/src/MakeRelease /usr/local/lmce-build
SNR_CPPFLAGS="" make -f Makefile.bootstrap clean
Computing dependencies for MakeRelease.cpp done
for dir in ; do cd $dir; make clean; cd ..; done
rm -f MakeRelease.o MakeRelease.d MakeRelease >/dev/null
SNR_CPPFLAGS="" make -f Makefile.bootstrap
Computing dependencies for MakeRelease.cpp done
g++ -c -I/usr/local/include -I../DCE -I.. -I. -I/usr/include/mysql -I/usr/include/mysql -pipe -Wall -ggdb3 MakeRelease.cpp -o MakeRelease.o
MakeRelease.cpp:420: предупреждение: директива #pragma warning  проигнорирована
g++ -I/usr/local/include -I../DCE -I.. -I. -I/usr/include/mysql -I/usr/include/mysql -pipe -Wall -ggdb3 -o MakeRelease MakeRelease.o -L../lib -lmysqlclient_r -ldl -lmysqlclient -lpthread -lpluto_main -lDCECommon -lSerializeClass -lPlutoUtils
MakeRelease.o: In function `CreateSource_FTPHTTP(Row_Package_Source*, std::list<FileInfo*, std::allocator<FileInfo*> >&)':
/var/lmce-build/svn/branches/LinuxMCE-0810/src/MakeRelease/MakeRelease.cpp:2117: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
cp MakeRelease ../bin
/usr/local/lmce-build
/var/lmce-build/svn/branches/LinuxMCE-0810/src/MakeRelease_PrepFiles /usr/local/lmce-build
SNR_CPPFLAGS="" make  clean
Computing dependencies for MakeRelease_PrepFiles.cpp done
for dir in ; do cd $dir; make clean; cd ..; done
rm -f MakeRelease_PrepFiles.o MakeRelease_PrepFiles.d MakeRelease_PrepFiles >/dev/null
SNR_CPPFLAGS="" make
Computing dependencies for MakeRelease_PrepFiles.cpp done
g++ -c -I/usr/local/include -I../DCE -I.. -I. -I/usr/include/mysql -pipe -Wall -ggdb3 MakeRelease_PrepFiles.cpp -o MakeRelease_PrepFiles.o
g++ -I/usr/local/include -I../DCE -I.. -I. -I/usr/include/mysql -pipe -Wall -ggdb3 -o MakeRelease_PrepFiles MakeRelease_PrepFiles.o -L../lib -ldl -lmysqlclient -lpthread -lpluto_main -lDCECommon -lSerializeClass -lPlutoUtils
cp MakeRelease_PrepFiles ../bin
/usr/local/lmce-build
mkdir: создан каталог `/var/lmce-build/MakeRelease'
`/var/lmce-build/svn/branches/LinuxMCE-0810/src/bin/MakeRelease' -> `/var/lmce-build/MakeRelease/MakeRelease'
`/var/lmce-build/svn/branches/LinuxMCE-0810/src/bin/MakeRelease_PrepFiles' -> `/var/lmce-build/MakeRelease/MakeRelease_PrepFiles'
`/var/lmce-build/svn/branches/LinuxMCE-0810/src/lib/libDCECommon.so' -> `/var/lmce-build/MakeRelease/libDCECommon.so'
`/var/lmce-build/svn/branches/LinuxMCE-0810/src/lib/libpluto_main.so' -> `/var/lmce-build/MakeRelease/libpluto_main.so'
`/var/lmce-build/svn/branches/LinuxMCE-0810/src/lib/libPlutoUtils.so' -> `/var/lmce-build/MakeRelease/libPlutoUtils.so'
`/var/lmce-build/svn/branches/LinuxMCE-0810/src/lib/libSerializeClass.so' -> `/var/lmce-build/MakeRelease/libSerializeClass.so'
mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

mysqldump: Got error: 2005: Unknown MySQL server host 'sqlcvs.linuxmce.org' (1) when trying to connect

Can anyone help me?

sambuca

  • Guru
  • ****
  • Posts: 447
    • View Profile
Re: Error connection to host 'sqlcvs.linuxmce.org' in 08.10
« Reply #1 on: February 07, 2012, 08:56:24 am »
It should be schema.linuxmce.org instead of sqlcvs.linuxmce.org. IIRC, there is a configuration option to set this address in one of the builder config files.

br,
sambuca

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Error connection to host 'sqlcvs.linuxmce.org' in 08.10
« Reply #2 on: February 07, 2012, 05:14:49 pm »
Also, it's worth noting that you do not need a complete builder in 99% of most cases. If you're just doing device development, then a checkout of the source tree, and an installation of the development dependencies is all you need (which you now have, because you installed a complete builder.)

-Thom

axel

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Error connection to host 'sqlcvs.linuxmce.org' in 08.10
« Reply #3 on: February 07, 2012, 07:52:37 pm »
Thanks for the info.
This is true about device development,
But Importing pluto_main_build database wasn't ended over 5 hours!
Is the process failed?

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3012
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Error connection to host 'sqlcvs.linuxmce.org' in 08.10
« Reply #4 on: February 07, 2012, 08:09:40 pm »
no. It can take a long time, especially if you have a wrongly configured mysql setup. I had such a problem in a VM, and a full build took >20hours.