QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: lf426

请问如下环境变量应该如何设置

[复制链接]
 楼主| 发表于 2004-3-6 20:41:24 | 显示全部楼层
对,前面应该是
if [ $RATTREE = $RMANTREE ]; then
export PATH=$PATH:$RMANTREE/bin
else
export PATH=$PATH:$RATTREE/bin:$RMANTREE/bin
fi

的效果,我有不知道为什么会有/root/bin……

我再试试,呵呵,麻烦你了。
回复

使用道具 举报

 楼主| 发表于 2004-3-6 21:08:11 | 显示全部楼层
谢谢老大,哈哈,我用
PATH=$PATH:/bin:/usr/bin:/usr/loca/bin:/usr/bin/X11
之后可以使用vi了。
我的错误原来是把
export PATH=$PATH:$RATTREE/bin:$RMANTREE/bin
中的第一个$PATH忘写了……失败啊,差点就想重装了,谢谢你救我系统一命。
呵呵。

我说的那个版本问题,因为实际上我要用到的这个软件是Maya的一个插件,现在是在Maya里面装载不了,怎么才能到终端里面去看信息呢?
另外,我加那两个脚本是不是应该直接自己运行的啊,为什么我在进度里面看不到呢?
是不是我放的位置不对,还是语法不对?
回复

使用道具 举报

发表于 2004-3-6 21:25:34 | 显示全部楼层
你从终端中启动你的 maya,然后装载这个插件,如果装载不了,想必maya也会向终端中输出信息的 ~~ 猜测应该是这样,你留意一下。
//
cd /etc/rc2.d
chmod +x 你的脚本
回复

使用道具 举报

发表于 2004-3-7 01:34:27 | 显示全部楼层
rat for linux要设置的东西不少啊……
其实主要也就只有这么几个变量:
RATTREE=/opt/pixar/rat-5.5.1
RMANTREE=/opt/pixar/prman-11.3.1
PATH=$PATH:/opt/pixar/prman-11.3.1/bin:/opt/pixar/rat-5.5.1/bin
最好把这几个变量也写在maya的启动脚本里
重要的是启动license server……[修改过renderman.ini和alfred.ini之后]
lmgrd -c license.dat启动license server(只要用的不是reiserfs)
然后alfred -maitre_d启动maitre_d(不启动也可以……)
其实没有必要完全按照它的说明来做……
我就是用上面的方法装的,后来用了reiserfs,lmgrd起不来了

这是我的.bashrc:
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
export RMANTREE=/opt/pixar/prman-11.3.1
export RATTREE=/opt/pixar/rat-5.5.1
PATH=$PATH:$RMANTREE/bin:$RATTREE/bin:$RMANTREE
回复

使用道具 举报

 楼主| 发表于 2004-3-7 20:08:03 | 显示全部楼层
谢谢Ivn和cobranail的提示。
我按照Ivn的方法在终端里面启动Maya并加载RAT,提示没有找到License服务。

我按照cobranail的方法运行
lmgrd -c licnese.dat
告诉我无法启动,可能是什么原因呢?

另外请问cobranail,我是装在RH9.0下面的,RAT可以使用吗?(是for 7.3版本的)
回复

使用道具 举报

 楼主| 发表于 2004-3-7 20:52:26 | 显示全部楼层
是不是因为防火墙?应该在哪里设置防火墙?(我安装的时候只勾上了web,ftp和mail,其他都没选)
回复

使用道具 举报

 楼主| 发表于 2004-3-7 21:46:55 | 显示全部楼层
错误提示是:
Incorrectly built binary which accesses errno,h _errno or _res directly.Needs to be fixed.

难道是pixard文件的问题?我的这个文件是581,946 字节。

license.dat文件是(当然计算机名字我已经该成自己的了)
SERVER your_hostname 00e0beefbabe 7498
USE_SERVER
DAEMON pixard ./pixard
FEATURE PhotoRealistic-RenderMan pixard 11.000 31-dec-2010 5000 \
        DCEE00E1E099EF77F977 VENDOR_STRING=Midnight \
        vendor_info=SIG={NHTLE_WJI\DjLWWQZiYAlLZ9QC8AT_U[kSLfLSXMH1RYkCBGNUfADgYIMFV6ZA5W_aZKXDR=\M;PNV]WdLM7YN=IUPQB@RZF} \
        ck=67
FEATURE PRMan-INTEL-NT pixard 11.000 31-dec-2010 5000 \
        FC3E20319CBE1E3E41C3 VENDOR_STRING=Midnight ck=3
FEATURE PRMan-INTEL pixard 11.000 31-dec-2010 5000 \
        9CEE70B1A76BDA37C786 VENDOR_STRING=Midnight ck=38
FEATURE PRMan-SGI pixard 11.000 31-dec-2010 5000 3CBE70F13B497809F2E1 \
        VENDOR_STRING=Midnight ck=5
FEATURE RATalfred pixard 5.500 31-dec-2010 5000 DC9E7051736A69CB7FBB \
        VENDOR_STRING=Midnight ck=96
FEATURE RATmtor pixard 5.500 31-dec-2010 5000 1CAE20116B653E7A8240 \
        VENDOR_STRING=Midnight ck=32
FEATURE RATslim pixard 5.500 31-dec-2010 5000 2C4EF0B1589D9C5BB988 \
        VENDOR_STRING=Midnight ck=12
FEATURE RATalfserver pixard 5.500 31-dec-2010 5000 \
        AC6E8031FB1394ABFFB5 VENDOR_STRING=Midnight ck=58
FEATURE RAT-NT pixard 5.500 31-dec-2010 uncounted \
        4CEE8081FD0FAAC9408B VENDOR_STRING=Midnight HOSTID=ANY ck=47
FEATURE RAT-Linux pixard 5.500 31-dec-2010 uncounted \
        1CFEA091CD6B9FB5347A VENDOR_STRING=Midnight HOSTID=ANY ck=107
FEATURE RAT-Irix pixard 5.500 31-dec-2010 uncounted \
        AC3EB021DDCBBD24B44C VENDOR_STRING=Midnight HOSTID=ANY ck=62
FEATURE RATutils pixard 5.500 31-dec-2010 uncounted \
        9C2E6031C4B99E4D28A1 VENDOR_STRING=Midnight HOSTID=ANY \
        vendor_info=SIG={NHTLE_WJI\DjLWWQZiYAlLZ9QC8AT_U[kSLfLSXMH1RYkCBGNUfADgYIMFV6ZA5W_aZKXDR=\M;PNV]WdLM7YN=IUPQB@RZF} \
        ck=30

我刚刚把防火墙关了,还是不行。
回复

使用道具 举报

发表于 2004-3-8 02:49:59 | 显示全部楼层
那个错误提示不用管,不影响。
首先不能用reiserfs,如果实在不喜欢ext3/ext2,就用sgi-xfs。
license应该是没有问题的(反正我也看不懂,既然是crack,就应该能用)
和放火强也没有关系。
compat-stdlibc++一定要装。
for 7.3的实际上就是for rh8/rh9/fc1/fc2……rh9上是可以用的。
对于用lvn的方法:
用ps -e看看lmgrd和pixard进程是否都存在(必须都存在),如果存在就说明license server已经启动,这时要修改renderman.ini和alfred.ini,把license server加上,然后就可以load mtor了。
对于我的:
你没有提供出错信息,我也不知道是什么原因。
把出错信息贴出来。
关于license sever启动的问题,在vfx上讨论过,vfx上对crack管的很凶,对这个问题的讨论都是提示性的,去看看也许会有启发,在SGI/linux版。
不要用reiserfs,切记

这是一次完整的启动:
[user@inferno user]$ cd /opt/pixar/license-2.0/
[user@inferno license-2.0]$ ./lmgrd -c license.dat
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
[user@inferno license-2.0]$  2:45:06 (lmgrd) -----------------------------------------------
2:45:06 (lmgrd)   Please Note:
2:45:06 (lmgrd)
2:45:06 (lmgrd)   This log is intended for debug purposes only.
2:45:06 (lmgrd)   There are many details in licensing policies
2:45:06 (lmgrd)   that are not reported in the information logged
2:45:06 (lmgrd)   here, so if you use this log file for any kind
2:45:06 (lmgrd)   of usage reporting you will generally produce
2:45:06 (lmgrd)   incorrect results.
2:45:06 (lmgrd)
2:45:06 (lmgrd) -----------------------------------------------
2:45:06 (lmgrd)
2:45:06 (lmgrd)
2:45:06 (lmgrd) FLEXlm (v8.2a) started on inferno.burn (linux) (3/8/2004)
2:45:06 (lmgrd) FLEXlm Copyright 1988-2002, Globetrotter Software, Inc.
2:45:06 (lmgrd) US Patents 5,390,297 and 5,671,412.
2:45:06 (lmgrd) World Wide Web:  http://www.globetrotter.com
2:45:06 (lmgrd) License file(s): license.dat
2:45:06 (lmgrd) lmgrd tcp-port 7498
2:45:06 (lmgrd) Starting vendor daemons ...
2:45:06 (lmgrd) Started pixard (internet tcp_port 34959 pid 2005)
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
2:45:06 (pixard) FLEXlm version 8.2a
2:45:06 (pixard) Server started on inferno.burn for:   PhotoRealistic-RenderMan                                                                                
2:45:06 (pixard) PRMan-INTEL-NT        PRMan-INTEL     PRMan-SGI
2:45:06 (pixard) RATalfred     RATmtor         RATslim
2:45:06 (pixard) RATalfserver  RAT-NT          RAT-Linux
2:45:06 (pixard) RAT-Irix      RATutils

[user@inferno license-2.0]$
回复

使用道具 举报

 楼主| 发表于 2004-3-8 03:17:53 | 显示全部楼层
我现在用的是ext3,我提示的后面也就是说服务无法启动。
This is a potential security problem.
And is not recommended.
Vender daemon can't talk to lmgrd.
还有很多内容,我只有慢慢抄下来(我Linux下上不了网,没有软区,Windows的分区全是NTFS的,还不会挂装)

“compat-stdlibc++一定要装。”
是什么,在那里安装?
回复

使用道具 举报

 楼主| 发表于 2004-3-8 03:57:10 | 显示全部楼层
出错信息还有这些:
Vender daemon can't talk to lmgrd(Cannot connect to license server(-15,570:111"connection refused"))
Vender daemon died with status 37
Since this is an unknows status,lmgrd will attempt to re-start the vendor daemon.
回复

使用道具 举报

 楼主| 发表于 2004-3-8 04:32:28 | 显示全部楼层
你说的是不是安装光盘上的
compat-libstdc++-7.3-2.96.118.i386.rpm

刚才检查了一下,说已经装了。

在我给的信息里面,你这几句
2:45:06 (pixard) Server started on inferno.burn for: PhotoRealistic-RenderMan
2:45:06 (pixard) PRMan-INTEL-NT PRMan-INTEL PRMan-SGI
2:45:06 (pixard) RATalfred RATmtor RATslim
2:45:06 (pixard) RATalfserver RAT-NT RAT-Linux
2:45:06 (pixard) RAT-Irix RATutils
是没有的。
回复

使用道具 举报

发表于 2004-3-8 11:20:00 | 显示全部楼层
这个问题我就不清楚了,我没有遇到过。
我猜测应该和安装时设置的安全级别有关,我一般都是设置成no firewall。
可以用用vmware装一个最小话的系统,测试一下。
也有可能时内核的问题,编译一个标准的内核试试看(去掉里面的security level)。
回复

使用道具 举报

 楼主| 发表于 2004-3-8 12:38:05 | 显示全部楼层
是不是pixard文件的问题,可不可以发个给我?
[email protected]
回复

使用道具 举报

发表于 2004-3-9 03:44:52 | 显示全部楼层
我把它发上来了,应该和你的是一样的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2004-3-9 12:43:37 | 显示全部楼层
果然是一样的……
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-29 21:32 , Processed in 0.058527 second(s), 14 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表