최근 포토로그


[HP-UX] 11.31에서 swlist 명령어 오류 발생시 ▶ Linux & Unix & Windows

일반계정에서 swlist를 통하여 환경을 확인하고자 할때, 일반적으로는 path만 잡아주면 된다 (.profile 수정)

정상적으로 출력되면, 아래와 같이 해당하는 결과가 나타난다.

$ swlist                                                                                                                                                                       
# Initializing...
# Contacting target "korea"...
#
# Target:  korea:/
#

#
# Bundle(s):
#

  10GigEthr-02                  B.11.31.1503   PCIe 10 Gigabit Ethernet;Supptd HW=467799-B21, HW=AM225A, HW=AM232A, HW=AM233A
  10GigEthr-03                  B.11.31.1503.01 PCIe 10 GbE;Supptd HW=580151/610609/613431-B21,NC551/552/553,AT094/111/118A
  10GigEthr-04                  B.11.31.1303   PCIe 10 Gigabit Ethernet;Supptd HW=593715/BS668
  1131_122014                   1131_12201082013 1131_122014   
  B2491BA                       B.11.31        MirrorDisk/UX (Server)
  B3693AA                       C.04.73.000    HP GlancePlus/UX for 11.31
  B3701AA                       C.04.73.000    HP GlancePlus/UX Pak for 11.31
  B3835DA                       C.03.05        HP Process Resource Manager

하지만 정상적이지 못할 경우 아래와 같이 set_parms 명령어를 통하여 최기화 해주면 된다. 아마 이렇게 해서 성공한 원인을 생각해 보면, hostname을 구성시에 변경해서 발생한 문제가 아닐까 생각된다.

korea:/# set_parms hostname
_______________________________________________________________________________
For the system to operate correctly, you must assign it a unique
system name or "hostname".  The hostname can be a simple name
(example: widget) or an Internet fully-qualified domain name
(example: widget.region.mycorp.com).

A simple name, or each dot (.) separated component of a domain name, must:

    * Start with an uppercase or lowercase letter.
    * End with a letter or digit.
    * Contain only letters, digits, underscore (_), or dash (-).
      The underscore (_) is not recommended.
    * Contain no more than 63 characters per component.
    * Contain no more than 255 total characters.
    * Each dot (.) separated component of a domain name, can start
      with a digit.

NOTE: The first or only component of a hostname should contain no more
      than 8 characters and the full hostname should contain no more
      than 63 characters for maximum compatibility with HP-UX software.

The current hostname is cjdw_dstg.
_______________________________________________________________________________

Enter the system name, then press [Enter] or just press [Enter]
to retain the current host name (korea):

You have chosen cjdw_dstg as the name for this system.
Is this correct?

Press [y] for yes or [n] for no, then press [Enter]



You need to answer [y] for yes or [n] for no.


You have chosen cjdw_dstg as the name for this system.
Is this correct?

Press [y] for yes or [n] for no, then press [Enter]



You need to answer [y] for yes or [n] for no.


You have chosen cjdw_dstg as the name for this system.
Is this correct?

Press [y] for yes or [n] for no, then press [Enter]



You need to answer [y] for yes or [n] for no.


You have chosen cjdw_dstg as the name for this system.
Is this correct?

Press [y] for yes or [n] for no, then press [Enter] y
_______________________________________________________________________________

  Working...
_______________________________________________________________________________
cjdw_dstg:/#

덧글

댓글 입력 영역