Operating System - HP-UX
1753478 Members
6127 Online
108794 Solutions
New Discussion юеВ

Re: Odd error while trying to call SAM

 
SOLVED
Go to solution
Jarheadatheart
Regular Advisor

Odd error while trying to call SAM

All,
I am on a RP7420 running 11.11, I tried to call up SAM and recieved the following error:

A call to the routine getgrgid(3C) failed for GID "20". The group x
x database does not exist or the entry for the group corresponding to x
x GID "20" is missing from the group database. Please fix the problem x
x and restart SAM.


I am not sure what this is, I did a search online with no results. Anyone have any idea?
14 REPLIES 14
Wim Rombauts
Honored Contributor

Re: Odd error while trying to call SAM

At a very first thought, I would check /etc/group and see if there is a correct entry for GID 20 ("users" on my machine)
Wim Rombauts
Honored Contributor

Re: Odd error while trying to call SAM

... or if you have multiple user databases on your machine, maybe "grget -g 20" can be a help.
Fabio Ettore
Honored Contributor

Re: Odd error while trying to call SAM

Hi,

it seems that something is missing into /etc/group file, 20 usually is the GID of group users. Do you have the entry for group users into /etc/group?

Please post the /etc/group file.

Best regrads,
Fabio
WISH? IMPROVEMENT!
Jarheadatheart
Regular Advisor

Re: Odd error while trying to call SAM

Entry for "users" is:

users::112:root,milnel

none of my systems have the default GID of 20 it was removed as a requirement.
Wim Rombauts
Honored Contributor

Re: Odd error while trying to call SAM

And what if you create one, albeit just for a few minutes ?

Add "dummygr::20:" to /etc/group and try your SAM
Jarheadatheart
Regular Advisor

Re: Odd error while trying to call SAM

Attached is /etc/group
Pete Randall
Outstanding Contributor

Re: Odd error while trying to call SAM

SemperFi Jarhead,

Your group file does not have a group 20. You could try adding one, but I think the better solution might be to make sure you're invoking SAM as root!

Ooorah!


Pete

Pete
Patrick Wallek
Honored Contributor

Re: Odd error while trying to call SAM

>>none of my systems have the default GID of 20 it was removed as a requirement.

What kind of requirement? Security? Oftentimes the default users and groups are there for a reason and removing them could have unexpected consequences.
Jarheadatheart
Regular Advisor

Re: Odd error while trying to call SAM

Semper Fi Brother! (Pete)

Pete, I can call sam as root.

but why can't I call it logged is as myself? I can on all of my other systems and the /etc/group files are the same on all of the systems? That is what is bothering me.