HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   Reset client count on ispconfig 3 (

WeaponX 18th October 2012 19:41

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?


till 18th October 2012 19:46

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.

WeaponX 18th October 2012 20:15

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.

All times are GMT +2. The time now is 20:29.

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