|
|
发表于 2005-12-23 18:11:17
|
显示全部楼层
I am not sure whether it will help:
From http://www.pgroup.com/support/install.htm- If the Hostid Has Not Changed and the License Manager Fails, What Next?
- The first thing we suggest is that you reinstall the product from the beginning with a demo license, if you have not already. If that works, then we know we have a good install. Licensing remains the only problem.
- The following applies to Node-Locked and Floating Licenses only. Most problems with running license daemons are relatively minor (although they may not seem like it at the time!) and are easily fixed.
- The following checklist tries to eliminate the easy things.
- * Are you sure the license file you are working on is the one the compiler is looking at?
- You should see different behavior if you remove or rename the license file. Check to see the LM_LICENSE_FILE is set properly.
- * Are you sure the server name in the SERVER line agrees with the /etc/hosts file?
- /etc/hosts associates one or more hostnames (a long and short name usually) to an IP address. Mkae sure the names and IPA are correct. You should be able to
- telnet server
- or
- rsh server date
- or
- ssh server date
-
- succesfully from server to itself (for node locked flexlm), or from the compile platform to the license server (for floating licenses).
- * Are you sure the hostid agrees with the one in license.dat?
- See the previous section....
- * is $PGI defined properly (e.g. export PGI=/usr/pgi) ?
- set | grep PGI
- Will determine if it is properly defined.
- * is $LM_LICENSE_FILE defined properly?
- (e.g. export LM_LICENSE_FILE=/usr/pgi/license.dat )
- setenv | grep LM_LICENSE_FILE
- Will determine if it is properly defined.
- * Has the license.dat file been modified improperly?
- It must adhere to a specific format -- no extra lines, no linefeeds or returns between 'FEATURE' and '\', no linefeeds or returns between 'VENDOR' and 'ck=num', and only one linefeed or return between the line beginning with 'FEATURE' and the one beginning with 'VENDOR'. The following is an example of a license.dat file
- ------------------------------------------------not including this
- #
- # In the SERVER line below, replace 'server' with the
- # hostname of the computer running the license daemons.
- #
- SERVER mypc 0060d6854987 7496
- #
- # In the DAEMON line, the location of the pgroupd daemon
- # may need to be modified.
- #
- DAEMON pgroupd /usr/pgi/linux86/6.1/bin/pgroupd
- FEATURE pgf90-linux86 pgroupd 6.100 31-dec-0 1 CB587081D548FDC3ECC0 \
- VENDOR_STRING=510936:4 HOSTID=0060d6854987 ck=40
- FEATURE pgf77-linux86 pgroupd 6.100 31-dec-0 1 3BE86071ADF671DFCD01 \
- VENDOR_STRING=510936:4 HOSTID=0060d6854987 ck=59
- FEATURE pgf90-linux86-64 pgroupd 6.100 31-dec-0 1 \
- DB581031B5FAA74512B3 VENDOR_STRING=510936:4 \
- HOSTID=0060d6854987 ck=11
- FEATURE pgf77-linux86-64 pgroupd 6.100 31-dec-0 1 \
- 9B2880E129F625D14328 VENDOR_STRING=510936:4 \
- HOSTID=0060d6854987 ck=233
- FEATURE pgprof pgroupd 6.100 31-dec-0 1 AB6840217ACA486928CD \
- VENDOR_STRING=510936:4 HOSTID=0060d6854987 ck=250
- FEATURE pgdbg pgroupd 6.100 31-dec-0 1 FB18C0819DC5B7D09682 \
- VENDOR_STRING=510936:4:ws HOSTID=0060d6854987 ck=19
- FEATURE pgdbg-linux86-64 pgroupd 6.100 31-dec-0 1 \
- EBF87051D0ED3BAA8668 VENDOR_STRING=510936:4:ws \
- HOSTID=0060d6854987 ck=32
- -------------------------------------------------or this
- No extra lines allowed.
- * Has the line "DAEMON pgroupd /usr/pgi/linux86/6.1/bin/pgroupd" in license.dat been modified to point to the real pgroupd location? as in
- DAEMON pgroupd /usr/pgi/linux86/6.1/bin/pgroupd
- * Could there be a problem with lmgrd or pgroupd?
- To be sure, stop them all and restart the license manager.
- ps ax | grep lmgrd
- or
- $PGI/linux86/6.1/bin/lmutil lmstat
- ps ax | grep pgroupd
- If processes lmgrd and pgroupd are running, kill them off. Then
- $PGI/linux86/6.1/bin/lmgrd.rc restart
复制代码 |
|