Hidden Value – July 2002

 

Q: I just upgraded a 9x9 from 6.0pp2 to 7.0 express 1, and can't get Apache to run. The error_log file has dozens of messages like this:

 

[Wed May 29 19:17:50 2002] [alert] (22)Invalid argument: setuid: unable to change to uid: -1

 

Am I missing something with the uid/gid of the Apache account?

 

A: Rick Gilligan and Mark Bixby replied:

 

As of (about) Apache 1.3.9, the User and Group directives in httpd.conf became important on MPE. Please see /APACHE/PUB/conf/httpd.conf.sample for the correct values to use in your real httpd.conf file.

 

As a general rule after Apache upgrades, you want to examine the /APACHE/PUB/conf/*.sample files and propagate any changes to your real config files. Or use the POSIX diff command to compare your real files to the sample files to see what is different and then decide on a case-by-case basis.

 

 

Q: We have just recovered one of our systems from a disk failure. However the permissions etc for all accounts were lost on the restore. Is it possible to store accounts, groups and users and keep all capabilities, permissions, etc.? What is the best way to store the system and then restore this backup onto a blank system with the correct account, group and user capabilities?

 

A: Jonathan Backus replied:

 

It depends on how you do your backup. Check to see if you use the DIRECTORY option. Please note the special criteria if you have user volumes. If you use this option on your backup then you can use it on your restore. Another thing I often do is setup the backup job to use the BULDACCT utility to create the BULDJOB1 and BULDJOB2 job streams right before the "full volume" backup. I then make sure to purge the jobs off the system right after the backup is complete because they contain all of the account, group, and user passwords. Naturally that doesn't help you at this point, just future reference.

 

[Editor's note: It is absolutely critical you use either the DIRECTORY option or BULDACCT or both in your backup procedures - and use them correctly. The DIRECTORY option works great, but you have to take special care if you use user volumes - and you should be.]

 

 

Q: When I build a file I specify the record length in bytes.  But the display in LISTF is in WORDS. I realize that 256 bytes equals 128 words; however, the programmers see a difference and wish to avoid any differences in some test they are running. So, how do I control either the BUILD or the LISTF commands to be consistent.

 

:LISTF TESTFILE,2

Non-existent file. (CIERR 907)

:BUILD TESTFILE;REC=-256

:LISTF TESTFILE,2

ACCOUNT=  XXX         GROUP=  PUB

 

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----

                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

 

TESTFILE          128W  FB           0       1023   1        0  0  *

 

A: Ray Shahan and Patrick Thrapp replied:

 

You need to be more specific when using the rec= parameter. Try:

 

BUILD TESTFILE;REC=-256,,F,ASCII

 

Then the LISTF should display:

 

TESTFILE    256B  FA  ...

 

 

Q: On my MPE/iX 6.5 systems (non-a/non-n class), can I use a DLT8000 to create a slt tape and boot from it?

 

A: Gilles Schipper replied:

 

I believe the answer is "no". The reason is that the DLT8000 attaches only to a FWSCSI interface. On a non-a/non-n class HP3000, one can boot from a DLT drive as long as it is a SE SCSI connected drive. This can only be a DLT4000. Note that you can create a SLT, but you might rightly ask what’s the point? (There are also DLT4000's that can connect to a FW SCSI interface, but you cannot boot from those on a non-a/non-n class machine either.)

 

You didn't ask, but I will offer that you CAN boot from a DLT8000 on a a/n-class HP3000. (I suspect the same is true of a DLT7000 - but I cannot say that from personal experience.)

 

 

Q: What is the maximum amount a DLT7000 will back up compressed?

 

A: Denys Beauchemin replied:

 

The DLT IV cartridge is supposed to hold up to 70GB @ 10MB/second, depending on the compression.  The uncompressed amount is 35GB @ 5MB/second. Go from there.

 

[Editor's note: On a DLT4000 the numbers are 40GB/20GB and on a DLT8000 the numbers are 80GB/40GB.]

 

 

Q: Will HP continue to provide HW/SW support (past 12/31/03) for a 959KS/200 that was upgraded to a 979KS/400? The support quote that we received from HP has a message listed just under the 959 item stating "Please note HP can no longer support this item from 12/31/2003".

 

A: Guy Paul replied:

 

See http://www.hp.com/products1/mpeixservers/news_events/discont/E3000001L68.html. Bottom line is your 979 is supported until 31-Dec-2006.

 

 

Q: I want to find a .gz file to ftp to a client. However a listf doesn't work. Does anyone know what syntax to use to find a file with this suffix?

 

A: Michael Anderson replied:

 

:LISTFILE /,2;name=@.gz ought to do the trick. Or, you could just use the FINDFILE UDC that is contained in the UDC file HPPXUDC.PUB.SYS shipped with all systems. Or, in the shell,

 

shell/iX> find / -name *.gz -print

 

 

Q: How do I deal with ftp and filenames containing spaces?

 

A: Elizabeth Thayer replied:

 

If you are on the current ftp patch, you can do a "posix on" and be able to have unix type filenames. It is documented in the ftpdocs.arpa.sys. When done you will need to turn posix off.

 

 

Q: We've just brought up a 979/400 with MPE/iX 7.0 and Powerpatch 1. The self-test light on the Core I/O card is flashing (Xcvr/Net Fail) and we cannot communicate with our DTC's (DTC48's). When we recycle power on the DTC's the LED shows "F2." with the "." flashing. Then the "C1." displays with the "." flashing. Does the core IO card have a switch that tells it whether to use the BNC or the AUI connection?

 

A: A number of people replied:

 

Yes, there is a jumper on the Core I/O card.

 

 

Q: How does a person know when a disk in a model 10 array, or on any mirrored type of arrangement, goes bad?  Is there a message on the console?  If so, does it repeat?  How do you know when to call for service?

 

A: Andreas Schmidt replied:

 

Model 10/20/30 (H/W mirroring) has only the "traffic lights". Especially having configured a "hot spare" you will only realize any defect in checking the lights.

 

For S/W Mirroring (MirroredDisk/iX) you will get console messages.

 

 

Q: Does anyone know what the latest stable PP is for 7.0?

 

A: Gary Jackson replied:

 

There is only 1 PP (Express 1) but MANY additional patches (like about 50) that should be downloaded. I have been told that there will probably not be a PP2 because most resources have been assigned to get MPE/iX 7.5 ready.

 

 

Q: How can I find all IMAGE databases on my system?

 

A: Tad Bochan replied:

 

This will list the root file names of all Image databases on the machine:

 

listfile @.@.@,6;seleq=[code=-400]

 

 

Q: It seems that, on the HP3000, when the cursor reaches the last column of the screen, the terminal itself automatically enters a Carriage Return. Is this the case?

 

A: Wirt Atmar and Eric Vistica replied:

 

Not exactly. The cursor does move down one line and to the far left (due to EOL-wrap) but no CR/LF is transmitted. You can set the behavior using Strap C (Inhibit end-of-line wrap), using the escape sequence: Esc&s<x>C, where <x> is 0 or 1, indicating whether you wish InhEolWrp to be active or not.

 

 

Q: On my MPE/iX 6.5 system, I'm attempt to get a "clean" backup by deselecting files I know the system has open for write. One file is the posix /var/stm/logs/os/memlog file. Yet STORE still complains that it can't back it up because open for write. Just a "feature" to live with or is my syntax wrong?

 

 :PRINT BACK

 @.@.SYS

 -WGCONFIG.MPEXL.SYS

 -SL.PUB.SYS

 -/var/stm/logs/os/memlog

...

 

A: Paul Christidis replied:

 

From the online help for store: "Since "-" is a valid character for HFS syntax file names, a blank character must separate it from HFS file sets to obtain the special negative file set meaning." So said file must be specified as:  - /var/stm/logs/os/memlog

 

 

Q: I've updated my system to MPE/iX 6.5 but now Samba does not seem to be working.

 

A: Lars Appel replied:

 

The update (SUPACCT.PUB.SYS job) most likely removed PM cap from the SAMBA account and MGR.SAMBA -- use ALTACCT/ALTUSER ;CAP=+PM.

 

 

Q: Do jobs that go in sysstart need to have passwords in them? What if they came after the jobsecurity statement? Does that make a difference?

 

A: Tom Brandt replied:

 

Prefixing any of your stream commands in sysstart with the command below should do the trick.

 

jobsecurity low;passexempt=max

 

 

Q: Can anyone suggest a way to redirect the output of a QUERYNM report to a file, rather than printed or STDLIST output?

 

A: A number of people jumped all over this including Kim Borgman, Michael Berkowitz, Tracy Pierce, Tom Brandt, Jeff Kell, and Gibson Nichols:

 

The key is to create a file command equating QSLIST to a disk file, including the parameter "DEV=DISC" as in

 

:FILE QSLIST=MYDISC;DEV=DISC;.....

 

Then do the LP command in Query, do the report (probablly including the NOPAGE directive), and then the TERM command to close the QSLIST file.