ВНИМАНИЕ! На форуме началось голосование в конкурсе - астрофотография месяца АПРЕЛЬ!
0 Пользователей и 1 Гость просматривают эту тему.
Мужики, помогите. Для начала сразу скажу, я линухах я чайник. Лет 11 назад полгода посидел под РедХатом, сейчас уже всё забыл, что-то на удивление еще "руки помнят" но многих тупо-ламерских и даже базовых вещей не знаю.Установил Ираф вместе с пакетом SCISOFT, весь пакет целиком. Система Fedora 13. Стало всё в /scisoft, под рутом (тут уже берут сомнения, может надо было в ~/? под юзером).mkiraf запустил из ~/iraf, указал xgterm. Создался файл login.cl. Запускаю xgterm, из директории ~/iraf запускаю "cl", получаю сообщение:
Критично запускать из-под не привилегированного пользователя
Я устанавливал под rootом, а запускаю юзером.
$ cd /iraf$ ./sysinfo General Information -------------------Host name: xxx.xxx.xxx.ruOperating System: FreeBSD xxx.xxx.xxx.ru 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386Architecture: freebsdHSI architecture: freebsdIRAF environment path: <undefined>Checking for <iraf.h> IRAF path: /iraf/iraf/ HOST path: /iraf/iraf/unix/ TMP path: /tmp/Using iraf root path: /iraf/irafIRAF version: /IRAFNET PC-IRAF Revision 2.14.1 Mon Sep 15 10:12:05 MST 2008Install script last run: 12 окт 2009IRAF command directories: /usr/local/binDefault image storage dir: /iraf/imdirsDefault settings in the hlib$zzsetenv.def file: printer: lp stdplot: lp editor: vi imtype: fits stdimage: imt512 cmbuflen: 128000 min_lenuserarea: 64000 graphcap: dev$graphcap termcap: dev$termcap tapecap: dev$tapecapCompilers and Development Tools Available: /usr/bin/cc /usr/bin/gcc /usr/bin/c89 /usr/local/bin/f2c /usr/bin/yacc /usr/local/bin/bison /usr/bin/lex /usr/bin/flex======================= Verifying Installation =======================Checking for <iraf.h> file ... [ OK ]Checking iraf path in system files ... [ OK ]Checking that local command bin directory exists ... [ OK ]Checking iraf file permissions ... [ OK ]Checking iraf command links ... Checking command dir /usr/local/bin ... [ OK ]Checking contents of iraf root directory ... [ OK ]Checking iraf root and imdir directory ... [ OK ]Checking for iraf user account ... [ OK ]Checking iraf user login directory ... [ OK ]Checking for proper iraf tree structure in /iraf ... Checking for 'iraf' subdir ... [ OK ] Checking for 'irafbin' subdir ... [ OK ] Checking for 'irafbin/bin.freebsd' subdir ... [ OK ] Checking for 'irafbin/noao.bin.freebsd' subdir ... [ OK ] Checking file ownerships ... [ OK ]Core system binaries in /iraf/irafbin ... Size Date Status ---- ---- ------ bin.freebsd 66768 12 окт 2009 [ OK ]NOAO Package binaries in /iraf/irafbin ... Size Date Status ---- ---- ------ noao.bin.freebsd 79662 12 окт 2009 [ OK ]HSI system binaries in /iraf/iraf/unix ... Size Date Status ---- ---- ------ bin.freebsd 10556 12 окт 2009 [ OK ]======================= Networking Information =======================Local host name: xxx.xxx.xxx.ruTruncated host name: xxx.xxx.xxDomain name: xxx.xxx.ruNo. of dev$host* files: 1Using IRAF hosts file: /iraf/iraf/dev/hostsChecking for iraf hosts file ... [ OK ] No. nodes in hosts file: 186 irafks.e pathname: /iraf/iraf/bin.freebsd/irafks.e Node aliases: xxx.xxx.xx xxx Network node name: xxx Checking for local node in hosts file ... [ OK ] Checking for irafks.e binary ... [ OK ] Checking for duplicate hosts in dev$hosts file ... [ OK ]Verify NETSTATUS says iraf networking is enabled ... [ OK ]Checking for host in /etc/hosts.equiv ... [ OK ]----------------------------------------------------------------------Recommended /iraf/iraf/dev/hosts file entry for this machine: xxx xxx.xxx.xx : xxx!/iraf/iraf/bin.freebsd/irafks.e===================== Image Display Device Info ======================Display Servers Available: [ OK ] ( Date: 18 апр 2009 ) /usr/local/bin/ximtool ( Date: 3 янв 2010 ) /usr/local/bin/saoimage ( Date: 28 апр 2009 ) /usr/local/bin/ds9Graphics Terminals Available: [ OK ] ( Date: 18 апр 2009 ) /usr/local/bin/xgterm ( Date: 22 апр 2009 ) /usr/local/bin/xtermChecking for /usr/local/lib directory ... [ OK ]Checking for imtoolrc file ... [ OK ]Checking for valid imtoolrc link ... [ OK ]Checking for imtoolcmap directory ... [ OK ]Checking file descriptor limits: [ WARNING ] *** SAOimage has a hardwired restriction of 64 file descriptors, *** however this user shell allows more. When there are many *** windws open SAOimage may fail, this warning applies only *** to users of SAOimage. A 'limit descriptors 64' command *** can be used to reset the limit.Checking for /iraf/iraf/dev/imt1i fifo pipe ... [ OK ]Checking for /iraf/iraf/dev/imt1o fifo pipe ... [ OK ]Checking for /dev/imt1 fifo pipe link ... [ OK ]Checking termcap file for an XGterm entry ... [ OK ]Checking graphcap file for XGterm/imtool entries ... [ OK ]====================== Tape Device Information =======================Checking for hbin$alloc.e binary ... [ OK ]Checking hbin$alloc.e ownership ... [ OK ]Checking hbin$alloc.e binary permissions ... [ OK ]Checking for tapecap file ... [ OK ] Using tapecap file: /iraf/iraf/dev/tapecapTape Device Template: /dev/*sa[0-7]Lok Files on this machine: 1/bin/ls: Нет соответствий.Tape Devices Available: 1 ****************************************************************** ** More tape devices files may be defined than there are actual ** ** devices on the machine. For those file which correspond to ** ** a physical device the file should have mode 666 and be owned ** ** by root. ** ******************************************************************ls: Нет соответствий.=================== External Package Information =====================Number of declared packages: 10Number of logical directories: 11Checking packages ... 1) The 'Path' check verifies that the extern.pkg path exists and is not located in the iraf root directory (NOAO excepted). 2) The 'Helpdb' check verifies that the package is declared in the helpdb string. 3) The 'Binaries' check prints the most recent file date for the installed binaries. A failed test indicates no binaries for the current architecture. 4) The date given is the date of the most recent file in the named bin directory. Dates before 12/99 indicate binaries which should be recompiled for Y2K compliance (assuming IRAF V2.11.3 or later) Package Path Helpdb Binaries Date ------- ---- ------ -------- ---- noao [ OK ] [ OK ] [ OK ] 12 окт 2009 bin.freebsd tables [ OK ] [ OK ] [ OK ] 12 окт 2009 bin.freebsd stsdas [ OK ] [ OK ] [ OK ] 12 окт 2009 bin.freebsd nmisc [ OK ] [ OK ] [ OK ] 26 окт 2009 bin.freebsd gmisc [ OK ] [ OK ] [ OK ] 26 окт 2009 bin.freebsd fitsutil [ OK ] [ OK ] [ OK ] 26 окт 2009 bin.freebsd color [ OK ] [ OK ] [ OK ] 26 окт 2009 bin.freebsd gemini [ OK ] [ OK ] [ OK ] 26 окт 2009 bin.freebsd wcstools [ OK ] [ OK ] [WARN] 3 янв 2010 bin.freebsd mscred [ OK ] [ OK ] [WARN] 13 янв 2010 bin.freebsdChecking logical directories ... Logical Directory Path ----------------- ---- mscdb [ OK ]======================================================================SYSINFO completed with: Tests Passed: 64 Warnings: 3 Errors: 0======================================================================$
Выкинь всё, что сейчас установлено, и действуй строго по инструкции из pciraf.pdf. Так будет проще.
Игорь, как ты Scisoft устанавливал ? Вот документация: http://www.eso.org/sci/data-processing/software/scisoft/INSTALL
Игорь, тогда есть проблемка - где-то в IRAF'е, входящим в SCISOFT забыли пути поменять. Если IRAF'а ставить отдельно, то он как раз пытается найти себя в /iraf/iraf. Очень может быть, что достаточно будет поправить путь до домашней папки пользователя iraf в /etc/passwd (насколько помню для федоры должно прокатить vipw (vim для редактирования passwd-файлов)).
Игорь, покажи вывод http://iraf.noao.edu/iraf/web/sysinfo.html .
Цитата: lazyBSD от 27 Окт 2010 [00:40:31]Выкинь всё, что сейчас установлено, и действуй строго по инструкции из pciraf.pdf. Так будет проще.+1. Если нужен только IRAF, то инструкция из pciraf.pdf поможет на 100%.
В общем действия понятны - создаю юзера, меняю ownership... Несколько уточняющих вопросов. У юзера shell какой? Нашел инструкцию для ubuntu, пишут tcsh, под федору тоже его? Дефолтный в ней bash.
И второй вопрос, ownership менять всем файлам в поддиректории Ираф, или каким-либо еще?
mkiraf после этого запускать от своего юзера или из-под "iraf",
$ cat /etc/passwd|grep irafiraf:*:1003:999:iraf:/iraf/iraf/local:/bin/csh$
________________________________________P.S. Интересно, командная строка, не понимающая нажатия стрелок перемещения курсора (сорит кодами клавиш), и даже Backspace, это норма для Iraf, или у меня что-то всё-таки не так?
Цитата: Pilgrim от 27 Окт 2010 [04:06:51]P.S. Интересно, командная строка, не понимающая нажатия стрелок перемещения курсора (сорит кодами клавиш), и даже Backspace, это норма для Iraf, или у меня что-то всё-таки не так? Это норма.
P.S. Интересно, командная строка, не понимающая нажатия стрелок перемещения курсора (сорит кодами клавиш), и даже Backspace, это норма для Iraf, или у меня что-то всё-таки не так?