<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error accessing authorization file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110732#M87945</link>
    <description>Willem,&lt;BR /&gt;&lt;BR /&gt;That is a problem for SOX. No go.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 07 Dec 2007 09:53:53 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2007-12-07T09:53:53Z</dc:date>
    <item>
      <title>Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110721#M87934</link>
      <description>Since a few years we do a set file/prot on the sysuaf file. This every Sunday evening.&lt;BR /&gt;&lt;BR /&gt;Now for the first time I got a batch job that failed to login. It got loginout.exe getting "LOGIN-F-FILEACC, error accessing system authorization file.&lt;BR /&gt;&lt;BR /&gt;How can I change the file protection without getting this conflict. Is there a way for temporarily stopping all processes from doing logins (stop=hold for 0.001 sec).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 03 Dec 2007 08:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110721#M87934</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-12-03T08:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110722#M87935</link>
      <description>Why did you set the protection, did someone change it?&lt;BR /&gt;If you want 'just to be sure', you may check it beforehand using F$FILE(fil,"PRO").&lt;BR /&gt;&lt;BR /&gt;And perhaps enable auditing on it to check, who changes the protection.&lt;BR /&gt;&lt;BR /&gt;regards kalle</description>
      <pubDate>Mon, 03 Dec 2007 08:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110722#M87935</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2007-12-03T08:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110723#M87936</link>
      <description>Yes this would solve the problem but I wanted to know in general "how can I change the protection on the sysuaf on a running system without having the risk that a process failes".&lt;BR /&gt;&lt;BR /&gt;WIm</description>
      <pubDate>Mon, 03 Dec 2007 08:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110723#M87936</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-12-03T08:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110724#M87937</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;I would like to play with your odds in the lottery!&lt;BR /&gt;&lt;BR /&gt;Yes, SET FILE _does_ lock the target.&lt;BR /&gt;But, normally, for SUCH a short period that it is a challenge for statistics to hit it.&lt;BR /&gt;&lt;BR /&gt;But you proved that it IS possible.&lt;BR /&gt;&lt;BR /&gt;I would have argued that several other activities do also create short-lived locks on all kinds of objects, and that the designs of VMS is such, that in any fore-seen cases some way around it (eg, short wait) would be in place.&lt;BR /&gt;Obviously NOT all cases.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Mon, 03 Dec 2007 19:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110724#M87937</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-12-03T19:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110725#M87938</link>
      <description>I'd consider enabling security audits on the critical files for modifications (eg: for control access, or control access attempts, etc), and then scan for any events in the auditing log.  This as part of a scan for any interesting events in the audit data that might indicate signs of impending or actual trouble.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2007 21:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110725#M87938</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-12-03T21:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110726#M87939</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  There is a way to stop logins but it won't help your immediate issue (see later...)&lt;BR /&gt;&lt;BR /&gt;  Your simplest solution is a retry loop. If you get a FILEACC error, just retry some "reasonable" number of times, say 20, with or even without a WAIT delay of a second or so. Unless you have an exceptionally busy system, that will work eventually. Report an error if it fails every attempt. It's a batch job so you really don't care how long it takes.&lt;BR /&gt;&lt;BR /&gt;  The easiest way to stop other processes from accessing SYSUAF is to open it for exclusive access. From DCL you'd have to do it in a retry loop because other processes may have it open with incompatible sharing options. But that won't help you because you'll be blocking the SET PROT yourself.&lt;BR /&gt;&lt;BR /&gt;  You could write a program which obtains exclusive access to the file and sets protection. I think if you use the ACP-QIO  interface you may be able to do it without having to retry (low level file system - see chapter 1 of I/O Users Reference Manual), but this seems like extreme overkill to me for what you're trying to achieve.&lt;BR /&gt;&lt;BR /&gt;  As Karl suggested, checking the file attributes first to see if it's even necessary to attempt to change the protection will probably solve the problem. Since any process that wants to change it will have the same problem as you have.&lt;BR /&gt;&lt;BR /&gt;  I don't believe there's any way for you to change the protection without exposing some risk to other processes logging in. You can probably assume that an interactive or network user will simply retry if their login fails. To protect batch jobs, you could drop the queue limits to 0 before attempting to change the protection, then restore them immediately afterwards (but then you have to weigh up the risk of a failed batch login against the risk that your job will fail to restore the job limits on the queue!). I don't think there's much you can do about network jobs.</description>
      <pubDate>Mon, 03 Dec 2007 22:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110726#M87939</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-12-03T22:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110727#M87940</link>
      <description>I think there is a way to handle this but it's a rather complicated solution, so I would bet you would rather just work-around your problem some other way.&lt;BR /&gt;&lt;BR /&gt;But FYI, you could use loginout callouts so that each step used to authorize the batch job (or logins for other process modes) is under your control.  &lt;BR /&gt;&lt;BR /&gt;So then if a LGI$ callback routine returns an error due to SYSUAF being locked your code could wait a bit and then retry the callback routine.&lt;BR /&gt;&lt;BR /&gt;See the LOGINOUT routine chapter of the OpenVMS Utility Routines Manual.</description>
      <pubDate>Mon, 03 Dec 2007 22:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110727#M87940</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2007-12-03T22:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110728#M87941</link>
      <description>I don't know if there is any reason to change the file protection on the system authorization file.  I'm assuming you are referring to SYSUAF.DAT, right?  You might want to also look at&lt;BR /&gt;&lt;BR /&gt;$ dir/prot/owner sys$sytem syauaf.dat&lt;BR /&gt;&lt;BR /&gt;I think the owner should be user SYSTEM.&lt;BR /&gt;&lt;BR /&gt;I would try some other method of security on the sysuaf other than setting its protection.</description>
      <pubDate>Tue, 04 Dec 2007 03:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110728#M87941</guid>
      <dc:creator>DECxchange</dc:creator>
      <dc:date>2007-12-04T03:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110729#M87942</link>
      <description>&lt;BR /&gt;I don't know how many batch queues you have, but one "workaround" would be to stop/next your batch queue(s) temporarily while you do the set protection on the uaf file (also wondering why you are doing this on a daily basis) then restarting the queues after the set protection.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 13:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110729#M87942</guid>
      <dc:creator>EdgarZamora_1</dc:creator>
      <dc:date>2007-12-04T13:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110730#M87943</link>
      <description>Yes but there are other processes too (network, interactive).&lt;BR /&gt;&lt;BR /&gt;I think I will leave the situation as it is as on the hour of execution there is nothing important running.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 04 Dec 2007 14:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110730#M87943</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-12-04T14:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110731#M87944</link>
      <description>I agree you should find out why it's needed in the first place. If you need to reset security, it's always too late.&lt;BR /&gt;&lt;BR /&gt;Preventing interactive users to login, set logins to zero. To prevent batch procedures to login, set queues on hold (STOP/NEXT). To prevent network users to login, disable services that can be accessed (thou that may cause severe problems outside).&lt;BR /&gt;&lt;BR /&gt;To prevent login errors, you might think of this method (I _know_ it's not perfect at all and may have caveats, but it'sa way to get around it):&lt;BR /&gt;&lt;BR /&gt;$ BACKUP/IGNORE=INTERLOCK SYSUAF.DAT SYSUAF1.DAT&lt;BR /&gt;$ BACKUP/IGNORE=INTERLOCK RIGHTSLIST.DAT RIGHTSLIST11.DAT&lt;BR /&gt;$ SET FILE/PROT=(W:RWED) SYSUAF1.DAT&lt;BR /&gt;$ OldUAF = F$TRNLNM("SYSUAF","LNM$SYSTEM")&lt;BR /&gt;$ OldRL = F$TRNLNM("RIGHTSLIST","LNM$SYSTEM")&lt;BR /&gt;$ DEFINE/SYSTEM/EXEC SYSUAF SYSUAF1.DAT&lt;BR /&gt;&lt;BR /&gt;do your job on SYSUAF.DAT and RIGHTSLIST.DAT&lt;BR /&gt;&lt;BR /&gt;$ IF OldUAF .NES. ""&lt;BR /&gt;$ THEN&lt;BR /&gt;$     DEFINE/SYSTEM/EXEC SYSUAF 'OldUAF'&lt;BR /&gt;$ ELSE&lt;BR /&gt;$     DEASSIGN/SYSTEM/EXEC SYSUAF&lt;BR /&gt;$ ENDIF&lt;BR /&gt;$ IF OldRL .NES. ""&lt;BR /&gt;$ THEN&lt;BR /&gt;$     DEFINE/SYSTEM/EXEC RIGHTSLIST 'OldRL'&lt;BR /&gt;$ ELSE&lt;BR /&gt;$     DEASSIGN/SYSTEM/EXEC RIGHTSLIST&lt;BR /&gt;$ ENDIF&lt;BR /&gt;$ DELETE SYSUAF1.DAT;*&lt;BR /&gt;$ DELETE RIGHTSLIST1.DAT;*&lt;BR /&gt;&lt;BR /&gt;You will certianly loose information about logins during the transition period, and usage of AUTHORIZE should be prevented (or disabled); you'll have to decide whether that is a problem or not.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110731#M87944</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2007-12-07T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110732#M87945</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;That is a problem for SOX. No go.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110732#M87945</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-12-07T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110733#M87946</link>
      <description>Strange, today, I have this error for the first time as well! At least 3 batch jobs failed to start this morning, with  "LOGIN-F-FILEACC, error accessing system authorization file." , seen in accounting.&lt;BR /&gt;As far as I know, we do not change the security on the sysuaf.dat.&lt;BR /&gt;The only job that opens the file is QUEUE_MANAGER at the moment.&lt;BR /&gt;&lt;BR /&gt;Other batch jobs ran OK.&lt;BR /&gt;&lt;BR /&gt;What else can cause this confict?</description>
      <pubDate>Mon, 10 Dec 2007 12:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110733#M87946</guid>
      <dc:creator>An Vercammen</dc:creator>
      <dc:date>2007-12-10T12:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110734#M87947</link>
      <description>An,&lt;BR /&gt;&lt;BR /&gt;check OPERATOR.LOG or the OpenVMS console (OPA0:) for any unusual errors seen at the time of this failure.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 10 Dec 2007 12:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110734#M87947</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-12-10T12:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110735#M87948</link>
      <description>No errors at all in the Operator.log.&lt;BR /&gt;&lt;BR /&gt;Some batch jobs still fail to start at the moment, some start OK.&lt;BR /&gt;Some failed jobs can be started afterwards, and vice versa, but they all use the same account.&lt;BR /&gt;&lt;BR /&gt;Can I find out who locks the SYSUAF, if it is a lock at all...</description>
      <pubDate>Mon, 10 Dec 2007 13:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110735#M87948</guid>
      <dc:creator>An Vercammen</dc:creator>
      <dc:date>2007-12-10T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110736#M87949</link>
      <description>And check in accounting if you can the one who did it.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 10 Dec 2007 13:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110736#M87949</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-12-10T13:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110737#M87950</link>
      <description>Analogue problem today. During the set file/prot a f$sea was done on one of the files. As a result the f$sea returned "".&lt;BR /&gt;&lt;BR /&gt;I will remove the set file/prot.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 07 Jan 2008 07:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110737#M87950</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-01-07T07:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110738#M87951</link>
      <description>&lt;BR /&gt;&amp;gt;Analogue problem today. During the set &lt;BR /&gt;&amp;gt;file/prot a f$sea was done on one of the &lt;BR /&gt;&amp;gt;files. As a result the f$sea returned "".&lt;BR /&gt;&lt;BR /&gt;  Huh? This must be something else entirely. &lt;BR /&gt;&lt;BR /&gt;F$SEARCH does NOT require any kind of access to the target file. It can't be blocked by FLK, FILEACC or PRV. The only access that's required is R (or even E) to the containing directory tree. The file itself can be ACCESS=NONE, you can still search for it and determine its name.&lt;BR /&gt;&lt;BR /&gt;Try it yourself...</description>
      <pubDate>Tue, 08 Jan 2008 01:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110738#M87951</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-01-08T01:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110739#M87952</link>
      <description>I tried 2 batch jobs : 1 doing set file/prot/own of the directroy and 1 job doing f$sea of the file (and a reset of the f$sea). Both in a loop.&lt;BR /&gt;&lt;BR /&gt;As soon as I started the set file/prot job, the f$sea job aborted (f$sea returning "").&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 08 Jan 2008 07:14:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110739#M87952</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-01-08T07:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error accessing authorization file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110740#M87953</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;1 doing set file/prot/own of the &lt;BR /&gt;&amp;gt;directroy and 1 job doing f$sea of &lt;BR /&gt;&amp;gt;the file &lt;BR /&gt;&lt;BR /&gt;Just to make sure we're 100% clear here...&lt;BR /&gt;&lt;BR /&gt;Can you confirm that SET FILE/PROT and F$SEARCH of THE SAME FILE do NOT clash?&lt;BR /&gt;&lt;BR /&gt;It's only a SET FILE/PROT of the DIRECTORY CONTAINING the target file of the F$SEARCH which causes trouble?&lt;BR /&gt;&lt;BR /&gt;If so, that confirms what I said in my previous post, but it's NOT the same as your claim: "During the set file/prot a f$sea was done on one of the files. As a result the f$sea returned ""."&lt;BR /&gt;&lt;BR /&gt;As I said F$SEARCH does not require any access to the target file, but it does require access to the enclosing directories.</description>
      <pubDate>Thu, 10 Jan 2008 00:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-accessing-authorization-file/m-p/4110740#M87953</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-01-10T00:29:28Z</dc:date>
    </item>
  </channel>
</rss>

