Project

General

Profile

error when JUST SHOW COMMAND is clicked

Added by Anonymous about 12 years ago

Hi,

The appion pipeline was working properly two weeks ago and recently when I tried to run the DOG picker. the following error is displayed instead of the command

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:58 Stack trace: #0 /var/www/html/myamiweb/processing/inc/processing.inc(462): Cluster->__construct(NULL) #1 /var/www/html/myamiweb/processing/inc/processing.inc(626): addAppionWrapper('dogPicker.py ...', NULL) #2 /var/www/html/myamiweb/processing/inc/processing.inc(589): justShowCommandTable('dogPicker.py ...', NULL) #3 /var/www/html/myamiweb/processing/runDogPicker.php(213): showOrSubmitCommand('dogPicker.py ...', '<br/><table cla...', 'dogpicker', NULL, NULL) #4 /var/www/html/myamiweb/processing/runDogPicker.php(21): runDogPicker() #5 {main} thrown in /var/www/html/myamiweb/processing/inc/cluster.inc on line 58

Please help to solve the issue.

regards,
venkata


Replies (2)

RE: error when JUST SHOW COMMAND is clicked - Added by Amber Herold about 12 years ago

Hi Venkata,
There is a config file on the web server at myamiweb/config.php. This file contains information on processing hosts that are setup to run Appion. It looks like there may not be any processing hosts defined there. You can read an modify config.php by browsing to myamiweb/setup. Enter the database and password then click through a couple of pages. Step 5 is "Configure Processing Hosts". Make sure at least one processing host is displayed. If not, perhaps this file was overwritten or corrupted, which would explain the change in behavior.

You can also go to the troubleshooting page at myamiweb/test/checkwebserver.php. There should be a link to view the myamiweb/config.php file and you can make sure $PROCESSING_HOSTS[] has at least one entry.

Let me know if there is a host defined in the config file and you are still getting this error.

Thanks,
Amber

RE: error when JUST SHOW COMMAND is clicked - Added by Anonymous about 12 years ago

Hi Amber,

Thanks, the processing hosts exists. But it was somehow overwritten. After changing it correctly, it works.

regards,
venkata

    (1-2/2)