Sponsored Content
Top Forums UNIX for Advanced & Expert Users AIX - Core dump when using mkuser Post 25656 by dfrangidis on Friday 2nd of August 2002 05:58:10 AM
Old 08-02-2002
Question AIX - Core dump when using mkuser

Hi all,

I've got a strange problem here that is not documented in AIX FAQs and tech docs, and I was wondering if somebody out there encountered the same issue or had an idea to help me out.

I'm using a script to create users with the "mkuser" command. I can set up any options I want (like "home", "maxage", maxexpired", etc.) and everything works fine... except when I add the option to set a password history limitation ("histsize"), in which case the system core dumps when trying to execute my script.

My exact line is the following :
mkuser groups=oper,$c_groupuser pgrp=oper home=/home/users/oper maxage=5 maxexpired=1 loginretries=3 minlen=6 maxrepeats=1 histsize=12 $v_userLogin 1>/tmp/$v_fichiertmp1 2>/tmp/$v_fichiertmp2

Can somebody help me ?

Thanks for your time,
Eric.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies

2. UNIX for Dummies Questions & Answers

core dump

I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start but savecore failed to create the two files, that is vmcore.n and vmunix.n. savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname 1)... (4 Replies)
Discussion started by: hassan2
4 Replies

3. UNIX for Advanced & Expert Users

core dump

Hi All, i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know. sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies

4. UNIX for Dummies Questions & Answers

Core dump in HP-UX..

Hi All I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
Discussion started by: gyanusoni
0 Replies

5. UNIX for Advanced & Expert Users

Core Dump

Hello all, Iam new to unix while executing java program which finely working in windows know iam testing with unix ,but in unix while executing iam getting core dump, my application is in client server environment and it is menu drivrn application on clicking options no problem but after some time... (1 Reply)
Discussion started by: vinp
1 Replies

6. AIX

core dump

My application gives core dump. When i am debugging with dbx getting instructions below: pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error) pthreaded.c, 1941: PTHDB_INTERNAL (internal error) Illegal instruction (illegal opcode) in . at 0x0 warning: Unable to access address 0x0... (1 Reply)
Discussion started by: bapi
1 Replies

7. Programming

core dump

how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Discussion started by: Manabhanjan
2 Replies

8. AIX

How to do core dump analysis in AIX?

Please tell me some methods to analyse core dump in AIX.:) (2 Replies)
Discussion started by: Mythili
2 Replies

9. AIX

AIX mkuser with password

Hi I want to create a user on AIX box. The only problem I have is I want to set it a password and the user doesn't have to change the password at his initial login. Is there any flag to do that. Any help would be appreciated. (6 Replies)
Discussion started by: bandaru
6 Replies

10. UNIX for Dummies Questions & Answers

No core dump

my progrme complaints 'Segmentation fault'. How to let it print 'Segmentation fault(core dumped)' and generate core dump file? $ulimit unlimited (22 Replies)
Discussion started by: vistastar
22 Replies
core_addshmem_read(5)						File Formats Manual					     core_addshmem_read(5)

NAME
core_addshmem_read - determines the inclusion of readable shared memory in a process core dump VALUES
Failsafe Default Allowed values or DESCRIPTION
The tunable was added in response to a problem where a customer was limited in debugging a user-level process crash because shared memory segments were not written as part of the core file. Upon core dump, the sections of user memory labeled as shared read-only are written (along with the normal data sections) if this tunable is set to and left out if it is set to Who is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable take effect immediately. When Should the Value of This Tunable Be Raised? When you wish to include read-only shared memory segments in user core files due to debugging needs by developers or maintainers on the system. What Are the Side Effects of Raising the Value? User process core files would increase in most cases (most applications use at least some shared memory). This could be a problem on sys- tems where disk space is at a premium. When Should the Value of This Tunable Be Lowered? When there is no need for debugging core files where shared memory corruption or data values are in question. What Are the Side Effects of Lowering the Value? Core files will tend to be smaller. What Other Tunable Values Should Be Changed at the Same Time? Certainly think about which does the same thing for read/write shared memory segments. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. Tunable Kernel Parameters core_addshmem_read(5)
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy