I modified the owner but it still gets that error:(

From: Tom Hoar <tahoar@...>
Subject: Re: problem in the training step
Newsgroups: gmane.comp.nlp.moses.user
Date: 2013-05-04 10:57:57 GMT
 (23 hours and 49 minutes ago)

This look more like a Linux issue than Moses. You're running everything from 
/opt, which is usually owned by root. You probably want to use chown and chmod 
on /opt/too/s/Moses_1 to change ownership and permissions to the user who runs 
the commands.



On 05/04/2013 01:23 PM, arefeh Kazemi wrote:

Thank you Raohael,

it gtes the following error:
sh: 1: 
/opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/scripts/generic/extract-parallel.perl:
 Permission denied
Exit code: 126
ERROR: Phrase extraction failed (missing input files?) at
            
/opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/scripts/training/train-model.perl
            line 1433.
 
I do the commands under the root and I don't know why it gets Permission 
denied. 

From: Raphael Payen <[email protected]>
To: arefeh Kazemi <arefeh_kazemi-/[email protected]> 
Sent: Saturday, May 4, 2013 1:25 AM
Subject: Re: [Moses-support] problem in the training step

The >& training.out has redirected the output to a
              file named training.out

--
Raphaël Payen

On Fri, May 3, 2013 at 4:58 PM, arefeh Kazemi 
<arefeh_kazemi-/[email protected]> wrote:
> Hi everyone
> when I run this command for training the moses,
              nothing is happen and it
> gets no output and error (it sometime gets some
              output like [3] 2674 where
> the numbers differs). Do anyone else have this
              problem too?
>
> nohup nice
>
/opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/scripts/training/train-model.perl
> -root-dir train -corpus
              /opt/tools/dataset/corpus/fa-en.clean  -f fa -e en
> -alignment grow-diag-final-and -reordering
              msd-bidirectional-fa  -lm
> 0:3:/opt/tools/lm/fa-en.blm.fa:8 -external-bin-dir
>
/opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/tools/
>>& training.out &
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to