Operating System - OpenVMS
1827812 Members
2059 Online
109969 Solutions
New Discussion

errlog.sys & operator.log

 
Asim_5
Frequent Advisor

errlog.sys & operator.log

hi

we are using VMS 7.3 on GS80 server.
can someone tell me that why there is only one errlog.sys & operator.log on the system. why the system deletes the previous files from disk.

Regards
4 REPLIES 4
Lokesh_2
Esteemed Contributor

Re: errlog.sys & operator.log

Hi,

I am not sure if I understood your question fully, anyway...

errlog.sys files contains the error log entries of the system. It is not created with the system reboot, i.e. the system uses the same errlog.sys files .

Operator.log files contain OPCOM events. This file is created whenever system reboots, or with the command reply/log .However the older versions of operator.log are not deleted by system. There must be some command or command procedure , which might be running during system boot which purges old operator.log. You have to check this on your system startup files.

HTH,
Best regards,
Lokesh Jain
What would you do with your life if you knew you could not fail?
Jan van den Ende
Honored Contributor

Re: errlog.sys & operator.log

Asim,

Look at the creation date of ERRLOG.SYS, and at the size.
If it is 'old', (say , > 0.5 years) or 'big'
( say, > 5000 blacks), then simply rename it.
To us, a convenient name is to rename the ".SYS" part to .-. The next entry to be written thereafter creates a new ERRLOG.SYS.

(And also rename it if you do a VMS upgrade. Sometimes the structure is changed a little, and then only the old part or the new part is accessible, or nothing at all)

OPERATOR.LOG is another beast. Like Martin wrote, maybe it is purged by your Startup sequence (although the PURGE suggested in the template woukd keep 3 versions).
Another cause -might- by if the file (or its directory) has a Version Limit.
Do a dir/full of the file (and of the .DIR file that holds it) and look for "version limit"
If eighther is set to 1 (one), then do a SET FILE /VERSION=For the directory the command is SET DIRECTORY/VERSION | /NOversion.


hth.


Jan
Don't rust yours pelled jacker to fine doll missed aches.
Jan van den Ende
Honored Contributor

Re: errlog.sys & operator.log

OOPS
mixed up 2 streams.

Not like MARTIN wrote, but like LOKESH wrote.

sorry to both....

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Martin P.J. Zinser
Honored Contributor

Re: errlog.sys & operator.log

Hello,

since I was quoted already I might chip in as well. I too suspect version limits might be the problem. Here is an example of a file with version limit and how to check if it is set:

$ set file verlim.txt/version_limit=1
$ dir/full verlim.txt

Directory DISK$USER:[ZINSER]

VERLIM.TXT;1 File ID: (8822,83,0)
Size: 0/0 Owner: [ZINSER]
Created: 24-MAR-2004 09:39:07.46
Revised: 24-MAR-2004 09:39:17.80 (2)
Expires:
Backup:
Effective:
Recording:
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 0, Extend: 0, Global buffer count: 0
-------------> Version limit: 1 <------
Record format: Variable length, maximum 0 bytes, longest 0 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None

Total of 1 file, 0/0 blocks.

Greetings, Martin