Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

LAT device delete error

SOLVED
Go to solution
SANJAY MUNDHRA
Regular Advisor

LAT device delete error

Hi All,

I ma getting folowing errro when trying to delete the LTA port:

mc latcp del po lta605:
%LAT-W-CMDERROR, error reported by command executor -SYSTEM-F-NODELETE, object cannot be deleted

The port is not used by any process and service. I shows the status as Forwarded (Noqueued). I am able to delete other LTA ports shoing status as Application (Queued or noqueueud). How do I deleted this port ?

Thanks.

Cheers,
Sanjay
11 REPLIES
labadie_1
Honored Contributor
Solution

Re: LAT device delete error

Can you post the result of the following command

$ sh dev/fu lta605

on all nodes of the Cluster, if this is a member of a Cluster
Volker Halle
Honored Contributor

Re: LAT device delete error

Sanjay,

could it be that you are trying to delete the LATCP management port (LATCP$MGMT_PORT) ?

Volker.
SANJAY MUNDHRA
Regular Advisor

Re: LAT device delete error

Thanks for the responses, this port was created for a remote printer. the output is attached with the word document (LAT.doc).
Volker Halle
Honored Contributor

Re: LAT device delete error

Sanjay,

LTA605: has a reference count of 179 and is owned by a process with PID 000101AA !

$ SHOW DEV/FULL LTA605: will tell you more.

Stop that process or find out, who is referencing this LTA device. One the reference count drops to 1 or 0, you will be able to delete that port.

Volker.

PS: Please retain from posting operating-system-specific files as attachments. A plain ASCII .TXT file would have served the same purpose.
SANJAY MUNDHRA
Regular Advisor

Re: LAT device delete error

Hi Volker,

I had checked that earlier, there is no such PID. Looks like the only way is to restart LAT if customer agrees?

Regds,
Sanjay
Volker Halle
Honored Contributor

Re: LAT device delete error

Sanjay,

did that process exist once ?

Restarting LAT will most likely not help. You will probably need to reboot the system to get rid of that LTA device with a non-zero reference count.

Did you try: SDA> SHOW PROC/IND=xxx

Volker.
labadie_1
Honored Contributor

Re: LAT device delete error

May be you are not up to date with the patches, what is your architecture (Vax, Alpha, Itanium), and your Vms version ?

Can you post

$ wr sys$output f$getsyi("hw_name")
$ wr sys$output f$getsyi("version")
$ dir sys$help:*.*relea*
$ ty sys$update:vms*.history


Hakan Zanderau ( Anders
Trusted Contributor

Re: LAT device delete error

What is the purpose of deleting the LTAdevice ?

Could a new one be created and used instead, waiting for the next reboot ?

regards,

Hakan Zanderau
HA-solutions
Don't make it worse by guessing.........
Jan van den Ende
Honored Contributor

Re: LAT device delete error

Sanjay,

>>>
this port was created for a remote printer
<<<

So, most likely the device is SPOOLED.
Does a
$ SET DEVICE LTA605/NOSPOOL
help ?

fwiw

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Volker Halle
Honored Contributor

Re: LAT device delete error

Sanjay,

the Owner PID shown by SDA: 000101AA is an IPID (internal PID) value, not a EPID (external PID) !

To find the process, you need to use

SDA> SHOW PROC/IND=000101AA

$ SHOW PROC/ID=000101AA will fail to find that process.

Volker.
Hoff
Honored Contributor

Re: LAT device delete error

Attached here is an Apple iWork Pages text conversion of that Microsoft Word document that was attached earlier here, for the folks here that don't or can't or won't use the Microsoft Windows and Microsoft Office proprietary formats.

(Sanjay: the harder it is for folks to read your questions, the longer it takes to get an answer to your questions. Most everybody can read plan text or -- as Windows tends to call it, MS-DOS-style -- plain text files. Many of us don't have Microsoft Office, or the Windows-based Office viewing tools, or the catdoc tool or such. Or iWork, in my case.)

As for the error, the following is from the help text for LATCP: "Use the SHOW PORT command for a list of the application ports and the dedicated ports that are defined for your service node. You cannot use the DELETE PORT command to delete an interactive or forward LAT port."

Your port is marked as a forward port.

Unforward/Unqueue the port, using LATCP. If you want to explore this area, you can use something like the following to explore the contents of the LATCP help file:

$ lib/extr=* sys$help:latcp$help.hlb/out=x.x
$ sear x.x forward,queue/window=21

I'd expect to have to dequeue the port before deleting it, minimally.