Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th October 2012, 19:41
WeaponX WeaponX is offline
Junior Member
 
Join Date: Dec 2010
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Default Reset client count on ispconfig 3

Thanks in advanced.

I have a new server with ISPConfig 3 and i did few test accounts (clients with web and ftp). I am looking to reset the client database to start from scratch again instead of continuing the client count.
For example: I Removed all clients and web information from ISPconfig 3 and all fields are empty. i also when into the database to remove all information there of all the clients. Also, i removed everything releated to the clients in /etc/passwd /etc/groups.

Then i created a new client with site and domain. Instead of giving client1 group1 web1 it gave me client5 group5 and web5.

How can i reset and start from scratch?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 18th October 2012, 19:46
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,994
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

Use the truncate frunction from mysql if you want to empty a database table and reset its counters instaed of the delete function. Btw, maipulation records in the database and /etc/passwd and /etc/shadow can damage your ispconfig system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
WeaponX (18th October 2012)
  #3  
Old 18th October 2012, 20:15
WeaponX WeaponX is offline
Junior Member
 
Join Date: Dec 2010
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Thanks. Using Truncate funtion in mysql did the trick. I know it's dangerous to manipulate database fields and /etc/passwd /etc/group /etc/shadow. But i was carefull just to remove the fields with; web/client on them.
Thanks again.
Reply With Quote
Reply

Bookmarks

Tags
client, database, ispconfig3, reset, web

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
All files gone after changing quota to 0 spynode General 17 19th January 2012 15:41
Being Spammed/Hacked/Probed not sure PLEASE HELP! kresser General 10 29th October 2010 18:25
ISPConfig 3.0.0.8 RC1 released till General 92 22nd February 2010 10:52
ISPConfig update reset the whole database ehsan General 8 27th May 2008 10:50


All times are GMT +2. The time now is 10:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.