Operating System - HP-UX
1845913 Members
4354 Online
110250 Solutions
New Discussion

Re: man lanadmin errors after patching

 
SOLVED
Go to solution
ConnieK
Regular Advisor

man lanadmin errors after patching

To all -

Please reference the posting below -

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x219703bbece8d5118ff40090279cd0f9,00.html

I need help to try to correct this problem and possibly call attention to a problem with Patch PHNE_23862.

Can anyone help with my additional questions in the above posting? (I hope you can get to it)

CK
Independent by nature
14 REPLIES 14
harry d brown jr
Honored Contributor

Re: man lanadmin errors after patching


Before you installed patch PHNE_23862, did you verify that you have the dependency patch of PHCO_10947 ??

Also, what kind of errors are you encountering? What OS, Server class, and lan card?

Also, PHNE_23863 can be used in place of PHNE_23862.

live free or die
harry

Live Free or Die
ConnieK
Regular Advisor

Re: man lanadmin errors after patching

Sorry about that -
OS - HPUX B.10.20
Server - HP9000/893 (T600)
LanCard - 100BT

Errors:
#man lanadmin
# Reformatting entry. Wait... aborted (sorry)

#man landiag
(the man page from lanadmin comes back)

#landiag
(the menu page from lanadmin comes back)

#lanadmin
(the menu page from lanadmin comes back)

The dependency PHCO_10947 was contained in the patch depot and was re-installed at the same time.

Entry from the swagent.log:

NOTE: The fileset "PHCO_10947.PHCO_10947,r=B.10.00.00.AA" will be
reinstalled because the "reinstall" option is set to "true".
* Reading source for file information.
NOTE: The patch PHCO_10947 is already installed on the system.
Skipping the installation of PHCO_10947. To reinstall this
patch, deinstall it first before attempting to reinstall it.
NOTE: The "checkinstall" script for "PHCO_10947" gave an "exclude"
return (exit code "3"). The script location was
"/var/tmp/AAAa05562/catalog/PHCO_10947/pfiles/checkinstall".

NOTE: This software will be excluded from further processing.
* Executing preDSA command.

I'm not sure that the error I'm seeing has anything to do with the report in the swagent.log, nor am I sure what to do about it.

Any thoughts?
Independent by nature
Tom Dawson
Regular Advisor

Re: man lanadmin errors after patching

Just a note...
I have a D210 ( 9000/811 ) running 10.20.
I do NOT have PHNE_23862 or PHNE_22216 installed. But I do have PHKL_16751 and PHCO_10947 installed. We do not have a 100 Mbps NIC, only the onboard 10 Mbps.

When I enter "man landiag", I get the lanadmin man page. When I enter "man lanadmin", I get the same lanadmin man page. So it looks like the improper man page for landiag pre-dates these patches.
ConnieK
Regular Advisor

Re: man lanadmin errors after patching

I think, perhaps, that lanadmin and landiag are one in the same. Even on HPUX 11.x, the same thing happens. It's possible that landiag was a valid command years ago, but has been replaced with lanadmin. However, since some administrators still demand to use "expired" commands - they have been accomodated with new functionality for old commands.
Independent by nature
fg_1
Trusted Contributor

Re: man lanadmin errors after patching

Constance

Landiag was popular in the 9.x and 10.00 world but your right that it has been replaced with lanadmin.

Can you run a lanadmin command from the command line?
ex: lanadmin -x 1

If so, I would also check the patch filesets to ensure that everything from the patch applied properly.
harry d brown jr
Honored Contributor

Re: man lanadmin errors after patching

lanadmin and landiag are one in the same - do a cksum on both.

As per the man pages:

NOTE: lanadmin replaces the now obsolete landiag command beginning at 10.0.

live free or die
harry
Live Free or Die
ConnieK
Regular Advisor

Re: man lanadmin errors after patching

Frank - yes, lanadmin appears to work properly.

The original (and still is) problem was that the #man lanadmin command was causing errors.

Also, how DO you fix, clean up corrupt patches? (reference the posting above - the link)
Independent by nature
harry d brown jr
Honored Contributor
Solution

Re: man lanadmin errors after patching

Constance,

Do this:

whereis lanadmin landiag

Note the path to the man pages, like: /usr/share/man/man1m.Z/lanadmin.1m

Now, cd to that directory, and copy landiag (because it is working correctly) and copy it over lanadmin.

cp landiag.1m lanadmin.1m

live free or die
harry
Live Free or Die
Deshpande Prashant
Honored Contributor

Re: man lanadmin errors after patching

HI
The help files are in compressed format in /usr/share/man/man1m.Z directory for lanadmin/landiag command.
Check for these files
/usr/share/man/man1m.Z/landiag.1m and lanadmin.1m
If these files are not in comressed format, compress them and then rename back as landiag.1m or lanadmin.1m respectively.

Thanks.
Prashant.
Take it as it comes.
ConnieK
Regular Advisor

Re: man lanadmin errors after patching

Harry - Thanks! Did as you instructed and it works fine now - no errors.

Just one more thing....

Melvyn Burnard wrote this in the previous post:

You may want to check that all patches are installed AND confiogured by doing:
swlist -l fileset -a state | grep -e transient -e install -e corrupt

and see what you get as output (hopefully nothing)

Well, I did that and received some output - some "corrupt" files on other patches. Should I be concerned? Can you clean these up?
Independent by nature
harry d brown jr
Honored Contributor

Re: man lanadmin errors after patching

Constance,

You should look into applying the latest "patch bundle", Dec 2001 now I believe, for 10.20.


live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: man lanadmin errors after patching

I should have added that before you do such, make sure you take two full backups, and two make_recoverys (-A for all of vg00), before applying the patch bundle.

live free or die
harry
Live Free or Die
ConnieK
Regular Advisor

Re: man lanadmin errors after patching

Aye - true... If only my customer would approve. :(
I'll keep working on them!

Thanks loads all!!!
Independent by nature
ConnieK
Regular Advisor

Re: man lanadmin errors after patching

Harry - here's another interesting thing about "make_recovery" and HPUX 10.20...

make_recovery (Ignite) is not supported on 10.20. I tried it and got some pretty wierd stuff - then did the research.

Ah well - we continue on.

All the best for the new year!
Independent by nature