Project

General

Profile

DoG Picker connection problem

Added by Claudio Schmidli over 8 years ago

Hi,

When I run the DoG Picker I get the following error:

Fatal error: Uncaught exception 'Exception' with message 'Trying to establish a connection with an unknown host (). Ask your sys admin to add this host to your configuration file.' in /var/www/html/myamiweb/processing/inc/cluster.inc:61 Stack trace: #0 /var/www/html/myamiweb/processing/inc/processing.inc(459): Cluster->__construct(NULL) #1 /var/www/html/myamiweb/processing/inc/processing.inc(707): getNumberOfProcsPerNode(NULL) #2 /var/www/html/myamiweb/processing/inc/processing.inc(759): addProcessingHostParams('runJob.py dogPi...', NULL, NULL, 0, 0, '240', false) #3 /var/www/html/myamiweb/processing/inc/processing.inc(778): addJobSubmitParams('dogPicker.py --...', NULL, NULL, 0, 0, '240', false) #4 /var/www/html/myamiweb/processing/inc/processing.inc(587): submitAppionJob('dogPicker.py --...', '/links/groups/c...', 'dogrun1', '160', 'dogpicker', NULL, false, false, NULL, 0, 0) #5 /var/www/html/myamiweb/processing/runDogPicker.php(214): showOrSubmitCommand('dogPicker.py --...', '

Could you tell me which configuration file I have to edit? And shouldn't the host name be displayed between the braces in the error message? Sorry I'm not an expert and I don't really understand which host and configuration files are meant. Apart from this Leginon and also the WebViewer work very well.

Best regards,

Claudio


Replies (2)

RE: DoG Picker connection problem - Added by Anchi Cheng over 8 years ago

Sorry for not seeing this post for this long.

The configuration file that you need to add the host information is myamiweb/config.php There is a template file in the same folder named config.php.template that has an example of the cluster host information that you need to set.

See Install_the_Web_Interface_Advanced for details.

RE: DoG Picker connection problem - Added by Anchi Cheng over 8 years ago

By the way, the host the error message refers to is a cluster computer with job scheduler such as PBS. When you click "Run command" Appion connects through webserver the clsuter host with the username and password you provide at the top right login area to submit a scheduled job. If all configured right, you can then submit appion jobs through this mechanism.

    (1-2/2)