# Jobs fail: No Group Entry for Group -default-

**URL:** <https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927>\
**Category:** Users/Site Administrators\
**Created:** [January 12, 2022, 8:12pm UTC](https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927 "2022-01-12T20:12:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopher](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@christopher](https://community.openpbs.org/u/christopher)\
**Post date:** [January 12, 2022, 8:12pm UTC](https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927/1 "2022-01-12T20:12:21Z")

</div>

Old PBS admin, new OpenPBS admin. Hello. I’ve converted a small, working PBS system (SGI ICE) to OpenPBS. Jobs won’t start. Different users in different default groups get same mom error: “No Group Entry for Group -default-”. Output from “id” for me on login node is the same as on compute node. My default group is known on the mom node.

Thanks, Chris

---

<div class="post-metadata">

**Author:** ![christopher](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@christopher](https://community.openpbs.org/u/christopher)\
**Post date:** [January 12, 2022, 9:50pm UTC](https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927/2 "2022-01-12T21:50:20Z")

</div>

An strace of of the mom appears to print the Group error after stat’ing my $HOME. The output of my $HOME’s stat is the same on login node vs. mom node. Forcing a different group with -W group\_list=staff didn’t change the outcome.

---

<div class="post-metadata">

**Author:** ![dtalcott](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/dtalcott/32/410_2.png) [@dtalcott](https://community.openpbs.org/u/dtalcott)\
**Post date:** [January 13, 2022, 11:25pm UTC](https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927/3 "2022-01-13T23:25:15Z")

</div>

From a quick look at the code, it looks as if the **server** is setting the group to “-default-”. It does that if getpwnam() fails on the server.

Do you have flatuid set?

Could you submit a job with the -h (hold) flag and then qstat -f the job? The interesting fields are Job\_Owner, euser, and egroup.

---

<div class="post-metadata">

**Author:** ![christopher](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@christopher](https://community.openpbs.org/u/christopher)\
**Post date:** [January 14, 2022, 4:27pm UTC](https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927/4 "2022-01-14T16:27:59Z")

</div>

In fact strace of mom shows all calls to get_uid and get_gid are 0. So the error is about the group, I’m also an unknown user on the mom node as far as PBS is concerned. But I can su on the compute to myself and run “id” which works correctly.

---

<div class="post-metadata">

**Author:** ![christopher](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@christopher](https://community.openpbs.org/u/christopher)\
**Post date:** [January 14, 2022, 4:28pm UTC](https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927/5 "2022-01-14T16:28:43Z")

</div>

flatuid is true. Jobs on hold show myself as the Owner but no lines containing “user” or “group” from qstat.

---

<div class="post-metadata">

**Author:** ![christopher](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@christopher](https://community.openpbs.org/u/christopher)\
**Post date:** [January 14, 2022, 4:33pm UTC](https://community.openpbs.org/t/jobs-fail-no-group-entry-for-group-default/2927/6 "2022-01-14T16:33:04Z")

</div>

Our admin found the solution. passwd/group/shadow files have to be propagated to the PBS primary/secondary nodes. Once the user exists there, they can run jobs. This was not required even in PBS 2020.1.4.
