Quote:
Originally Posted by terminator2k2
hi there, ive got my new site up and running, but i am getting this error message in sourcemod, which also prevents anyone from even getting on the server...the server just crashes...:
06/07/2010 - 23:47:55: [SM] Plugin encountered error 25: Call was aborted
L 06/07/2010 - 23:47:55: [SM] Native "SetFailState" reported: Connecting to database failed. Read error log for further details.
L 06/07/2010 - 23:47:55: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 06/07/2010 - 23:47:55: [SM] [0] Line 566, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::OnPluginStart()
L 06/07/2010 - 23:47:55: [admin-sql-prefetch.smx] Could not connect to database "default": [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 06/07/2010 - 23:47:55: [admin-sql-prefetch.smx] Could not connect to database "default": [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 06/07/2010 - 23:47:55: [admin-sql-prefetch.smx] Could not connect to database "default": [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
|
Not knowing what you did or how you did your setup, I can see an issue of not connecting to the database.
Things to look at:
- double check your database.cfg to make sure you have the correct info.
- confirm you have the correct url in the database.cfg, by pinging the url.
(Click start>run and enter cmd and enter to open the cmd console. Type ping yoururl. Your url is the database url or ip if you use an ip. You should see several steps taken to reach the database successfully. If incorrect, you will see that it doesn't reach your database server, and you will have to check that.)
- Make sure you setup remotesql, to allow your gameserver access to your database. If not setup, your database server will continue to block the connection.
Just a few ideas to look at.