Hello Zhangsheng,
Thank you for your question about adding a new genome database to your mirror server. From the error output you provided, it looks like the problem is probably due to a line in your ~/.hg.conf file. Open that file and look for a line that looks like "showTableCache=xxxx". Please delete that line. hgLoadSql and hgGoldGapGI should then work correctly. If you copied your ~/.hg.conf file from the files used by the Genome Browser in a Box (GBiB - http://genome.ucsc.edu/goldenPath/help/gbib.html), please be careful. Some of the settings in GBiB files are specifically for GBiB and are not appropriate for other mirror sites.
You may also be interested in creating an assembly hub for your new genome. Assembly hubs are a tool that we created to make it easier to add new genomes to mirror sites, as well as to view your own genomes on our public website athttp://genome.ucsc.edu. More information about how to create an assembly hub is available at http://genomewiki.ucsc.edu/index.php/Assembly_Hubs and http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html. You may also be interested in the answer to this mailing list question: https://groups.google.com/a/soe.ucsc.edu/d/topic/genome/ozSm1vjaxRY/discussion. It gives a bit more information about the requirements for creating an assembly hub.
I hope this is helpful. If you have any further questions, please reply to gen...@soe.ucsc.edu or genome...@soe.ucsc.edu. Questions sent to those addresses will be archived in publicly-accessible forums for the benefit of other users. If your question contains sensitive data, you may send it instead to genom...@soe.ucsc.edu.
--
Jonathan Casper
UCSC Genome Bioinformatics Group
--