I have a similar problem:
Following errors:
Maxfwd module- initializing
0(28433) mod_init(): Database connection opened successfuly
acc - initializing
voicemail - initializing
0(0) submit_query(): Unknown column 'user_agent' in 'field list'
0(0) submit_query(): Error while submitting query
0(0) preload_udomain(): Error while doing db_query
0(0) register_udomain(): Error while preloading domain 'aliases'
0(0) domain_fixup(): Error while registering domain
ERROR: error ffffffff while trying to fix configuration
I don't see where the columns for the query are defined in the config.
The change I made (and changed back) was to point SER at different DB
machine.