Are you using a external database like mysql?
What section of the tute did you get the error in?
I havent seen the error before you might be able to get more answers in the pools forums there is thread there for stratum pool software.
Sir. Thanks for your reply. I have fixed the issue. It was because I did not install sqlite on that fresh ubuntu.