Respected All,
Greetings

We have installed the moses server and web server on a single machine on
linux platform. when tested on the local host the system work fine, when we
installed the system on web server for public use. The system some work
fine but most of the we are not getting the translation of the input text
instead the input text is transliterated in the post processing script
written in transliterate.pl.

Moses server is running as daemon.pl. The index.cgi is being used to take
user input and translate.cgi start the moses thread for tranlation.

When error log is inspected it show that only one thread of moses is
running and all other threads are terminated with the error message (error
log attached.)

Please also find the attached source code of daemon.pl, index.cgi and
translate.cgi




-- 
*Regards,*
Vishal Goyal,
Ph.D., M.Tech., MCA, M.C.S.D.
Assistant Professor(Stage III) and Placement Coordinator,
Department of Computer Science,
Punjabi University Patiala-147002
[*Online Hindi to Punjabi Machine Translation Tool -*
http://h2p.learnpunjabi.org ]
*[Research Cell: An International Journal of Engineering Sciences,
http://ijoes.vidyapublications.com <http://ijoes.vidyapublications.com>]*
[Sun Mar 16 15:24:39 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Mar 16 23:25:59 2014] [notice] caught SIGTERM, shutting down
[Mon Mar 17 07:22:05 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Mon Mar 17 09:18:43 2014] [notice] caught SIGTERM, shutting down
[Mon Mar 17 09:56:10 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Mon Mar 17 13:10:06 2014] [notice] caught SIGTERM, shutting down
[Mon Mar 17 14:13:31 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Mon Mar 17 20:01:38 2014] [notice] caught SIGTERM, shutting down
[Mon Mar 17 21:47:05 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Mon Mar 17 22:13:53 2014] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:01:31 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Tue Mar 18 12:24:53 2014] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:26:00 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Tue Mar 18 17:21:25 2014] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
Detokenizer Version 1.0
Language: pu
Detokenizer Version 1.0
Language: pu
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 2 terminated abnormally: Can't connect to localhost:9002 at lib/RemoteProcess.pm line 36.
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 3 terminated abnormally: Can't connect to localhost:9003 at lib/RemoteProcess.pm line 36.
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 4 terminated abnormally: Can't connect to localhost:9004 at lib/RemoteProcess.pm line 36.
Tokenizer v3
Language: hi
Tokenizer v3
Language: hi
Tokenizer v3
Language: hi
Tokenizer v3
Language: hi
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 5 terminated abnormally: Can't connect to localhost:9005 at lib/RemoteProcess.pm line 36.
Translitration v1
Language: pu
Translitration v1
Language: pu
Translitration v1
Language: pu
Translitration v1
Language: pu
Translitration v1
Language: pu
Tokenizer v3
Language: hi
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 6 terminated abnormally: Can't connect to localhost:9006 at lib/RemoteProcess.pm line 36.
Detokenizer Version 1.0
Language: pu
Tokenizer v3
Language: hi
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 7 terminated abnormally: Can't connect to localhost:9007 at lib/RemoteProcess.pm line 36.
Translitration v1
Language: pu
Detokenizer Version 1.0
Language: pu
Tokenizer v3
Language: hi
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 8 terminated abnormally: Can't connect to localhost:9008 at lib/RemoteProcess.pm line 36.
Translitration v1
Language: pu
Tokenizer v3
Language: hi
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:19 2014] translate.cgi: Thread 9 terminated abnormally: Can't connect to localhost:9009 at lib/RemoteProcess.pm line 36.
Translitration v1
Language: pu
Tokenizer v3
Language: hi
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:20 2014] translate.cgi: Thread 10 terminated abnormally: Can't connect to localhost:9010 at lib/RemoteProcess.pm line 36.
Tokenizer v3
Language: hi
[Tue Mar 18 17:22:20 2014] translate.cgi: Thread 11 terminated abnormally: Can't connect to localhost:9011 at lib/RemoteProcess.pm line 36.
Detokenizer Version 1.0
Language: pu
Translitration v1
Language: pu
Detokenizer Version 1.0
Language: pu
Translitration v1
Language: pu
[Tue Mar 18 17:22:20 2014] translate.cgi: Thread 12 terminated abnormally: Can't connect to localhost:9012 at lib/RemoteProcess.pm line 36.
Tokenizer v3
Language: hi
Translitration v1
Language: pu
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:20 2014] translate.cgi: Thread 13 terminated abnormally: Can't connect to localhost:9013 at lib/RemoteProcess.pm line 36.
Tokenizer v3
Language: hi
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:20 2014] translate.cgi: Thread 14 terminated abnormally: Can't connect to localhost:9014 at lib/RemoteProcess.pm line 36.
Tokenizer v3
Language: hi
Tokenizer v3
Language: hi
Translitration v1
Language: pu
Detokenizer Version 1.0
Language: pu
[Tue Mar 18 17:22:20 2014] translate.cgi: Thread 15 terminated abnormally: Can't connect to localhost:9015 at lib/RemoteProcess.pm line 36.
Detokenizer Version 1.0
Language: pu
Translitration v1
Language: pu
[Tue Mar 18 17:22:20 2014] translate.cgi: Thread 16 terminated abnormally: Can't connect to localhost:9016 at lib/RemoteProcess.pm line 36.
Tokenizer v3
Language: hi
Translitration v1
Language: pu
Translitration v1
Language: pu
Tokenizer v3
Language: hi
Translitration v1
Language: pu
[Tue Mar 18 17:22:46 2014] translate.cgi: Wide character in print at /var/www/cgi-bin/hp/translate.cgi line 236, <GEN6> line 4.
[Tue Mar 18 17:22:46 2014] translate.cgi: Wide character in print at /var/www/cgi-bin/hp/translate.cgi line 238, <GEN6> line 4.

Attachment: index.cgi
Description: Binary data

Attachment: translate.cgi
Description: Binary data

Attachment: daemon.pl
Description: Binary data

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to