Welcome to iraf.net Tuesday, March 19 2024 @ 11:28 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Unable to start IRAF with login.cl
   
wpbowman
 11/15/2015 01:31AM (Read 5254 times)  
+----
Newbie

Status: offline


Registered: 11/15/2015
Posts: 2
I am unable to start IRAF with a login.cl file. I run IRAF 2.16 on Linux Fedora 19 and it has worked fine for months. I was working in IRAF yesterday, shutdown my computer when finished, and received the following error today when attempting to start IRAF.


ERROR: segmentation violation
called as: `cl ()'
called as: `cl ()'
called as: `cl ()'
"clbye()"
line 76: votools$votools.cl
called as: `votools ()'
called as: `cl ()'
"clbye()"
line 38: astcat$astcat.cl
called as: `astcat ()'
called as: `cl ()'
"clbye"
line 57: onedspec$onedspec.cl
called as: `onedspec ()'
called as: `cl ()'
called as: `cl ()'
called as: `cl ()'
called as: `cl ()'
"images # some of the preprocessors require hselect"
line 7: photcal$photcal.cl
called as: `photcal ()'
called as: `cl ()'
called as: `cl ()'
called as: `cl ()'
"dataio # rfits task required by aptest.cl script"
line 3: apphot$apphot.cl
called as: `apphot ()'
called as: `cl ()'
"clbye()"
line 15: digiphot$digiphot.cl
called as: `digiphot ()'
called as: `cl ()'
"clbye"
line 26: astutil$astutil.cl
called as: `astutil ()'
called as: `cl ()'
called as: `cl ()'
"images # for the script tasks findthresh, ndprep "
line 3: nproto$nproto.cl
called as: `nproto ()'
"nproto"
line 4: vo$vo.cl
called as: `vo ()'
called as: `cl ()'
called as: `cl ()'
called as: `cl ()'
"clbye()"
line 43: tv$tv.cl
called as: `tv ()'
called as: `cl ()'
called as: `cl ()'
called as: `cl ()'
"clbye()"
line 19: dataio$dataio.cl
called as: `dataio ()'
called as: `cl ()'
"clbye()"
line 41: plot$plot.cl
called as: `plot ()'
called as: `cl ()'
called as: `cl ()'
called as: `cl ()'
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.


So far, I have run mkiraf again in my iraf directory, run mkiraf in a different directory, confirmed I have read/write permissions to my uparm (and all subfiles/folders of my iraf directory) and re-installed IRAF from scratch. None of these have fixed my problem. I am able to start IRAF from any directory when a login.cl file does not exist, but from no directories once a login.cl file is created.

Do you have an idea of what is causing this / how to fix it? Any help would be greatly appreciated.

Thanks, Will Bowman

 
Profile Email
 Quote
fitz
 11/16/2015 05:55PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

My first guess is that this is something like your /tmp directory has filled up, especially if you didn't make any changes to IRAF since it last worked. You might also check for recent changes to your .cshrc/.bashrc/.login etc files that might be doing something new that is causing a problem (e.g. can you 'source' the files without error?).

You can put the command "d_trace" at the top of your login.cl file to get a better idea of exactly what is failing an what is throwing the segmentation violation. The 'cl' command is actually a shell script that for some systems has to issue the command

ulimit -s unlimited (for bash shell, or 'limit stacksize unlimited' for C-shell)

to workaround some linux kernel security features. Be sure you're picking up the current version of the 'cl' command or issue this command at the prompt yourself before logging in to see if it fixes the problem. Was the machine OS updated recently such that the SELinux settings may have been changed?

 
Profile Email
 Quote
wpbowman
 11/17/2015 08:22PM  
+----
Newbie

Status: offline


Registered: 11/15/2015
Posts: 2
Hi Mike, thank you for the reply. This problem has resolved itself. I tried to launch IRAF yesterday (again, having made no intentional changes) and it works fine. I allow automatic updates for my OS, so perhaps there was a bug in an update released over the weekend that was resolved in another update shortly after. Either way, problem solved.

 
Profile Email
 Quote
   
Content generated in: 0.17 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login