Operating System - OpenVMS
1752662 Members
5541 Online
108788 Solutions
New Discussion юеВ

DISKQUOTA error not allowing login

 
Swain
Regular Advisor

DISKQUOTA error not allowing login

Hello,

A user gets diskquota overdrwan error while loging in. Following are the troubleshoot I have done yet. But it did not resolve the case. When the user relogged in, the log file absorbed more than 6000 blocks and the same error occurred.

$ SHOW QUOTA /USER=ROLAND /DISK=DISK$AS:
User [DOMESTIC,ROLAND] has 6007 blocks used, 1007 OVERDRAWN,
of 5000 authorized and permitted overdraft of 1000 blocks on DISK$AS


$ dir DISK$AS:[ROLAND] /SIZE=ALLOCATION/GRAND_TOTAL

Grand total of 1 directory, 32 files, 6007 blocks.

SYSMAN> DISKQUOTA SHOW ROLAND /DEVICE=DKC400:
%SYSMAN-I-QUOTA, disk quota statistics on device DKC400: --
Node ALPHA
UIC Usage Permanent Quota Overdraft Limit
[DOMESTIC,ROLAND] 6007 5000 1000


$ dir/since=04-MAY-2010/size

Directory DISK$AS:[000000.ROLAND]

DECW$SM.LOG;2 0
DECW$SM.LOG;1 0

Total of 2 files, 0 blocks.
$ delete DECW$SM.LOG;*
%DELETE-W-FILNOTDEL, error deleting DISK$AS:[000000.ROLAND]DECW$SM.LOG;2
-RMS-E-FLK, file currently locked by another user
%DELETE-W-FILNOTDEL, error deleting DISK$AS:[000000.ROLAND]DECW$SM.LOG;1
-RMS-E-FLK, file currently locked by another user$ PIPE SHOW DEVICE/FILES disk$as: | SEARCH SYS$PIpe ROLAND
AMS_ 00005C90 [AS.ROLAND]DECW$SM.LOG;1
DTSESSION 000061BE [AS.ROLAND]DECW$SM.LOG;2

$ sh users ROLAND
OpenVMS User Processes at 4-MAY-2010 08:25:15.20
Total number of users = 1, number of processes = 2

Username Interactive Subprocess Batch
ROLAND 2
$ stop/id=00005C90
$ stop/id=000061BE
$ PIPE SHOW DEVICE/FILES disk$as: | SEARCH SYS$PIpe ROLAND
%SEARCH-I-NOMATCHES, no strings matched
$ dir/since=04-MAY-2010/size

Directory DISK$AS:[000000.ROLAND]

DECW$SM.LOG;2 585
DECW$SM.LOG;1 5342

Total of 2 files, 5927 blocks.
$ type DECW$SM.LOG
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
\INQUIRE\
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
\INQUIRE\
.
.
.
EXIT

$ delete DECW$SM.LOG;*

$ dir DISK$AS:[ROLAND]/SIZE=ALLOCATION/GRAND_TOTAL

Grand total of 1 directory, 30 files, 684 blocks.
SYSMAN> DISKQUOTA SHOW ROLAND /DEVICE=DKC400:
%SYSMAN-I-QUOTA, disk quota statistics on device DKC400: --
Node ALPHA
UIC Usage Permanent Quota Overdraft Limit
[DOMESTIC,ROLAND] 1073 10000 1000



During login:

SYSMAN> DISKQUOTA SHOW ROLAND /DEVICE=DKC400:
%SYSMAN-I-QUOTA, disk quota statistics on device DKC400: --
Node ALPHA
UIC Usage Permanent Quota Overdraft Limit
[DOMESTIC,ROLAND] 6007 5000 1000



Please suggest what else need to be checked.

Thanks,
Swain
39 REPLIES 39
Swain
Regular Advisor

Re: DISKQUOTA error not allowing login

$ type DECW$SM.LOG
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
\INQUIRE\
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
\INQUIRE\
.
.
.
EXIT

Search for 'INQUIRE' in login.com returned no string.
P Muralidhar Kini
Honored Contributor

Re: DISKQUOTA error not allowing login

Hi Swain,

>> During login:
>>
>> SYSMAN> DISKQUOTA SHOW ROLAND /DEVICE=DKC400:
>> %SYSMAN-I-QUOTA, disk quota statistics on device DKC400: --
>> Node ALPHA
>> UIC Usage Permanent Quota Overdraft Limit
>> [DOMESTIC,ROLAND] 6007 5000 1000

I guess you have given this command after the user ROLAND has
logged in.

When a user logs in, the LOGIN.COM procedure in that user's login directory executes first and then the login operation completes.
What does the LOGIN.COM in the ROLAND user directory contain?
Are they by any chance creating & populating the file "DECW$SM.LOG"?

Even though you have manually deleted the "DECW$SM.LOG"files, after
user ROLAND logs in these files appear again. Looks like the LOGIN.COM for ROLAND user is creating the "DECW$SM.LOG" files.

You can check the LOGIN.COM file for the ROLAND user.

Regards,
Murali
Let There Be Rock - AC/DC
P Muralidhar Kini
Honored Contributor

Re: DISKQUOTA error not allowing login

Hi Swain,

The DECW$SM.LOG log file is created by the session manager.

Does the LOGIN.COM procedure ask for input from the user?
If it does and the Session manager which is a GUI based tool
executes this login procedure then this problem can occur.

Regards,
Murali
Let There Be Rock - AC/DC
Volker Halle
Honored Contributor

Re: DISKQUOTA error not allowing login

Swain,

looks like user ROLAND tries to log in via a DECwindows terminal. Check SYS$SYLOGIN and the user's LGICMD and all procedures that these procedures may call.

A SET TERM/INQUIRE must NOT be exectued if the process mode is NOT interactive.

Have the user try to login via a TELNET or LAT session, that should work.

Volker.
Hein van den Heuvel
Honored Contributor

Re: DISKQUOTA error not allowing login

>> 5000 authorized and permitted overdraft of 1000

That's just 2.5 MB.
How about starting with allowing 10 times that?

>> dir/since=04-MAY-2010/size

Use: $ DIR /SIZE=ALL /DATE=(CRE,MOD) [/SINC...]

>> %SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
\INQUIRE\


Like the other suggest.
Get rid of INQUIRE in scripts for non-interactive jobs
Actually... you may want to get rid of it completely, but that's an other topic.

Hein




Robert Gezelter
Honored Contributor

Re: DISKQUOTA error not allowing login

Swain,

Please do a SHOW RMS on the system, and also do a SHOW DEVICE full on the relevant disk.

- Bob Gezelter, http://www.rlgsc.com
Hein van den Heuvel
Honored Contributor

Re: DISKQUOTA error not allowing login

re: $ type DECW$SM.LOG
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
\INQUIRE\
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
\INQUIRE\
:
:


Volker... Your comment stands, but the reason is wrong.
This is the $ INQUIRE command, not $ SET TERM /INQU

Swain,

Do those dots (. . . . ) signify many, many, repeats?

So one of the scripts, like SYLOGIN.COM or LOGIN.COM is looping around a $ INQUIRE command, an failing over and over. That will eventually fill up any quota and I suppose you should be grateful that there was a low quota!

So did anything change in this area?

The INQUIRE command has nothing legal to talk to. It should not be executed. It should probably be in some bracnh after a test using F$MODE.

hth,
Hein


Swain
Regular Advisor

Re: DISKQUOTA error not allowing login

Thanks you all for the help!

>>>Are they by any chance creating & populating the file "DECW$SM.LOG"?

Yes, I have listed the content of log file above.

>>>Does the LOGIN.COM procedure ask for input from the user?

There is no entry of INQUIRE in login.com
please check my comment above [Search for 'INQUIRE' in login.com returned no string.]

>>>Check SYS$SYLOGIN and the user's LGICMD and all procedures that these procedures may call.

Volker,

LGICMD is login.com which contains no INQUIRE command

SYS$SYLOGIN contains SET TERMINAL/INQUIRE. If commenting that would solve the issue, my query would be that why is it not happening for other users.


>>>Please do a SHOW RMS on the system

Bob,

Following is the output. please let us know how does it help.

$ SHOW RMS
MULTI- | MULTIBUFFER COUNTS | NETWORK
BLOCK | Indexed Relative Sequential | BLOCK
COUNT | Disk Magtape Unit Record | COUNT
Process 0 | 0 0 0 0 0 | 0
System 32 | 0 0 0 0 0 | 8

Prolog Extend Quantity QUERY_LOCK
Process 0 0 System
System 0 0 Enabled

CONTENTION_POLICY
Process System
System Never

$ sh dev/fu dkc400

Disk ALPHA$DKC400:, device type RZ29B, is online, mounted, file-oriented device,
shareable, available to cluster, error logging is enabled.

Error count 0 Operations completed 68583921
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 31 Default buffer size 512
Current preferred CPU Id 0 Fastpath 1
Total blocks 8380080 Sectors per track 113
Total cylinders 3708 Tracks per cylinder 20
Logical Volume Size 8380080 Expansion Size Limit 8589312

Volume label "USER" Relative volume number 0
Cluster size 9 Transaction count 32
Free blocks 2166912 Maximum files allowed 419004
Extend quantity 5 Mount count 1
Mount status System Cache name "_ALPHA$DKA0:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 216691
File ID cache size 64 Blocks in extent cache 51327
Quota cache size 547 Maximum buffers in FCP cache 2724
Volume owner UIC [SYSTEM] Vol Prot S:RWCD,O:RWCD,G:RWCD,W:RWCD

Volume Status: ODS-2, subject to mount verification, file high-water marking,
write-back caching enabled.


Thanks,
Amaresh
Swain
Regular Advisor

Re: DISKQUOTA error not allowing login

>>>Do those dots (. . . . ) signify many, many, repeats?

Yes..that populates the log file and absorbs diskquota of teh user.

Thanks,
Swain