在线咨询 切换到宽版
eetop公众号 创芯大讲堂 创芯人才网

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
楼主: 苦寻爱

ic610 lisence 及变量设置问题 在线等!

[复制链接]
发表于 2012-3-15 16:33:37 | 显示全部楼层
本帖最后由 lik4965 于 2012-3-15 16:38 编辑

0.不必刪除及重裝IC610
1. the lisence server manager (lmgrd) running as root:this is a potential security problem and is not recommended
這個訊息是告訴您,在root user的狀況下,啟動lmgrd (license server)是不被推薦的,因為root權限最大,(super user),可能會有安全上的顧慮...................假若只是run, . play, and learn eda  tools那可不必理會......因為hacker也對您也不感興趣 !!

2. 在單一server的情況下,lmgrd license server的認知是: server name就是host name
license file (/home/yqli/eda/ic610/share/license/license.dat) 中的hostname及port (5280),是可以被自行修改的(host id不行 !!)..........lmgrd license server是推薦port 大於27000,如27000,27001,27002.........

3您的lmli shell script可否看一下 ?.......或者自行檢查一下 ?......................您把license file當成shell script來執行了!!


提供參考 !!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-3-15 18:49:08 | 显示全部楼层
回复 11# lik4965


    先拜谢这个仁兄。幸好我还没有卸掉ic610
    对于您的回答我有几点不是很清楚。(我是刚学linux的。很菜很菜。希望不要见怪。谢谢)

    对于第二段
              【2. 在單一server的情況下,lmgrd license server的認知是: server name就是host name
license file (/home/yqli/eda/ic610/share/license/license.dat) 中的hostname及port (5280),是可以被自行修改的(host id不行 !!)..........lmgrd license server是推薦port 大於27000,如27000,27001,27002.........】
              cadence公司提供的host id和server name是一样的数字。然后我把eth0的mac地址改为了这段数字。(网上都说cadence安装需要更改mac地址。否则不能用。)那么现在我就把lisence的host name位置也改成了这段数字。对不?
              port改为了27000.
    对于第三段
         【3您的lmli shell script可否看一下 ?.......或者自行檢查一下 ?......................您把license file當成shell script來執行了!!】
               这段话,我不是很懂。能否具体说一下,。我在终端应该键入什么代码。才能知道对和错呢?
                这个错误是出自.bashrc这个文件的修改上么?
             万分感谢!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-3-15 19:22:47 | 显示全部楼层
回复 11# lik4965

我将配置的全过程简述如下
license是正版的。前两行
SERVER localhost.localdomain ********** 5280  (按照您的要求。我将5280改为27000.前面的hostname改为了厂家要求的**********。。。。。。。。这两处的“**”都是厂家提供的。号码一样。当然我也把当前的mac地址设置为**********了)
DAEMON cdslmd $CDS_ROOT/tools/bin/cdslmd
保存了lisence。放在了home/yqli/eda/ic610/share/license中了。

将home/yqli/eda/ic610/tools/dfII/samples 目录下的local 文件夹拷贝至/home/yqli/eda/ic610/tools/dfII 目录, 并把local 目录里的cdsinit 文件名修改为.cdsinit

在桌面打开终端
#:cd
#:vi .bashrc
编辑的文件如下:

# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

alias  lmli='/home/yqli/eda/ic610/tools/bin/lmgrd   -c
/home/yqli/eda/ic610/share/license/license.dat'
export OA_HOME=/home/yqli/eda/ic610/OA
export CDS_ROOT=/home/yqli/eda/ic610
export MMSIM_ROOT=/home/yqli/eda/mmsim61
export CDS_LIC_FILE=27000@**********
export LM_LICENSE_FILE=$CDS_ROOT/share/license/license.dat
export CDS_Netlisting_Mode=Analog
export
PATH=$MMSIM_ROOT/tools/binMMSIM_ROOT/tools/spectre/binCDS_ROOT/tools/binCDS_ROOT/tools/dfII/bin:$PATH
export MOZILLA_HOME=/usr/bin/netscape
".bashrc" 34L, 700C   


不知道问题出在哪里了????帮忙修改。谢谢!!
回复 支持 反对

使用道具 举报

发表于 2012-3-15 19:50:18 | 显示全部楼层
回复 1# 苦寻爱


    首先,你用root用户安装了软件,其他用户没办法用!!!
    其次、server就是你计算机的网络代号,如果你没更改的话默认是localhost
回复 支持 反对

使用道具 举报

发表于 2012-3-15 19:52:22 | 显示全部楼层
export CDS_LIC_FILE=27000@**********
你的license有没有规定端口,不然会冲突~
回复 支持 反对

使用道具 举报

发表于 2012-3-15 20:21:59 | 显示全部楼层
本帖最后由 lik4965 于 2012-3-15 22:09 编辑

0. server name是hostname(例如您的是localhost.localdomain) ; host id 是網路卡的mac  ---> 對lmgrd license server而言 !!
keyin下面一行,可得知您的hostid :
/home/yqli/eda/ic610/tools/bin/lmhostid
keyin下面一行,可得知您的hostname :
hostname

1.修改/home/yqli/eda/ic610/share/license/license.dat
SERVER localhost.localdomain ********** 27001  (5280已經被系統使用,不能用 ; 27000是常被synopsys用到,能避開則避開)

**********是指您執行/home/yqli/eda/ic610/tools/bin/lmhostid時,系統所回報的host id  ; 假如回報兩個或兩個以上的host id, 有些版本的lmgrd license server是只會取第一個 (eth0),例如lmhostid執行後,host id是顯示1111 2222 3333,則lmgrd只會將1111當成是host id ; 您若使用2222 或 3333當做license host id ; license file是不會被checkout成功的!!

2.打開兩個終端 (兩個終端都不要關閉,要看發生了什麼事 !!)
A終端 keyin :
/home/yqli/eda/ic610/tools/bin/lmgrd -c /home/yqli/eda/ic610/share/license/license.dat

B終端 keyin以下幾行 :
export OA_HOME=/home/yqli/eda/ic610/OA
export CDS_ROOT=/home/yqli/eda/ic610
export MMSIM_ROOT=/home/yqli/eda/mmsim61
export CDS_LIC_FILE=27001@localhost.localdomain
export LM_LICENSE_FILE=$CDS_ROOT/share/license/license.dat
export CDS_Netlisting_Mode=Analog
export PATH=$MMSIM_ROOT/tools/binMMSIM_ROOT/tools/spectre/binCDS_ROOT/tools/binCDS_ROOT/tools/dfII/bin:$PATH
export MOZILLA_HOME=/usr/bin/netscape
之後再用這個終端啟動IC610看看 !!

3.最後回報一下執行結果 !1
回复 支持 反对

使用道具 举报

发表于 2012-3-15 20:31:41 | 显示全部楼层
1.SERVER localhost.localdomain ********** 5280
   localhost.localdomain以機器的hostname取代
   機器的mac地址要設置為**********(linux應該要有12碼才對)
2.export CDS_LIC_FILE=27000@**********
   export CDS_LIC_FILE=5280@機器的hostname
3.alias  lmli='/home/yqli/eda/ic610/tools/bin/lmgrd   -c /home/yqli/eda/ic610/share/license/license.dat'
   你的lmli開機後只能執行一次,太多次就會有port衝突的情形
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-3-15 21:04:48 | 显示全部楼层
回复 15# lemongy


      您好。谢谢您的回答。
对于您的回答
【export CDS_LIC_FILE=27000@*********
你的license有没有规定端口,不然会冲突~】我在上面的帖子里面写了,我是license第一行里面的port也是27000.您说的冲突应该是指这里把??
【    其次、server就是你计算机的网络代号,如果你没更改的话默认是localhost】
我的服务器默认的是localhost.localdomain。。。。软件商给的server name和host id是什么用途?他们给的license里面第一行就有他们所谓的那个码。也就是**********。所以我都改成**********了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-3-15 21:25:26 | 显示全部楼层
回复 16# lik4965


    大哥。还是不行额。还是能够打开cadence。但是不能创建cell或者查看已有的cell


下面是按照您的方式运行的过程显示:

在第一个终端输入[root@localhost ~]# /home/yqli/eda/ic610/tools/bin/lmgrd   -c /home/yqli/eda/ic610/share/license/license.dat
20:46:47 (lmgrd) -----------------------------------------------
20:46:47 (lmgrd)   Please Note:
20:46:47 (lmgrd)
20:46:47 (lmgrd)   This log is intended for debug purposes only.
20:46:47 (lmgrd)   In order to capture accurate license
20:46:47 (lmgrd)   usage data into an organized repository,
20:46:47 (lmgrd)   please enable report logging. Use Macrovision's
20:46:47 (lmgrd)   software license administration  solution,
20:46:47 (lmgrd)   FLEXnet Manager, to  readily gain visibility
20:46:47 (lmgrd)   into license usage data and to create
20:46:47 (lmgrd)   insightful reports on critical information like
20:46:47 (lmgrd)   license availability and usage. FLEXnet Manager
20:46:47 (lmgrd)   can be fully automated to run these reports on
20:46:47 (lmgrd)   schedule and can be used to track license
20:46:47 (lmgrd)   servers and usage across a heterogeneous
20:46:47 (lmgrd)   network of servers including Windows NT, Linux
20:46:47 (lmgrd)   and UNIX. Contact Macrovision at
20:46:47 (lmgrd)   www.macrovision.com for more details on how to
20:46:47 (lmgrd)   obtain an evaluation copy of FLEXnet Manager
20:46:47 (lmgrd)   for your enterprise.
20:46:47 (lmgrd)
20:46:47 (lmgrd) -----------------------------------------------
20:46:47 (lmgrd)
20:46:47 (lmgrd)
20:46:47 (lmgrd) The license server manager (lmgrd) running as root:
20:46:47 (lmgrd)        This is a potential security problem
20:46:47 (lmgrd)        and is not recommended.
[root@localhost ~]# 20:46:47 (lmgrd) FLEXnet Licensing (v10.8.0.7 build 26147) started on localhost.localdomain (linux) (1/23/2012)
20:46:47 (lmgrd) Copyright (c) 1988-2006 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
20:46:47 (lmgrd) US Patents 5,390,297 and 5,671,412.
20:46:47 (lmgrd) World Wide Web:  http://www.macrovision.com
20:46:47 (lmgrd) License file(s): /home/yqli/eda/ic610/share/license/license.dat20:46:47 (lmgrd) lmgrd tcp-port 27002
20:46:47 (lmgrd) Starting vendor daemons ...
20:46:47 (lmgrd) Started cdslmd (internet tcp_port 32967 pid 16504)
20:46:47 (cdslmd) FLEXnet Licensing version v10.8.0.7 build 26147
20:46:47 (cdslmd) Cannot open lock file. errno=11 (/var/tmp/lockcdslmd): Resource temporarily unavailable
20:46:47 (cdslmd) EXITING DUE TO SIGNAL 41
20:46:47 ((lmgrd)) Loop info: MT:0 VD_HB:0 reset:0clients:0fd's:0
20:46:47 (lmgrd) cdslmd exited with status 41 (Exited because another server was running)
20:46:47 (lmgrd) MULTIPLE "cdslmd" license server systems running.
20:46:47 (lmgrd) Please kill, and run lmreread
20:46:47 (lmgrd)
20:46:47 (lmgrd) This error probably results from either:
20:46:47 (lmgrd)   1. Another copy of the license server manager (lmgrd) is running.
20:46:47 (lmgrd)   2. A prior license server manager (lmgrd) was killed with "kill -9"
20:46:47 (lmgrd)       (which would leave the vendor daemon running).
20:46:47 (lmgrd) To correct this, do a "ps -ax | grep cdslmd"
20:46:47 (lmgrd)   (or equivalent "ps" command)
20:46:47 (lmgrd) and kill the "cdslmd" process.
20:46:47 (lmgrd)


第二个终端输入[root@localhost ~]# export OA_HOME=/home/yqli/eda/ic610/OA
[root@localhost ~]# export CDS_ROOT=/home/yqli/eda/ic610
[root@localhost ~]# export MMSIM_ROOT=/home/yqli/eda/mmsim61
[root@localhost ~]# export CDS_LIC_FILE=27002@localhost.localdomain
[root@localhost ~]# export LM_LICENSE_FILE=$CDS_ROOT/share/license/license.dat
[root@localhost ~]# export CDS_Netlisting_Mode=Analog
[root@localhost ~]# export
declare -x CDS_LIC_FILE="27002@localhost.localdomain"
declare -x CDS_Netlisting_Mode="Analog"
declare -x CDS_ROOT="/home/yqli/eda/ic610"
declare -x COLORTERM="gnome-terminal"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-odrkxb1YZJ"
declare -x DESKTOP_SESSION="default"
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="default"
declare -x GNOME_DESKTOP_SESSION_ID="Default"
declare -x GNOME_KEYRING_SOCKET="/tmp/keyring-375bw7/socket"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOSTNAME="localhost.localdomain"
declare -x INPUTRC="/etc/inputrc"
declare -x KDEDIR="/usr"
declare -x LANG="en_US.UTF-8"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LM_LICENSE_FILE="/home/yqli/eda/ic610/share/license/license.dat"
declare -x LOGNAME="root"
declare -x 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;01r=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:"
declare -x MAIL="/var/spool/mail/root"
declare -x MMSIM_ROOT="/home/yqli/eda/mmsim61"
declare -x MOZILLA_HOME="/usr/bin/netscape"
declare -x OA_HOME="/home/yqli/eda/ic610/OA"
declare -x OLDPWD
declare -x PATH="/home/yqli/eda/mmsim61/tools/bin:/home/yqli/eda/mmsim61/tools/spectre/bin:/home/yqli/eda/ic610/tools/bin:/home/yqli/eda/ic610/tools/dfII/bin:/home/yqli/eda/mmsim61/tools/bin:/home/yqli/eda/mmsim61/tools/spectre/bin:/home/yqli/eda/ic610/tools/bin:/home/yqli/eda/ic610/tools/dfII/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin"
declare -x PWD="/root"
declare -x QTDIR="/usr/lib64/qt-3.3"
declare -x QTINC="/usr/lib64/qt-3.3/include"
declare -x QTLIB="/usr/lib64/qt-3.3/lib"
declare -x SESSION_MANAGER="local/localhost.localdomain:/tmp/.ICE-unix/26543"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SSH_AGENT_PID="26573"
declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
declare -x SSH_AUTH_SOCK="/tmp/ssh-cvZAr26543/agent.26543"
declare -x TERM="xterm"
declare -x USER="root"
declare -x WINDOWID="19923121"
declare -x XAUTHORITY="/root/.Xauthority"
[root@localhost ~]# PATH=$MMSIM_ROOT/tools/binMMSIM_ROOT/tools/spectre/binCDS_ROOT/tools/binCDS_ROOT/tools/dfII/bin:$PATH
[root@localhost ~]# export MOZILLA_HOME=/usr/bin/netscape
[root@localhost ~]# icfb &
[1] 16505
[root@localhost ~]#


cadence能够打开。。。查看原件或者建立cell的时候。cadence下面的那个运行框里面的代码有warning

代码如下:COPYRIGHT © 1992-2006  CADENCE DESIGN SYSTEMS INC.  ALL RIGHTS RESERVED.
          © 1992-2006  UNIX SYSTEMS Laboratories INC.,
                         Reproduced with permission.
This Cadence Design Systems program and online documentation are
proprietary/confidential information and may be disclosed/used only
as authorized in a license agreement controlling such use and disclosure.
          RESTRICTED RIGHTS NOTICE (SHORT FORM)
Use/reproduction/disclosure is subject to restriction
set forth at FAR 1252.227-19 or its equivalent.
Program:  @(#)$CDS: virtuoso.exe version 6.1.0 10/10/2006 14:09 (cds126047) $
Sub version:  sub-version IC6.1.0.243 (32-bit addresses)
Loading geView.cxt
Loading LVS.cxt
Loading layerProc.cxt
Loading xlUI.cxt
Loading auCore.cxt
Loading schView.cxt
Loading selectSv.cxt
Loading vhdl.cxt
Loading seismic.cxt
Loading ams.cxt
END OF SITE CUSTOMIZATION
*WARNING* (icLic-3) Could not get license Virtuoso_Schematic_Editor_L
(deLicense-5) Could not get the license for Symbol. Open aborted.
*WARNING* (icLic-3) Could not get license Virtuoso_Schematic_Editor_L
(deLicense-5) Could not get the license for Symbol. Open aborted.
*WARNING* (icLic-3) Could not get license Virtuoso_Schematic_Editor_L
(deLicense-5) Could not get the license for Symbol. Open aborted.
*WARNING* (icLic-3) Could not get license Virtuoso_Schematic_Editor_L
(deLicense-5) Could not get the license for Symbol. Open aborted
回复 支持 反对

使用道具 举报

发表于 2012-3-15 21:51:43 | 显示全部楼层
本帖最后由 lik4965 于 2012-3-15 22:07 编辑

...........
20:46:47 (lmgrd) MULTIPLE "cdslmd" license server systems running.
............

以上訊息顯示系統在此之前已經啟動了一個cdslmd, (大概是5280 port吧!!).....................lmgrd license server規定系統,相同的vendor daemon只能有一個被執行(如cdslmd) !!

假如目前這linux系統只有您一個人在使用並且沒有正在run cadence'的software的話,那就shutdown cadence的license server !!

keyin :
/home/yqli/eda/ic610/tools/bin/lmdown

一兩分鐘 (1~2 min)之後,
keyin:
/home/yqli/eda/ic610/tools/bin/lmgrd -c /home/yqli/eda/ic610/share/license/license.dat

回報一下結果!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-8-5 17:23 , Processed in 0.016723 second(s), 3 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表