I just completed the upgrade of everything, and after a reboot, I have got some broken software. I am getting error messages from the NCAR command language that "Specified Workstation is NOT Open. In addition, a system call to opngks_() could not open "wrf_mass_plots.ncgm" which is the file it needs to read to produce the metafile.
What changed that would cause software to think the workstation is not open?
Next question.. is it possible to undo the upgrade, or would I be better off doing a clean install of system files should this breakage not be repairable with simplicity?
Sam
A bit more info: I discover I can execute the script as root, but not as my normal user self. SElinux is off, and as far as I know no other security devices are on. Whatever changed is affecting this and probably more, but have not had time to see what else got broken.
Sam Drinkard wrote:
I just completed the upgrade of everything, and after a reboot, I have got some broken software. I am getting error messages from the NCAR command language that "Specified Workstation is NOT Open. In addition, a system call to opngks_() could not open "wrf_mass_plots.ncgm" which is the file it needs to read to produce the metafile.
What changed that would cause software to think the workstation is not open?
Next question.. is it possible to undo the upgrade, or would I be better off doing a clean install of system files should this breakage not be repairable with simplicity?
Sam
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Oct 18, 2005, at 2:09 PM, Sam Drinkard wrote:
I just completed the upgrade of everything, and after a reboot, I have got some broken software. I am getting error messages from the NCAR command language that "Specified Workstation is NOT Open. In addition, a system call to opngks_() could not open "wrf_mass_plots.ncgm" which is the file it needs to read to produce the metafile.
What changed that would cause software to think the workstation is not open?
Next question.. is it possible to undo the upgrade, or would I be better off doing a clean install of system files should this breakage not be repairable with simplicity?
Sam _______________________________________________
I'm guessing you are talking about the NCAR graphics system. How was this software installed? It's not any kind of CentOS package that I am aware of (could be wrong though).
I think you need to examine the error returns of your function calls more closely. In GKS, a workstation is a general term for a graphics device, and in your case, it looks like the metafile is the graphics device. You need to find out why it is unable to open the file.
Tony
Tony Schreiner wrote:
I'm guessing you are talking about the NCAR graphics system. How was this software installed? It's not any kind of CentOS package that I am aware of (could be wrong though).
I think you need to examine the error returns of your function calls more closely. In GKS, a workstation is a general term for a graphics device, and in your case, it looks like the metafile is the graphics device. You need to find out why it is unable to open the file.
Tony _______________________________________________
You are correct Tony, it's the ncar graphics. The sofware was built and installed by me, in the normal (recommended) location, /usr/local/ncarg and the companion language, ncl in /usr/local/ncl. All things worked before the upgrade, so apparently some permissions got changed somewhere along the way. In addition to the workstation not opening, there is an error allocating colors, and setting foreground with undefined results. It appears to be X related, but not positive. There is also an error reported by libhlu.a (Error.o) which is the high level utilities from NCL. Again, it appears on the outset to be permissions since root will open the files normally and execute the script. I just don't see anywhere right off that has had permissions changed from what they were, at least not in any of the /usr/local/* directories.
Sam Drinkard wrote:
You are correct Tony, it's the ncar graphics. The sofware was built and installed by me, in the normal (recommended) location, /usr/local/ncarg and the companion language, ncl in /usr/local/ncl.
just rebuild the src.rpm's that you build initially and reinstall, from the looks of things, lib's that were linked against the app might have changed / moved away.
You did build into rpm's right ?
- K
Karanbir Singh wrote:
Sam Drinkard wrote:
You are correct Tony, it's the ncar graphics. The sofware was built and installed by me, in the normal (recommended) location, /usr/local/ncarg and the companion language, ncl in /usr/local/ncl.
just rebuild the src.rpm's that you build initially and reinstall, from the looks of things, lib's that were linked against the app might have changed / moved away.
You did build into rpm's right ?
- K
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
No, these were not rpm's. The normal configure, make, make install. The package still works, but must now be root to run the fortran script and create the metafile. I've looked for subtle changes in different places but can't seem to find where anything changed, but I may be looking in the wrong place too.