Raised This Month: $32 Target: $400
 8% 

sourcebans error log


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
enermax
Member
Join Date: May 2015
Old 05-24-2015 , 06:20   sourcebans error log
Reply With Quote #1

L 05/24/2015 - 12:18:43: SourceMod error session started
L 05/24/2015 - 12:18:43: Info (map "de_dust2") (file "errors_20150524.log")
L 05/24/2015 - 12:18:43: [SM] Failed to load plugin "sourcebans.smx": Unable to load plugin (error 1: Unrecognizable file format).

Help pls?
__________________
enermax is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 05-24-2015 , 18:31   Re: sourcebans error log
Reply With Quote #2

Try downloading the plugin again..
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
enermax
Member
Join Date: May 2015
Old 05-25-2015 , 09:37   Re: sourcebans error log
Reply With Quote #3

Native "SetFailState" reported: Database failure: Could not find Database conf "sourcebans"
__________________
enermax is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-25-2015 , 09:58   Re: sourcebans error log
Reply With Quote #4

you forgot to configure database.cfg
__________________
WildCard65 is offline
enermax
Member
Join Date: May 2015
Old 05-25-2015 , 10:29   Re: sourcebans error log
Reply With Quote #5

No. I've done everything as SourceBans has shown that here my cfg and error logs

databases.cfg
Code:
"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"
    }
}
"Databases"
{
    "driver_default"        "mysql"
    
    "sourcebans"
    {
        "driver"            "mysql"
        "host"                "localhost"
        "database"            "U1111V292_sb"
        "user"                "redjacket"
        "pass"                "xxxxxxxxx"
        //"timeout"            "0"
        "port"            "3306"
    }
    
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }
}
error log
Code:
L 05/25/2015 - 16:24:08: SourceMod error session started
L 05/25/2015 - 16:24:08: Info (map "de_dust2") (file "errors_20150525.log")
L 05/25/2015 - 16:24:08: [SM] Plugin encountered error 25: Call was aborted
L 05/25/2015 - 16:24:08: [SM] Native "SetFailState" reported: Database failure: Could not find Database conf "sourcebans"
L 05/25/2015 - 16:24:08: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 05/25/2015 - 16:24:08: [SM]   [0]  Line 206, sourcebans.sp::OnPluginStart()
sourcebans log
Code:
L 05/25/2015 - 16:24:08: [sourcebans.smx] Database failure: Could not find Database conf "sourcebans". See FAQ: http://sourcebans.net/node/19
Help Me Pls?
__________________
enermax is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-25-2015 , 10:45   Re: sourcebans error log
Reply With Quote #6

Ya... You derped the databases.cfg and how: You have 2 entries in it when there should be 1 and SourceMod is going with the FIRST entry set it finds which doesn't have what sb plugin is looking for.
PHP Code:
"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"            "mysql"
        "host"                "localhost"
        "database"            "U1111V292_sb"
        "user"                "redjacket"
        "pass"                "xxxxxxxxx"
        
//"timeout"            "0"
        
"port"            "3306"
    
}

Next time: Combine entries you get with the master list that comes default with SM.
__________________
WildCard65 is offline
enermax
Member
Join Date: May 2015
Old 05-25-2015 , 10:58   Re: sourcebans error log
Reply With Quote #7

thank you now comes this error

L 05.25.2015 - 16:55:23: [sourcebans.smx] Database failure: [2002]: Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2 ). See FAQ: http://www.sourcebans.net/node/20
__________________
enermax is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 05-25-2015 , 14:19   Re: sourcebans error log
Reply With Quote #8

Quote:
Originally Posted by enermax View Post
thank you now comes this error

L 05.25.2015 - 16:55:23: [sourcebans.smx] Database failure: [2002]: Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2 ). See FAQ: http://www.sourcebans.net/node/20
Use 127.0.0.1 instead of localhost
__________________
Sarabveer is offline
enermax
Member
Join Date: May 2015
Old 05-25-2015 , 14:39   Re: sourcebans error log
Reply With Quote #9

L 05/25/2015 - 206:41: [sourcebans.smx] Database failure: [1045]: Access denied for user 'redjacket'@'localhost' (using password: YES). See FAQ: http://www.sourcebans.net/node/20
__________________
enermax is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 05-25-2015 , 15:51   Re: sourcebans error log
Reply With Quote #10

Quote:
Originally Posted by enermax View Post
L 05/25/2015 - 206:41: [sourcebans.smx] Database failure: [1045]: Access denied for user 'redjacket'@'localhost' (using password: YES). See FAQ: http://www.sourcebans.net/node/20
Use [CODE] tags when posting logs and source codes! CODE keeps the formatting (and disables smiley stuff, etc).


- Wrong username.
- Wrong password.
- Your user 'redjacket' is not allowed to connect from 127.0.01/localhost.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode