ispCP - Board - Support
Removed domain is stuck - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Removed domain is stuck (/thread-2511.html)

Pages: 1 2 3


RE: Removed domain is stuck - BillMeL8r - 02-21-2008 11:53 PM

Yes there are probably 50+ 0 byte files...Can I just delete those? Do you think they have something to do wih why my domain will not delete?


RE: Removed domain is stuck - joximu - 02-21-2008 11:55 PM

no - I also have them. They only are created when debug = 1 - but they are not deleted automatically... :-(
you can remove them..


RE: Removed domain is stuck - owhosting - 02-22-2008 12:09 AM

Is there a way to manually remove this domain?


RE: Removed domain is stuck - BillMeL8r - 02-22-2008 12:39 AM

I m pretty sure there is but cant find it


RE: Removed domain is stuck - joximu - 02-22-2008 01:11 AM

yes there is:
- go through all tables in the ispcp database and remove the records from this domain.
- remove /var/www/fcgi/<domain>, /var/www/virtual/<domain>, /var/mail/virtual/<domain>, and the domain-user (vuXXX) from /etc/passwd (&shadow) and /etc/group
- remove the vhost settings in /etc/apache2/sites-available/ispcp.conf (and in the copy /etc/ispcp/apache/working), and the mailconfig of the domain in /etc/postfix/ispcp/* and the working copy, and remove the mail users from the userdb* in /etc/courier and its working copy
- remove the databases and db users from the domain if exist...

did I miss something? maybe the wrong order... :-)

/J


RE: Removed domain is stuck - Cube - 02-22-2008 02:25 AM

Quote:did I miss something?
Yes. Tongue

- Remove the domain's AWStats-config in /etc/awstats/
- When using static AWStats, remove the cronjob in /etc/cron.d/ispcp and the working copy
- Remove the custom apache config in /etc/apache2/ispcp/
- Make new databases for the mail-configs (makeuserdb, postmap)


RE: Removed domain is stuck - joximu - 02-22-2008 02:35 AM

I got some more:
and remove the DNS entries in named.conf (and working copy) and remove the dns zone files...


hey - this is alot - now we see that ispCP does alot for us (when it's not broken...)


RE: Removed domain is stuck - BillMeL8r - 02-22-2008 05:18 AM

Make new databases for the mail-configs (makeuserdb, postmap)


This one I am not confident in doing can you please explain how if you have the time? Thankss much


RE: Removed domain is stuck - Cube - 02-22-2008 05:37 AM

Do this with the mail-configs joximu mentioned:
Code:
postmap <postfix-config-file you have edited>
makeuserdb <courier-config-file you have edited>



RE: Removed domain is stuck - BillMeL8r - 02-22-2008 08:30 AM

sorry for all of the question i think this is the last one

How do I do the following steps please

mailconfig of the domain in /etc/postfix/ispcp/* and the working copy, and remove the mail users from the userdb* in /etc/courier and its working copy

And also what i "working version", how do i find...I feel like such a noobie, I guess I am

Thank you all so much!

A