INFO-VAX Sun, 11 Feb 2007 Volume 2007 : Issue 83 Contents: cURL 7.16.1 released for VMS Re: Help configuring VMS mail with Dynaccess.com Re: Help configuring VMS mail with Dynaccess.com Re: Help wanted with Pathworks 5.0a Re: Mark Daniel and/or Hein van den Huevel or anyone really Re: Mark Daniel and/or Hein van den Huevel or anyone really Re: Mark Daniel and/or Hein van den Huevel or anyone really Re: Migrating C application from VMS to LINUX Re: Migrating C application from VMS to LINUX Re: Quorum disk removal Re: Quorum disk removal Re: Quorum disk removal Re: RUN SYS$SYSTEM:DCL on Itanium VMS 8.2-1 ---------------------------------------------------------------------- Date: 10 Feb 2007 16:59:48 -0600 From: kuhrt.nospammy@encompasserve.org (Marty Kuhrt) Subject: cURL 7.16.1 released for VMS Message-ID: The latest version of cURL, 7.16.1, has been released for OpenVMS and is available for download. The location is http://curl.haxx.se/download.html#VMS This is the binary and object library distribution of the cURL 7.16.1 release. See the readme.vms file in the zip for usage information. The zip files contain executables and objects built with OpenSSL, hpSSL and without SSL support. The files are in architecture specific zips. The OpenSSL and noSSL versions are self-contained in that you can run these programs without any other software on the system. For the hp SSL version, you will need to have hp's SSL V1.1-B product installed. HW Type VMS Version Compiler Vers SSL Library Filenames --------+-------------+---------------+----------------+----------- Alpha | OpenVMS 7.3 | DEC C 6.5-001 | OpenSSL 0.9.8d | .*_openssl Alpha | OpenVMS 7.3 | DEC C 6.5-001 | hpSSL 1.1-B | .*_hpssl Alpha | OpenVMS 7.3 | DEC C 6.5-001 | No SSL support | .*_nossl IA64 | OpenVMS 8.3 | HP C V7.2-22 | OpenSSL 0.9.7d | .*_openssl IA64 | OpenVMS 8.3 | HP C V7.2-22 | hp SSL 1.3 | .*_hpssl IA64 | OpenVMS 8.3 | HP C V7.2-22 | No SSL support | .*_nossl VAX | OpenVMS 7.3 | DEC C 6.4-005 | OpenSSL 0.9.8d | .*_openssl VAX | OpenVMS 7.3 | DEC C 6.4-005 | hpSSL 1.1-B | .*_hpssl VAX | OpenVMS 7.3 | DEC C 6.4-005 | No SSL support | .*_nossl For those who don't know what cURL is, here is the blurb from their main page... Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and a busload of other useful tricks. I haven't tested all the features, since I only use the library for HTTP(S) stuff via C programs. It does compile and link cleanly on all the platforms outlined above. Some of the changes I made in the VMS specific directories didn't get included in the distribution in time for the 7.16.1 sources. If you build from scratch, you may want to get the latest files from the packages/vms directory from the CVS repository. ------------------------------ Date: Sat, 10 Feb 2007 16:27:49 -0500 From: "Richard B. gilbert" Subject: Re: Help configuring VMS mail with Dynaccess.com Message-ID: <45CE38D5.7080700@comcast.net> Phillip Helbig---remove CLOTHES to reply wrote: > In article <45CC93E7.7060007@comcast.net>, "Richard B. gilbert" > writes: > > >>Phillip Helbig---remove CLOTHES to reply wrote: >> >>>In article <45CB355D.2070009@comcast.net>, "Richard B. gilbert" >>> writes: >>> >>> >>>>The typical NAT router configures itself via DHCP and, as part of the >>>>process, is given the addresses of two or three DNS servers. It also >>>>acts as a DHCP server and supplies these addresses to its clients. It >>>>makes no use of the DNS server addresses other than to pass them along >>>>to its clients. >>> >>> >>>I have several NAT routers. All of them are DHCP clients with respect >>>to the WAN, and can be DHCP servers with respect to the LAN (I don't use >>>DHCP on my VMS machines, though). ALL of them pick up DNS servers when >>>they are configured via DHCP. However, only SOME of them will in turn >>>act as a nameserver for machines on the LAN. Thus, the ones that don't >>>must be getting the DNS servers for some other reason. >> >>I would be somewhat surprised if ANY router did DNS lookups! All they >>are supposed to do is supply the DNS server addresses when requested via >>DHCP. When something on your LAN makes a DNS request and the server >>address is your ISP's name server, I would expect the router to forward >>the request and return the server's reply. > > > Yes, it forwards it. However, not all such routers do this. Some > routers (such as Zyxel) I can configure as a nameserver under VMS. This > is convenient since I can configure this once and leave it. Other > routers have name servers ONLY for DHCP clients. I can't use them as a > nameserver under VMS (i.e. they don't forward requests, just pass the > name servers on to DHCP clients). In these cases, I usually see which > nameservers the router has and configure these in VMS, but I have to > update the VMS configuration if the nameservers stop working. > > >>There may be exceptions to this but I have never heard of one. Your >>typical < $100 SOHO router simply stuffs outbound traffic into your WAN >>whether it's ADSL, Cable, or tin cans and string. It also, of course, >>admits inbound traffic from your WAN. >> >>These boxes are called "routers" but I think "gateway" would be better >>terminology since the only "route" 99.999% ever use is your ISP's >>router. To act as DNS servers, they would have to maintain a DNS >>database which is not a trivial thing to do. > > > They just forward requests. However, some do and some don't. > > >>Do you actually configure machines on your LAN to use the router's >>address as a DNS server? Or do you configure your ISP DNS servers and >>the router simply forwards the packets? > > > Now, the latter, since I prefer the router I am using now (LINKSYS) > since I can query its WAN address via LYNX. However, a rebadged ZYXEL I > have WILL act as a nameserver for VMS. (Of course, it just forwards > requests to the nameservers it got via DHCP, but that is transparent.) > I quite like the router otherwise as well (it even has an undocumented > ASCII menu mode if one telnets into it, and from there one can even get > to a prompt), but via HTTP it needs Javascript. Since my home-grown > dynamic-DNS client uses LYNX in a batch job, I use the LINKSYS router. > (I can also query it with LYNX to get the nameserver addresses.) > Ok, I have never encountered a ZYXEL router (or a ZYXEL anything). Occasionally I learn something new around here!! ------------------------------ Date: Sun, 11 Feb 2007 04:09:10 +0100 From: Paul Sture Subject: Re: Help configuring VMS mail with Dynaccess.com Message-ID: In article <45CE38D5.7080700@comcast.net>, "Richard B. gilbert" wrote: > Ok, I have never encountered a ZYXEL router (or a ZYXEL anything). > Occasionally I learn something new around here!! Coincidentally, both routers I mentioned were ZYXEL. -- Paul Sture ------------------------------ Date: 10 Feb 2007 14:02:28 -0800 From: "Bobby" Subject: Re: Help wanted with Pathworks 5.0a Message-ID: <1171144948.425379.194600@q2g2000cwa.googlegroups.com> >The file services show up as registered (PCSA SHOW > FILE SERV /REG), but the only service that shows up with PCSA SHOW FILE > SERV /ACT is the IPC service. Wilm, I'm assuming that V5 uses the PCSA command line interface... since you mentioned this above. I've only used V6.x and V7.x which use a different management interface, but recently had to troubleshoot an old PW V4 on VAX setup. It was a hardware failure, so I moved the whole thing to PW V7 on an Alpha box. However, during my scramble, I ran across an admin manual for Pathworks 4+, which uses the PCSA interface. I'd bet it is similar in V5. Here's the link: http:// www.sysworks.com.au/disk$cddoc04sep11/decw$book/d33vaa70.tContents.decw $book Bobby ------------------------------ Date: 10 Feb 2007 14:49:36 -0800 From: davidc@montagar.com Subject: Re: Mark Daniel and/or Hein van den Huevel or anyone really Message-ID: <1171147776.227046.289150@q2g2000cwa.googlegroups.com> On Feb 10, 3:03 pm, b...@cs.uofs.edu (Bill Gunshannon) wrote: > In article , > JF Mezei writes: > > > Phillip Helbig---remove CLOTHES to reply wrote: > >> non-Microsoft software (at least as long as most people do use it). A > >> recent example is the attempt of Microsoft to establish a proprietary > >> format to replace PDF. > > In what way is PDF not proprietary? It is the property of Adobe. > And is actually a heck of a lot less portable than the Postscript > that it replaced. Adobe owns Postscript, too. The thing about Postscript and PDF is that it's a published standard. Anyone can write software to implement it. Similar for ODF, since it's an OASIS and IEEE standard. Microsoft is trying to make their "Open" Office XML a defined standard, but the glitch (and 19 nations filed contradictions against it) is that there are several functions that only MS knows how it works. There are several Linux tools for reading PDF - Xpdf, Kpdf, The GIMP, and more. There is at least a few versions of Xpdf ported to OpenVMS. Chris Scheers(sp) has an XPDF viewer, too. There are tools that are used to create PDF's, including one written entirely in PHP called fpdf available at http://www.fpdf.org. And PHP runs on OpenVMS. You may bitch that PDF is a "propritary" standard, but at least it's an openly published standard. > > Gets worse. With VISTA, Microsoft wants to push a new proprietary image > > format. It is bad enough Microsoft inflicted the world with .BMP. > > Everything about MS software is proprietary. Just because people > figured out how to make EXE and COM files doesn't make them any > less proprietary. Personally, I hope they do. Everything they > do to drive away potential users and developers makes their hold > on the market more tenuous. That's the problem - you have to figure it out. Even when they do publish something (like in the EU anti-trust case, or the OOXML spec), it's nearly impossible to figure out, much less implement. > Of course, no matter how proprietary they make it, the whole concept > is just too simple to keep everyone else from figuring it out. Of course, OpenVMS is pretty proprietary, too. So was DECnet. But VMS Internals and DECnet protocols are documented. ------------------------------ Date: Sat, 10 Feb 2007 18:57:54 -0600 From: "Craig A. Berry" Subject: Re: Mark Daniel and/or Hein van den Huevel or anyone really Message-ID: In article <1171147776.227046.289150@q2g2000cwa.googlegroups.com>, davidc@montagar.com wrote: > On Feb 10, 3:03 pm, b...@cs.uofs.edu (Bill Gunshannon) wrote: > > In what way is PDF not proprietary? It is the property of Adobe. > > And is actually a heck of a lot less portable than the Postscript > > that it replaced. > > Adobe owns Postscript, too. The thing about Postscript and PDF is > that it's a published standard. Anyone can write software to > implement it. Similar for ODF, since it's an OASIS and IEEE > standard. PDF is currently in the process of becoming an ISO standard: http://www.adobe.com/aboutadobe/pressroom/pressreleases/200701/012907Open PDFAIIM.html -- Posted via a free Usenet account from http://www.teranews.com ------------------------------ Date: Sat, 10 Feb 2007 20:15:33 -0500 From: JF Mezei Subject: Re: Mark Daniel and/or Hein van den Huevel or anyone really Message-ID: Bill Gunshannon wrote: > In what way is PDF not proprietary? It is the property of Adobe. > And is actually a heck of a lot less portable than the Postscript > that it replaced. Adobe is presenting the PDF document format to a standards organisation (doN't recall if it is ISO or some other) for formal approval as a standard. The PDF file format has been documented for a number of years now, so the "prorpietary" nature of it has been highly diluted, and once it is approved as a standard, it won't be proprietary anymore. Why is this possible ? Because the format has reached maturity and once it ceases to constantly change, it can be made a standard easily. ------------------------------ Date: Sat, 10 Feb 2007 16:42:27 -0500 From: "Richard B. gilbert" Subject: Re: Migrating C application from VMS to LINUX Message-ID: <45CE3C43.6080500@comcast.net> Arne Vajhøj wrote: > Bill Gunshannon wrote: > >> In article <45cd26fa$0$49200$14726298@news.sunsite.dk>, >> Arne Vajhøj writes: >> >>> Bill Gunshannon wrote: >>> >>>> In article <45CC978D.1060709@comcast.net>, >>>> "Richard B. gilbert" writes: >>>> >>>>> Do you use any VMS libraries not defined in the ANSI C Standard? >>>>> Lots of luck porting those! >>>> >>>> But then, they wouldn't really be C programs, would they? Another >>>> reason >>>> to avoid proprietary extensions. >>> >>> If using non ANSI C libraries implies it is not a C program, then >>> there are not many C programs around ... >> >> >> I was refering to things like RMS calls and QIO calls, which define "VMS" >> vs. "C" programs. I am also quite sure that was what Mr. Gilbert was >> refering to as "VMS libraries not defined in the ANSI C Standard". > > > And ? > > There are functions defined in ANSI C and there are functions > not defined in ANSI C. > > On VMS the last ones tend to have a dollar in their names. > Windows and Linux uses a different naming convention. > > But a C program calling RMS or system services are not > less a C program, than a C program calling Win32 API > or some BSD/SysV API. > > Arne I think the difference is that a C program that calls only the standard C library routines is portable. When a C program directly calls VMS system services or RMS services or VMS RTL routines, it is no longer readily portable. The same is true of any C program that makes calls into any O/S specific service or RTL routine. Some O/S dependencies are fairly easy to fix since many O/Ss provide similar services in similar ways. Others may not be so easy. ------------------------------ Date: Sat, 10 Feb 2007 16:56:11 -0500 From: "Richard B. gilbert" Subject: Re: Migrating C application from VMS to LINUX Message-ID: <45CE3F7B.8060806@comcast.net> Main, Kerry wrote: >>-----Original Message----- >>From: Richard B. gilbert [mailto:rgilbert88@comcast.net] >>Sent: February 9, 2007 8:41 PM >>To: Info-VAX@Mvb.Saic.Com >>Subject: Re: Migrating C application from VMS to LINUX >> > > > [snip ...] > > >>I have done my share of porting things to VMS. It can be a >>bitch. If >>you want to see how bad it can get, download the current >>version of the >>NTP reference implementation from http://ntp.org/ >> >>VMS Engineering did a port of a ten year old version. I >>doubt that it >>was easy. I tried to build the current version from source >>on VMS V7.2 >>without success. It wants Unixy things that VMS does not have. >> > > > So, you tried porting a 10 year old UNIX application to an OpenVMS > release (V7.2) from 1999? > No I tried to port a 2004 version of the code, V4.1, to VMS V7.2. I wrote that {\bold\italic VMS Engineering} had ported a ten year old version!! What ships with TCP/IP services is NTP V3-5.91 which is eight to ten years old! V4.2 is current. This may have changed since TPC/IP services V5.1 but I'm inclined to doubt it. > That's like saying Windows is no good because you tried Windows NT4 and > it did not have all you were looking for. Someone might ask if you had > also tried W2K3 as well. Actually, I think Windows is pretty good WHEN IT WORKS! ------------------------------ Date: Sat, 10 Feb 2007 15:56:13 -0600 From: John Subject: Re: Quorum disk removal Message-ID: <45CE3F7D.7080902@tx.rr.com> Michael Moroney wrote: >John writes: > > >>That said, I have booted a server with the DISK_QUORUM set (same as the >>other servers) - however the quorum disk was not mounted. The resulting >>OPCOM message had something like "remote access" and "please mount >>quorum disk". And if I remember correctly, it did boot - just the OPCOM >>messages every so oftern. Which leads me to believe that I can do this >>- just that OPCOM will complain during the transition. >> >> > >The "please mount quorum disk" messages are harmess - the quorum disk >system still works correctly without doing so, but the normal file system >locking etc. aren't present to protect the filestructure. > > How can the locking not be deployed? If the cluster security database has the same cluster number and password and VMS clustering is turned on - even though the quorum disk is not mounted (or the quorum disk value has changed from DISK-A to DISK-B) the locking system is in place. When all cluster parameters are set correctly, the quorum disk simply ensures that a split cluster does not take place. I do not see how the QUORUM.DAT file - or how it can - govern the behavior of the locking system. ------------------------------ Date: Sat, 10 Feb 2007 17:16:03 -0600 From: John Subject: Re: Quorum disk removal Message-ID: <45CE5233.40305@tx.rr.com> John wrote: > Michael Moroney wrote: > >> John writes: >> >>> That said, I have booted a server with the DISK_QUORUM set (same as >>> the other servers) - however the quorum disk was not mounted. The >>> resulting OPCOM message had something like "remote access" and >>> "please mount quorum disk". And if I remember correctly, it did >>> boot - just the OPCOM messages every so oftern. Which leads me to >>> believe that I can do this - just that OPCOM will complain during >>> the transition. >> >> The "please mount quorum disk" messages are harmess - the quorum disk >> system still works correctly without doing so, but the normal file >> system >> locking etc. aren't present to protect the filestructure. > > How can the locking not be deployed? If the cluster security database > has the same cluster number and password and VMS clustering is turned > on - even though the quorum disk is not mounted (or the quorum disk > value has changed from DISK-A to DISK-B) the locking system is in place. I meant to say from DISK-A to no value. ------------------------------ Date: Sun, 11 Feb 2007 03:42:14 +0000 (UTC) From: moroney@world.std.spaamtrap.com (Michael Moroney) Subject: Re: Quorum disk removal Message-ID: John writes: >Michael Moroney wrote: >>The "please mount quorum disk" messages are harmess - the quorum disk >>system still works correctly without doing so, but the normal file system >>locking etc. aren't present to protect the filestructure. >> >> >How can the locking not be deployed? If the cluster security database >has the same cluster number and password and VMS clustering is turned on >- even though the quorum disk is not mounted (or the quorum disk value >has changed from DISK-A to DISK-B) the locking system is in place. By locking system I didn't mean the VMS lock manager, I meant the mount of the disk offering some protection of the quorum.dat file. I should have chosen better wording. With the disk mounted, the normal file protection mechanism protects the quorum.dat file, and it's unlikely to be inadvertantly damaged. If the quorum disk is not mounted, it's the same as any other unmounted disk, and someone could easily $ INIT it, or $ MOUNT/FOREIGN + write to it, or $ MOUNT it privately and $ DELETE QUORUM.DAT or something. Since the LBN of the quorum.dat is kept in memory, nothing unusual will happen until that particular block is overwritten, and you may see some mysterious quorum hangs, caused by something like someone backing up files to that "spare" disk. Of course another reason is, as you mentioned, a missing quorum.dat file won't be recreated unless the disk is mounted. ------------------------------ Date: Sat, 10 Feb 2007 16:51:44 -0500 From: "Neil Rieck" Subject: Re: RUN SYS$SYSTEM:DCL on Itanium VMS 8.2-1 Message-ID: <45ce31c1$0$16319$88260bb3@free.teranews.com> wrote in message news:Y4adnVfHepdPs1PYnZ2dnUVZ_uvinZ2d@dejazzd.com... > In article <1168613377.305092.305800@11g2000cwr.googlegroups.com>, > "Trefor" writes: >>On Alpha VMS 7-3.2 >> >>RUN SYS$SYSTEM:DCL >> >>is fine. We use it (with lots of parameters) to start another process >>to run a command file. >> >> >>But ... on Itanium VMS 8.2-1 >> >>RUN SYS$SYSTEM:DCL >> >>%DCL-W-ACTIMAGE, error activating image SYS$SYSTEM:DCL >>-CLI-E-IMGNAME, image file DSA0:[SYS0.SYSCOMMON.][SYSEXE]DCL.EXE >>-SYSTEM-F-ACCVIO, access violation, reason mask=25, virtual >>address=000000007FFD >>1160, PC=000000000000000E, PS=7FF97EA4 >> >> >>Any idea why? Is it an Itanium or VMS 8.2-1 problem? >> >>Thanks >> >>Trefor >> > > As others have already mentioned, the best way to do this is run "loginout.exe" like so: $ run sys$system:loginout - /process_name = "AdvocateSrvr" - /uic =[346,6] - /noswap - /noresource_wait - /priv=all - /input = CSMIS$com:advocate_server_init.com - /output = CSMIS$log:advocate_server.out - /ERROR = CSMIS$log:advocate_server.err - /prior = 4 You can put a static DCL run command in the "input file" or you can set up a mailbox and have the program just started execute DCL commands sent to it. Neil Rieck Kitchener/Waterloo/Cambridge, Ontario, Canada. http://www3.sympatico.ca/n.rieck/ -- Posted via a free Usenet account from http://www.teranews.com ------------------------------ End of INFO-VAX 2007.083 ************************