Operating System - HP-UX
1753930 Members
10218 Online
108810 Solutions
New Discussion юеВ

Re: How to check if C++ is install in HP UX 11i v3

 
Johnson Punniyalingam
Honored Contributor

Re: How to check if C++ is install in HP UX 11i v3

Hi Nadine,

earlier error you recieved "could be due to your "hostname" hope you have changed you system name to 8 Characters .. :)

Please login as root and try :-

swlist -l fileset | grep -i ansi
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: How to check if C++ is install in HP UX 11i v3

>but I receive the following message #Not found.

Then you never have installed B9007AA.
Nadine Silue
Advisor

Re: How to check if C++ is install in HP UX 11i v3




I have tried again the swlist -l fileset grep -i ansi but still receiving the error below.




# swlist -l product |grep "C+"
WARNING: An attempt to get the network host entry for "EBBBRANCHDB01"
failed. This may result in denial of access to users and
agents at this host. Check the spelling of this name, then
your "/etc/hosts" file, or your "/etc/resolv.conf" file and
DNS resolver configuration. The nslookup program may be
helpful in isolating this problem.
ERROR: Internal error. Security check failed unexpectedly. This
error occurred in function "idam_LocateLocalFile", source file
"id.c", line 4754. Please give this information to your
Hewlett-Packard support contact.
ERROR: "EBBBRANCHDB01:/": You do not have permission for this
operation. The depot owner, system administrator, or
alternate root owner may need to use the "swreg" or "swacl"
command to give you permission. Or, to manage applications
designed and packaged for nonprivileged mode, see the
"run_as_superuser" option in the "sd" man page.



How can i resolve this issue.

Pls.

Nadine
Nadine Silue
Advisor

Re: How to check if C++ is install in HP UX 11i v3



You know actually i did not install any C++. the system came preconfigured with some softwares and i tought the c++ was installed..


So i was looking for the command just to confirm.


Nadine
Ericka Fernandez
New Member

Re: How to check if C++ is install in HP UX 11i v3

Hi Nadine, please check if the license is in the directory /var/adm/sw/.codewords, if not.
Look the media and the sheet with the clave.

A codeword for a particular Customer ID and media part number only needs to be entered once per target system. The Codeword and Customer ID are stored for future reference in the /var/adm/sw/.codewords file.
SD-UX will prompt you for these codewords or number prior to the installation of protected software. You can enter or change the numbers via the Graphical User Interface (using the [Add New Codeword] choice from the [Actions] menu) or by using the appropriate default (-x codeword=xxxx and -x customer_id=xxx) on the command line.
For HP-UX B.10.10 and later systems, SD searches the codewords file on the server that is providing protected software to other hosts. It looks for valid Customer_ID/Codeword pairs. In doing so, SD eliminates the need to enter Codewords and Customer_IDs on every host that is "pulling" the software.
To properly store the Customer_ID/Codeword for a CD-ROM, run swinstall or swcopy on the host serving the CD-ROM. After the Codeword has been stored, clients installing or copying software using that host and CD-ROM as a source will no longer require a Codeword and Customer_ID.
This is a timesaver if you are updating multiple systems.
Nadine Silue
Advisor

Re: How to check if C++ is install in HP UX 11i v3



Dears,

Just to let you know that i have solve the problem with regards to error message by removing the comment from the Host name and ip address in the /etc/hosts file.

and i was able o use the swlist -l product grep "C+" and realised that the C++ is installed.


Thanks to everyone who replied me.

But now i will like to check if the license is installed .

Please how do i go about it?

Can someone help.

Nadine
Dennis Handly
Acclaimed Contributor

Re: How to check if C++ is install in HP UX 11i v3

>But now i will like to check if the license is installed.

What bundle have you installed?
Do see if you have the codeword, you must actually compile something.

>Ericka: please check if the license is in the directory /var/adm/sw/.codewords,

This doesn't apply to the evaluation compiler:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1281855