posted by 빠담아빠다 2016. 3. 10. 16:27

Appendix E

FLEXlm Error Codes

E.1 Error Message Format

FLEXlm error messages presented by applications have the following components:

  • FLEXlm Error Number—a negative number starting at -1.
  • FLEXlm Error Text—short sentence (< 80 characters) summarizing problem.
  • FLEXlm Error Explanation (optional)—short paragraph (3-5 lines) explaining problem and possible solutions or workarounds.
  • FLEXlm Minor Error Number—a positive number starting at 1. These numbers are unique error identifiers and are used by FLEXlm vendors for more advanced support assistance. Their meaning is not documented.
  • System Error Number (optional)—a UNIX or Windows OS error code last set by the operating system.
  • System Error Explanation (optional)—a short sentence (< 80 characters) explaining the system error.
  • Other supporting information (optional)

Error messages were improved in v6. FLEXlm Error Explanation, and supporting information are only available in applications using v6.0+.

These error messages may occur in two formats available with FLEXlm or may appear in a format customized by the application.

E.1.1 Format 1 (short):

FLEXlm error text (-lm_errnominor_num[:sys_errno]) [sys_error_text]

The system error information may be missing.

Example:

Can’t connect to license server (-15,12:61) Connection refused

E.1.2 Format 2 (long—version 6.0+):

FLEXlm error text
 FLEXlm error explanation
[Optional Supporting information]
FLEXlm error: -lm_errnominor_num. [System Error: sys_errno] [“system_error_text”]

Example:

Cannot connect to license server
 The server (lmgrd) has not been started yet, or
 the wrong port@host or license file is being used, or the
 port or hostname in the license file has been changed.
Feature: f1
Server name: localhost
License path: @localhost:license.dat:./*.lic
FLEXlm error: -15,12. System Error: 61 “Connection refused”

E.2 Error Code Descriptions

The following table lists the most common errors produced by FLEXlm-licensed products.

Table 8-1: FLEXlm Error Codes  
Error Code
Description
-1
Cannot find license file.
-2
Invalid license file syntax.
-3
No server for this feature.
-4
Licensed number of users already reached.
-5
No such feature exists.
-6
No TCP/IP port number in license file and FLEXlm service does not exist. (pre-v6 only)
-7
No socket connection to license manager service.
-8
Invalid (inconsistent) license key or signature.
The license key/signature and data for the feature do not match. This usually happens when a license file has been altered.
-9
Invalid host.
The hostid of this system does not match the hostid specified in the license file.
-10
Feature has expired.
-11
Invalid date format in license file.
-12
Invalid returned data from license server.
-13
No SERVER lines in license file.
-14
Cannot find SERVER host name in network database.
The lookup for the host name on the SERVER line in the license file failed. This often happens when NIS or DNS or the hosts file is incorrect. Workaround: Use IP address (e.g., 123.456.789.123) instead of host name.
-15
Cannot connect to license server.
The server (lmgrd) has not been started yet, or the wrong port@host or license file is being used, or the TCP/IP port or host name in the license file has been changed.
-16
Cannot read data from license server.
-17
Cannot write data to license server.
-18
License server does not support this feature.
-19
Error in select system call.
-21
License file does not support this version.
-22
Feature checkin failure detected at license server.
-23
License server temporarily busy (new server connecting).
-24
Users are queued for this feature.
-25
License server does not support this version of this feature.
-26
Request for more licenses than this feature supports.
-29
Cannot find ethernet device.
-30
Cannot read license file.
-31
Feature start date is in the future.
-32
No such attribute.
-33
Bad encryption handshake with daemon.
-34
Clock difference too large between client and server.
-35
In the queue for this feature.
-36
Feature database corrupted in daemon.
-37
Duplicate selection mismatch for this feature. Obsolete with v8.0+ vendor daemon.
-38
User/host on EXCLUDE list for feature.
-39
User/host not on INCLUDE list for feature.
-40
Cannot locate dynamic memory.
-41
Feature was never checked out.
-42
Invalid parameter.
-47
Clock setting check not available in daemon.
-52
FLEXlm vendor daemon did not respond within timeout interval.
-53
Checkout request rejected by vendor-defined checkout filter.
-54
No FEATURESET line in license file.
-55
Incorrect FEATURESET line in license file.
-56
Cannot compute FEATURESET data from license file.
-571
socket() call failed.
-59
Message checksum failure.
-60
Server message checksum failure.
-61
Cannot read license file data from server.
-62
Network software (TCP/IP) not available.
-63
You are not a license administrator.
-64
lmremove request before the minimum lmremove interval.
-67
No licenses to borrow.
-68
License BORROW support not enabled.
-69
FLOAT_OK can’t run standalone on SERVER.
-71
Invalid TZ environment variable.
-73
Local checkout filter rejected request.
-74
Attempt to read beyond end of license file path.
-751
SYS$SETIMR call failed (VMS).
-76
Internal FLEXlm error—please report to Macrovision.
-77
Bad version number must be floating-point number with no letters.
-82
Invalid PACKAGE line in license file.
-83
FLEXlm version of client newer than server.
-84
USER_BASED license has no specified users - see server log.
-85
License server doesn’t support this request.
-87
Checkout exceeds MAX specified in options file.
-88
System clock has been set back.
-89
This platform not authorized by license.
-90
Future license file format or misspelling in license file.
The file was issued for a later version of FLEXlm than this program understands.
-91
ENCRYPTION_SEEDS are non-unique.
-92
Feature removed during lmreread, or wrong SERVER line hostid.
-93
This feature is available in a different license pool.
This is a warning condition. The server has pooled one or more INCREMENT lines into a single pool, and the request was made on an INCREMENT line that has been pooled.
-94
Attempt to generate license with incompatible attributes.
-95
Network connect to this_host failed.
Change this_host on the SERVER line in the license file to the actual host name.
-96
Server machine is down or not responding.
See the system administrator about starting the server, or make sure that you’re referring to the right host (see LM_LICENSE_FILE environment variable).
-97
The desired vendor daemon is down.
1) Check the lmgrd log file, or 2) Try lmreread.
-98
This FEATURE line can’t be converted to decimal format.
-99
The decimal format license is typed incorrectly.
-100
Cannot remove a linger license.
-101
All licenses are reserved for others.
The system administrator has reserved all the licenses for others. Reservations are made in the options file. The server must be restarted for options file changes to take effect.
-102
A FLEXid borrow error occurred.
-103
Terminal Server remote client not allowed.
-104
Cannot borrow that long.
-106
License server out of network connections.
The vendor daemon can't handle any more users. See the debug log for further information.
-110
Dongle not attached, or can’t read dongle.
Either the hardware dongle is unattached, or the necessary software driver for this dongle type is not installed.
-112
Missing dongle driver.
In order to read the dongle hostid, the correct driver must be installed. These drivers are available at www.macrovision.com or from your software vendor.
-113
Two FLEXlock checkouts attempted.
Only one checkout is allowed with FLEXlock-enabled applications.
-114
SIGN= keyword required, but missing from license.
This is probably because the license is older than the application. You need to obtain a SIGN= version of this license from your vendor.
-115
Error in Public Key package.
-116
CRO not supported for this platform.
-117
BORROW failed.
-118
BORROW period has expired.
-119
lmdown and lmreread must be run on license server machine.
-120
Cannot lmdown the server when licenses are borrowed.
-121
FLOAT_OK license must have exactly one dongle hostid.
-122
Unable to delete local borrow info.
-123
Support for returning a borrowed license early is not enabled. The vendor must have enabled support for this feature in the vendor daemon. Contact the vendor for further details.
-124
An error occurred while returning a borrowed license to the server.
-125
Attempt to checkout just a PACKAGE. Need to also checkout a feature.
-126
Error initializing a composite hostid.
-127
A hostid needed for the composite hostid is missing or invalid.
-128
Error, borrowed license doesn't match any known server license.
1Indicates errors due to an operating system failure.


posted by 빠담아빠다 2016. 3. 10. 16:27

Linux certmonger hangs on boot [임시]

linux 부팅시  Starting certmonger : [ OK ] 메시지 이후 진행되지 않을때

 

#########################################

단지 임시방편다음에 재부팅한다면 또 해야됨….

1.     재부팅(reset)

2.     a버튼을 눌러서 3번으로

3.     3을 추가 입력후 엔터

4.     ID/PW 입력

5.     Startx

posted by 빠담아빠다 2016. 3. 10. 16:26

date 명령어


1.옵션없이

# date

Sun Nov 17 16:24:49 PST 2013


2. 올해의 몇일 째인지 몇일이 지났는지.

# date +%j

321


3. 지금 현재의 unix time

# date +%s

1384734336


4. 지금 현재의 초

# date +%S

49

posted by 빠담아빠다 2016. 3. 10. 16:26


작업도중 비정상 종료에 의해  스왑파일이 생성된 경우



# ls -a

.imsi.pl.swp


# vim -r .imsi.pl.swp


-r 옵션을 주면 비정상 종료 이전의 상태로 열림.



아니면 rm -rf .imsi.pl.swp 로삭제

posted by 빠담아빠다 2016. 3. 10. 16:25

설치후 생성된 디렉토리에 퍼미션이 주어져 있다면


cp -p 옵션 주기..


posted by 빠담아빠다 2016. 3. 10. 16:25

웹에서 받은 파일이나.

웹을 통해 쿼리를 날렸을 경우

빈 공백인데 걸러지지가 않아.

if ( $_ eq ""){ exit; }

if ( $_ =~ /line$/ ) { exit; }


file로 떨궈보면 뒤에 확인해보니 

^M  <---이녀석이 나온다.

line^M  <--이런식으로 숨어있다.

도스 형식 파일 이란걸 차장님께 나중에 들었다.




ctrl + v + m 누르면 ^M이 나옴.


$_ =~ s/^M//;

바꾸면 쉬운것을..


특수문자 지우고

난리도 아니었다.. 

posted by 빠담아빠다 2016. 3. 10. 16:24

보통 리눅스 minimal 버전을 설치하면 네트워크고 뭐고 아무 것도 잡혀있지 않다.


그래서 처음에 설정해줘야 할 것이 있는데, NAT 환경을 기준으로 설명하기로한다.


VMWare를 정상적으로 설치했다면 Virtual Network Editor라는게 설치돼있을 것이다.


실행시키면 아래와 같은 화면이 나온다.



* 설명

VMnet0 은 Bridge에 사용

VMnet1 는 네트워크 모드 중 Host-only에 사용 - 인터넷 안됨

VMnet8 은 NAT 모드로 사용 할 네트워크 가상 장치이다.


이 중 NAT모드를 찾아보기 바란다 여기서는 VMnet8 이다.


해당 네트워크 선택 후 NAT Settings를 클릭하면 또 하나의 팝업이 뜬다.



이제 우리가 리눅스 서버에 적용 할 아이피 정보들이다.


Gateway IP를 보면 엥? 할 분들이 있을텐데 1번은 vmware를 설치한 호스트가 가지고 있기 때문에 2번으로 사용한다고 한다.


Subnet IP : 192.168.72.0

Subnet mask: 255.255.255.0

Gateway IP: 192.168.72.72


를 기억하거나 어딘가에 메모해둔다.


1. vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=static

BROADCAST=192.168.72.255

IPADDR=192.168.72.100

NETMASK=255.255.255.0

NETWORK=192.168.72.0

ONBOOT=yes

GATEWAY=192.168.72.2


BROADCAST는 마지막에 255를 넣어주면 되고 IPADDR은 3~255까지 원하는 숫자를 적어준다.

GATEWAY, NETMASK,, NETWORK는 위에서 구한 값을 적어주면 된다.


2. vi /etc/resolv.conf

nameserver 192.168.72.2


게이트웨이 아이피를 써주도록한다.


모든 설정이 끝났으니 네트워크 재시작을 하면되는데 service 패키지에 익숙한 사람이 있을지도 모르니 명령어는


/etc/init.d/network restart


를 입력해주고 인터넷이 제대로 되나 안되나 확인을 해보도록한다.


보통 핑을 때려보거나 yum을 사용해보면 알 수 있다


출처 : http://dgoh.tistory.com/78



'OS > Linux' 카테고리의 다른 글

[Linux] 카피한 디렉토리에 관한 퍼미션  (0) 2016.03.10
[Linux] 웹에서 받은 파일. 형식 ^M  (0) 2016.03.10
[linux] How to SSH  (0) 2016.03.10
[linux] how to RSH  (0) 2016.03.10
[NFS] 환경구성 정리  (0) 2016.03.10
posted by 빠담아빠다 2016. 3. 10. 16:23

SSH

설치

 

리눅스 배포판에는 기본적으로 openssh가 깔려있다.

서버설정

 

서버관련 주 설정 파일은 /etc/ssh/sshd_config 이다.

클라이언트 설정

 

클라이언트의 전체유저 설정파일은 /etc/ssh/ssh_config 이다.

ssh서버에 접속하는데 있어서 꼭 필요한 설정은 아니다.

클라이언트에서 ssh 사용하기

 

리눅스에서 리눅스로 접속한다면 별도의 설정이나 프로그램의 설치없이 가능.

윈도우에서 리눅스 서버로 접속한다면 ssh클라이언트를 설치해야 한다.

접속방법

ssh 계정명@도메인명

ex ) ssh dog@dog

Keygen을 이용하여 접속하기.

 

작업은 클라이언트와 서버에서 루트계정으로 작업한다.

1)     클라이언트에서 키생성

# cd

# ssh-keygen –t dsa

Enter 3번( 중간에 암호를 입력하면 keygen암호가 생김)

2)     만들어진 파일을 접속할 해당 서버로 전송

# scp .ssh/id_dsa.pub root@[서버도메인 또는 아이피]:/[디렉토리]

3)     서버에서 설정

# cd [/home/계정]

4)     Authorized_keys 파일에 생성된 키 추가.

# cat id_dsa.pub > .ssh/authorized_keys

5)     등록된 키 확인. 아이디@도메인형식으로 출력

# more .ssh/authorized_keys

6)     여러대의 클라이언트를 계속 등록하려면 추가명령인 >> 사용

# cat id_dsa.pub >> .ssh/authorized_keys

7)     필요없는 파일 삭제

# rm –f id_dsa.pub

8)     권한 재설정

# chmod 700 .ssh

# chmod 644 .ssh/authorized_keys

서버와 클라이언트 모두 암호 없이 하려면

 

서버에 모인 authorized_keys를 클라이언트들에게 보낸다

 # scp .ssh/authorized_keys root@[클라이언트도메인 또는 아이피]:/[디렉토리]

 

 

스터디하면서 정리해놓은 자료 

'OS > Linux' 카테고리의 다른 글

[Linux] 웹에서 받은 파일. 형식 ^M  (0) 2016.03.10
CentOS 6 Minimal - VMware 네트워크 설정하기  (0) 2016.03.10
[linux] how to RSH  (0) 2016.03.10
[NFS] 환경구성 정리  (0) 2016.03.10
[NIS] 환경구성 정리  (0) 2016.03.10
posted by 빠담아빠다 2016. 3. 10. 16:23

Rsh(Remote shell)

1.설치확인

#rpm –qa 로 설치 확인을 한다.

 

#rpm –qa | grep rsh

rsh-0.17-60.el6.x86_64

rsh-server-0.17-60.el6.x86_64

 

#rpm –qa | grep xinetd

xinetd-2.3.14-34.el6.x86_64

2.설치

 

 

# rpm –ivh –nodeps rsh-0.17-60.el6.x86_64

# rpm –ivh –nodeps rsh-server-0.17-60.el6.x86_64

# rpm –ivh –nodeps xinetd-2.3.14-34.el6.x86_64

3.부팅옵션

 

 

부팅시 자동화를 위해 ntsysv 에서 rsh와 rlogin을 열어 준다.

또는 /etc/xinetd.d/rsh와 /etc/xinetd.d/rlogin의 disable=no로 해줘도 된다

4.호스트 등록

 

 

모든호스트에.

/etc/hosts.equiv 안에 rsh 접속을 할 호스트 네임을 적어준다.

(호스트 네임은 /etc/hosts 안에 있는것과 일치 해야 한다.)

그후에

#/etc/rc.d/init.d/xinetd restart   로 재시작 한다.

여기까지 하면 RSH 설정 완료.

5. 암호

암호없이 설정하는 방법.

 

#cp /etc/hosts.equiv /root/.rhosts

/etc/pam.d/rsh 와 /etc/pam.d/rlogin의 pam_securetty.so 를 주석처리



'OS > Linux' 카테고리의 다른 글

CentOS 6 Minimal - VMware 네트워크 설정하기  (0) 2016.03.10
[linux] How to SSH  (0) 2016.03.10
[NFS] 환경구성 정리  (0) 2016.03.10
[NIS] 환경구성 정리  (0) 2016.03.10
[OpenMPI] OpenMPI설치  (1) 2016.03.10
posted by 빠담아빠다 2016. 3. 10. 16:22

NFS(Network File System)

네트워크를 통해 파일을 공유할 수 있도록 만든 프로토콜

서버 세팅

yum또는 rpm으로 nfs 설치

# vi /etc/idmapd.conf

  추가 Domain = 도메인네임[server02.com]

# vi /etc/exports

추가 : 공유할폴더 공유대상ip (속성)

Ex) /home/test1 192.168.171.148(rw)

속성정리

ro 읽기전용

rw 읽기/쓰기 가능

root=n  n으로 표시된 계정의 uid를 루트권한으로 사용 가능하게 한다.

insecure  이 머신에서 인증 받지 않은 엑세스를 허용한다.

# exportfs

# /etc/rc.d/init.d/nfs restart

Iptables 와 selinux 확인 해줘라 nis와 동일하게

# service rpcbind restart

# service nfslock restart

# service nfs restart

# chkconfig rpcbinc on

# chkconfig nfslock on

# chkconfig nfs on

클라이언트세팅

yum또는 rpm으로 nfs 설치

# vi /etc/idmapd.conf

 추가 Domain=도메인네임[server02.com]

Service rpcbind restart

# service rpcbind restart

# service nfslock restart

# service netfs restart

# chkconfig rpcbinc on

# chkconfig nfslock on

# chkconfig netfs on

# mount –t nfs 192.168.171.145:/home/server02 /home/server02

마운트 명령어 서버ip:/서버가공유한폴더 /마운트할 폴더

부팅시 자동 마운트 하기.

 

NFS 클라이언트에 /etc/fstab 파일에 한줄 추가한다.

서버ip or 도메인:/디렉토리     /내디렉토리     속성    defaults        0 0

dog:/hyi                /hyi                    nfs     defaults        0 0

 

'OS > Linux' 카테고리의 다른 글

[linux] How to SSH  (0) 2016.03.10
[linux] how to RSH  (0) 2016.03.10
[NIS] 환경구성 정리  (0) 2016.03.10
[OpenMPI] OpenMPI설치  (1) 2016.03.10
[Linux] 기초  (0) 2016.03.10