preinst.exe /syncchild ABC Not a known site

Sometimes, when you try to sync your child site using preinst command you may get a message ABC not a known site.  This will happen due to improper removal of the site.

Follow the below steps to resolve the same. most of the cases it works. (Modify the SQL tables on your own risk, have a correct back up of DB before any changes to DB)

Delete the site associated tables using the below query

delete from sysreslist where sitecode = ‘ABC’
delete from siteboundaryadsite where sitecode = ‘ABC’
delete from siteboundaryipsubnet where sitecode = ‘ABC’
delete from sitecontrol where sitecode = ‘ABC’
delete from sitecontrolnotification where sitecode = ‘ABC’
delete from sites where sitecode = ‘ABC’
delete from sites_data where sitecode = ‘ABC’
delete from sitework where sitecode = ‘ABC’
delete from pkgservers where sitecode = ‘ABC’
delete from pkgstatus where sitecode = ‘ABC’
delete from contentdpmap where sitecode = ‘ABC’
go

After executing the above query, copy the sitectrl.ct0  from child to parent server desktop and rename the same to sitectrl.ct2 and past it in Hman box of parent. this will add the chid site back. keep a watch on Hman.log at parent for any errors.

Advertisements
This entry was posted in Troubleshooting. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s