Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: sourceserver.info. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Mittwoch, 12. Februar 2014, 11:41

Datenbank Problem

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

Zitat

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.

Zitat

"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

Fortgeschrittener

Beiträge: 409

Beruf: Kaufman im Einzelhandel

Rootserver vorhanden: Ja

  • Nachricht senden

2

Mittwoch, 12. Februar 2014, 14:17

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

Lg

Cutti

Anfänger

Beiträge: 32

Wohnort: Köln

Rootserver vorhanden: Ja

  • Nachricht senden

3

Mittwoch, 12. Februar 2014, 16:25

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.

4

Mittwoch, 12. Februar 2014, 16:49

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

Beiträge: 3 980

Wohnort: Hagen

Beruf: Mechatroniker (didaktische Systeme)

Rootserver vorhanden: Nein

  • Nachricht senden

5

Mittwoch, 12. Februar 2014, 16:58

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.

6

Mittwoch, 12. Februar 2014, 22:31

[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.

Zitat

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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Headstyle« (12. Februar 2014, 22:57)


7

Dienstag, 1. April 2014, 03:29

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

Beiträge: 1 056

Wohnort: Österreich

Beruf: IT Systemadministrator

Rootserver vorhanden: Ja

  • Nachricht senden

8

Dienstag, 1. April 2014, 07:30

Hi,

Quellcode

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

9

Mittwoch, 2. April 2014, 04:30

Ö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 ;)

Ähnliche Themen