You are not logged in.

mHazinG

Trainee

  • "mHazinG" started this thread

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

1

Saturday, June 16th 2012, 2:50pm

Sourcebans Problem

Hallo,

ich habe heute mein Server der auf meinem neuen Root liegt mit Sourcebans bestückt, es läuft auch alles, allerdings steht keine Verbindung zwischen Server und dem Web bzw der MySQL DB. D.h. wenn ich einen banne wird das nicht übernommen oder anders rum wenn ich im web ein Admin eintrage bekommt der keine Rechte auf dem Server. Hat jemand einen Tipp oder Rat für mich zu diesem Problem?

Hier mal die wichtigen Dateien:

Sourcebans.cfg

Spoiler Spoiler


"SourceBans"
{
"Config"
{
// Website address to tell where the player to go for unban, etc
"Website" "http://season-gaming.de/sourcebans/"

// Allow or disallow admins access to addban command
"Addban" "1"

// Allow or disallow admins access to unban command
"Unban" "1"

// The Tableprefix you set while installing the webpanel. (default: "sb")
"DatabasePrefix" "sb"

// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
"RetryTime" "45.0"

// How often should we process the failed ban queue in minutes
"ProcessQueueTime" "5"

// Should the plugin automaticaly add the server to sourcebans
// (servers without -ip being set on startup need this set to 0)
"AutoAddServer" "0"

// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
"BackupConfigs" "1"

// Enable admin part of the plugin (1 = enabled, 0 = disabled)
"EnableAdmins" "1"

// Require the admin to login once into website
"RequireSiteLogin" "0"

// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
"ServerID" "-1"
}

/*
* Generic menu options for if a reason isn't supplied in a ban
* Without a supplied reason the ban will never be written to the database
*/
"BanReasons"
{
"Hacking" "Hacking"
"Exploit" "General Exploit of Game/Map/Server"
"TK" "Team Killing"
"TF" "Team Flashing"
"CommSpam" "Spamming Mic/Chat"
"BadSpray" "Inappropriate Spray"
"BadLang" "Inappropriate Language"
"BadName" "Inappropriate Name"
"IgnoreAdmin" "Ignoring Admins"
"Stacking" "Team Stacking"
"Own Reason" "Own Reason"
}

/*
* Submenu options for when "Hacking" is selected
* If "Hacking" is removed from the menu above this will not be accessable
*/
"HackingReasons"
{
"Aimbot" "Aimbot"
"Antirecoil" "Anti Recoil"
"Wallhack" "Wallhack"
"Spinhack" "Spinhack"
"Speedhack" "Speedhack"
"Multi-Hack" "Multi-Hack"
"No Smoke" "No Smoke"
"No Flash" "No Flash"
}
}


Errorlogs von Sourcebans

Spoiler Spoiler


L 06/16/2012 - 07:38:29: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20
L 06/16/2012 - 11:19:30: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20
L 06/16/2012 - 11:19:30: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20
L 06/16/2012 - 11:19:30: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20
L 06/16/2012 - 14:40:20: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20
L 06/16/2012 - 14:40:20: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20
L 06/16/2012 - 14:40:20: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20


Databases.cfg

Spoiler Spoiler

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"sourcebans"
{
"driver" "default"
"host" "dedi670.your-server.de"
"database" "Sourcebans_db"
"user" "julian"
"pass" "######"
//"timeout" "0"
"port" "3306"
}

}


LG mhazinG

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

2

Saturday, June 16th 2012, 3:04pm

Die Ausgabe von ldd wäre interessant:

Source code

1
2
cd deinserver/cstrike/addons/sourcemod/extensions
ldd dbi.mysql.ext.so

mHazinG

Trainee

  • "mHazinG" started this thread

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

3

Saturday, June 16th 2012, 3:16pm

Hier glaube das ist was du haben möchtest:

Source code

1
2
3
4
5
6
        linux-gate.so.1 =>  (0xf7732000)
        libz.so.1 => not found
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7533000)
        libm.so.6 => /lib32/libm.so.6 (0xf750c000)
        libc.so.6 => /lib32/libc.so.6 (0xf73c5000)
        /lib/ld-linux.so.2 (0xf7733000)

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

4

Saturday, June 16th 2012, 3:26pm

Source code

1
apt-get install zlib1g lib32z1

Dann Server neustarten und nachsehen ob die mysql-Extension geladen worden ist:

Source code

1
sm exts list

mHazinG

Trainee

  • "mHazinG" started this thread

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

5

Saturday, June 16th 2012, 3:36pm

I <3 you Dead Eye.

Danke alles funktioniert.

Similar threads