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

"You don't have access to that command."


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Terminator
Junior Member
Join Date: Mar 2013
Old 03-11-2013 , 17:14   "You don't have access to that command."
Reply With Quote #1

Hi there, sourcebans is being really annoying for me. I'm trying to set up admins, but whenever the admin tries to do anything in the server, it gives them the error listed as the title. I'll list all the things I did. I'm also trying to make the autoexec.cfg in the client configs folder.

What I did:
1. I set up a group called founder, which gets root access to both web and server.
2. I assigned 4 players to founder, then I gave one founder a server password, let's call it "admintest".
3. I checked and made sure that sourcebans was working, it's communicating with my server.
4. I went into the core.cfg file and set my PassInfoVar, let's call that "7362".
5. I went into the sourcebans.cfg file and set the ServerId, which is 1.
6. I went into my autoexec.cfg file located in my client cfg folder and put this in it: setinfo "7362" "admintest".

I did all of this, but it still refuses to give admin privileges. It's very frustrating.
The Terminator is offline
The Terminator
Junior Member
Join Date: Mar 2013
Old 03-11-2013 , 18:39   Re: "You don't have access to that command."
Reply With Quote #2

After looking through my logs, this is what is printed: L 03/11/2013 - 17:261: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
The Terminator is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-11-2013 , 23:28   Re: "You don't have access to that command."
Reply With Quote #3

Use the IP instead of the hostname for the SQL server
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
The Terminator
Junior Member
Join Date: Mar 2013
Old 03-12-2013 , 07:59   Re: "You don't have access to that command."
Reply With Quote #4

I would edit the databases.cfg file and under "host name" put the IP of my gameserver?

Last edited by The Terminator; 03-12-2013 at 08:10.
The Terminator is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-12-2013 , 09:54   Re: "You don't have access to that command."
Reply With Quote #5

You would put the IP of the MySQL server, not the gameserver. You probably have it set to "localhost" so you would use "127.0.0.1" instead.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
The Terminator
Junior Member
Join Date: Mar 2013
Old 03-12-2013 , 10:17   Re: "You don't have access to that command."
Reply With Quote #6

I fixed the database problem, however admins still don't have access on the servers. Any ideas why?
The Terminator is offline
element1
Member
Join Date: Jan 2012
Location: New Jersey
Old 03-14-2013 , 17:23   Re: "You don't have access to that command."
Reply With Quote #7

Make sure SourceBans can properly connect to the server without any errors from logs.

Then make sure the admins on the panel are granted access to the right servers.
__________________

element1 is offline
Send a message via Skype™ to element1
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 02:11.


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