-
Гость, мы просим Вас ознакомиться с Правилами Форума и Отказом от ответственности!
Последнее сообщение от roottest
-
Сообщение
1.5.3 (145) Запуск GACD на Debian 8
Делать это надо в папке gacd само собой. Ну хоть такие то мелочи надо понимать, раз уж забрался в администрирование root@xxxxxxxxxx:~# cd /home/gacd root@xxxxxxxxxx:/home/gacd# apt-get install gdb Reading package lists... Done Building dependency tree Reading state information... Done gdb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. root@xxxxxxxxxx:/home/gacd# gdb gacd GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gacd...(no debugging symbols found)...done. (gdb) run gamesys.conf Starting program: /home/gacd/gacd gamesys.conf [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0xf7e4181c in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 (gdb) backtrace #0 0xf7e4181c in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 #1 0x41b3294e in __xmlParserInputBufferCreateFilename () from /lib/libxml2.so.2 #2 0x41b32a12 in xmlParserInputBufferCreateFilename () from /lib/libxml2.so.2 #3 0x41b0f4d1 in xmlNewInputFromFile () from /lib/libxml2.so.2 #4 0x41b34021 in ?? () from /lib/libxml2.so.2 #5 0x41b34254 in xmlLoadExternalEntity () from /lib/libxml2.so.2 #6 0x41b24645 in xmlCreateURLParserCtxt () from /lib/libxml2.so.2 #7 0x41b2573b in xmlReadFile () from /lib/libxml2.so.2 #8 0x080ebff3 in GNET::XmlConfig::Load(std::string) () #9 0x080eb5c8 in GNET::XmlConfig::Reload(std::string) () #10 0x0808374f in GNET::ConfigManager::Init(char const*) () #11 0x080fd493 in main () (gdb) quit A debugging session is active. Inferior 1 [process 4489] will be killed. Quit anyway? (y or n)
-
Сообщение
1.5.3 (145) Запуск GACD на Debian 8
apt-get install gdb gdb gacd run gamesys.conf backtrace quit И сюда результат root@**********:~# apt-get install gdb Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: gdbserver libc6-dbg libpython2.7 Suggested packages: gdb-doc Recommended packages: libc-dbg The following NEW packages will be installed: gdb gdbserver libc6-dbg libpython2.7 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. Need to get 7,048 kB of archives. After this operation, 32.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://security.debian.org/ jessie/updates/main libpython2.7 amd64 2.7.9-2+deb8u5 [1,080 kB] Get:2 http://debian.mirrors.ovh.net/debian/ jessie/main gdb amd64 7.7.1+dfsg-5 [2,293 kB] Get:3 http://debian.mirrors.ovh.net/debian/ jessie/main gdbserver amd64 7.7.1+dfsg-5 [244 kB] Get:4 http://debian.mirrors.ovh.net/debian/ jessie/main libc6-dbg amd64 2.19-18+deb8u10 [3,431 kB] Fetched 7,048 kB in 1s (4,521 kB/s) Selecting previously unselected package libpython2.7:amd64. (Reading database ... 37880 files and directories currently installed.) Preparing to unpack .../libpython2.7_2.7.9-2+deb8u5_amd64.deb ... Unpacking libpython2.7:amd64 (2.7.9-2+deb8u5) ... Selecting previously unselected package gdb. Preparing to unpack .../gdb_7.7.1+dfsg-5_amd64.deb ... Unpacking gdb (7.7.1+dfsg-5) ... Selecting previously unselected package gdbserver. Preparing to unpack .../gdbserver_7.7.1+dfsg-5_amd64.deb ... Unpacking gdbserver (7.7.1+dfsg-5) ... Selecting previously unselected package libc6-dbg:amd64. Preparing to unpack .../libc6-dbg_2.19-18+deb8u10_amd64.deb ... Unpacking libc6-dbg:amd64 (2.19-18+deb8u10) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libpython2.7:amd64 (2.7.9-2+deb8u5) ... Setting up gdb (7.7.1+dfsg-5) ... Setting up gdbserver (7.7.1+dfsg-5) ... Setting up libc6-dbg:amd64 (2.19-18+deb8u10) ... Processing triggers for libc-bin (2.19-18+deb8u10) ... root@*******:~# gdb gacd GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... gacd: No such file or directory. (gdb) run gamesys.conf Starting program: gamesys.conf No executable file specified. Use the "file" or "exec-file" command. (gdb) backtrace No stack. (gdb) quit
-
Сообщение
1.5.3 (145) Запуск GACD на Debian 8
ldd gacd Там будет видно откуда он берет либу libxml2.so.2 https://www.dropbox.com/s/jnhawr5wdbehd6f/libxml2.so.2?dl=0 Заменяй там на эту спасибо, как вернусь домой попробую. --- добавлено: 19 сен 2019 в 15:24 --- ldd gacd Там будет видно откуда он берет либу libxml2.so.2 https://www.dropbox.com/s/jnhawr5wdbehd6f/libxml2.so.2?dl=0 Заменяй там на эту Нашел его в корневой папке /lib/, заменил, перезапустил, результат прежний - не запускается.