AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

gencore replying not owner on AIX 5.3

  • 1.  gencore replying not owner on AIX 5.3

    Posted Thu April 25, 2013 04:38 AM

    Originally posted by: farmand


    I've a process whose name appears between square brackets in the output the ps command: [my_process]. My guess, which might be wrong, is that the argv[0] has probably been corrupted... At least, when I voluntarily corrupt the argv[0][0] = '\0' in a test process, my test process appears between square brackets in ps...

    I'd like to get a core file of my real process without killing it. Hence I tried gencore as root but it reported the error "Not owner"... A truss of gencore has shown that the system call was returning EPERM.... Why would the root user not be authorized to perform a gencore. By the way, being logged under the smae user id than the one used by the target process, delivers the same error...

    Any clue would be appreciated!

    Thanks in advance.

    François


    #AIX-Forum