audiotron2002 wrote:So.. guess what? You are correct! I only saw the error once i looked in the log. So what does scalix use postgres for since it seems everything is working as it is. I read somewhere caldev and mobile need it (both of which i dont use and that is why i didnt see the error). If scalix will work fine w/o it then I may just forget about it.
You will want it, postgres is used to store all the indexes for searching, especially in the webclient. So if you ever want to be able to search for mails you should fix it
audiotron2002 wrote:There has to be an easier way then copying the "virgin" postgres directory form the new install? Can you simply delete the database and then rerun the scalix-postgres script? what about uninstalling the scalix-db component and then reinstalling it?
No easier way that i know of, and to me, that is the easiest. postgres is all contained in /var/opt/scalix/??/postgres so whats not easy about....
1. install new scalix on new server.
2. stop scalix.
3. mv /var/opt/scalix/?? /var/opt/scalix/??.old
4. rsync...blah blah...
5. cd /var/opt/scalix/??
6. mv postgres postgres.orig
7. rsync -av /var/opt/scalix/??.old/postrges .
8. ompatchom, omcheck etc.
9. start scalix, postgres is "virgin" and started from scratch.
i wouldn't muck around with trying to remove parts of scalix using the installer in this case. Its far easier to do the process above. I've done it multiple times without problem.
audiotron2002 wrote:Im glad you mentioned that because I was ready to make the new server live!
Scalix should build into their install program the "bare metal" restore concept.
I don't think its something that can be done by Scalix.
When i first had this problem after upgrading to CentOS 5 i tried to find a postgres tool to convert a version 7 database to version 8. My thinking....given the error in the logs surely there is an upgrade tool/script...pg-upgrade or something but alas there was nothing out there, no hints or tips. Now i'm no postgres expert at all but getting postgres under scalix to "start from scratch" using postgres 8 on CentOS 5 using the above method became the way to do things for me and it worked.
Maybe a mention of this in the scalix release notes as a known problem is a good idea.