По обоим причинам?баг в СБ. Пишите разработчикам.
Не совсем.По обоим причинам?
Ещё недавно был админом на чужом сервере. Там версия была 1.5.1 правда была - всё работало. Правда не ++.Это баг движка уже. Решается костылями.
Гуглил. И очень часто люди писали, что проблема в двойном переносе "\n\n" в заголовке (он же header). Только вот где их править. Точнее убрать, не в курсе какой файл отвечает за это?Там некоторые заголовки почтовому сервису не понравились, потому письма он и не отправил.
А откуда информация? Просто нагуглить не могу и не придумаю как вопрос задать ему, этому гуглу, чтобы он понял чего я хочуНе подскажу. Не интересовался.
Да там ещё и журнал ошибок сыпет - матюкается на functionmath и smarty. Создал Issue на githubНо если фиксить конкретно отправку жалоб
L 01/22/2019 - 12:46:57: SourceMod error session started
L 01/22/2019 - 12:46:57: Info (map "de_dust2") (file "errors_20190122.log")
L 01/22/2019 - 12:46:57: [sbpp_comms.smx] You must set valid `ServerID` value in sourcebans.cfg!
L 01/22/2019 - 12:46:57: [SM] Exception reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:46:57: [SM] Blaming: sbpp_checker.smx
L 01/22/2019 - 12:46:57: [SM] Call stack trace:
L 01/22/2019 - 12:46:57: [SM] [0] SetFailState
L 01/22/2019 - 12:46:57: [SM] [1] Line 75, .\sbpp_checker.sp::OnDatabaseConnected
L 01/22/2019 - 12:46:57: [sbpp_sleuth.smx] SourceSleuth: Database connection error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:46:57: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:47:28: Error log file session closed.
L 01/22/2019 - 12:47:29: SourceMod error session started
L 01/22/2019 - 12:47:29: Info (map "de_dust2") (file "errors_20190122.log")
L 01/22/2019 - 12:47:29: [sbpp_comms.smx] You must set valid `ServerID` value in sourcebans.cfg!
L 01/22/2019 - 12:47:29: [SM] Exception reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:47:29: [SM] Blaming: sbpp_checker.smx
L 01/22/2019 - 12:47:29: [SM] Call stack trace:
L 01/22/2019 - 12:47:29: [SM] [0] SetFailState
L 01/22/2019 - 12:47:29: [SM] [1] Line 75, .\sbpp_checker.sp::OnDatabaseConnected
L 01/22/2019 - 12:47:37: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:48:02: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:49:56: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:49:57: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:50:06: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Вот такая ошибка в логах после установки.
В чем проблема?
L 01/22/2019 - 12:46:57: SourceMod error session started
L 01/22/2019 - 12:46:57: Info (map "de_dust2") (file "errors_20190122.log")
L 01/22/2019 - 12:46:57: [sbpp_comms.smx] You must set valid `ServerID` value in sourcebans.cfg!
L 01/22/2019 - 12:46:57: [SM] Exception reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:46:57: [SM] Blaming: sbpp_checker.smx
L 01/22/2019 - 12:46:57: [SM] Call stack trace:
L 01/22/2019 - 12:46:57: [SM] [0] SetFailState
L 01/22/2019 - 12:46:57: [SM] [1] Line 75, .\sbpp_checker.sp::OnDatabaseConnected
L 01/22/2019 - 12:46:57: [sbpp_sleuth.smx] SourceSleuth: Database connection error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:46:57: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:47:28: Error log file session closed.
L 01/22/2019 - 12:47:29: SourceMod error session started
L 01/22/2019 - 12:47:29: Info (map "de_dust2") (file "errors_20190122.log")
L 01/22/2019 - 12:47:29: [sbpp_comms.smx] You must set valid `ServerID` value in sourcebans.cfg!
L 01/22/2019 - 12:47:29: [SM] Exception reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:47:29: [SM] Blaming: sbpp_checker.smx
L 01/22/2019 - 12:47:29: [SM] Call stack trace:
L 01/22/2019 - 12:47:29: [SM] [0] SetFailState
L 01/22/2019 - 12:47:29: [SM] [1] Line 75, .\sbpp_checker.sp::OnDatabaseConnected
L 01/22/2019 - 12:47:37: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:48:02: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:49:56: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:49:57: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:50:06: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Вот такая ошибка в логах после установки.
В чем проблема?
apt install lib32z1 lib32stdc++6 libc6 libgcc1 libc6-i386 lib32gcc1
Во-первых, укажите ServerID.L 01/22/2019 - 12:46:57: SourceMod error session started
L 01/22/2019 - 12:46:57: Info (map "de_dust2") (file "errors_20190122.log")
L 01/22/2019 - 12:46:57: [sbpp_comms.smx] You must set valid `ServerID` value in sourcebans.cfg!
L 01/22/2019 - 12:46:57: [SM] Exception reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:46:57: [SM] Blaming: sbpp_checker.smx
L 01/22/2019 - 12:46:57: [SM] Call stack trace:
L 01/22/2019 - 12:46:57: [SM] [0] SetFailState
L 01/22/2019 - 12:46:57: [SM] [1] Line 75, .\sbpp_checker.sp::OnDatabaseConnected
L 01/22/2019 - 12:46:57: [sbpp_sleuth.smx] SourceSleuth: Database connection error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:46:57: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:47:28: Error log file session closed.
L 01/22/2019 - 12:47:29: SourceMod error session started
L 01/22/2019 - 12:47:29: Info (map "de_dust2") (file "errors_20190122.log")
L 01/22/2019 - 12:47:29: [sbpp_comms.smx] You must set valid `ServerID` value in sourcebans.cfg!
L 01/22/2019 - 12:47:29: [SM] Exception reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:47:29: [SM] Blaming: sbpp_checker.smx
L 01/22/2019 - 12:47:29: [SM] Call stack trace:
L 01/22/2019 - 12:47:29: [SM] [0] SetFailState
L 01/22/2019 - 12:47:29: [SM] [1] Line 75, .\sbpp_checker.sp::OnDatabaseConnected
L 01/22/2019 - 12:47:37: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:48:02: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:49:56: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:49:57: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/22/2019 - 12:50:06: [sbpp_comms.smx] Connecting to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Вот такая ошибка в логах после установки.
В чем проблема?
Во-первых, укажите ServerID.
Во-вторых, у вас точно на localhost MySQL сервер?
Если вдс,то ниже, если нет - "классный хостинг у тебя".
На стороне сервера:
На стороне веб-сервера:PHP:apt install lib32z1 lib32stdc++6 libc6 libgcc1 libc6-i386 lib32gcc1
/etc/mysql/mysql.conf.d/mysqld.cnf
Посмотреть вложение 38098
Пароль верный? Подключение с IP 109.237.109.82 разрешено у пользователя?Сервер стоит на cw-serv
На услуге WEBХостинг.
Вот ещё одна ошибка.
L 01/22/2019 - 13:54:36: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 13:55:59: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 13:56:14: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 13:58:41: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 14:00:13: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 14:00:29: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 14:01:04: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 14:01:47: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 14:02:11: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
L 01/22/2019 - 14:02:46: [sbpp_comms.smx] Connecting to database failed: [1045]: Access denied for user 'banscs'@'109.237.109.82' (using password: YES)
в database.cfg
host прописан так
"sourcebans"
{
"driver" "default"
"host" "isp.cw-serv.ru"
"database" "banscs"
"user" "banscs"
"pass" ""
//"timeout" "0"
"port" "3306"
Сервер и WEB хост стоят на разных айпи.Пароль верный? Подключение с IP 109.237.109.82 разрешено у пользователя?