Hi Hieu, Many thanks for the help. This is indeed the problem. Somehow, Apache unset this env. Resetting it in my script solves the problem.
Cheers, Guchun On 22 August 2013 16:25, Hieu Hoang <[email protected]> wrote: > doing a > grep env * > in the mgiza source code gives me > user = getenv("USER"); > this might be a problem for you > > > > On 14 August 2013 18:29, Guchun Zhang <[email protected]> wrote: > >> Hi, >> >> I have a web interface on which I can submit training and translation >> requests. The training is done in the background using EMS. Everything is >> fine. Now, I'm trying to call train-model.perl through the interface but >> not using EMS. At step 3, MGIZA throws a coredump signal. I re-ran the >> MGIZA command in shell as user www-data and it worked well. Since EMS works >> fine when called through the interface, I suspect I need to set some >> environment parameters. But I am not sure what they are. Any tips will be >> deeply appreciated. >> >> Many many thanks, >> Guchun >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> > > > -- > Hieu Hoang > Research Associate > University of Edinburgh > http://www.hoang.co.uk/hieu > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
