Operating System - OpenVMS
1753480 Members
4878 Online
108794 Solutions
New Discussion юеВ

Re: disk:[000000]security.sys file deleted :o(

 
Wim Van den Wyngaert
Honored Contributor

Re: disk:[000000]security.sys file deleted :o(

Edwin,

I did a mount of the disk without /system.
Retried it and worked again. On VMS 6.2 1h3. Indeed anal/dis finds it back and puts it in [syslost] as Hein said. Check there too because maybe the dba used that command too.

I remounted it and found again the file recreated. If I do a diff between the 2 files they are not identical.

I've read that starting from VMS 6 the file is created at mount time. If create fails, mount fails.

Wim

Wim
Edwin R. van der Kaaij
Frequent Advisor

Re: disk:[000000]security.sys file deleted :o(

Hein, Wim,

Thank you both for your input!

I'm not getting any further though.
I do not have DFU available and cannot start using it just like that.
I'll try to run the program at a later stage, can't get it compiled $cxx gives 2 errors.
I have tried all kinds of (dis)mounts on the test system, but there is NO way that I get the file deleted. I created an a.a, removed it, found it back in [syslost] etc. but no luck with the security.sys file :o(

More later...
Hein van den Heuvel
Honored Contributor

Re: disk:[000000]security.sys file deleted :o(

>> I do not have DFU available and cannot start using it just like that.

Sure you can :-).
How can you efficiently manage an OpenVMS system without this Freeware?

>> I'll try to run the program at a later stage, can't get it compiled $cxx gives 2 errors.

I never tried cxx, just used 'cc'.

Or download an executable from:
http://h71000.www7.hp.com/freeware/freeware60/rms_tools/enter.exe

Edwin R. van der Kaaij
Frequent Advisor

Re: disk:[000000]security.sys file deleted :o(

don't have cc either :o) i tried that first haha. just downloaded the executable.

i'll try everything later, daily problems have stacked up, so i need to attend to them first.

thanks for all the suggestions.
Wim Van den Wyngaert
Honored Contributor

Re: disk:[000000]security.sys file deleted :o(

Did you use the statement
$ set file/remove disk:[000000]security.sys
to delete the file ? This should always work imo (Hein ?).

Wim
Wim
Volker Halle
Honored Contributor

Re: disk:[000000]security.sys file deleted :o(

Wim,


$ set file/remove disk:[000000]security.sys


A SET FILE/REMOVE command does NOT delete the file, it just removes its directory entry. The file still exists and is a so-called 'lost file', as there are no directory-entries pointing to it.

ANAL/DISK/REPAIR will put the file into [SYSLOST], from where you can rename it back to its original place.

Volker.
Wim Van den Wyngaert
Honored Contributor

Re: disk:[000000]security.sys file deleted :o(

I know that Volker.

But it's the only way to delete the open file for simulating the problem.

Wim
Wim