• 0
Sign in to follow this  
Followers 0
emill

[закрыто] Не удачный запуск сервера

Question


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R3, (C)2005-2019 SA-MP Team

[10:02:35] filterscripts = ""  (string)
[10:02:35] weburl = "www.sa-mp.com"  (string)
[10:02:35] password = "123123"  (string)
[10:02:35] 
[10:02:35] Server Plugins
[10:02:35] --------------
[10:02:35]  Loading plugin: jit.so
[10:02:35]   JIT plugin v2.0.3 is OK.
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: mysql.so
[10:02:35]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[10:02:35]  Loading plugin: mysql_static.so
[10:02:35]   plugin.mysql: R39-6 successfully loaded.
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: mysql_static-centos7.so
[10:02:35]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[10:02:35]  Loading plugin: mysql_static-debian7.so
[10:02:35]   plugin.mysql: R39-3 successfully loaded.
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: mysql-centos7.so
[10:02:35]   Failed (plugins/mysql-centos7.so: invalid ELF header)
[10:02:35]  Loading plugin: mysql-debian.so
[10:02:35]   Failed (plugins/mysql-debian.so: cannot open shared object file: No such file or directory)
[10:02:35]  Loading plugin: pawncmd.so
[10:02:35] Pawn.CMD plugin v3.2.0 by urShadow has been loaded
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: sscanf.so
[10:02:35] 

[10:02:35]  ===============================

[10:02:35]       sscanf plugin loaded.     

[10:02:35]          Version:  2.8.3        

[10:02:35]   (c) 2018 Alex "Y_Less" Cole  

[10:02:35]  ===============================

[10:02:35]   Loaded.
[10:02:35]  Loading plugin: streamer.so
[10:02:35] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[10:02:35]   Loaded.
[10:02:35]  Loading plugin: timerfix.so
[10:02:35]    TimerFix v1.5 successfully loaded.
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: TOTP.so
[10:02:35] TOTP plugin v1.0.1 by Games loaded.
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: UTuning.so
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: vehiclesIdFix.so
[10:02:35]   Loaded.
[10:02:35]  Loaded 10 plugins.

[10:02:35] 
[10:02:35] Filterscripts
[10:02:35] ---------------
[10:02:35]   Loaded 0 filterscripts.

[10:02:37] Script[gamemodes/Alwaez.amx]: Run time error 19: "File or function is not found"
[10:02:37] Number of vehicle models: 0

 

Share this post


Link to post
Share on other sites

11 answers to this question

  • 0

@emill Доброе утро.

 

[10:02:35]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[10:02:35]  Loading plugin: mysql_static.so
[10:02:35]   plugin.mysql: R39-6 successfully loaded.
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: mysql_static-centos7.so
[10:02:35]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[10:02:35]  Loading plugin: mysql_static-debian7.so
[10:02:35]   plugin.mysql: R39-3 successfully loaded.
[10:02:35]   Loaded.
[10:02:35]  Loading plugin: mysql-centos7.so
[10:02:35]   Failed (plugins/mysql-centos7.so: invalid ELF header)
[10:02:35]  Loading plugin: mysql-debian.so
[10:02:35]   Failed (plugins/mysql-debian.so: cannot open shared object file: No such file or directory)

 

Проверьте директорию плагинов, libmysqlclient.so.18, mysql-centos7.so, mysql-debian.so данные плагины не могут загрузится.
 

@emill Если данных плагинов нету, закиньте в папку plugins и попробуйте запустить сервер.

Share this post


Link to post
Share on other sites
  • 0

@_bogdan_ У меня есть плагины mysql-centos7.so и mysql-debian7.so

их просто не видит

Share this post


Link to post
Share on other sites
  • 0

@emill прикрепите скриншот папки plugins

Share this post


Link to post
Share on other sites
  • 0

вот все плагины

62304539baee9_bandicam2022-03-1510-47-40-087.jpg.09d365964f52f903113c1aae6983f9f8.jpg6230453a2c795_bandicam2022-03-1510-47-42-344.jpg.5383e773a3cb62363e237dce440f86dc.jpg

Edited by emill

Share this post


Link to post
Share on other sites
  • 0

@emill В папке plugins нету плагина 

libmysqlclient.so.18. Из-за чего не запускается сервер, скачайте данный плагин либо попробуйте без него запустить сервер.

 

@emill Отключив его в server.cfg

Edited by _bogdan_

Share this post


Link to post
Share on other sites
  • 0

@_bogdan_ я конечно все понимаю но у меня он в sever.cfg не прописан

 

Share this post


Link to post
Share on other sites
  • 0

@emill 

[10:02:35]  Loading plugin: mysql.so
[10:02:35]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[10:02:35]  Loading plugin: mysql_static.so

 

Для работы мода на хостинге используйте mysql_static.so. Mysql.so вписывать не нужно

Share this post


Link to post
Share on other sites
  • 0

@_bogdan_  убрал из server.cfg mysql.so теперь такие ошибки


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R3, (C)2005-2019 SA-MP Team

[11:01:04] filterscripts = ""  (string)
[11:01:04] weburl = "www.sa-mp.com"  (string)
[11:01:04] password = "123123"  (string)
[11:01:04] 
[11:01:04] Server Plugins
[11:01:04] --------------
[11:01:04]  Loading plugin: jit.so
[11:01:04]   JIT plugin v2.0.3 is OK.
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: mysql_static.so
[11:01:04]   plugin.mysql: R39-6 successfully loaded.
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: mysql_static-centos7.so
[11:01:04]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[11:01:04]  Loading plugin: mysql_static-debian7.so
[11:01:04]   plugin.mysql: R39-3 successfully loaded.
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: mysql-centos7.so
[11:01:04]   Failed (plugins/mysql-centos7.so: invalid ELF header)
[11:01:04]  Loading plugin: mysql-debian.so
[11:01:04]   Failed (plugins/mysql-debian.so: cannot open shared object file: No such file or directory)
[11:01:04]  Loading plugin: pawncmd.so
[11:01:04] Pawn.CMD plugin v3.2.0 by urShadow has been loaded
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: sscanf.so
[11:01:04] 

[11:01:04]  ===============================

[11:01:04]       sscanf plugin loaded.     

[11:01:04]          Version:  2.8.3        

[11:01:04]   (c) 2018 Alex "Y_Less" Cole  

[11:01:04]  ===============================

[11:01:04]   Loaded.
[11:01:04]  Loading plugin: streamer.so
[11:01:04] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[11:01:04]   Loaded.
[11:01:04]  Loading plugin: timerfix.so
[11:01:04]    TimerFix v1.5 successfully loaded.
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: TOTP.so
[11:01:04] TOTP plugin v1.0.1 by Games loaded.
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: UTuning.so
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: vehiclesIdFix.so
[11:01:04]   Loaded.
[11:01:04]  Loaded 10 plugins.

[11:01:04] 
[11:01:04] Filterscripts
[11:01:04] ---------------
[11:01:04]   Loaded 0 filterscripts.

[11:01:05] Script[gamemodes/Alwaez.amx]: Run time error 19: "File or function is not found"
[11:01:05] Number of vehicle models: 0

 

Share this post


Link to post
Share on other sites
  • 0

@emill 

[11:01:04]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[11:01:04]  Loading plugin: mysql_static-debian7.so
[11:01:04]   plugin.mysql: R39-3 successfully loaded.
[11:01:04]   Loaded.
[11:01:04]  Loading plugin: mysql-centos7.so
[11:01:04]   Failed (plugins/mysql-centos7.so: invalid ELF header)
[11:01:04]  Loading plugin: mysql-debian.so
[11:01:04]   Failed (plugins/mysql-debian.so: cannot open shared object file: No such file or directory)

 

libmysqlclient.so.18 как видите сервер без данного плагина запускаться не хочет, попробуйте скачайте данный плагин, закиньте в папку plugins и пропишите в server.cfg.

Так же замените 

mysql-debian.so на mysql_static-debian7.so

mysql-centos7.so на mysql_static-centos7.so

 

в server.cfg

@emill 

Share this post


Link to post
Share on other sites
  • 0

@_bogdan_ а как именно прописать? просто там на .so не заканчивается

Share this post


Link to post
Share on other sites
  • 0
libmysqlclient.so скачиваешь с git и закидываешь в корень сервера (где сам запуск сервера происходит)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Topowich
      By Topowich
      Недавно начал создавать свой комп сервер,начал потихоньку заменять модели тс и столкнулся с такой проблемой,что не могу понять как менять настройку авто. Подскажите пожалуйста,как это сделать?Мне не принципиально  чтобы настройки были в коде сервера,можно и на файлах если будет хорошо работать
    • VDOVA
      By VDOVA
      Вступление: Сделал TextDraws, подключил, все как по гайду, начал исправлять ошибки и тут это:
      C:\Users\Åâãåíèÿ\Desktop\Áåç ñîëè\gamemodes\project.pwn(148) : error 038: extra characters on line C:\Users\Åâãåíèÿ\Desktop\Áåç ñîëè\gamemodes\project.pwn(207) : error 038: extra characters on line  
      Ничего не понимаю, то ли дело в подключении, то ли я как то не так что то сделал, вообще хз..
       
      Код подключения: