- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: problems with sys$manager directory - 7.3-2
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
Forums
Discussions
Discussions
Discussions
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
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
03-03-2010 05:23 AM
03-03-2010 05:23 AM
Today, I happened to make a small change in the sylogicals.com file, and then noticed something very strange with the files:
from system did dir sylogicals.com/size/date
and this is what I find:
Directory SYS$SYSROOT:[SYSMGR]
SYLOGICALS.COM;29 14 3-MAR-2010 12:16:46.00
SYLOGICALS.COM;28 14 15-FEB-2007 13:39:04.32
SYLOGICALS.COM;27 14 15-JAN-2008 12:31:58.97
SYLOGICALS.COM;26 14 17-FEB-2010 10:07:42.69
SYLOGICALS.COM;25 14 15-JAN-2008 12:31:58.97
Total of 5 files, 70 blocks.
Directory SYS$COMMON:[SYSMGR]
SYLOGICALS.COM;6 14 15-JAN-2008 12:31:58.97
SYLOGICALS.COM;5 14 15-FEB-2007 13:39:04.32
Total of 2 files, 28 blocks.
Grand total of 2 directories, 7 files, 98 blocks.
syst-t>sh log sys$manager
"SYS$MANAGER" = "SYS$SYSROOT:[SYSMGR]" (LNM$SYSTEM_TABLE)
syst-t>sh log SYS$SYSROOT
"SYS$SYSROOT" = "ALPHA1$DKC0:[SYS0.]" (LNM$SYSTEM_TABLE)
= "SYS$COMMON:"
1 "SYS$COMMON" = "ALPHA1$DKC0:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE)
Notice the weird order of the files in SYS$SYSROOT:[SYSMGR] and the lack of symmetry with SYS$COMMON:[SYSMGR].
I believe that I should only be seeing SYS$COMMON:[SYSMGR] and not also SYS$SYSROOT:[SYSMGR] with the dir command. Also the updated file was put into the sys$sysroot and not into the sys$common.
Any idea what the source of the problem is and how to fix it? Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 06:07 AM
03-03-2010 06:07 AM
Solutionthe SYS$MANAGER logical and directory output shown in your example are PERFECTLY O.K. !
SYS$SYSROOT is a rooted directory, which is pointing to 2 locations, the system-specific one and the common one.
If you create new files and your default is set to SYS$MANAGER, the file will be created in the node-specific directory. If a file with the same name already exists in the common directory, the new version will be put put into the common directory as well.
The creation dates look a bit unusual, but we don't known how and when those file got there.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 06:52 AM
03-03-2010 06:52 AM
Re: problems with sys$manager directory - 7.3-2
The dates being out of order seems to me to be because someone did a copy of sylogicals.com;* from sys$common:[sysmgr} to sys$root:[sysmgr} sometime between Feb 17 and Mar 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 07:25 AM
03-03-2010 07:25 AM
Re: problems with sys$manager directory - 7.3-2
this is a common "issue" especially with systems managed by multiple system managers. Understand how sys$sysroot works and it'll all make sense. Depending on your environment (standalone systems or clustered and your system management style) you'll want to decide where you want the procedures to reside (sys$specific or sys$common) and then you should move the files over to one location. You should probably check on your other command procedures (like systartup_vms.com, syconfig.com, sysecurity.com, etc.) because you'll likely find the same situation with those files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 11:14 AM
03-03-2010 11:14 AM
Re: problems with sys$manager directory - 7.3-2
The listing is normal. I agree with the suspicion that a person (or persons) have at various times copied files into one of the directories in the search path.
I would recommend extreme caution. The SYS$SYSDEVICE:[SYS0.SYSMGR] directory is first in the search list, as it should be. The SYLOGICALS.COM in the system-specific directory will be executed. However, it is also possible that the SYS$SPECIFIC:[SYSMGR]SYLOGICALS.COM in turn contains a reference to the file in SYS$COMMON:[SYSMGR].
I recommend careful review of all of these files to make sure that a change that is rarely used is not lost.
For educational purposes, I note that the actual references to SYLOGICALS.COM in the startup process are made to the SYS$STARTUP logical name, not SYS$MANAGER. SYS$STARTUP is itself a search list of SYS$SYSROOT:[SYS$STARTUP] and SYS$MANAGER.
If one is not familiar, caution is recommended. It is easy to put a file into the wrong directory and get incorrect results.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 12:30 PM
03-03-2010 12:30 PM
Re: problems with sys$manager directory - 7.3-2
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 01:09 PM
03-03-2010 01:09 PM
Re: problems with sys$manager directory - 7.3-2
SYS$MANAGER and SYS$STARTUP can be very confusing. When system editing files it's best to always refer to the file via its precise name, for example:
SYS$COMMON:[SYSMGR]SYLOGICALS.COM.
If you avoid using the SYSTEM account for general management, you avoid the confusion of having your default set to a search list.
One step further, move all your cluster common files, like SYLOGICALS.COM to a common location on some other disk. Then replace all the SYS$COMMON versions of those files with stubs pointing to the common area. That way you never have to edit the files on the system disk.
This is especially helpful if you have a multi system disk cluster, as it makes sure all your nodes access a consistent cluster common environment. I tend to treat even single node systems as if they were a cluster. See SYLOGICALS.TEMPLATE for a list of cluster common files.
(Unfortunately I think we're well past the time when OpenVMS could have fixed the problem of managing cluster environment by providing a utility to deal with this kind of issue. HP appears to have given up on significant improvements. We're left with the state where individual system managers have to implement their own tools and structures, learning along the way, mostly by making mistakes precisely like the one sandyt has reported!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 09:07 PM
03-03-2010 09:07 PM