- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Reference count exceeded
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 08:00 AM
тАО09-21-2007 08:00 AM
I get this error when I run a command from login.com to change my environment logicals:
Fatal Error -- Reference count for the terminal is 22
reduce the number of processes attached to the terminal
** Returned to previous environment **
However, when I run this command interactively, it works:
$ envset test
** Jumping to environment test **
This happens to two others logging on to this node, all of us using the same user account (a process account we are testing). The only Reference Count I can find is in the terminal device I am logging on with (sho dev NTY130/full), but this count is 2. Where is the "22" stored and is there anyway to clear it? I have verified that there are no processes or users running under this userID, so logging out does not clear this.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 08:16 AM
тАО09-21-2007 08:16 AM
Re: Reference count exceeded
came "envset"? That complaint appears to
come from your program, not from VMS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 08:18 AM
тАО09-21-2007 08:18 AM
Re: Reference count exceeded
To begin with,
WELCOME to the VMS forum.
Your problem.
Firstly, I _REALLY_ must advise against multiple users using the same account!
In cases like this, ANY treaces of what has happened loose any traceability.
Now, "envset" is NOT a VMS command. I might try to guess what it can do, but I would rather have precise information.
Try
$ show symbol envset
and chances are it will show some more (although it MIGHT by defined as a DCLTABLES addition...)
If iyt is a symbol, and it equates to
"@
pleas locate the
Please scan
Lets's see what we can get out, eh?
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 08:36 AM
тАО09-21-2007 08:36 AM
Re: Reference count exceeded
Hope that makes sense. There will never be muiltiple users using this account, just a process on a remote system. For me, the question is why it works interactively, but not from login.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 08:41 AM
тАО09-21-2007 08:41 AM
Re: Reference count exceeded
> interactively, but not from login.com.
Probably depends on exactly what it does,
which remains a mystery.
Ask the fellow who wrote/supplied it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 09:06 AM
тАО09-21-2007 09:06 AM
SolutionThe program in question should really be testing SYS$COMMAND, not SYS$INPUT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 09:47 AM
тАО09-21-2007 09:47 AM
Re: Reference count exceeded
login.com....
.....
$ ENVSET TEST
$ SET DEF USER01:[DEV1]
$ EXIT
After envset runs, I am in a bogus directory:
$ sho def
$1$DGA1:[DEV1]
%DCL-I-INVDEF, $1$DGA1:[DEV1] does not exist
How can I run that set def command non-interactively after my envset command?
Thanks All!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 10:00 AM
тАО09-21-2007 10:00 AM
Re: Reference count exceeded
> non-interactively after my envset command?
Probably depends on exactly what it does,
which remains a mystery.
For example, if it creates a new sub-process
for you, then subsequent commands in the
command procedure can't do much until it's
too late.
Why can't you SET DEFAULT _before_ you run
the mystery command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 10:11 AM
тАО09-21-2007 10:11 AM
Re: Reference count exceeded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 10:25 AM
тАО09-21-2007 10:25 AM
Re: Reference count exceeded
I can believe that. It appears that you have
an application problem, not a VMS problem,
and, as we don't even know what that
application is (although Google offers some
possible clues), we don't know what it does,
so the best you can hope for here is an
insightful guess or two. Unless the
application vendor's support is particularly
poor, it's not clear to me why you're asking
about it here rather than there.
For all I know, there's some mystery
configuration file where you can specify a
default directory to be used for environment
"test". I could try reading the manual, if I
had any idea which product we're discussing.