Reseller admin is missing 'bandwidth' from their reseller.conf

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,632
Location
A Coruña, Spain
Reseller admin is missing 'bandwidth' from their ./data/users/admin/reseller.conf file.
Please take a look at the file. It will likely need to be rebuilt.

How can i solve it?

Thanks
 
Please post more details; such as your version of DirectAdmin, and your OS distribution.

Jeff
 
Hello,

You can repair any user.conf and/or reseller.conf to a useable state, after which you can reset the limits.

To repair a reseller named bob with domain bob.com, you'd type:
Code:
cd /usr/local/directadmin/scripts
./fix_da_user.sh [b]bob[/b] reseller [b]bob.com[/b]
which will also fix any user.conf settings that reseller may be missing as well.

The same method applies to fixing users, just use "user" instead of "reseller".
You can also use "admin" if it's an Admin account.
The 3rd domain argument is not required if there is no domain.
If there are multiple domains, you can run the script several times per user, changing the domain each time.
If the "creator" option is missing, you'd need to edit the script if you don't want that user to be assigned to the "admin" reseller.
If you want the IP used to be something other than the server IP, again, edit the script.

John
 
ok i found the problem and i solved (da_fix_user doesnt work on it)

open /usr/local/directadmin/data/users/admin/reseller.conf

delete all that is inside and paste

aftp=ON
bandwidth=unlimited
catchall=ON
cgi=ON
cron=ON
dns=OFF
dnscontrol=ON
domainptr=unlimited
ftp=unlimited
ip=shared
ips=1
mysql=unlimited
nemailf=unlimited
nemailml=unlimited
nemailr=unlimited
nemails=unlimited
ns1=ns3.CrazyNetwork.it
ns2=ns4.CrazyNetwork.it
nsubdomains=unlimited
oversell=OFF
package=admin
php=ON
quota=unlimited
sentwarning=no
serverip=ON
spam=ON
ssh=ON
ssl=ON
subject=Your account for |domain| is now ready for use.
sysinfo=ON
userssh=ON
vdomains=unlimited



In my case in my file i had only

php=ON
quota=unlimited
sentwarning=no
serverip=ON
spam=ON
ssh=ON

dunno why :)

But i copied the list from another server with directadmin and now problem i solved.

PS. DA is last version. OS is Debian 4.0
 
Hi,

I got the same issue, when we update the latest version of DirectAdmin on a
FreeBSD 6.1-RELEASE-p12 server.

The solution SeLLeRoNe displayed work perfectly.
 
Back
Top