[IPython-user] ipython1 problem?

Fernando Perez fperez.net at gmail.com
Tue Nov 21 17:04:30 CST 2006


On 11/21/06, Brian Granger <ellisonbg.net at gmail.com> wrote:
> It looks like the engines are starting but are not finding the
> controller you have running.  Things to check:
>
> 1.  Do you have a firewall blocking ports on the controller's computer?
>
> 2.  Did you tell the engines where the controller is running:
>
> ipengine --controller-ip=[ip of the machine running the controller]
>
> Another way of finding out what is going on is to start the
> ipcontroller and ipengine with the -l flags:
>
> ipcontroller -l cont
> ipengine -l eng
>
> These will cause the log files to be written to disk in the format:
>
> contpid.log
> engpig.log

Also, note that if you are using ipcluster to start things, it makes
all logs go to

~/.ipython/ipcluster-PID1-{con|eng}-HOST-PID2.log

where:

 - PID1: PID of the starting process (the ipcluster script).  This
simply allows you to have a common lexicographical sorting tag for all
processes (controller and engines) coming from a given invocation of
iplucster.

- 'con' or 'eng': tag to mark whether that log file is for a
controller or an engine

- HOST: host where that particular process is actually running.

- PID2: PID of that particular process (controller or engine).

This format seems to allow easy automatic organization, debugging and
cleanup of logfiles, feel free to suggest improvements.

Cheers,

f


More information about the IPython-user mailing list