1. Гость, мы просим Вас ознакомиться с Правилами Форума и Отказом от ответственности!

1.5.3 (145) Запуск GACD на Debian 8

Тема в разделе 'PW Вопросник', создана пользователем roottest, 19 сен 2019.

  1. TopicStarter Overlay

    roottest Пользователи

    Сообщения:
    13
    Лайки:
    0
    Пол:
    Мужской
    Репутация:
    0
    Страна:
    Afghanistan Afghanistan
    Здравствуйте. Впервые поставил сервер на Debian 8.10, не запускается GACD.
    Есть мнение, что накосячил с либами; ставил следующие:
    Код:
    apt-get install build-essential gcc-multilib rpm libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
    Ответ системы при поптыки запуска:
    Код:
    root@xxxxxxxxx:~# cd /home/gacd/
    root@xxxxxxxxx:/home/gacd# ./gacd
    Usage: ./gacd configurefile
      -v:  print version
      -cap n:  generate _cap file
      -hzquestion n:  generate _hz file
      -picquestion n:  generate _pic file
      -charlibquestion: show words and code
      -accap n:  generate _accap file
      -print_interface_debug_init_code_clientinfo_query_punish_question_skeleton_mutate_pp_acdatasend_accuse  configurefile
      configurefile -acforbiduser roleid accountid forbidtime score reason
    Что пошло не так и где я накосячил?
  2. alexdnepro Эксперт AngeliCore Пользователи Open Source Contributor White List

    Сообщения:
    753
    Лайки:
    1.311
    Пол:
    Мужской
    Репутация:
    6
    ./gacd gamesys.conf
  3. TopicStarter Overlay

    roottest Пользователи

    Сообщения:
    13
    Лайки:
    0
    Пол:
    Мужской
    Репутация:
    0
    Страна:
    Afghanistan Afghanistan
    Код:
    root@xxxxxxxxx:~# cd /home/gacd/
    root@xxxxxxxxx:/home/gacd# ./gacd gamesys.conf
    Segmentation fault
  4. alexdnepro Эксперт AngeliCore Пользователи Open Source Contributor White List

    Сообщения:
    753
    Лайки:
    1.311
    Пол:
    Мужской
    Репутация:
    6
  5. TopicStarter Overlay

    roottest Пользователи

    Сообщения:
    13
    Лайки:
    0
    Пол:
    Мужской
    Репутация:
    0
    Страна:
    Afghanistan Afghanistan
    спасибо, как вернусь домой попробую.
    --- добавлено: 19 сен 2019 в 15:24 ---
    Нашел его в корневой папке /lib/, заменил, перезапустил, результат прежний - не запускается.
    Последнее редактирование модератором: 27 сен 2019
  6. alexdnepro Эксперт AngeliCore Пользователи Open Source Contributor White List

    Сообщения:
    753
    Лайки:
    1.311
    Пол:
    Мужской
    Репутация:
    6
    Код:
    apt-get install gdb
    gdb gacd
    run gamesys.conf
    backtrace
    quit
    И сюда результат
  7. TopicStarter Overlay

    roottest Пользователи

    Сообщения:
    13
    Лайки:
    0
    Пол:
    Мужской
    Репутация:
    0
    Страна:
    Afghanistan Afghanistan
    Код:
    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
    
    Последнее редактирование: 19 сен 2019
  8. alexdnepro Эксперт AngeliCore Пользователи Open Source Contributor White List

    Сообщения:
    753
    Лайки:
    1.311
    Пол:
    Мужской
    Репутация:
    6
    Делать это надо в папке gacd само собой. Ну хоть такие то мелочи надо понимать, раз уж забрался в администрирование
    Deron нравится это.
  9. TopicStarter Overlay

    roottest Пользователи

    Сообщения:
    13
    Лайки:
    0
    Пол:
    Мужской
    Репутация:
    0
    Страна:
    Afghanistan Afghanistan
    Код:
    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)
  10. alexdnepro Эксперт AngeliCore Пользователи Open Source Contributor White List

    Сообщения:
    753
    Лайки:
    1.311
    Пол:
    Мужской
    Репутация:
    6
  11. TopicStarter Overlay

    roottest Пользователи

    Сообщения:
    13
    Лайки:
    0
    Пол:
    Мужской
    Репутация:
    0
    Страна:
    Afghanistan Afghanistan
    Ничего не изменилось.
  12. deadraky Пользователи

    Сообщения:
    257
    Лайки:
    191
    Пол:
    Мужской
    Репутация:
    1
    Команда:
    HackPW
    Страна:
    China China
    apt-get install -y libxml2:i386 libstdc++6:i386
    peachandr, Damnes, alexdnepro и ещё 1-му нравится это.
  13. TopicStarter Overlay

    roottest Пользователи

    Сообщения:
    13
    Лайки:
    0
    Пол:
    Мужской
    Репутация:
    0
    Страна:
    Afghanistan Afghanistan
    Ты волшебник что ли?)
    Спасибо большое, все GACD работает.
    Вопрос решен.
Черновик сохранён Черновик удалён
Similar Threads
  1. Vitya
    Ответов:
    17
    Просмотров:
    4.866
  2. DryBlood
    Ответов:
    35
    Просмотров:
    10.275
  3. Rias_

    1.5.1 (101) GACD connection..

    Ответов:
    7
    Просмотров:
    2.516
  4. Primal
    Ответов:
    2
    Просмотров:
    1.073
  5. NiceOne
    Ответов:
    11
    Просмотров:
    1.705
Загрузка...

Поделиться этой страницей