- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory fault(coredump) after newgrp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2002 01:16 AM
тАО09-09-2002 01:16 AM
Memory fault(coredump) after newgrp
"core" file. But the problem only lasted for few minutes or
hours. Suddenly, the problem goes away and "newgrp" works normally again without any problems. It is very strange ! Can anyone help me ? Thanks !
OS:HP-UX 11i
PHCO_23083 installed.
Wu, S.-J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2002 02:49 AM
тАО09-09-2002 02:49 AM
Re: Memory fault(coredump) after newgrp
Are you using "trusted"?
Are you using NIS, NIS+, and/or LDAP?
Do you have adequate number of users and user processes?
Enough Swap?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2002 03:00 AM
тАО09-09-2002 03:00 AM
Re: Memory fault(coredump) after newgrp
# file core
# what core
This information will give you a place to start trouble shooting, for instance:
# file core
core: core file from 'find' - received SIGQUIT
I know this core was created from the find command and I can search the patch catalog for known issues or the Knowledge Base, Forums, internet for find and "received SIGQUIT" resolutions.
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2002 08:14 AM
тАО09-09-2002 08:14 AM
Re: Memory fault(coredump) after newgrp
If the process used a "working" directory without write permission for the user running the process, then you won't get a "core" file, anyway!
And why using the old "newgrp" with all its problems? Maybe you can circumvent the need for it by "chgrp" then directory you want the files to be stored in to the grp you used with "newgrp", and set the SGID bit on that directory ("chmod g+s /that/dir"). Then all the files created in there will be owned by that group...
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2002 08:19 AM
тАО09-09-2002 08:19 AM
Re: Memory fault(coredump) after newgrp
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2002 07:37 PM
тАО09-09-2002 07:37 PM
Re: Memory fault(coredump) after newgrp
more clues to my problem...
1 login as user1
2 #newgrp grp2
3 memory fault and coredump
the messages should be..
"invalid/ineffective multibyte"
Memory fault(coredump)
4 user1 logout automatically(kick out by OS) and no core found
I am not sure about the exact
message in English. Since my
LANG=zh_TW.big5. And the error
message is in Chinese. When the problem occured. I change the LANG to C, then the problem disappeared. Change back to zh_TW.big5 then comes again. The weirdest thing is LANG=zh_TW.big5 works all the time. But caused coredump twice. One time lasted about 20 minutes, another lasted about 4 hours. During the above two periods. "newgrp" always caued a coredump. I called HP RC, they also can't identify that problem. Suddenly the problem disappeard. "newgrp" come back to normal.
Thank you for your patience. Sorry about my poor English.
To Harry,
==========
No NIS, NIS+, LDAP
No group password
"trusted"... Sorry, I don't know this.
my max. setting of users is 1024, procs is 8192. When the problems occured. The users and proceses are very low(20 users and about 1K processes)
The swap is OK. Only the pseudo-swap(memory) is used(40-50%). dev/vg00/lvol2 is still free.
To Cheryl,
==========
I test the newgrp command at home directory. No core can be found. I also find / -name core. Find nothing.
To Wodisch,
===========
There is one user, admuser who
can r/w all the files created/uploaded by a group of users. And all the users in
that group can't r/w each other's file. The admuser can not be root. I will try chgrp.
Thanks for your suggestion.
By the way, the working dir is home dir. No core found.
To Marty,
==========
/var only 30% used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2002 08:09 AM
тАО09-10-2002 08:09 AM
Re: Memory fault(coredump) after newgrp
is that newgrp is setuid root. For security
reasons, HP-UX doesn't generally create core files for programs more privileged than you
are, because that could let you see things in the core file that you shouldn't be allowed to see. (For example, contents of files with
restricted permissions/ACLs might be readable by setuid root programs but not by the user invoking them.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2002 08:04 PM
тАО09-10-2002 08:04 PM
Re: Memory fault(coredump) after newgrp
We also found that the newgrp
changes the coredummp(blocks)
from 4194303 to 0. There is
a patch for 11.0 but my OS is
11i. Thanks anyway.
Wu, S.-J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2002 08:30 PM
тАО09-10-2002 08:30 PM
Re: Memory fault(coredump) after newgrp
The latest patch on 11i for 'newgrp' is PHCO_23083
Be sure to check for any dependencies should you go ahead and install this patch. Like any installation of a patch make sure that you create an ignite tape prior.
To create an ignite tape:
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 12:22 AM
тАО09-11-2002 12:22 AM
Re: Memory fault(coredump) after newgrp
Thanks for your reply.
Please note in the 1st article. PHCO_23083 already installed.
Wu, S.-J.