cancel
Showing results for 
Search instead for 
Did you mean: 

Missing /etc/setprivgrp

SOLVED
Go to solution
Puff
Advisor

Missing /etc/setprivgrp

My DBA informed me that the async IO was not working on one of our HP servers - DB is Sybase. After doing some resarch I found that the /etc/setprivgrp program is missing from the server. This server was recently recreated at a new datacenter and should have been built from an image of the original one. My conceren is that there may be other things missing so I do not feel comfortable just copying this from another server. Can someone tell me what I would need to reinstall to get this program back?

Thanks!
13 REPLIES
Tim Nelson
Honored Contributor

Re: Missing /etc/setprivgrp

The file does not exist by default. If you are sure that it existed and was lost during restore then view your backup and see if the file was ever there.

This typcially is only required by IA/11.23.

example of file content.
dba MLOCK

James R. Ferguson
Acclaimed Contributor

Re: Missing /etc/setprivgrp

Hi:

Strictly speaking, '/etc/setprivgrp' is a symbolic link to '/usr/sbin/setprivgrp'. In reality it is a transition link. If '/usr/sbin/setprivgrp' exists either use 'ln -s' to recreate the link, or run:

# /opt/upgrade/bin/tlinstall -v -l

Regards!

...JRF...

Tim Nelson
Honored Contributor

Re: Missing /etc/setprivgrp

Sorry my eyes saw setprivgrp and my brain thought /etc/privgroup

Apologize for the aneurism.

Puff
Advisor

Re: Missing /etc/setprivgrp

Sorry my posting had a piece of information missing. The link is there, but the backing program in /usr/sbin/setprivgrp is missing.
James R. Ferguson
Acclaimed Contributor

Re: Missing /etc/setprivgrp

Hi (again):

Since the binary comes from the core filesets:

# swlist -l file|grep privgrp

...I would verify your server's integrity with:

# swverify \*

Regards!

...JRF...
Puff
Advisor

Re: Missing /etc/setprivgrp

There were errors:
WARNING: "meu6awi4:/": 3 check scripts had warnings.
ERROR: "meu6awi4:/": The software dependencies for 15 products or
filesets cannot be resolved.
WARNING: "meu6awi4:/": 479 files had warnings during this operation.
ERROR: "meu6awi4:/": 4035 files had errors during this operation.
* The analysis phase failed for "meu6awi4:/".
* Verification had errors.

A swlist -l fileset -a state shows files as installed and not configured
Puff
Advisor

Re: Missing /etc/setprivgrp

While doing my clean up of software, I found this:

ERROR: Corrupt OE.OE-ENTERPRISE,l=/,r=B.11.11.0612

This does not look good. To correct orrupt software you sually have to reinstall. Isn't this my base O/S though? Any advice on how to fix this?
James R. Ferguson
Acclaimed Contributor

Re: Missing /etc/setprivgrp

Hi (again):

Given the number of errors I would cold-install. However you might try:

# swverify -F \*

...and see how much cleans up.

Regards!

...JRF...
Puff
Advisor

Re: Missing /etc/setprivgrp

With HP support's blessings I was able to reinstall the corrupt software and I cleaned up several old patches etc. However I am still missing /usr/sbin/setprivgrp. I believe I need to reinstall something else, but do not know what software package this is a part of.
Tim Nelson
Honored Contributor
Solution

Re: Missing /etc/setprivgrp

It is from the OS-Core.SYS-ADMIN fileset.

Puff
Advisor

Re: Missing /etc/setprivgrp

Thank you so much. This is what I was looking for. Although the swverify did point out other errors, reinstalling this did the trick!
Puff
Advisor

Re: Missing /etc/setprivgrp

The reinstall of OS-Core.SYS-ADMIN did the trick. Thanks so much for everyones help!
Dennis Handly
Acclaimed Contributor

Re: Missing /etc/setprivgrp

>The reinstall of OS-Core.SYS-ADMIN did the trick.

You can find the name by:
swlist -l file | fgrep /usr/sbin/setprivgrp

For 11.23:
OS-Core.SYS2-ADMIN: /usr/sbin/setprivgrp