You are not logged in.

Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

TheLars

Beginner

  • "TheLars" started this thread

Posts: 17

wcf.user.option.userOption53: Ja

  • Send private message

1

Thursday, July 22nd 2010, 1:31pm

Sourcemod WebAdmin

Hi Leute hab Das SourceMod WebAdmin installiert : http://www.pearl-community.de/wi.
Dann hab ich die databases.cfg bearbeitet doch es geht einfach ned !!!!

Error Log :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
L 07/22/2010 - 13:26:06: SourceMod error session started
L 07/22/2010 - 13:26:06: Info (map "mg_tower") (file "errors_20100722.log")
L 07/22/2010 - 13:26:06: [SM] Unable to load extension "clientprefs.ext": Could not find "clientprefs" or "default" database configs
L 07/22/2010 - 13:26:06: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2010 - 13:26:06: [SM] Unable to load plugin "permamute.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2010 - 13:26:06: [SM] Unable to load plugin "quakesounds_css.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2010 - 13:26:06: [SM] Unable to load plugin "showdamage.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/22/2010 - 13:26:06: [sodstats.smx] [SoD-Rank] Unable to connect to database (Configuration "storage-local" not found)
L 07/22/2010 - 13:26:06: [SM] Plugin encountered error 25: Call was aborted
L 07/22/2010 - 13:26:06: [SM] Native "SetFailState" reported: Database failure: Could not find database conf "default"
L 07/22/2010 - 13:26:06: [SM] Displaying call stack trace for plugin "sqlfeedback.smx":
L 07/22/2010 - 13:26:06: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/2/8/8/5/0/23466.attach::sql_Connected()
L 07/22/2010 - 13:26:06: [admin-sql-prefetch.smx] Could not connect to database "default": Configuration "default" not found
L 07/22/2010 - 13:26:06: [admin-sql-prefetch.smx] Could not connect to database "default": Configuration "default" not found
L 07/22/2010 - 13:26:06: [admin-sql-prefetch.smx] Could not connect to database "default": Configuration "default" not found


Databases.cfg :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"databases"
{
   "driver_default"      "mysql"
   
   "default"
   {
      "driver"         "mysql"
      "host"            "localhost"
      "database"         "smwa"
      "user"            "***"
      "pass"            "****"
      //"timeout"         "0"
      //"port"         "3306"
   }

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

   "clientprefs"
   {
      "driver"         "mysql"
      "host"            "localhost"
      "database"         "smwa"
      "user"            "***"
      "pass"            "****"
      //"timeout"         "0"
      //"port"         "3306"
   }
}


GameServer und Webinterface leigen auf dem gleichen Server.... Hoffe mir kann jemand helfen.

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

2

Thursday, July 22nd 2010, 4:38pm

Re: Sourcemod WebAdmin

Quoted

Unable to load extension "clientprefs.ext": Could not find "clientprefs" or "default" database configs


Da ist mit deiner databases.cfg irgendwas schief gelaufen. Auf anhieb würde ich sagen, dass deine databases.cfg in Ordnung ist. Die Datei muss sich in orangebox/cstrike/addons/sourcemod/configs/ befinden. Die Datei sollte databases.cfg und nicht Databases.cfg heißen. Möglicherweise spielt hier auch die Groß-/Kleinschreibung der Datei eine Rolle. Auf einem Windows-System sollte das vollkommen egal sein, aber in einer unixoiden Umgebung wird bei Pfaden und Dateinamen zwischen Groß-/Kleinschreibung unterschieden. So können auch in einem Verzeichnis einmal databases.cfg und Databases.cfg nebeneinander existieren. Es sind zwei unterschiedliche Dateien.

TheLars

Beginner

  • "TheLars" started this thread

Posts: 17

wcf.user.option.userOption53: Ja

  • Send private message

3

Thursday, July 22nd 2010, 5:13pm

Re: Sourcemod WebAdmin

Tschuldigung natürlich kleingeschrieben hab ned drauf geachtet....
ist aber klein geschrieben in orangebox/cstrike/addons/sourcemod/configs

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

4

Thursday, July 22nd 2010, 5:28pm

Re: Sourcemod WebAdmin

Änder mal:

Quoted

"databases"
{
"driver_default" "mysql"
........

In:

Quoted

"Databases"
{
"driver_default" "mysql"
........

TheLars

Beginner

  • "TheLars" started this thread

Posts: 17

wcf.user.option.userOption53: Ja

  • Send private message

5

Friday, July 23rd 2010, 10:38am

Re: Sourcemod WebAdmin

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
L 07/23/2010 - 10:37:22: SourceMod error session started
L 07/23/2010 - 10:37:22: Info (map "mg_tower") (file "errors_20100723.log")
L 07/23/2010 - 10:37:22: [SM] Unable to load extension "dbi.mysql.ext": libz.so.1: cannot open shared object file: No such file or directory
L 07/23/2010 - 10:37:22: [SM] Unable to load extension "clientprefs.ext": Could not load DB Driver "mysql"
L 07/23/2010 - 10:37:23: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/23/2010 - 10:37:23: [SM] Unable to load plugin "permamute.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/23/2010 - 10:37:23: [SM] Unable to load plugin "quakesounds_css.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/23/2010 - 10:37:23: [SM] Unable to load plugin "showdamage.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 07/23/2010 - 10:37:24: [SM] Plugin encountered error 25: Call was aborted
L 07/23/2010 - 10:37:24: [SM] Native "SetFailState" reported: Database failure: Could not find driver "mysql"
L 07/23/2010 - 10:37:24: [SM] Displaying call stack trace for plugin "sqlfeedback.smx":
L 07/23/2010 - 10:37:24: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/2/8/8/5/0/23466.attach::sql_Connected()
L 07/23/2010 - 10:37:24: [admin-sql-prefetch.smx] Could not connect to database "default": Driver "mysql" not found
L 07/23/2010 - 10:37:24: [admin-sql-prefetch.smx] Could not connect to database "default": Driver "mysql" not found
L 07/23/2010 - 10:37:24: [admin-sql-prefetch.smx] Could not connect to database "default": Driver "mysql" not found



Bringt auch nix...