Operating System - HP-UX
1833770 Members
2345 Online
110063 Solutions
New Discussion

WDB cannot attach to a process

 
Zul Kheraj
Occasional Contributor

WDB cannot attach to a process

Hi folks

I am trying to attach to a process using WDB 3.1.1 and it fails with the following error
message:
Attaching to process 17391

Attaching to process 17391 failed. Hint: Check whether program is on an
NFS-mounted file-system. If so, you will need to mount the file
system with the "nointr" option with mount(1) or make a local copy
of the program to resolve this problem.

OS: HP 11.0
Binary running on /tmp (which is a logical volume)

Running wdb from /opt/langtools (which is again a logical volume group)

This is a standalone test machine without any NFS mounts.

Any suggestions

6 REPLIES 6
harry d brown jr
Honored Contributor

Re: WDB cannot attach to a process


Did you get WDB from here?

http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1667,00.html

live free or die
harry
Live Free or Die
Adam J Markiewicz
Trusted Contributor

Re: WDB cannot attach to a process

Is the same user running wdb and suspicious process 17391?

Adam
I do everything perfectly, except from my mistakes
Zul Kheraj
Occasional Contributor

Re: WDB cannot attach to a process

Yes I got the depot from the HP site and the installation was okay without any errors.

Thanks for your suggestions.

harry d brown jr
Honored Contributor

Re: WDB cannot attach to a process

Zul,

can you post a bdf and the file /etc/fstab? Also, is this machine on the network? What user are you running wdb with? Can you also post the command line you executed?

live free or die
harry
Live Free or Die
Zul Kheraj
Occasional Contributor

Re: WDB cannot attach to a process

Here is the requested info.

Cheers
Adam J Markiewicz
Trusted Contributor

Re: WDB cannot attach to a process

I'm still not convinced that you have the permission to attach to external process. You have to be either root or the same user as the owner of the process (to be honest - I'm not sure how is it with processes with setuid).

I know it's trivial explanation, but sometimes it's worth of checking basics first.

Good luck

Adam
I do everything perfectly, except from my mistakes