niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » Vmsnet » mail - pmdf
PMDF creating invalid directories
Post new topic   Reply to topic Page 1 of 1 [10 Posts] View previous topic :: View next topic
Author Message
Mark Berryman
*nix forums addict


Joined: 04 Aug 2005
Posts: 50

PostPosted: Wed May 03, 2006 12:07 am    Post subject: PMDF creating invalid directories Reply with quote

I thought I'd try out PMDF now that it is available via the hobbyist
license. I have installed PMDF V6.2 on a VMS 8.2 Alpha where all disks
are ODS5 disks. I installed and configured PMDF and tried to send a
test message. This resulted in an "invalid directory file format" error
which was caused by the fact that PMDF is creating zero-length directory
files in the [PMDF.QUEUE...] directory tree. Once PMDF creates the
subdirectory and tries to place the mail message there, VMS returns the
error mentioned above. I can go in and recreate a correct version of
the directory but PMDF creates another subdirectory the next time I try
to send the message and the same problem occurs.

Anyone know what might be causing this or what I need to do to correct it?

Mark Berryman
Back to top
ned+info-pmdf@mauve.mroch
*nix forums addict


Joined: 15 May 2005
Posts: 59

PostPosted: Wed May 03, 2006 1:44 am    Post subject: Re: PMDF creating invalid directories Reply with quote

Quote:
I thought I'd try out PMDF now that it is available via the hobbyist
license. I have installed PMDF V6.2 on a VMS 8.2 Alpha where all disks
are ODS5 disks. I installed and configured PMDF and tried to send a
test message. This resulted in an "invalid directory file format" error
which was caused by the fact that PMDF is creating zero-length directory
files in the [PMDF.QUEUE...] directory tree. Once PMDF creates the
subdirectory and tries to place the mail message there, VMS returns the
error mentioned above. I can go in and recreate a correct version of
the directory but PMDF creates another subdirectory the next time I try
to send the message and the same problem occurs.

Anyone know what might be causing this or what I need to do to correct it?

Sounds to me like you have a file system problem of some kind. Unless Process
has changed something (unlikely), PMDF uses LIB$CREATE_DIR to create
directories - AFAIk that's the only supported way to do it.

My guess would be that some protection somewhere is messed up and
LIB$CREATE_DIR can create the directory file but cannot write to it, resulting
in an invalid directory.

PMDF will log the value returned by LIB$CREATE_DIR if you ask it to by enabling
OS_DEBUG but won't take any other action when the call fails. (There's no point
in having special error handling when there's no reasonable way to handle the
error.)

Ned
Back to top
Mark Berryman
*nix forums addict


Joined: 04 Aug 2005
Posts: 50

PostPosted: Wed May 03, 2006 7:25 pm    Post subject: Re: PMDF creating invalid directories Reply with quote

ned+info-pmdf@mauve.mrochek.com wrote:
Quote:
I thought I'd try out PMDF now that it is available via the hobbyist
license. I have installed PMDF V6.2 on a VMS 8.2 Alpha where all disks
are ODS5 disks. I installed and configured PMDF and tried to send a
test message. This resulted in an "invalid directory file format" error
which was caused by the fact that PMDF is creating zero-length directory
files in the [PMDF.QUEUE...] directory tree. Once PMDF creates the
subdirectory and tries to place the mail message there, VMS returns the
error mentioned above. I can go in and recreate a correct version of
the directory but PMDF creates another subdirectory the next time I try
to send the message and the same problem occurs.


Anyone know what might be causing this or what I need to do to correct
it?


Sounds to me like you have a file system problem of some kind. Unless
Process
has changed something (unlikely), PMDF uses LIB$CREATE_DIR to create
directories - AFAIk that's the only supported way to do it.

There are no other file system issues manifesting. The problem exists
only in PMDF, not in any other directory creating program running on the
system. The parent directory of the newly created directory is set up
as follows:

QUEUE.DIR;1 File ID: (41413,1,0)
Size: 1/16 Owner: [PMDF]
File protection: System:RWED, Owner:RWED, Group:, World:

and its parent (the top level directory in the path) is as follows:

PMDF.DIR;1 [SYSTEM] (RWED,RWED,RE,RE)

I also created a test program that tries to create "pmdf_queue:[tcp_local.006]"
and ran it from my account, the system account, and the pmdf account, using
every permutation of parameters I could think of. It never failed.

Quote:
My guess would be that some protection somewhere is messed up and
LIB$CREATE_DIR can create the directory file but cannot write to it,
resulting in an invalid directory.

What permutation of protection values allows create but not write?

Quote:
PMDF will log the value returned by LIB$CREATE_DIR if you ask it to by enabling
OS_DEBUG but won't take any other action when the call fails. (There's no point
in having special error handling when there's no reasonable way to
handle the error.)

It does not appear that LIB$CREATE_DIR is returning any errors. Here is a log
of the directory creation using SET WATCH FILE/CLASS=ALL:

%XQP, Thread #0, File protection (41413,1,0): Access requested: 00000003, Status: 00000001, PrvUsd: 00000001
%XQP, Thread #0, Read/write directory access (41413,1,0)
%XQP, Thread #0, Directory scan for: TCP_LOCAL.DIR;1, Status: 00000000
%XQP, Thread #0, Create new directory entry
%XQP, Thread #0, Write attributes: Record attributes TCP_LOCAL.DIR;1 (37944,11,0)
%XQP, Thread #0, Write attributes: User file characteristics TCP_LOCAL.DIR;1 (37944,11,0)
%XQP, Thread #0, Write attributes: File protection TCP_LOCAL.DIR;1 (37944,11,0)
%XQP, Thread #0, Create/Access TCP_LOCAL.DIR;1 (37944,11,0) Status: 00000001 <-- create succeeded
%XQP, Thread #0, FIB contents:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, FIB contents:
00000000 000B9438 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, Deaccess (37944,11,0) Reads: 0, Writes: 0, Status: 00000001
%XQP, Thread #0, FIB contents:
00000501 000B9438 94380000 0000000B 00000000 00850000 00000000 00000001
00000000 00000000 00000000 00007FFF 00000000 00000001 00000004 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, FIB contents:
00000501 000B9438 94380000 0000000B 00000000 00850000 00000000 00000001
00000000 00000000 00000000 00007FFF 00000000 00000001 00000004 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, Volume protection: Access requested: 00000007, Status: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Create/Access (41877,2,0) Status: 00000828 <-- creating in the newly created dir fails

I admit to being a bit stumped.

Mark Berryman
Back to top
Michael Corbett
*nix forums addict


Joined: 19 May 2005
Posts: 51

PostPosted: Wed May 03, 2006 8:38 pm    Post subject: Re: PMDF creating invalid directories Reply with quote

Mark Berryman wrote:
Quote:
ned+info-pmdf@mauve.mrochek.com wrote:
I thought I'd try out PMDF now that it is available via the hobbyist
license. I have installed PMDF V6.2 on a VMS 8.2 Alpha where all disks
are ODS5 disks. I installed and configured PMDF and tried to send a
test message. This resulted in an "invalid directory file format" error
which was caused by the fact that PMDF is creating zero-length directory
files in the [PMDF.QUEUE...] directory tree. Once PMDF creates the
subdirectory and tries to place the mail message there, VMS returns the
error mentioned above. I can go in and recreate a correct version of
the directory but PMDF creates another subdirectory the next time I try
to send the message and the same problem occurs.


Hi Mark,

I see that we have a defect entered for this problem already, it is
DE9940 and has been addressed yet. I'll create a case for you so you'll
get notified when it is fixed. Until then you will have to move the
PMDF_QUEUE to a non ODS5 disk.

regards
Mike

--
+-------------------------------------------------------------------------+
Michael Corbett Email: Corbett@process.com
Process Software Phone: 800 722-7770 x369
959 Concord St. 508 879-6994 x369
Framingham MA 01701-4682 FAX: 508 879-0042
Back to top
Mark Berryman
*nix forums addict


Joined: 04 Aug 2005
Posts: 50

PostPosted: Wed May 03, 2006 9:08 pm    Post subject: Re: PMDF creating invalid directories Reply with quote

Michael Corbett wrote:
Quote:
Mark Berryman wrote:

ned+info-pmdf@mauve.mrochek.com wrote:
I thought I'd try out PMDF now that it is available via the hobbyist
license. I have installed PMDF V6.2 on a VMS 8.2 Alpha where all disks
are ODS5 disks. I installed and configured PMDF and tried to send a
test message. This resulted in an "invalid directory file format" error
which was caused by the fact that PMDF is creating zero-length directory
files in the [PMDF.QUEUE...] directory tree. Once PMDF creates the
subdirectory and tries to place the mail message there, VMS returns the
error mentioned above. I can go in and recreate a correct version of
the directory but PMDF creates another subdirectory the next time I try
to send the message and the same problem occurs.


Hi Mark,

I see that we have a defect entered for this problem already, it is
DE9940 and has been addressed yet. I'll create a case for you so you'll
get notified when it is fixed. Until then you will have to move the
PMDF_QUEUE to a non ODS5 disk.

Ah, thank you. I will create an ODS2 virtual disk and move everything there.

Mark Berryman
Back to top
david20@alpha2.mdx.ac.uk
*nix forums Guru Wannabe


Joined: 16 May 2005
Posts: 205

PostPosted: Fri May 05, 2006 9:57 am    Post subject: Re: PMDF creating invalid directories Reply with quote

In article <445914CD.7060702@process.com>, Michael Corbett <corbett@process.com> writes:
Quote:
Mark Berryman wrote:
ned+info-pmdf@mauve.mrochek.com wrote:
I thought I'd try out PMDF now that it is available via the hobbyist
license. I have installed PMDF V6.2 on a VMS 8.2 Alpha where all disks
are ODS5 disks. I installed and configured PMDF and tried to send a
test message. This resulted in an "invalid directory file format" error
which was caused by the fact that PMDF is creating zero-length directory
files in the [PMDF.QUEUE...] directory tree. Once PMDF creates the
subdirectory and tries to place the mail message there, VMS returns the
error mentioned above. I can go in and recreate a correct version of
the directory but PMDF creates another subdirectory the next time I try
to send the message and the same problem occurs.


Hi Mark,

I see that we have a defect entered for this problem already, it is
DE9940 and has been addressed yet. I'll create a case for you so you'll
get notified when it is fixed. Until then you will have to move the
PMDF_QUEUE to a non ODS5 disk.


Is this just with VMS 8.2 on Alpha ? I've been running PMDF on VMS 7.3-1
for years with the PMDF queues on an ODS-5 disk without any problems.


Alpha2:pmdf ver
%PMDF-I-VERSION, PMDF version is PMDF V6.2-1
AlphaServer 2100 5/300 running OpenVMS Alpha V7.3-1
PMDF_SHARE_LIBRARY version V6.2-1x5; linked 00:01:16, Mar 23 2005

Alpha2:sh log pmdf_queue
"PMDF_QUEUE" = "$255$DKB201:[PMDF.QUEUE.]" (LNM$SYSTEM_TABLE)
Alpha2:sh log pmdfdisk
"PMDFDISK" = "$255$DKB201:" (LNM$SYSTEM_TABLE)
Alpha2:sh dev/ful pmdfdisk

Disk $255$DKB201: (ALPHA2), device type HSZ50-AX, is online, mounted, file-
oriented device, shareable, available to cluster, error logging is enabled.

Error count 0 Operations completed 252000060
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 161 Default buffer size 512
Total blocks 8378028 Sectors per track 113
Total cylinders 3708 Tracks per cylinder 20
Allocation class 255

Volume label "PMDFDISK" Relative volume number 0
Cluster size 9 Transaction count 158
Free blocks 2147508 Maximum files allowed 419000
Extend quantity 5 Mount count 2
Mount status System Cache name "_$255$DKB201:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 214750
File ID cache size 64 Blocks in extent cache 2043
Quota cache size 0 Maximum buffers in FCP cache 6901
Min ret. period 0-00:00:00.00 Max ret. period 1-00:00:00.00
Volume owner UIC [SYSTEM1] Vol Prot S:RWCD,O:RWCD,G:RWCD,W:RWCD

Volume Status: ODS-5, subject to mount verification, write-back caching
enabled.
Volume is also mounted on ALPHA1.


David Webb
Security team leader
CCSS
Middlesex University




Quote:
regards
Mike

--
+-------------------------------------------------------------------------+
Michael Corbett Email: Corbett@process.com
Process Software Phone: 800 722-7770 x369
959 Concord St. 508 879-6994 x369
Framingham MA 01701-4682 FAX: 508 879-0042
Back to top
ned+info-pmdf@mauve.mroch
*nix forums addict


Joined: 15 May 2005
Posts: 59

PostPosted: Fri May 05, 2006 1:42 pm    Post subject: Re: PMDF creating invalid directories Reply with quote

Quote:
I see that we have a defect entered for this problem already, it is
DE9940 and has been addressed yet. I'll create a case for you so you'll
get notified when it is fixed. Until then you will have to move the
PMDF_QUEUE to a non ODS5 disk.

Is this just with VMS 8.2 on Alpha ? I've been running PMDF on VMS 7.3-1
for years with the PMDF queues on an ODS-5 disk without any problems.

Ditto on VMS 7.3-2 here. I'm also curious to know if Process changed the
LIB$CREATE_DIR call to something else at some point, since a problem with
LIB$CREATE_DIR creating an invalid directory is surely something for HP to
address...

Ned
Back to top
Hunter Goatley
*nix forums Guru Wannabe


Joined: 13 Jun 2005
Posts: 107

PostPosted: Fri May 05, 2006 3:27 pm    Post subject: Re: PMDF creating invalid directories Reply with quote

Quote:
Is this just with VMS 8.2 on Alpha ? I've been running PMDF on VMS 7.3-1
for years with the PMDF queues on an ODS-5 disk without any problems.

Ditto on VMS 7.3-2 here. I'm also curious to know if Process changed the
LIB$CREATE_DIR call to something else at some point, since a problem with
LIB$CREATE_DIR creating an invalid directory is surely something for HP to
address...

I think it is a 8.2-only issue, and yes, we're still using
LIB$CREATE_DIR, so it probably is something we'll take up with HP (as
soon as we resolve the PMDF V6.3 issues on Itanium, which we're
discussing with HP).

Hunter
------
Hunter Goatley, Process Software, http://www.process.com/
<goathunter@GOATLEY.COM> http://www.goatley.com/hunter/
Back to top
Carl Karcher
*nix forums beginner


Joined: 21 Jul 2005
Posts: 34

PostPosted: Fri May 05, 2006 3:47 pm    Post subject: Re: PMDF creating invalid directories Reply with quote

Hunter wrote:

Quote:
I think it is a 8.2-only issue, and yes, we're still using
LIB$CREATE_DIR, so it probably is something we'll take up with HP (as
soon as we resolve the PMDF V6.3 issues on Itanium, which we're
discussing with HP).

Rats - and I was just about to upgrade to VMS 8.2. I have PMDF 6.2
running on an ODS-5 disk under VMS 7.3-2. Wait a minute - if one where to
upgrade to VMS 8.2 on an EXISTING pmdf configuration, PMDF shouldn't be
creating any new directories (unless the configuration is changed),
right? The creation dates on all of my directories under the existing
pmdf_root:[queue...] are ancient. Can anyone confirm this from
experience?

--
-- Carl Karcher, Waisman Computing Services, Waisman Center, UW-Madison
-- karcher.nomorespam@waisman.wisc.edu
Back to top
Selden E Ball Jr
*nix forums beginner


Joined: 15 May 2002
Posts: 7

PostPosted: Fri May 05, 2006 4:27 pm    Post subject: Re: PMDF creating invalid directories Reply with quote

Carl wrote

Quote:
Rats - and I was just about to upgrade to VMS 8.2. I have PMDF 6.2
running on an ODS-5 disk under VMS 7.3-2. Wait a minute - if one where to
upgrade to VMS 8.2 on an EXISTING pmdf configuration, PMDF shouldn't be
creating any new directories (unless the configuration is changed),
right? The creation dates on all of my directories under the existing
pmdf_root:[queue...] are ancient. Can anyone confirm this from
experience?

--
-- Carl Karcher, Waisman Computing Services, Waisman Center, UW-Madison
-- karcher.nomorespam@waisman.wisc.edu

Just to add some confusion, the Alpha that I've been using to test
PMDF and PMAS (not a production server) is running VMS 8.2 on an
ODS-5 system disk. Most of PMDF's queue directories were created
back in 2002, but I do see one that was created on 9-Mar-2006,
when PMAS023 was installed. That directory looks OK to me.
It's 1/3 blocks and I'm able to create files in it with no problems.
A dir/full of the directory is below.

That directory (PMDF_ROOT:[QUEUE.TCP_LOCAL]019.DIR ) was created while
the system was running OpenVMS Alpha v8.2 with the Update 1 patchkit
installed, along with the SYS v0200 patch. (It's since been updated to
Update 2 plus F11X V0200.)

As best I can tell, the ODS-5 system disk was initialized by VMS 7.3
when that version of the O/S was installed in 2002. I don't know
if that might make a difference.


Selden
======
Selden E. Ball, Jr.

Cornell University Voice: +1-607-255-0688
Laboratory for Elementary-Particle Physics FAX: +1-607-255-8062
LT105 R. R. Wilson Laboratory http://www.lepp.cornell.edu/~seb/
Dryden Road Internet: SEB@LEPP.CORNELL.EDU
Ithaca, NY, USA 14853-8001 HEPnet/SPAN: LNS62::SEB = 44284::SEB
===========

Directory PMDF_ROOT:[QUEUE.TCP_LOCAL]

019.DIR;1 File ID: (18810,8,0)
Size: 1/3 Owner: [PMDF]
Created: 9-MAR-2006 15:19:43.94
Revised: 28-MAR-2006 14:17:27.89 (1)
Expires: <None specified>
Backup: <No backup recorded>
Effective: <None specified>
Recording: <None specified>
Accessed: <None specified>
Attributes: <None specified>
Modified: <None specified>
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 3, Extend: 0, Global buffer count: 0, No default version limit, Contiguous, MoveFile disabled
Directory file
Record format: Variable length, maximum 512 bytes, longest 512 bytes
Record attributes: No carriage control, Non-spanned
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:, World:
Access Cntrl List: None
Client attributes: None

Total of 1 file, 1/3 blocks.
===========
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [10 Posts] View previous topic :: View next topic
The time now is Sat Jan 10, 2009 4:11 am | All times are GMT
navigation Forum index » Not Unix » Vmsnet » mail - pmdf
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Creating relational view for an ODBC result set? antilog@gmail.com Server 0 Fri Jul 21, 2006 5:56 am
No new posts Exim4 not creating and/or receiving incoming mail... jtelep@localonline.net Exim 1 Fri Jul 21, 2006 1:59 am
No new posts idea/ concept behind creating breadcrumbs crescent_au@yahoo.com PHP 3 Fri Jul 21, 2006 12:10 am
No new posts invalid hash entry in internal DNS code causes assertion ... Bertold Kolics Squid 0 Thu Jul 20, 2006 7:56 pm
No new posts Invalid syntax with STD() function when more than one fie... William Bronsema MySQL 1 Thu Jul 20, 2006 2:18 pm

Final Fantasy | Advance Auto Parts | Internet Advertising | Hacker | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2613s ][ Queries: 16 (0.1326s) ][ GZIP on - Debug on ]