Sponsored Content
Operating Systems AIX Advice on why Core file is not being created Post 302970146 by netmaster on Saturday 2nd of April 2016 10:50:35 PM
Old 04-02-2016
Hi Michael,
Thanks for your input.

No, the user does not have write permissions to /opt/core, but only read and execute.
However, we are expecting the core dump to appear in the working directory of the process which is crashing. The user does have write permission to this directory.

I decided to collect some permission data:
Code:
nzapap671:/apps/iwstu/appserver/jboss/server/IDMDomain/log
-$aclget /opt/core
*
* ACL_type AIXC
*
attributes: SVTX
base permissions
    owner(root): rwx
    group(system): r-x
    others: r-x
extended permissions
    disabled
nzapap671:/apps/iwstu/appserver/jboss/server/IDMDomain/log -$aclget /opt
*
* ACL_type AIXC
*
attributes:
base permissions
    owner(root): rwx
    group(system): r-x
    others: r-x
extended permissions
    disabled
nzapap671:/apps/iwstu/appserver/jboss/server/IDMDomain/log -$ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) unlimited
nzapap671:/apps/iwstu/appserver/jboss/server/IDMDomain/log -$ulimit -c
unlimited
nzapap671:/apps/iwstu/appserver/jboss/server/IDMDomain/log -$ulimit -f
unlimited

The output of errpt -a is as follows, which does not display any Core Dump related failures.

Code:
nzapap671:/apps/ptadm2/tower/vidm/home/runtime -$errpt -a
---------------------------------------------------------------------------
LABEL: J2_FS_FULL
IDENTIFIER: F7FA22C9
Date/Time: Mon Mar 21 00:03:26 2016
Sequence Number: 4767
Machine Id: 00F646944C00
Node Id: nzapap671
Class: O
Type: INFO
WPAR: Global
Resource Name: SYSJ2
Description
UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
Probable Causes
FILE SYSTEM FULL
        Recommended Actions
        INCREASE THE SIZE OF THE ASSOCIATED FILE SYSTEM
        REMOVE UNNECESSARY DATA FROM FILE SYSTEM
        USE FUSER UTILITY TO LOCATE UNLINKED FILES STILL REFERENCED
Detail Data
JFS2 MAJOR/MINOR DEVICE NUMBER
0026 0001
FILE SYSTEM DEVICE AND MOUNT POINT
/dev/lv_fgl, /apps/foglight
---------------------------------------------------------------------------
LABEL: J2_FS_FULL
IDENTIFIER: F7FA22C9
Date/Time: Fri Mar 18 00:56:41 2016
Sequence Number: 4766
Machine Id: 00F646944C00
Node Id: nzapap671
Class: O
Type: INFO
WPAR: Global
Resource Name: SYSJ2
Description
UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
Probable Causes
FILE SYSTEM FULL
        Recommended Actions
        INCREASE THE SIZE OF THE ASSOCIATED FILE SYSTEM
        REMOVE UNNECESSARY DATA FROM FILE SYSTEM
        USE FUSER UTILITY TO LOCATE UNLINKED FILES STILL REFERENCED
Detail Data
JFS2 MAJOR/MINOR DEVICE NUMBER
000A 0009
FILE SYSTEM DEVICE AND MOUNT POINT

Since the failing process is in a directory with the path /apps/ptadm2/tower/vidm/home/runtime/is/, I assume this is where the core dump would be. The output of the lscore -d is what confuses me. I am unsure which directory the file should appear in -- however due to output of errpt -a, I am unsure whether the system is attempting to generate the core file at all.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Powerbroker policy file advice needed

I have a requirement to be able to issue selected commands with root privileges but don't have the ability to su to root due to audit requirements dictating that only our UNIX SA's have that feature. I was told that Powerbroker would allow me to run the commands as root but our security people... (1 Reply)
Discussion started by: yvs24
1 Replies

2. AIX

Why a core file is created whenever I send a mail in AIX

Whenever i send a mail like: mail <mail id>, a core file is created under /var/spool/mqueue/ path. This is increasing the space of the file system. Why is that core file get created. Does it happens normally. I am getting an errpt error as: LABEL: CORE_DUMP IDENTIFIER: B6048838 ... (0 Replies)
Discussion started by: sreereddy
0 Replies

3. UNIX for Dummies Questions & Answers

How to know when a new file is created?

Hi All, How to we get to know when say a new log file is created on an Unix box. I need to trigger a process(say a script) when the new log file is created. But i need to know by some means or generate a trigger when a new file is created???? Something like when we receive a new mail we... (1 Reply)
Discussion started by: aixjadoo
1 Replies

4. UNIX for Dummies Questions & Answers

Need advice! Removing multiple entries in a single file!

Hello, I have a file Test.txt with 9 columns that looks like this: 1g12 A 14 19 2OAY A 326 331 AAAASA 1l7v A 68 73 1l7v A 68 73 AALAIS 1l7v A 68 73 1XVW B 72 77 AALAIS 1l7v A 68 73 1XXU A 65 70 AALAIS 1l7v A 68 73 1XXU B 65 70 AALAIS 1l7v A 68 73 1XXU C 65 70 AALAIS 1l7v A 68 73 1XXU D... (4 Replies)
Discussion started by: InfoSeeker
4 Replies

5. SCO

Need some advice concerning file transfer with a serial connection

Hi, I have a SCO Unix ver 5.0.7 from which I need to get some files. The problem is that I'm working remotely (have no physical access) and using Dejawin because this server is only has a serial connection to a Windows machine. Ucopy isn't on the server. What I was thinking is to do a print... (5 Replies)
Discussion started by: spartanboy184
5 Replies

6. Homework & Coursework Questions

how to delete core file (file created due to apps crashed)

1. The problem statement, all variables and given/known data: When looking for corefiles, include any file with core in its name. (Some UNIX/Linux systems add the PID of the process that created the core to reduce the chances of overwriting an already existing core file that might be needed. The... (6 Replies)
Discussion started by: s3270226
6 Replies

7. UNIX for Dummies Questions & Answers

Who created a file?

Hi!Can somebody tell me what command can I use to find who created a file,please? (6 Replies)
Discussion started by: teotrask
6 Replies

8. Shell Programming and Scripting

Changing file permissions of a file created by another user

Hi, I have used expdp for datapump. The .dmp file is created by the "oracle" user. my requirement is to make a zipped file of this .dmp file. What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
Discussion started by: qwertyu
3 Replies

9. Shell Programming and Scripting

File not getting created

hi, i have a script wrriten where there is a temporary files getting created: echo "From:" ${usrname}@apps.mc.xerox.com>mail_txt it was working from a long time but now there is a error creating while creating this temporary file. here is the error log for this:... (15 Replies)
Discussion started by: lovelysethii
15 Replies

10. UNIX for Beginners Questions & Answers

Can you do remove core file based on what created them :(

Hi, Currently, we have a Perl script from a third-party vendor that is generating core dumps. It has been reported. We can't turn off the script as it does generate some diagnostic file that's required. So at the moment, we have to let it continue to do its run. I wish I can say the vendor is... (8 Replies)
Discussion started by: newbie_01
8 Replies
core(4) 						     Kernel Interfaces Manual							   core(4)

NAME
core - format of core image file DESCRIPTION
The HP-UX system writes out a file containing a core image of a terminated process when certain signals are received (see signal(5) for the list of reasons). The most common causes are memory violations, illegal instructions, floating point exceptions, bus errors, and user-gen- erated quit signals. The core image file is called and is written in the process's working directory (provided it is allowed by normal access controls). A process with an effective user ID different from its real user ID does not produce a core image. The file contains sufficient information to determine what the process was doing at the time of its termination. Core file contents con- sist of objects that represent different segments of a process. Each object is preceded by a data structure, and each data structure describes the corresponding object following it. The structure is defined in and includes the following members: The space and addr members specify the virtual memory address in the process where the described object began. The len member is the length of the object in bytes. The following possible values for type are defined in Process data as it existed at the time the core image was created. This includes initialized data, uninitialized data, and the heap at the time the core image is generated. A compiler-dependent data structure containing the exec data structure, the magic number of the executable file, and the command (see the declaration of the structure in The version number of the core format produced. This number changes with each HP-UX release where the core format itself has changed. However, it does not neces- sarily change with every HP-UX release. can thus be easily used by core-reading tools to determine whether they are compatible with a given core image. This type is expressed by a four-byte binary integer. The null-terminated version string associated with the kernel at the time the core image was generated. An architecture-dependent data structure containing per-process information such as hardware register contents. See the declaration of the structure in Process stack contents at the time the core image was created. Objects dumped in a image file are not arranged in any particular order. Use information to determine the type of the object that immedi- ately follows it. SEE ALSO
adb(1), coreadm(1M), coreadm(2), setuid(2), crt0(3), end(3C), signal(5). core(4)
All times are GMT -4. The time now is 12:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy