ERROR: Cannot open connected subprocess (system$x_system.e)
epud wrote on Apr 29, 2009
I do the mkiraf and choose xgterm as terminal. Then I open xgterm and type ecl to start iraf. This is what I get:
I have rebuilt many times with mkiraf but it still does not work. I have installed iraf in my home directory as the /home directory is a separate partition.
Thank you for reading this post.
Paul
Ubuntu on x64
:~$ cl
setting terminal type to xgterm...
ERROR: Cannot open connected subprocess (system$x_system.e)
prcache (directory)
cl ()
cl ()
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.I have rebuilt many times with mkiraf but it still does not work. I have installed iraf in my home directory as the /home directory is a separate partition.
Thank you for reading this post.
Paul
Ubuntu on x64
Mike Fitzpatrick wrote on Apr 29, 2009
The message generically means that either the executable couldn't be found (e.g. installation problem), or else didn't start properly (e.g. missing shared library dependency).
The CL binary is in the same directory as the x_system.e and is reading your login.cl file when the message is printed, so at least the cl.e binary can be found. If /home is you iraf directory, then either you've got an 'iraf' and an 'irafbin' directory there, or both of these are in a /home/iraf directory. In the first case, your $iraf should be /home/iraf, in the second it would be /home/iraf/iraf. This is the directory you give to the installation script as the iraf root and/or what you define as $iraf in your environment. For Ubuntu 64 your architecture name is 'linux', so the irafbin directory should contain a 'bin.linux' and 'noao.bin.linux' directory where you unpacked the IB and NB distribution files. You can run the $iraf/unix/hlib/sysinfo script to help diagnose problems like this.
In the second case above, try going to the $iraf/bin.linux directory and running the x_system.e binary from the linux prompt. Any error message will be helpful, if you get a '>' prompt it started successfully (type 'bye' to exit). Also make sure that the x_system.e binary exists and has the proper execute permissions.
-Mike
The CL binary is in the same directory as the x_system.e and is reading your login.cl file when the message is printed, so at least the cl.e binary can be found. If /home is you iraf directory, then either you've got an 'iraf' and an 'irafbin' directory there, or both of these are in a /home/iraf directory. In the first case, your $iraf should be /home/iraf, in the second it would be /home/iraf/iraf. This is the directory you give to the installation script as the iraf root and/or what you define as $iraf in your environment. For Ubuntu 64 your architecture name is 'linux', so the irafbin directory should contain a 'bin.linux' and 'noao.bin.linux' directory where you unpacked the IB and NB distribution files. You can run the $iraf/unix/hlib/sysinfo script to help diagnose problems like this.
In the second case above, try going to the $iraf/bin.linux directory and running the x_system.e binary from the linux prompt. Any error message will be helpful, if you get a '>' prompt it started successfully (type 'bye' to exit). Also make sure that the x_system.e binary exists and has the proper execute permissions.
-Mike
epud wrote on Apr 29, 2009
Hi Fitz.
Thanks for your prompt reply. My installation is located in the home/iraf/iraf folder. The x_system.e works fine and gives me the desired promt. Here is a short summary of the $iraf/unix/hlib/sysinfo script you suggested:
IRAF environment path: <undefined>
Checking for <iraf.h>
IRAF path: /home/iraf/iraf/
HOST path: /home/iraf/iraf/unix/
TMP path: /tmp/
Using iraf root path: /home/iraf/iraf
IRAF version: /IRAFNET PC-IRAF Revision 2.14.1 Mon Sep 15 10:12:05 MST 2008
Install script last run: 16:06 /home/iraf/iraf/unix/hlib/utime
IRAF command directories: /usr/local/bin
Default image storage dir: /home/iraf/iraf/imdirs
Then all is ok until:
===================== Image Display Device Info ======================
Display Servers Available: [ FAIL ]
None Found
*** No display servers were found on this machine or in the user
*** path. A display server such as XImtool/SAOimage/SAOtng/DS9
*** is required to be running on the local machine before an iraf
*** display command (e.g. DISPLAY/TVMARK/IMEXAMINE) will work.
***
*** Remote displays (i.e. the server on one machine and IRAF on
*** another) require either iraf networking be enabled or the X
*** 'DISPLAY' variable be set so the server appears on the remote
*** machine.
***
*** XImtool can be downloaded from
***
*** http://iraf.net/ftp/iraf/x11iraf
***
*** or it's mirror sites. Contact http://iraf.net with questions.
Checking for /dev/imt1i fifo pipe ... [ FAIL ]
*** The /dev/imt1i fifo pipe is missing.
Checking for /dev/imt1o fifo pipe ... [ FAIL ]
*** The /dev/imt1o fifo pipe is missing.
Checking for /dev/imt1 fifo pipe link ... [ FAIL ]
*** The /dev/imt1 fifo pipe link is missing (but is not
*** strictly required for proper display). If it exists it
*** should be a symlink pointing to /dev/imt1o.
Thank you very much for your help so far.
Thanks for your prompt reply. My installation is located in the home/iraf/iraf folder. The x_system.e works fine and gives me the desired promt. Here is a short summary of the $iraf/unix/hlib/sysinfo script you suggested:
IRAF environment path: <undefined>
Checking for <iraf.h>
IRAF path: /home/iraf/iraf/
HOST path: /home/iraf/iraf/unix/
TMP path: /tmp/
Using iraf root path: /home/iraf/iraf
IRAF version: /IRAFNET PC-IRAF Revision 2.14.1 Mon Sep 15 10:12:05 MST 2008
Install script last run: 16:06 /home/iraf/iraf/unix/hlib/utime
IRAF command directories: /usr/local/bin
Default image storage dir: /home/iraf/iraf/imdirs
Then all is ok until:
===================== Image Display Device Info ======================
Display Servers Available: [ FAIL ]
None Found
*** No display servers were found on this machine or in the user
*** path. A display server such as XImtool/SAOimage/SAOtng/DS9
*** is required to be running on the local machine before an iraf
*** display command (e.g. DISPLAY/TVMARK/IMEXAMINE) will work.
***
*** Remote displays (i.e. the server on one machine and IRAF on
*** another) require either iraf networking be enabled or the X
*** 'DISPLAY' variable be set so the server appears on the remote
*** machine.
***
*** XImtool can be downloaded from
***
*** http://iraf.net/ftp/iraf/x11iraf
***
*** or it's mirror sites. Contact http://iraf.net with questions.
Checking for /dev/imt1i fifo pipe ... [ FAIL ]
*** The /dev/imt1i fifo pipe is missing.
Checking for /dev/imt1o fifo pipe ... [ FAIL ]
*** The /dev/imt1o fifo pipe is missing.
Checking for /dev/imt1 fifo pipe link ... [ FAIL ]
*** The /dev/imt1 fifo pipe link is missing (but is not
*** strictly required for proper display). If it exists it
*** should be a symlink pointing to /dev/imt1o.
Thank you very much for your help so far.
Mike Fitzpatrick wrote on Apr 29, 2009
The complaints about the display server can be ignored for now, it just means it couldn't find DS9 or XImtool in your path. The /dev/imt1[io] pipes should have been created when the iraf install script was run, apparently it was since the /usr/include/iraf.h file was found.
For the paths you give, the x_system.e should be in /home/iraf/irafbin/bin.linux/x_system.e, is it there? Do you define an 'IRAFARCH' variable, and if so is it set to 'linux'? Are there any iraf definitions at all in your .cshrc file? Is this even still a problem?
-Mike
For the paths you give, the x_system.e should be in /home/iraf/irafbin/bin.linux/x_system.e, is it there? Do you define an 'IRAFARCH' variable, and if so is it set to 'linux'? Are there any iraf definitions at all in your .cshrc file? Is this even still a problem?
-Mike
epud wrote on Apr 29, 2009
Hi Mike.
Sorry for my late reply. I still have the problem although I have done a reinstall. The x_system.e file is where you describe. I have not defined an IRAFARCH variable and I have not idea how to do it. Thank for your help so far.
Sorry for my late reply. I still have the problem although I have done a reinstall. The x_system.e file is where you describe. I have not defined an IRAFARCH variable and I have not idea how to do it. Thank for your help so far.
epud wrote on Apr 29, 2009
I installed SciSoft and got it to work on Ubuntu 64bit. Thus now IRAF also works.
Last post on Apr 29, 2009