You are not logged in.

Headstyle

Beginner

  • "Headstyle" started this thread

Posts: 30

wcf.user.option.userOption53: Nein

  • Send private message

1

Wednesday, February 12th 2014, 11:41am

Datenbank Problem

Guten Morgen, ich wollte auf meinem BunnyHop Server dieses Plugin installieren, CS:GO Timer 2.0.6.
Allerdings bekomme ich einige Fehlermeldungen.

Quoted

2014-02-12 11:30:39 [timer-logging.smx] INFO | Logging started
2014-02-12 11:30:39 [timer-scripter_db.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-scripter_db.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-scripter_db.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-scripter_db.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-scripter_db.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-scripter_db.smx] ERROR | PLUGIN STOPPED - Reason: reconnect counter reached max - PLUGIN STOPPED
2014-02-12 11:30:39 [timer-maptier.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-maptier.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-maptier.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-maptier.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-maptier.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:39 [timer-maptier.smx] ERROR | PLUGIN STOPPED - Reason: reconnect counter reached max - PLUGIN STOPPED
2014-02-12 11:30:41 [timer-mapzones.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-mapzones.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-mapzones.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-mapzones.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-mapzones.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-mapzones.smx] ERROR | PLUGIN STOPPED - Reason: reconnect counter reached max - PLUGIN STOPPED
2014-02-12 11:30:41 [timer-physics.smx] DEBUG | Start searching bhop blocks
2014-02-12 11:30:41 [timer-physics.smx] DEBUG | Got 0 buttons and 0 doors
2014-02-12 11:30:41 [timer-physics.smx] DEBUG | Start searching bhop blocks
2014-02-12 11:30:41 [timer-physics.smx] DEBUG | Got 0 buttons and 0 doors
2014-02-12 11:30:41 [timer-worldrecord.smx] ERROR | PLUGIN STOPPED - Reason: reconnect counter reached max - PLUGIN STOPPED
2014-02-12 11:30:41 [timer-maptier.smx] ERROR | PLUGIN STOPPED - Reason: reconnect counter reached max - PLUGIN STOPPED
2014-02-12 11:30:41 [timer-core.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-core.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-core.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-core.smx] ERROR | Connection to SQL database has failed, Reason: Could not find driver "mysql"
2014-02-12 11:30:41 [timer-core.smx] ERROR | PLUGIN STOPPED - Reason: reconnect counter reached max - PLUGIN STOPPED

Das Problem ist nun, dass er auf die Datenbank nicht zugreifen kann, ich weiß auch nicht warum.

Quoted

"timer"
{
"driver" "mysql"
"host" "dedi670.your-server.de"
"database" "DB_BunnyHop"
"user" "*****"
"pass" "******"
"timeout" "120"
"port" "3306"
}
Externer Zugriff auf die Datenbank ist möglich

INIURIA

Intermediate

Posts: 409

Occupation: Kaufman im Einzelhandel

wcf.user.option.userOption53: Ja

  • Send private message

2

Wednesday, February 12th 2014, 2:17pm

Hast du mal getestet was passiert wenn du bei Host die IP eingibst ?

Lg

Cutti

Beginner

Posts: 32

Location: Köln

wcf.user.option.userOption53: Ja

  • Send private message

3

Wednesday, February 12th 2014, 4:25pm

Hatte den Fehler nach Reboot des Server auch mal. Im tmp Verzeichnis fehlte der Link zur mysql.sock.

Zum Beispiel mit: ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock kannst du den wieder anlegen.

Headstyle

Beginner

  • "Headstyle" started this thread

Posts: 30

wcf.user.option.userOption53: Nein

  • Send private message

4

Wednesday, February 12th 2014, 4:49pm

Ich habe vergessen zu erwähnen, dass ich ein Webspace habe. Und dort habe ich auf diesen Ordner keinen Zugriff. Über ein Externes Programm funktioniert es, aber über unseren Root irgendwie nicht

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

5

Wednesday, February 12th 2014, 4:58pm

Den Symlink braucht man nur zu setzen, wenn man über einen POSIX Local Inter-Process Communication Socket die Verbindung aufbaut. Sourcemod macht das, wenn man 127.0.0.1 bzw. localhost verwendet. Genau genommen ist das Verhalten völlig falsch. Früher konnte man den Pfad zum Mysql-Socket angeben. Das spielt aber keine Rolle, sobald es sich um eine externe IP handelt. Dann wird die Verbindung über TCP aufgebaut und nicht über einen Unix Domain Socket.

Connection to SQL database has failed, Reason: Could not find driver "mysql"

Es sieht eher danach aus, dass die Extension für mysql aufgrund einer fehlenden Lib nicht geladen werden konnte. Der Befehl "sm exts list" listet die die geladenen Extensions auf und zeigt ggf. auch welche Extension nicht geladen werden konnte.

Headstyle

Beginner

  • "Headstyle" started this thread

Posts: 30

wcf.user.option.userOption53: Nein

  • Send private message

6

Wednesday, February 12th 2014, 10:31pm

[12] <FAILED> file "geoipcity.ext.so": /home/csgo_server_mg/server/csgo/addons/sourcemod/extensions/geoipcity.ext.so: cannot open shared object file: No such file or directory
[13] <FAILED> file "dbi.mysql.ext.so": libz.so.1: cannot open shared object file: No such file or directory

Diese Fehlermeldung wird angezeigt, wenn ich sm exts list eingebe.

EDIT

Habe in einem alten Beitrag von DeaD EyE die Lösung meines Problems gefunden.

Quoted

apt-get update && apt-get install zlib1g lib32z1

This post has been edited 1 times, last edit by "Headstyle" (Feb 12th 2014, 10:57pm)


Headstyle

Beginner

  • "Headstyle" started this thread

Posts: 30

wcf.user.option.userOption53: Nein

  • Send private message

7

Tuesday, April 1st 2014, 3:29am

Mittlerweile habe ich alles soweit installiert. Habe allerdings nur noch ein Problem.

8.) Restart your server and have fun creating zones.
(It's possible to import your old Timer 1.0.x Zones)

Was habe ich nun zu tun?

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

8

Tuesday, April 1st 2014, 7:30am

Hi,

Source code

1
2
3
4
5
6
7
8
Admin Commands:
sm_zoneadmin - isplays zone admin menu
sm_zoneadminmode <0|1> - Enable/Disable zone admin mode (admin will not trigger zones)
sm_zoneid <id> - Set zone ID (Stage ID)
sm_zonetype <type> - Overwrite zone type
sm_zonereload - Reload zones
sm_npc_next - Spawn NPC teleporter
sm_zone - List zones and let admins teleport to them


https://github.com/Zipcore/Timer/blob/ma…er-mapzones.txt

Greetz

zipcore

Beginner

Posts: 39

wcf.user.option.userOption53: Ja

  • Send private message

9

Wednesday, April 2nd 2014, 4:30am

Öffnest einfach das Admin Menü mit sm_admin, dann gehst du auf Timer Management ;) Dort findest du alle Befehle die du erstmal so brauchst. Ansonsten schreibst du hier einfach nochmal, wenn etwas unklar sein sollte.

Ich habe leider nicht die Zeit eine komplette Dokumentation für meinen Timer zu schreiben, das wird noch einige Zeit brauchen...sind einfach zu viele andere Sachen auf der Todo-Liste ;)

Similar threads