[問題] 請問在workstaion RHEL4下如何設定環境 …

看板Linux作者 (())時間16年前 (2009/10/28 21:16), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
各位前輩好,小弟想請問在工作站的RHEL4 OS下如何設定環境變數? 在LICENSE的設定中有一行是:Set your variable LM_LICENSE_FILE to 16661@cad27 但是小弟是LINUX初心者,GOOGLE了很久還是不知道要怎麼設定環境變數。 打 setenv LM_LICENSE_FILE 16661@cad27好像沒有用。 我用 lmgrd -c 啟動license server,卻出現以下錯誤訊息: cad27:/home/raid1_3/user96/j6921014/arteris/noc/arterisTools/bin% 20:25:40 (lmgrd) ----------------------------------------------- 20:25:40 (lmgrd) Please Note: 20:25:40 (lmgrd) 20:25:40 (lmgrd) This log is intended for debug purposes only. 20:25:40 (lmgrd) In order to capture accurate license 20:25:40 (lmgrd) usage data into an organized repository, 20:25:40 (lmgrd) please enable report logging. Use Macrovision's 20:25:40 (lmgrd) software license administration solution, 20:25:40 (lmgrd) FLEXnet Manager, to readily gain visibility 20:25:40 (lmgrd) into license usage data and to create 20:25:40 (lmgrd) insightful reports on critical information like 20:25:40 (lmgrd) license availability and usage. FLEXnet Manager 20:25:40 (lmgrd) can be fully automated to run these reports on 20:25:40 (lmgrd) schedule and can be used to track license 20:25:40 (lmgrd) servers and usage across a heterogeneous 20:25:40 (lmgrd) network of servers including Windows NT, Linux 20:25:40 (lmgrd) and UNIX. Contact Macrovision at 20:25:40 (lmgrd) www.macrovision.com for more details on how to 20:25:40 (lmgrd) obtain an evaluation copy of FLEXnet Manager 20:25:40 (lmgrd) for your enterprise. 20:25:40 (lmgrd) 20:25:40 (lmgrd) ----------------------------------------------- 20:25:40 (lmgrd) 20:25:40 (lmgrd) 20:25:40 (lmgrd) The TCP port number in the license, 16661, is already in use. 20:25:40 (lmgrd) Possible causes: 20:25:40 (lmgrd) 1) The license server manager (lmgrd) is already running for this license. 20:25:40 (lmgrd) 2) The OS has not "cleared" this port since lmgrd died. 20:25:40 (lmgrd) 3) Another process is using this port number (unlikely). 20:25:40 (lmgrd) Solutions: 20:25:40 (lmgrd) 1) Make sure lmgrd and all vendor daemons for this 20:25:40 (lmgrd) license are not running. 20:25:40 (lmgrd) 2) You may have to wait for the OS to clear this port. 20:25:40 (lmgrd) Retrying for about 5 more minutes 20:25:58 (lmgrd) Still trying... 20:26:16 (lmgrd) Still trying... 20:26:34 (lmgrd) Still trying... 20:26:52 (lmgrd) Still trying... 20:27:10 (lmgrd) Still trying... 20:27:28 (lmgrd) Still trying... 20:27:46 (lmgrd) Still trying... 20:28:04 (lmgrd) Still trying... 20:28:22 (lmgrd) Still trying... 20:28:40 (lmgrd) Still trying... 20:28:58 (lmgrd) Still trying... 20:29:13 (lmgrd) Failed to open the TCP port number in the license. 想請教版上的前輩指點, 先謝謝了。m(_ _)m =====以下為我打setenv顯示出來的結果 [j6921014@cad27 ~]$ setenv USER=j6921014 LOGNAME=j6921014 HOME=/home/raid1_3/user96/j6921014 PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin MAIL=/var/spool/mail/j6921014 SHELL=/bin/tcsh SSH_CLIENT=::ffff:140.112.30.84 49255 22 SSH_CONNECTION=::ffff:140.112.30.84 49255 ::ffff:140.112.20.70 22 SSH_TTY=/dev/pts/6 TERM=xterm DISPLAY=localhost:39.0 HOSTTYPE=x86_64-linux VENDOR=unknown OSTYPE=linux MACHTYPE=x86_64 SHLVL=1 PWD=/home/raid1_3/user96/j6921014 GROUP=htt HOST=cad27 REMOTEHOST=wlan.csie.ntu.edu.tw LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: G_BROKEN_FILENAMES=1 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass KDEDIR=/usr LANG=en_US.UTF-8 SUPPORTED=zh_TW.UTF-8:zh_TW:zh:en_US.UTF-8:en_US:en LESSOPEN=|/usr/bin/lesspipe.sh %s QTDIR=/usr/lib64/qt-3.3 HOSTNAME=cad27 INPUTRC=/etc/inputrc LM_LICENSE_FILE=16661@cad27 [j6921014@cad27 ~]$ ※ 編輯: cbao 來自: 140.112.30.84 (10/28 22:07)

10/28 23:38, , 1F
你的錯誤訊息是說,該port已經被佔用了
10/28 23:38, 1F

10/28 23:52, , 2F
但是我改PORT也沒有用說
10/28 23:52, 2F
文章代碼(AID): #1Aw4GMva (Linux)