what is the exact commands you executed? Can you make your model available for download so I can replicate the error.

The server seems to work ok for me on my own laptop and model

On 29/03/2016 15:14, faiza shahid wrote:
Hi,

I'm very new to moses and am currently working on the moses web translation for fr-en. I have tested the moses server on the terminal and followed the steps from the moses website as much as possible but I'm getting errors on the error.log shown below when I try to translate a website: [Tue Mar 29 13:37:31.560334 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("01") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.560484 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("02") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.560548 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("03") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.560606 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("04") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.560664 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("05") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.560831 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("06") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.560894 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("07") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.560949 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("08") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.561001 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("09") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.561049 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("10") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.561097 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("11") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.561146 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("12") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.561195 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("13") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.575431 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("14") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.575495 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("15") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.575545 2016] [cgi:error] [pid 12589] [client 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi: Useless use of a constant ("16") in void context at /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer: http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr [Tue Mar 29 13:37:31.991766 2016] [cgi:error] [pid 12590] [client 192.168.1.97:44204] AH01215: (8)Exec format error: exec of '/usr/lib/cgi-bin/moses-web/index.js' failed, referer: http://192.168.1.121/cgi-bin/moses-web/?frame=top&url=http%3A%2F%2Fwww.lemonde.fr [Tue Mar 29 13:37:31.996931 2016] [cgi:error] [pid 12590] [client 192.168.1.97:44204] End of script output before headers: index.js, referer: http://192.168.1.121/cgi-bin/moses-web/?frame=top&url=http%3A%2F%2Fwww.lemonde.fr

I'm not really sure how to fix this. Much help would be appreciated. I have also looked at the translation-web but there isn't enough information for me to fully work on it.

Many thanks,

Faiza Shahid



_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to