Message boards : Server programs : "unexpected XML tag or syntax" error in bin/create_work command
Message board moderation
Author | Message |
---|---|
Send message Joined: 14 Feb 13 Posts: 50 |
hello all, I have problem when I want to create workunits for hello world application. The out put is so: bin/./create_work -appname hello -wu_name helloWU -wu_template templates/world_wu.xml -result_template templates/hello_re.xml process_input_template(): unexpected XML tag or syntax create_work: unexpected XML tag or syntax any solution? tnx |
Send message Joined: 21 Jun 06 Posts: 156 |
hello all, You need to check the input_template. Looks like a missing tag somewhere. |
Send message Joined: 14 Feb 13 Posts: 50 |
Thanks for you help,as I am new boinc user just Where is the input template? do you mean templates/world_wu.xml?and do you have any sample template? tnx |
Send message Joined: 21 Jun 06 Posts: 156 |
Thanks for you help,as I am new boinc user just Where is the input template? Take a look into the projects/projectxyz/templates folder. More infos you can find here--> http://boinc.berkeley.edu/trac/wiki/JobSubmission# You can post your template world_wu.xml here. |
Send message Joined: 14 Feb 13 Posts: 50 |
actually I have seen that page. this is my world_wu.xml contents: <!-- workunit template for the BOINC hello world program --> <input_template> <file_info> <number>0</number> [ <gzip/> ] [ <sticky/> ] [ <no_delete/> ] [ <report_on_rpc/> ] [ <url>...</url> ] [ <url>...</url> ] [ <md5_cksum>...</md5_cksum> ] [ <nbytes>...</nbytes> ] </file_info> <workunit> <min_quorum> 2 </min_quorum> <target_nresults> 2 </target_nresults> <max_error_results> 3 </max_error_results> <max_success_results> 6 </max_success_results> <max_total_results> 9 </max_total_results> <rsc_memory_bound> 2e6 </rsc_mem_bound> <rsc_disk_bound> 2e6 </rsc_disk_bound> <rsc_fpops_est> 2e11 </rsc_fpops_est> <rsc_fpops_bound> 6e11 </rsc_fpops_bound> <delay_bound> 90000 </delay_bound> </workunit> </input_template> thanks. |
Send message Joined: 21 Jun 06 Posts: 156 |
actually I have seen that page. Remove these lines, only optional but if you need them remove [] [ <gzip/> ] [ <sticky/> ] [ <no_delete/> ] [ <report_on_rpc/> ] [ <url>...</url> ] [ <url>...</url> ] [ <md5_cksum>...</md5_cksum> ] [ <nbytes>...</nbytes> ] You need also an input file. Can be empty. And at this one <workunit> <file_ref> <file_number>0</file_number> <open_name>input.txt</open_name>//or change the name of the input file <copy_file/> Your command looks like create_work -appname hello -wu_name helloWU -wu_template templates/world_wu.xml -result_template templates/hello_re.xml input.txt |
Send message Joined: 14 Feb 13 Posts: 50 |
Thanks very much for your helpful in information. It is solved. |
Send message Joined: 14 Feb 13 Posts: 50 |
another problem that I have is that when I execute the bin/xadd I see this: Processing <Platform#None i686-pc-linux-gnu> ... Skipped existing <Platform#None i686-pc-linux-gnu> Processing <Platform#None x86_64-pc-linux-gnu> ... Skipped existing <Platform#None x86_64-pc-linux-gnu> Processing <App#None hello> ... Skipped existing <App#None hello> why this is happened? |
Send message Joined: 21 Jun 06 Posts: 156 |
another problem that I have is that when I execute the bin/xadd I see this: You have run this one yet. What do you want to do? Adding new apps? |
Send message Joined: 14 Feb 13 Posts: 50 |
yes I want to add hello application but this was run only once.How can I ensure that it is ok? |
Send message Joined: 21 Jun 06 Posts: 156 |
yes I want to add hello application but this was run only once.How can I ensure that it is ok? bin/appmgr list or check your _ops or apps.php on frontpage |
Send message Joined: 14 Feb 13 Posts: 50 |
thanks it seems that it is added. Another thing is that I can not access to my server web page. when I look into error_log file it says "File does not exist: /var/www/hello". how can I solve this? thanks for your help. |
Send message Joined: 21 Jun 06 Posts: 156 |
thanks it seems that it is added. Your server webpage should be: 192.168.x.x/projectxyz_ops/ 192.168.x.x/projectxyz/ 192.168.x.x/projectxyz/apps.php |
Send message Joined: 14 Feb 13 Posts: 50 |
Actually I have try all of them but non of them is correct. Do you have any httpd.conf template? because in var/www directory the only file is index.html(default) and I think there is some thing wrong with my httpd.conf file. thanks dear. |
Send message Joined: 14 Feb 13 Posts: 50 |
my problem is solved. Thanks for your attention. I really appreciate it. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.